clusterprovisioner

package
v2.1.2-rc7+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2018 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RKEDriverKey = "rancherKubernetesEngineConfig"
)

Variables

This section is empty.

Functions

func NewPersistentStore

func NewPersistentStore(namespaces v1.NamespaceInterface, secretsGetter v1.SecretsGetter) cluster.PersistentStore

func Register

func Register(management *config.ManagementContext)

Types

type Provisioner

type Provisioner struct {
	ClusterController v3.ClusterController
	Clusters          v3.ClusterInterface
	NodeLister        v3.NodeLister
	Driver            service.EngineService
	EventLogger       event.Logger
	// contains filtered or unexported fields
}

func (*Provisioner) Create

func (p *Provisioner) Create(cluster *v3.Cluster) (*v3.Cluster, error)

func (*Provisioner) Remove

func (p *Provisioner) Remove(cluster *v3.Cluster) (*v3.Cluster, error)

func (*Provisioner) Updated

func (p *Provisioner) Updated(cluster *v3.Cluster) (*v3.Cluster, error)

Jump to

Keyboard shortcuts

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