usercontrollers

package
v2.1.11+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

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

Types

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)

func (*ClusterLifecycleCleanup) Remove

func (c *ClusterLifecycleCleanup) Remove(obj *v3.Cluster) (*v3.Cluster, error)

func (*ClusterLifecycleCleanup) Updated

func (c *ClusterLifecycleCleanup) Updated(obj *v3.Cluster) (*v3.Cluster, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL