Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Audit ¶
type Audit struct {
GenericAPIServer *genericapiserver.GenericAPIServer
}
Audit contains state for TKE audit server.
type CompletedConfig ¶
type CompletedConfig struct {
// contains filtered or unexported fields
}
CompletedConfig embed a private pointer of Config.
func (CompletedConfig) New ¶
func (c CompletedConfig) New(delegationTarget genericapiserver.DelegationTarget) (*Audit, error)
New returns a new instance of APIServer from the given config.
type Config ¶
type Config struct { GenericConfig *genericapiserver.RecommendedConfig ExtraConfig ExtraConfig }
Config contains the core configuration instance of server and additional configuration.
func (*Config) Complete ¶
func (cfg *Config) Complete() CompletedConfig
Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.
type ExtraConfig ¶
type ExtraConfig struct { ServerName string OAuthConfig *oauth2.Config AuditConfig *auditconfig.AuditConfiguration HeaderRequest bool }
ExtraConfig contains the additional configuration of apiserver.
Click to show internal directories.
Click to hide internal directories.