options

package
v0.0.0-...-1c98ef4 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerRunOptions

type ServerRunOptions struct {
	GenericServerRunOptions *genericoptions.ServerRunOptions
	Mysql                   *apioptions.MysqlOptions
	//hold etcd
	//Etcd                 *genericoptions.EtcdOptions
	SecureServing        *genericoptions.SecureServingOptionsWithLoopback
	InsecureServing      *apioptions.InsecureServingOptions
	Audit                *genericoptions.AuditOptions
	Features             *genericoptions.FeatureOptions
	Admission            *apioptions.AdmissionOptions
	Authentication       *apioptions.BuiltInAuthenticationOptions
	Authorization        *apioptions.BuiltInAuthorizationOptions
	StorageSerialization *apioptions.StorageSerializationOptions
	APIEnablement        *genericoptions.APIEnablementOptions

	//our custom options
	SwaggerUIFilePath string
}

ServerRunOptions astagent custom options

func NewServerRunOptions

func NewServerRunOptions() *ServerRunOptions

NewServerRunOptions new a ASTAgentOptions

func (*ServerRunOptions) AddFlags

func (o *ServerRunOptions) AddFlags(fs *pflag.FlagSet)

AddFlags adds flags for a specific APIServer to the specified FlagSet

func (*ServerRunOptions) Validate

func (s *ServerRunOptions) Validate() []error

Validate checks ServerRunOptions and return a slice of found errors.

Jump to

Keyboard shortcuts

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