managedk8s

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct{}

Factory create new digitalocean managed-kubernetes provisioner.

func (*Factory) New

func (f *Factory) New(providerConf digitalocean.Config, state *cluster.State) (provider.Activity, error)

New create new instance of managed-kubernetes provisioner.

type K8s

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

K8s class.

func (*K8s) Check

func (p *K8s) Check() (bool, error)

Check - if s3 bucket exists.

func (*K8s) Clear

func (p *K8s) Clear() error

Clear - remove tmp and cache files.

func (*K8s) Deploy

func (p *K8s) Deploy() error

Deploy managed-kubernetes provisioner modules, save kubernetes config to kubeConfig string. Upload kube config to s3.

func (*K8s) Destroy

func (p *K8s) Destroy() error

Destroy managed-kubernetes provisioner objects.

func (*K8s) Path

func (p *K8s) Path() string

Path - return module path.

Jump to

Keyboard shortcuts

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