Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterEarly ¶
func RegisterEarly(ctx context.Context, management *config.ManagementContext, manager *clustermanager.Manager)
RegisterEarly registers ClusterLifecycleCleanup controller which is responsible for stopping rancher agent in user cluster, and de-registering k8s controllers, on cluster.remove
func RegisterLate ¶
func RegisterLate(ctx context.Context, management *config.ManagementContext, manager *clustermanager.Manager)
RegisterLate registers ClusterLifecycle controller which is responsible for starting rancher agent in user cluster, and registering k8s controllers, on cluster.update
Types ¶
type ClusterLifecycle ¶
type ClusterLifecycle struct {
Manager *clustermanager.Manager
// contains filtered or unexported fields
}
func (*ClusterLifecycle) Create ¶
func (c *ClusterLifecycle) Create(obj *v3.Cluster) (*v3.Cluster, error)
type ClusterLifecycleCleanup ¶
type ClusterLifecycleCleanup struct {
Manager *clustermanager.Manager
// contains filtered or unexported fields
}
func (*ClusterLifecycleCleanup) Create ¶
func (c *ClusterLifecycleCleanup) Create(obj *v3.Cluster) (*v3.Cluster, error)
Click to show internal directories.
Click to hide internal directories.