Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerContext ¶
type ControllerContext struct { Context context.Context LocalManager ctrl.Manager VirtualManager ctrl.Manager CurrentNamespace string CurrentNamespaceClient client.Client NodeServiceProvider nodeservice.NodeServiceProvider CacheSynced func() LockFactory locks.LockFactory Options *VirtualClusterOptions StopChan <-chan struct{} }
func NewControllerContext ¶
func NewControllerContext(currentNamespace string, localManager ctrl.Manager, virtualManager ctrl.Manager, options *VirtualClusterOptions) (*ControllerContext, error)
type VirtualClusterOptions ¶
type VirtualClusterOptions struct { ServerCaCert string ServerCaKey string TlsSANs []string RequestHeaderCaCert string ClientCaCert string KubeConfig string KubeConfigSecret string KubeConfigSecretNamespace string KubeConfigServer string BindAddress string Port int Name string DeprecatedSuffix string DisableSyncResources string TargetNamespace string ServiceName string DeprecatedOwningStatefulSet string SetOwner bool SyncAllNodes bool SyncNodeChanges bool UseFakeKubelets bool UseFakeNodes bool UseFakePersistentVolumes bool EnableStorageClasses bool EnablePriorityClasses bool TranslateImages []string NodeSelector string ServiceAccount string EnforceNodeSelector bool OverrideHosts bool OverrideHostsContainerImage string ClusterDomain string LeaderElect bool LeaseDuration int64 RenewDeadline int64 RetryPeriod int64 }
VirtualClusterOptions holds the cmd flags
Click to show internal directories.
Click to hide internal directories.