k8

package
v0.0.0-...-caa93d7 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Arch

func Arch(arch string) func(*K8)

Arch sets a CPU architecture for the kubernetes client

Types

type K8

type K8 struct {
	Client kubernetes.Interface
	// contains filtered or unexported fields
}

K8 allows our cluster manipulations

func New

func New(config string, opts ...func(*K8)) (*K8, error)

New creates a new K8 instance

func (*K8) GetSecret

func (k *K8) GetSecret(url string) (*corev1.Secret, error)

GetSecret returns the specified url's secret

func (*K8) RunBuild

func (k *K8) RunBuild(url string) error

RunBuild starts a pod build

func (*K8) SetSecret

func (k *K8) SetSecret(url string, args ...string) error

SetSecret sets a config value in the specified url's secret

Jump to

Keyboard shortcuts

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