resources

package
v2.1.126 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2020 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 Installer

type Installer interface {
	// Install installs the Kubernetes resources provided in the file
	Install(file string) (string, error)
	// InstallDir installs the Kubernetes resources provided in the directory
	InstallDir(dir string) (string, error)
}

Installer provides support for installing Kuberntes resources directly from files

type KubeCtlInstaller

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

KubeCtlInstaller kubectl based resources installer

func NewKubeCtlInstaller

func NewKubeCtlInstaller(cwd string, wait, validate bool) *KubeCtlInstaller

NewKubeCtlInstaller creates a new kubectl installer

func (*KubeCtlInstaller) Install

func (i *KubeCtlInstaller) Install(file string) (string, error)

Install installs the resources provided in the file

func (*KubeCtlInstaller) InstallDir

func (i *KubeCtlInstaller) InstallDir(dir string) (string, error)

InstallDir installs the resources provided in the directory

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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