Documentation ¶
Index ¶
- func NewHostMachines(logger log.Logger, hostDir string, verbose bool) machine.MachineCURDFactory
- type ContainerName
- type DockerCli
- type HostFolder
- type HostMachine
- func (h *HostMachine) Destroy() error
- func (h *HostMachine) ExportKubeConfig(path string, force bool) error
- func (h *HostMachine) GetKubeCli() *machinekubectlcmd.CLI
- func (h *HostMachine) GetKubeConfig() string
- func (h *HostMachine) HostDir() string
- func (h *HostMachine) Info() (*machine.MachineInfo, error)
- func (h *HostMachine) Name() string
- func (h *HostMachine) Type() machine.MachineType
- func (h *HostMachine) Up() error
- type HostMachines
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHostMachines ¶
Types ¶
type ContainerName ¶
type ContainerName struct {
// contains filtered or unexported fields
}
ContainerName is a place holder for clustername and its underlying container name created by kind
func NewContainerName ¶
func NewContainerName(clustername string) ContainerName
func (ContainerName) Name ¶
func (c ContainerName) Name() string
type DockerCli ¶
type DockerCli struct {
// contains filtered or unexported fields
}
func (*DockerCli) GetClusterStatus ¶
func (cli *DockerCli) GetClusterStatus(containername ContainerName) (string, error)
func (*DockerCli) RemoteExec ¶
func (cli *DockerCli) RemoteExec(containername ContainerName, cmd string) (resp string, err error)
type HostFolder ¶
type HostFolder struct {
// contains filtered or unexported fields
}
func NewHostFolder ¶
func NewHostFolder(folderpath string) *HostFolder
func (*HostFolder) GenerateFiles ¶
func (h *HostFolder) GenerateFiles(tmplConfig *hosttemplates.DockerHostmachineTemplateConfig) error
type HostMachine ¶
type HostMachine struct {
// contains filtered or unexported fields
}
func (*HostMachine) Destroy ¶
func (h *HostMachine) Destroy() error
func (*HostMachine) ExportKubeConfig ¶
func (h *HostMachine) ExportKubeConfig(path string, force bool) error
func (*HostMachine) GetKubeCli ¶
func (h *HostMachine) GetKubeCli() *machinekubectlcmd.CLI
func (*HostMachine) GetKubeConfig ¶
func (h *HostMachine) GetKubeConfig() string
func (*HostMachine) HostDir ¶
func (h *HostMachine) HostDir() string
func (*HostMachine) Info ¶
func (h *HostMachine) Info() (*machine.MachineInfo, error)
func (*HostMachine) Name ¶
func (h *HostMachine) Name() string
func (*HostMachine) Type ¶
func (h *HostMachine) Type() machine.MachineType
func (*HostMachine) Up ¶
func (h *HostMachine) Up() error
type HostMachines ¶
type HostMachines struct {
// contains filtered or unexported fields
}
func (*HostMachines) EnsureRuntime ¶
func (hm *HostMachines) EnsureRuntime() error
func (*HostMachines) ListMachines ¶
func (hm *HostMachines) ListMachines() ([]machine.MachineCURD, error)
func (*HostMachines) NewMachine ¶
func (hm *HostMachines) NewMachine(name string, options machine.MachineConfiger) (machine.MachineCURD, error)
Click to show internal directories.
Click to hide internal directories.