Documentation ¶
Index ¶
- Constants
- Variables
- func NewDefaultManagedClusterSetController(clusterSetClient clustersetv1beta1.ClusterV1beta1Interface, ...) factory.Controller
- func NewGlobalManagedClusterSetController(clusterSetClient clustersetv1beta1.ClusterV1beta1Interface, ...) factory.Controller
- func NewManagedClusterSetController(clusterClient clientset.Interface, ...) factory.Controller
Constants ¶
View Source
const (
DefaultManagedClusterSetName = "default"
)
View Source
const (
GlobalManagedClusterSetName = "global"
)
Variables ¶
View Source
var DefaultManagedClusterSet = &clusterv1beta1.ManagedClusterSet{ ObjectMeta: metav1.ObjectMeta{ Name: DefaultManagedClusterSetName, }, Spec: clusterv1beta1.ManagedClusterSetSpec{ ClusterSelector: clusterv1beta1.ManagedClusterSelector{ SelectorType: clusterv1beta1.LegacyClusterSetLabel, }, }, }
View Source
var GlobalManagedClusterSet = &clusterv1beta1.ManagedClusterSet{ ObjectMeta: metav1.ObjectMeta{ Name: GlobalManagedClusterSetName, }, Spec: clusterv1beta1.ManagedClusterSetSpec{ ClusterSelector: clusterv1beta1.ManagedClusterSelector{ SelectorType: clusterv1beta1.LabelSelector, LabelSelector: &metav1.LabelSelector{}, }, }, }
Functions ¶
func NewDefaultManagedClusterSetController ¶ added in v0.7.0
func NewDefaultManagedClusterSetController( clusterSetClient clustersetv1beta1.ClusterV1beta1Interface, clusterSetInformer clusterinformerv1beta1.ManagedClusterSetInformer, recorder events.Recorder) factory.Controller
func NewGlobalManagedClusterSetController ¶ added in v0.8.0
func NewGlobalManagedClusterSetController( clusterSetClient clustersetv1beta1.ClusterV1beta1Interface, clusterSetInformer clusterinformerv1beta1.ManagedClusterSetInformer, recorder events.Recorder) factory.Controller
func NewManagedClusterSetController ¶
func NewManagedClusterSetController( clusterClient clientset.Interface, clusterInformer clusterinformerv1.ManagedClusterInformer, clusterSetInformer clusterinformerv1beta1.ManagedClusterSetInformer, recorder events.Recorder) factory.Controller
NewManagedClusterSetController creates a new managed cluster set controller
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.