jx: github.com/jenkins-x/jx/pkg/kube/resources Index | Files | Directories

package resources

import "github.com/jenkins-x/jx/pkg/kube/resources"

Index

Package Files

installer.go

type Installer Uses

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 go:generate pegomock generate github.com/jenkins-x/jx/pkg/kube/resources Installer -o mocks/installer.go

type KubeCtlInstaller Uses

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

KubeCtlInstaller kubectl based resources installer

func NewKubeCtlInstaller Uses

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

NewKubeCtlInstaller creates a new kubectl installer

func (*KubeCtlInstaller) Install Uses

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

Install installs the resources provided in the file

func (*KubeCtlInstaller) InstallDir Uses

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

InstallDir installs the resources provided in the directory

Directories

PathSynopsis
mocks

Package resources imports 1 packages (graph) and is imported by 2 packages. Updated 2019-11-17. Refresh now. Tools for package owners.