Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ClusternetAgentDeployment is the clusternet-agent Deployment manifest ClusternetAgentDeployment = `` /* 2045-byte string literal not displayed */ // ClusternetAgentRBACRules is the clusternet-agent RBAC rules manifest ClusternetAgentRBACRules = `` /* 1730-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterMetadata ¶
type ClusterMetadata struct { Name string Namespace string UID types.UID CreationTimestamp metav1.Time DeletionTimestamp *metav1.Time Labels map[string]string Annotations map[string]string // FailureMessage indicates that there is a fatal problem reconciling the // state, and will be set to a descriptive error message. FailureMessage *string // Phase represents the current phase of cluster actuation. Phase string }
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is a controller that discovers clusters provisioned with cluster-api. Please make sure that feature gate ClusterResourceSet is enabled in capi-controller-manager running in cluster-api management cluster. This controller only interacts with cluster-api management cluster
func NewController ¶
func NewController(clusterapiClient dynamic.Interface, kubeClient kubernetes.Interface, defaultResync time.Duration) *Controller
NewController creates a new Controller
func (*Controller) Run ¶
func (c *Controller) Run(ctx context.Context)
type RegistrationConfig ¶
Click to show internal directories.
Click to hide internal directories.