Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Applicable ¶
Applicable returns true if the LRO is a fake.
Types ¶
type Poller ¶
type Poller[T any] struct { // The API name from CtxAPINameKey APIName string `json:"apiName"` // The URL from Core-Fake-Poller header. FakeURL string `json:"fakeURL"` // The LRO's current state. FakeStatus string `json:"status"` // contains filtered or unexported fields }
Poller is an LRO poller that uses the Core-Fake-Poller pattern.
func New ¶
New creates a new Poller from the provided initial response. Pass nil for response to create an empty Poller for rehydration.
Click to show internal directories.
Click to hide internal directories.