Documentation ¶
Index ¶
- func GenLocalkubeStartCmd(kubernetesConfig config.KubernetesConfig) (string, error)
- func GetLogsCommand(follow bool) (string, error)
- func GetStartCommand(kubernetesConfig config.KubernetesConfig) (string, error)
- func GetStartCommandNoSystemd(kubernetesConfig config.KubernetesConfig, localkubeStartCmd string) (string, error)
- func GetStartCommandSystemd(kubernetesConfig config.KubernetesConfig, localkubeStartCmd string) (string, error)
- type LocalkubeBootstrapper
- func (lk *LocalkubeBootstrapper) GetClusterLogsTo(follow bool, out io.Writer) error
- func (lk *LocalkubeBootstrapper) GetClusterStatus() (string, error)
- func (lk *LocalkubeBootstrapper) RestartCluster(kubernetesConfig config.KubernetesConfig) error
- func (lk *LocalkubeBootstrapper) SetupCerts(k8s config.KubernetesConfig) error
- func (lk *LocalkubeBootstrapper) StartCluster(kubernetesConfig config.KubernetesConfig) error
- func (lk *LocalkubeBootstrapper) UpdateCluster(config config.KubernetesConfig) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenLocalkubeStartCmd ¶
func GenLocalkubeStartCmd(kubernetesConfig config.KubernetesConfig) (string, error)
func GetLogsCommand ¶
func GetStartCommand ¶
func GetStartCommand(kubernetesConfig config.KubernetesConfig) (string, error)
func GetStartCommandNoSystemd ¶
func GetStartCommandNoSystemd(kubernetesConfig config.KubernetesConfig, localkubeStartCmd string) (string, error)
func GetStartCommandSystemd ¶
func GetStartCommandSystemd(kubernetesConfig config.KubernetesConfig, localkubeStartCmd string) (string, error)
Types ¶
type LocalkubeBootstrapper ¶
type LocalkubeBootstrapper struct {
// contains filtered or unexported fields
}
func NewLocalkubeBootstrapper ¶
func NewLocalkubeBootstrapper(api libmachine.API) (*LocalkubeBootstrapper, error)
func (*LocalkubeBootstrapper) GetClusterLogsTo ¶ added in v0.26.0
func (lk *LocalkubeBootstrapper) GetClusterLogsTo(follow bool, out io.Writer) error
GetClusterLogs If follow is specified, it will tail the logs
func (*LocalkubeBootstrapper) GetClusterStatus ¶
func (lk *LocalkubeBootstrapper) GetClusterStatus() (string, error)
GetClusterStatus gets the status of localkube from the host VM.
func (*LocalkubeBootstrapper) RestartCluster ¶
func (lk *LocalkubeBootstrapper) RestartCluster(kubernetesConfig config.KubernetesConfig) error
func (*LocalkubeBootstrapper) SetupCerts ¶
func (lk *LocalkubeBootstrapper) SetupCerts(k8s config.KubernetesConfig) error
func (*LocalkubeBootstrapper) StartCluster ¶
func (lk *LocalkubeBootstrapper) StartCluster(kubernetesConfig config.KubernetesConfig) error
StartCluster starts a k8s cluster on the specified Host.
func (*LocalkubeBootstrapper) UpdateCluster ¶
func (lk *LocalkubeBootstrapper) UpdateCluster(config config.KubernetesConfig) error
Click to show internal directories.
Click to hide internal directories.