options

package
v3.0.0-...-e5452b6 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const RegistriesDefaultConfig = "/opt/kubeflow/image_registries.yaml"

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerOption

type ServerOption struct {
	Apply                bool
	PrintVersion         bool
	JsonLogFormat        bool
	InCluster            bool
	KeepAlive            bool
	InstallIstio         bool
	Port                 int
	AppName              string
	AppDir               string
	Config               string
	Email                string
	GkeVersionOverride   string
	Mode                 string
	NameSpace            string
	RegistriesConfigFile string
	KfctlAppsNamespace   string
}

ServerOption is the main context object for the controller manager.

func NewServerOption

func NewServerOption() *ServerOption

NewServerOption creates a new CMServer with a default config.

func (*ServerOption) AddFlags

func (s *ServerOption) AddFlags(fs *flag.FlagSet)

AddFlags adds flags for a specific Server to the specified FlagSet

Jump to

Keyboard shortcuts

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