Documentation ¶
Index ¶
Constants ¶
View Source
const (
// NamespaceKarmadaSystem is the karmada system namespace.
NamespaceKarmadaSystem = "karmada-system"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiClusterControllerManagerOptions ¶
type MultiClusterControllerManagerOptions struct { // Name is the provider for multicluster services. Name string // CloudConfigFile is the path to the multicluster provider configuration file. CloudConfigFile string // ProviderClassName is the name of the ingress class this provider satisfies. ProviderClassName string // LeaderElection defines the configuration of leader election client. LeaderElection componentbaseconfig.LeaderElectionConfiguration // BindAddress is the IP address on which to listen for the --secure-port port. BindAddress string // SecurePort is the port that the server serves at. // Note: We hope support https in the future once controller-runtime provides the functionality. SecurePort int // KubeAPIQPS is the QPS to use while talking with karmada-apiserver. KubeAPIQPS float32 // KubeAPIBurst is the burst to allow while talking with karmada-apiserver. KubeAPIBurst int // ResyncPeriod is the base frequency the informers are resynced. // Defaults to 0, which means the created informer will never do resyncs. ResyncPeriod metav1.Duration // MetricsBindAddress is the TCP address that the controller should bind to // for serving prometheus metrics. // It can be set to "0" to disable the metrics serving. // Defaults to ":8080". MetricsBindAddress string RateLimiterOpts ratelimiterflag.Options ProfileOpts profileflag.Options }
MultiClusterControllerManagerOptions contains everything necessary to create and run multicluster-provider.
func NewClusterControllerManagerOptions ¶
func NewClusterControllerManagerOptions() *MultiClusterControllerManagerOptions
NewClusterControllerManagerOptions builds an empty MultiClusterControllerManagerOptions.
func (*MultiClusterControllerManagerOptions) AddFlags ¶
func (o *MultiClusterControllerManagerOptions) AddFlags(flags *pflag.FlagSet)
AddFlags adds flags to the specified FlagSet.
func (*MultiClusterControllerManagerOptions) Validate ¶
func (o *MultiClusterControllerManagerOptions) Validate() field.ErrorList
Validate checks MultiClusterControllerManagerOptions and return a slice of found errs.
Click to show internal directories.
Click to hide internal directories.