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 NodeServiceProvider nodeservice.NodeServiceProvider CacheSynced func() LockFactory locks.LockFactory Options *VirtualClusterOptions StopChan <-chan struct{} }
func NewControllerContext ¶
func NewControllerContext(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 BindAddress string Port int Suffix string DisableSyncResources string TargetNamespace string ServiceName string OwningStatefulSet string 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 LeaseDuration int64 RenewDeadline int64 RetryPeriod int64 }
VirtualCluster holds the cmd flags
Click to show internal directories.
Click to hide internal directories.