option

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 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 {
	RainbondVersion         string
	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
	InstallMode             string
	RainbondImageRepository string
	InitPath                string
	OnlyInstallRegion       bool
}

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