package op
import "github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/op"
Index ¶
Constants ¶
const Kind = "Operation-Location"
Kind is the identifier of this type in a resume token.
Functions ¶
func Applicable ¶
Applicable returns true if the LRO is using Operation-Location.
Types ¶
type Poller ¶
type Poller struct { Type string `json:"type"` PollURL string `json:"pollURL"` LocURL string `json:"locURL"` FinalGET string `json:"finalGET"` CurState string `json:"state"` }
Poller is an LRO poller that uses the Operation-Location pattern.
func New ¶
New creates a new Poller from the provided initial response.
func (*Poller) Done ¶
func (*Poller) FinalGetURL ¶
func (*Poller) Status ¶
func (*Poller) URL ¶
func (*Poller) Update ¶
Source Files ¶
- Version
- v0.21.0
- Published
- Jan 11, 2022
- Platform
- js/wasm
- Imports
- 6 packages
- Last checked
- 17 minutes ago –
Tools for package owners.