Documentation
¶
Index ¶
Constants ¶
View Source
const ( // LabelNodeRolePrefix is a label prefix for node roles // It's copied over to here until it's merged in core: https://github.com/kubernetes/kubernetes/pull/39112 LabelNodeRolePrefix = "node-role.kubernetes.io/" // NodeLabelRole specifies the role of a node NodeLabelRole = "kubernetes.io/role" // copied from k8s.io/api/core/v1/well_known_label.go LabelZoneFailureDomain = "failure-domain.beta.kubernetes.io/zone" LabelZoneRegion = "failure-domain.beta.kubernetes.io/region" LabelInstanceType = "beta.kubernetes.io/instance-type" LabelInstanceTypeStable = "node.kubernetes.io/instance-type" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterInfoReconciler ¶
type ClusterInfoReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme KubeClient kubernetes.Interface ManagedClusterDynamicClient dynamic.Interface ClusterClient clusterclientset.Interface RouteV1Client routev1.Interface ClusterName string MasterAddresses string AgentAddress string AgentIngress string AgentRoute string AgentService string AgentPort int32 Agent *agent.Agent }
ClusterInfoReconciler reconciles a ManagedClusterInfo object
func (*ClusterInfoReconciler) RefreshAgentServer ¶
func (r *ClusterInfoReconciler) RefreshAgentServer(clusterInfo *clusterv1beta1.ManagedClusterInfo)
func (*ClusterInfoReconciler) SetupWithManager ¶
func (r *ClusterInfoReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.