agent

package
v2.0.0-alpha15+incompa... Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(ctx context.Context, management *config.ManagementContext)

Types

type ClusterLifecycle

type ClusterLifecycle struct {
	Manager *Manager
	// contains filtered or unexported fields
}

func (*ClusterLifecycle) Create

func (c *ClusterLifecycle) Create(obj *v3.Cluster) (*v3.Cluster, error)

func (*ClusterLifecycle) Remove

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

func (*ClusterLifecycle) Updated

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

type Manager

type Manager struct {
	ManagementConfig rest.Config
	LocalConfig      *rest.Config
	// contains filtered or unexported fields
}

func NewManager

func NewManager(management *config.ManagementContext) *Manager

func (*Manager) Start

func (m *Manager) Start(ctx context.Context, cluster *v3.Cluster) error

func (*Manager) Stop

func (m *Manager) Stop(cluster *v3.Cluster)

Jump to

Keyboard shortcuts

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