clusterprovisioner

package
v2.0.0-alpha13+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: 39 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RKEDriver    = "rancherKubernetesEngine"
	RKEDriverKey = "rancherKubernetesEngineConfig"
)

Variables

This section is empty.

Functions

func Register

func Register(management *config.ManagementContext, dialerFactory dialer.Factory)

Types

type Provisioner

type Provisioner struct {
	ClusterController v3.ClusterController
	Clusters          v3.ClusterInterface
	Machines          v3.MachineLister
	MachineClient     v3.MachineInterface
	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)

type RKEDialerFactory

type RKEDialerFactory struct {
	Factory dialer.Factory
	Docker  bool
}

func (*RKEDialerFactory) Build

func (t *RKEDialerFactory) Build(h *hosts.Host) (func(network, address string) (net.Conn, error), error)

Jump to

Keyboard shortcuts

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