config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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

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

func AddUserAgentFlags(set *pflag.FlagSet)

func AddVirtualClusterFlags

func AddVirtualClusterFlags(set *pflag.FlagSet)

func ValidateClusterProxy

func ValidateClusterProxy() error

func ValidateSecret

func ValidateSecret() error

func WithUserAgent

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