option

package
v0.0.0-...-67d514a Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2020 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	KubeconfigPath     string
	Namespace          string
	ClusterName        string
	EtcdSecretName     string
	DownloadURL        string
	DownloadMD5        string
	ArchiveFilePath    string
	KubeClient         kubernetes.Interface // TODO
	RainbondKubeClient versioned.Interface
	RestConfig         *rest.Config
	SuffixHTTPHost     string // suffix http host configmap name
	KubeCfgSecretName  string
	Rainbondpackage    string
	LogLevel           string
}

Config config for openapi

func (*Config) AddFlags

func (c *Config) AddFlags(fs *pflag.FlagSet)

AddFlags add flag

func (*Config) SetLog

func (c *Config) SetLog()

SetLog set log

Jump to

Keyboard shortcuts

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