Documentation
¶
Overview ¶
interfaces defines contracts specific to the urlclient package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RetryStrategy ¶
type RetryStrategy interface { // Retry defines the actual behavior of the RegistryClient and how it processes the URL. Retry(url *string) (string, error) // IsInitialized communicates whether the value of the URL is currently being updated or not. IsInitialized() bool // SetInitialization updates the value of the lock. SetInitialization(value bool) }
RetryStrategy defines some way to verify that a RegistryClient has received data. It accomplishes this by monitoring the values pointed to in its parameters, which communicate the state of the RegistryClient. When the values pointed to by the parameters are in the desired state, the URL that should be passed back to the RegistryClient should be returned by the RetryStrategy.
Click to show internal directories.
Click to hide internal directories.