options

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	GenericServerRunOptions    *genericoptions.ServerRunOptions           `json:"server"                 mapstructure:"server"`
	SecureServing              *genericoptions.SecureServingOptions       `json:"secure"                 mapstructure:"secure"`
	InsecureServing            *genericoptions.InsecureServingOptions     `json:"insecure"               mapstructure:"insecure"`
	RAOptions                  *genericoptions.RAOptions                  `json:"ra"                     mapstructure:"ra"`
	GRPCServing                *genericoptions.GRPCServerOptions          `json:"grpc"                   mapstructure:"grpc"`
	WebServerConfigsOptions    *genericoptions.WebServerConfigsOptions    `json:"web-server-configs"     mapstructure:"web-server-configs"`
	MonitorOptions             *genericoptions.MonitorOptions             `json:"monitor"                mapstructure:"monitor"`
	WebServerLogWatcherOptions *genericoptions.WebServerLogWatcherOptions `json:"web-server-log-watcher" mapstructure:"web-server-log-watcher"`
	Log                        *log.Options                               `json:"log"                    mapstructure:"log"`
}

func NewOptions

func NewOptions() *Options

func (*Options) ApplyTo

func (o *Options) ApplyTo(c *server.Config) error

func (*Options) Complete

func (o *Options) Complete() error

func (*Options) Flags

func (o *Options) Flags() (fss cliflag.NamedFlagSets)

func (*Options) Strings

func (o *Options) Strings() string

func (*Options) Validate

func (o *Options) Validate() []error

Jump to

Keyboard shortcuts

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