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