Documentation ¶
Index ¶
- Constants
- Variables
- func NewDefaultManagedClusterSetController(clusterSetClient clustersetv1beta2.ClusterV1beta2Interface, ...) factory.Controller
- func NewGlobalManagedClusterSetController(clusterSetClient clustersetv1beta2.ClusterV1beta2Interface, ...) factory.Controller
- func NewManagedClusterSetController(clusterClient clientset.Interface, ...) factory.Controller
Constants ¶
View Source
const ( // TODO move these to api repos ReasonClusterSelected = "ClustersSelected" ReasonNoClusterMatchced = "NoClusterMatched" )
View Source
const (
DefaultManagedClusterSetName = "default"
)
View Source
const (
GlobalManagedClusterSetName = "global"
)
Variables ¶
View Source
var DefaultManagedClusterSet = &clusterv1beta2.ManagedClusterSet{ ObjectMeta: metav1.ObjectMeta{ Name: DefaultManagedClusterSetName, }, Spec: clusterv1beta2.ManagedClusterSetSpec{ ClusterSelector: clusterv1beta2.ManagedClusterSelector{ SelectorType: clusterv1beta2.ExclusiveClusterSetLabel, }, }, }
View Source
var GlobalManagedClusterSet = &clusterv1beta2.ManagedClusterSet{ ObjectMeta: metav1.ObjectMeta{ Name: GlobalManagedClusterSetName, }, Spec: clusterv1beta2.ManagedClusterSetSpec{ ClusterSelector: clusterv1beta2.ManagedClusterSelector{ SelectorType: clusterv1beta2.LabelSelector, LabelSelector: &metav1.LabelSelector{}, }, }, }
Functions ¶
func NewDefaultManagedClusterSetController ¶
func NewDefaultManagedClusterSetController( clusterSetClient clustersetv1beta2.ClusterV1beta2Interface, clusterSetInformer clusterinformerv1beta2.ManagedClusterSetInformer, recorder events.Recorder) factory.Controller
func NewGlobalManagedClusterSetController ¶
func NewGlobalManagedClusterSetController( clusterSetClient clustersetv1beta2.ClusterV1beta2Interface, clusterSetInformer clusterinformerv1beta2.ManagedClusterSetInformer, recorder events.Recorder) factory.Controller
func NewManagedClusterSetController ¶
func NewManagedClusterSetController( clusterClient clientset.Interface, clusterInformer clusterinformerv1.ManagedClusterInformer, clusterSetInformer clusterinformerv1beta2.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.