Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Restorer ¶
type Restorer interface {
// WaitForEndpointRestore blocks the caller until either the context is
// cancelled or all the endpoints have been restored from a previous run.
WaitForEndpointRestore(ctx context.Context) error
// WaitForInitialPolicy blocks the caller until either the context is
// cancelled or initial policies of all restored endpoints have been computed.
WaitForInitialPolicy(ctx context.Context) error
}
Restorer wraps a method to wait for endpoints restoration.
Click to show internal directories.
Click to hide internal directories.