Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataplaneTokenServerConfig ¶
type DataplaneTokenServerConfig struct { // If true then Dataplane Token Server and token verification is enabled Enabled bool `yaml:"enabled" envconfig:"kuma_dataplane_token_server_enabled"` // Local configuration of server that is available only on localhost Local *LocalDataplaneTokenServerConfig `yaml:"local"` // Public configuration of server that is available on public interface Public *PublicDataplaneTokenServerConfig `yaml:"public"` }
Dataplane Token Server configuration
func DefaultDataplaneTokenServerConfig ¶
func DefaultDataplaneTokenServerConfig() *DataplaneTokenServerConfig
func (*DataplaneTokenServerConfig) Sanitize ¶
func (i *DataplaneTokenServerConfig) Sanitize()
func (*DataplaneTokenServerConfig) Validate ¶
func (i *DataplaneTokenServerConfig) Validate() error
type LocalDataplaneTokenServerConfig ¶
type LocalDataplaneTokenServerConfig struct { // Port on which the server will be exposed Port uint32 `yaml:"port" envconfig:"kuma_dataplane_token_server_local_port"` }
Dataplane Token Server configuration of server that is available only on localhost
func DefaultLocalDataplaneTokenServerConfig ¶
func DefaultLocalDataplaneTokenServerConfig() *LocalDataplaneTokenServerConfig
func (*LocalDataplaneTokenServerConfig) Sanitize ¶
func (l *LocalDataplaneTokenServerConfig) Sanitize()
func (*LocalDataplaneTokenServerConfig) Validate ¶
func (l *LocalDataplaneTokenServerConfig) Validate() error
type PublicDataplaneTokenServerConfig ¶
type PublicDataplaneTokenServerConfig struct { // If true then Dataplane Token Server is exposed on public interface Enabled bool `yaml:"enabled" envconfig:"kuma_dataplane_token_server_public_enabled"` // Interface on which the server will be exposed Interface string `yaml:"interface" envconfig:"kuma_dataplane_token_server_public_interface"` // Port on which the server will be exposed. If not specified (0) then port from local configuration will be used Port uint32 `yaml:"port" envconfig:"kuma_dataplane_token_server_public_port"` // Path to TLS certificate file TlsCertFile string `yaml:"tlsCertFile" envconfig:"kuma_dataplane_token_server_public_tls_cert_file"` // Path to TLS key file TlsKeyFile string `yaml:"tlsKeyFile" envconfig:"kuma_dataplane_token_server_public_tls_key_file"` // Directory of authorized client certificates ClientCertsDir string `yaml:"clientCertsDir" envconfig:"kuma_dataplane_token_server_public_client_certs_dir"` }
Dataplane Token Server configuration of server that is available on public interface
func DefaultPublicDataplaneTokenServerConfig ¶
func DefaultPublicDataplaneTokenServerConfig() *PublicDataplaneTokenServerConfig
func (*PublicDataplaneTokenServerConfig) Sanitize ¶
func (p *PublicDataplaneTokenServerConfig) Sanitize()
func (*PublicDataplaneTokenServerConfig) Validate ¶
func (p *PublicDataplaneTokenServerConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.