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 }
type ClusterLifecycleCleanup ¶
type ClusterLifecycleCleanup struct { Manager *clustermanager.Manager // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.