config

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	SecureServing *apiserver.SecureServingInfo
	// LoopbackClientConfig is a config for a privileged loopback connection
	LoopbackClientConfig *restclient.Config
	Authentication       apiserver.AuthenticationInfo
	Authorization        apiserver.AuthorizationInfo
	ServerName           string
	// the client only used for leader election
	LeaderElectionClient *versionedclientset.Clientset
	// the rest config for the platform apiserver
	PlatformAPIServerClientConfig *restclient.Config
	// the rest config for the business apiserver
	BusinessAPIServerClientConfig *restclient.Config
	// the rest config for the registry apiserver
	RegistryAPIServerClientConfig *restclient.Config
	// the rest config for the auth apiserver
	AuthAPIServerClientConfig *restclient.Config

	Component controlleroptions.ComponentConfiguration
}

Config is the running configuration structure of the TKE controller manager.

func CreateConfigFromOptions

func CreateConfigFromOptions(serverName string, opts *options.Options) (*Config, error)

CreateConfigFromOptions creates a running configuration instance based on a given TKE apiserver command line or configuration file option.

Jump to

Keyboard shortcuts

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