Help us shape the future of Go! Take the 2026 Go Developer Survey

config

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 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 {
	TestMode                bool
	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
	SentinelImage           string
	OnlyInstallRegion       bool

	VersionDir string
}

Config config for openapi

var C *Config

C represents a global configuration.

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