cluster

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeCluster

type KubeCluster interface {
	KubeVersion(ctx context.Context) string
	IsRunning(ctx context.Context) (bool, error)
	SetKubeContext(ctx context.Context) error
	Create(ctx context.Context) error
	Destroy(ctx context.Context) error
}

type Provisioner

type Provisioner interface {
	// Checks to see if a cluster with the spec exists. If so, validates that it matches the
	// spec and returns it. Otherwise, it creates the cluster.
	Ensure(ctx context.Context) error

	GetCluster() KubeCluster
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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