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
Click to show internal directories.
Click to hide internal directories.