cluster

package
v0.0.0-...-1c17d71 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetDefaults_MasterConfiguration

func SetDefaults_MasterConfiguration(obj *kubeadm.MasterConfiguration)

Types

type Cluster

type Cluster struct {
	// contains filtered or unexported fields
}

func New

func New(config Config, cl *kinkyv1alpha1.Kinky) (*Cluster, error)

func (*Cluster) CreateEtcdCluster

func (c *Cluster) CreateEtcdCluster() (*etcdv1beta2.EtcdCluster, error)

func (*Cluster) Delete

func (c *Cluster) Delete()

func (*Cluster) GetControleplaneDeployments

func (c *Cluster) GetControleplaneDeployments(cfg *kubeadm.MasterConfiguration) (map[string]*extv1beta1.Deployment, error)

func (*Cluster) GetEtcdCluster

func (c *Cluster) GetEtcdCluster() (*etcdv1beta2.EtcdCluster, error)

func (*Cluster) Update

func (c *Cluster) Update(cl *kinkyv1alpha1.Kinky)

type Config

type Config struct {
	BaseHost string

	KinkyClient  kinkyclientset.Interface
	K8sClient    kubernetes.Interface
	EtcdClient   etcdclientset.Interface
	APIExtClient apiextensionsclientset.Interface
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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