Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // RouterConfig returns the latest router config from the config provider // Version and last fetch time information can be used from different providers to determine if the config has changed RouterConfig(ctx context.Context, prevVersion string, prevFetchTime time.Time) (*Response, error) }
type ConfigNotFoundError ¶
type Response ¶
type Response struct { // Config is the marshaled router config Config *nodev1.RouterConfig }
Click to show internal directories.
Click to hide internal directories.