Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIServer ¶
type APIServer interface { Run(context.Context) error RegisterServices() restfulspec.Config }
APIServer interface for call api server
type Config ¶
type Config struct { // api server bind address BindAddr string // monitor metric path MetricPath string // Datastore config Datastore datastore.Config // LeaderConfig for leader election LeaderConfig leaderConfig // AddonCacheTime is how long between two cache operations AddonCacheTime time.Duration }
Config config for server
Click to show internal directories.
Click to hide internal directories.