Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // server Host string Port int // etcd ETCDConfig config.TransportConfig // jwt JWTSecret string // cors CorsAllowedOriginPatterns []string // APIServerID is the ID of this API server APIServerID string BuildHandlerChainFunc func(apiHandler http.Handler, c *Config) http.Handler EnableIndex bool HTTPReadTimeout time.Duration HTTPWriteTimeout time.Duration HTTPMaxHeaderBytes int Storage *registry.DryRunnableStorage }
Click to show internal directories.
Click to hide internal directories.