config

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthorizateProxySubpath bool
View Source
var ClusterGatewayProxyConfigPath string
View Source
var ClusterProxyCAFile string
View Source
var ClusterProxyCertFile string
View Source
var ClusterProxyHost string
View Source
var ClusterProxyKeyFile string
View Source
var ClusterProxyPort int
View Source
var MetaApiGroupName = "cluster.core.oam.dev"
View Source
var MetaApiResourceName = "clustergateways"
View Source
var MetaApiVersionName = "v1alpha1"
View Source
var SecretNamespace = "vela-system"

SecretNamespace the namespace to search cluster credentials

View Source
var UserAgent string
View Source
var VirtualClusterWithControlPlane = true

VirtualClusterWithControlPlane if the control plane should be treated as one default virtual cluster

Functions

func AddClusterGatewayProxyConfig added in v1.7.0

func AddClusterGatewayProxyConfig(set *pflag.FlagSet)

func AddClusterProxyFlags

func AddClusterProxyFlags(set *pflag.FlagSet)

func AddLogFlags

func AddLogFlags(set *pflag.FlagSet)

AddLogFlags add log flags to command

func AddProxyAuthorizationFlags

func AddProxyAuthorizationFlags(set *pflag.FlagSet)

func AddSecretFlags

func AddSecretFlags(set *pflag.FlagSet)

func AddUserAgentFlags added in v1.7.0

func AddUserAgentFlags(set *pflag.FlagSet)

func AddVirtualClusterFlags added in v1.9.0

func AddVirtualClusterFlags(set *pflag.FlagSet)

func ValidateClusterProxy

func ValidateClusterProxy() error

func ValidateSecret

func ValidateSecret() error

func WithUserAgent added in v1.7.0

func WithUserAgent(config *server.RecommendedConfig) *server.RecommendedConfig

Types

This section is empty.

Jump to

Keyboard shortcuts

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