cert

package
v0.1.1-rc5 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2019 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamespaceCattleSystem  = "cattle-system"
	KubeConfigTempPath     = "./cluster_kubeconfig.yml"
	FullStateConfigMapName = "full-cluster-state"
)

Variables

View Source
var CertFlags = []cli.Flag{
	cli.StringFlag{
		Name:   "token,t",
		EnvVar: "TOKEN",
		Usage:  "Rancher server token",
	},
	cli.StringFlag{
		Name:   "url,u",
		EnvVar: "URL",
		Usage:  "Rancher server api url",
	},
	cli.StringFlag{
		Name:  "cluster",
		Usage: "user cluster name",
	},
	cli.StringFlag{
		Name:  "config",
		Usage: "cluster config file",
	},
}

Functions

func DoInfo

func DoInfo(ctx *cli.Context) error

func DoRotate

func DoRotate(ctx *cli.Context) error

func SetupRancherKubernetesEngineConfig

func SetupRancherKubernetesEngineConfig(ctx *cli.Context, clusterName string) (*v3.RancherKubernetesEngineConfig, error)

func WriteTempConfig

func WriteTempConfig(config, clusterName string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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