server

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtraOptions

type ExtraOptions struct {
	QPS   float64
	Burst int
}

func NewExtraOptions

func NewExtraOptions() *ExtraOptions

func (*ExtraOptions) AddFlags

func (s *ExtraOptions) AddFlags(fs *pflag.FlagSet)

func (*ExtraOptions) ApplyTo

func (s *ExtraOptions) ApplyTo(clientConfig *restclient.Config) error

type SecretsStoreReaderOptions

type SecretsStoreReaderOptions struct {
	RecommendedOptions *genericoptions.RecommendedOptions
	ExtraOptions       *ExtraOptions

	StdOut io.Writer
	StdErr io.Writer
}

SecretsStoreReaderOptions contains state for master/api server

func NewSecretsStoreReaderOptions

func NewSecretsStoreReaderOptions(out, errOut io.Writer) *SecretsStoreReaderOptions

NewSecretsStoreReaderOptions returns a new SecretsStoreReaderOptions

func (SecretsStoreReaderOptions) AddFlags

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

func (*SecretsStoreReaderOptions) Complete

func (o *SecretsStoreReaderOptions) Complete() error

Complete fills in fields required to have valid data

func (*SecretsStoreReaderOptions) Config

Config returns config for the api server given SecretsStoreReaderOptions

func (SecretsStoreReaderOptions) RunServer

RunServer starts a new SecretsStoreReader given SecretsStoreReaderOptions

func (SecretsStoreReaderOptions) Validate

func (o SecretsStoreReaderOptions) Validate(args []string) error

Validate validates SecretsStoreReaderOptions

Jump to

Keyboard shortcuts

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