Help us shape the future of Go! Take the 2026 Go Developer Survey

endpointstate

package
v1.18.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL