Documentation ¶
Index ¶
- func ValidateConfig(args map[string]string) error
- type ProvisionerExternal
- func (provisioner *ProvisionerExternal) CheckRegistryInsecureOK() error
- func (provisioner *ProvisionerExternal) EnsureCluster() error
- func (provisioner *ProvisionerExternal) InClusterDir(hostDir string) string
- func (provisioner *ProvisionerExternal) KubectlCommand(args ...string) (*exec.Cmd, error)
- func (provisioner *ProvisionerExternal) Registry() (registryAddr string, registryInsecure bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateConfig ¶
Types ¶
type ProvisionerExternal ¶
type ProvisionerExternal struct {
// contains filtered or unexported fields
}
ProvisionerExternal simply wraps an existing kubernetes cluster (accessed via kubectl) and registry
func Create ¶
func Create(args map[string]string) *ProvisionerExternal
Create returns a new ProvisionerLocalDev from the given arguments noinspection GoUnusedParameter
func (*ProvisionerExternal) CheckRegistryInsecureOK ¶
func (provisioner *ProvisionerExternal) CheckRegistryInsecureOK() error
func (*ProvisionerExternal) EnsureCluster ¶
func (provisioner *ProvisionerExternal) EnsureCluster() error
EnsureCluster does nothing for the external provisioner, basically by its definition
func (*ProvisionerExternal) InClusterDir ¶
func (provisioner *ProvisionerExternal) InClusterDir(hostDir string) string
func (*ProvisionerExternal) KubectlCommand ¶
func (provisioner *ProvisionerExternal) KubectlCommand(args ...string) (*exec.Cmd, error)
KubectlCommand for external just returns a provisioner that has KUBECONFIG pointing to the configured directory
Click to show internal directories.
Click to hide internal directories.