audit

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 5 Imported by: 0

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.

Directories

Path Synopsis
apis
config
Package config is the internal version of the API.
Package config is the internal version of the API.
config/v1
Package v1 is the v1 version of the API.
Package v1 is the v1 version of the API.
config
es

Jump to

Keyboard shortcuts

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