cmd

package
v0.1.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2019 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const DINDWaitTime = 3

Variables

This section is empty.

Functions

func CertCommand added in v0.1.18

func CertCommand() cli.Command

func ClusterRemove

func ClusterRemove(
	ctx context.Context,
	rkeConfig *v3.RancherKubernetesEngineConfig,
	dialerFactory hosts.DialerFactory,
	k8sWrapTransport k8s.WrapTransport,
	local bool, configDir string) error

func ClusterRotate added in v0.1.18

func ClusterRotate(
	ctx context.Context,
	rkeConfig *v3.RancherKubernetesEngineConfig,
	dockerDialerFactory, localConnDialerFactory hosts.DialerFactory,
	k8sWrapTransport k8s.WrapTransport, configDir string) (string, string, string, string, map[string]pki.CertificatePKI, error)

func ClusterUp

func ClusterUp(
	ctx context.Context,
	rkeConfig *v3.RancherKubernetesEngineConfig,
	dockerDialerFactory, localConnDialerFactory hosts.DialerFactory,
	k8sWrapTransport k8s.WrapTransport,
	local bool, configDir string, updateOnly, disablePortCheck bool) (string, string, string, string, map[string]pki.CertificatePKI, error)

func ConfigCommand

func ConfigCommand() cli.Command

func EtcdCommand added in v0.1.7

func EtcdCommand() cli.Command

func RemoveCommand

func RemoveCommand() cli.Command

func RestoreEtcdSnapshot added in v0.1.7

func RestoreEtcdSnapshot(
	ctx context.Context,
	rkeConfig *v3.RancherKubernetesEngineConfig,
	dockerDialerFactory hosts.DialerFactory,
	configDir, snapshotName string) error

func RestoreEtcdSnapshotFromCli added in v0.1.7

func RestoreEtcdSnapshotFromCli(ctx *cli.Context) error

func SnapshotSaveEtcdHosts added in v0.1.7

func SnapshotSaveEtcdHosts(
	ctx context.Context,
	rkeConfig *v3.RancherKubernetesEngineConfig,
	dockerDialerFactory hosts.DialerFactory,
	configDir, snapshotName string) error

func SnapshotSaveEtcdHostsFromCli added in v0.1.7

func SnapshotSaveEtcdHostsFromCli(ctx *cli.Context) error

func UpCommand

func UpCommand() cli.Command

func VersionCommand

func VersionCommand() cli.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL