server

package
v0.0.0-...-f69cff6 Latest Latest
Warning

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

Go to latest
Published: May 26, 2019 License: Apache-2.0 Imports: 20 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 {
	EnableRBAC           bool
	GitAPIServerImageTag string
	DockerRegistry       string
	MaxNumRequeues       int
	NumThreads           int
	ScratchDir           string
	QPS                  float64
	Burst                int
	ResyncPeriod         time.Duration
}

func NewExtraOptions

func NewExtraOptions() *ExtraOptions

func (*ExtraOptions) AddFlags

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

func (*ExtraOptions) AddGoFlags

func (s *ExtraOptions) AddGoFlags(fs *flag.FlagSet)

func (*ExtraOptions) ApplyTo

func (s *ExtraOptions) ApplyTo(cfg *controller.Config) error

type GitAPIServerOptions

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

	StdOut io.Writer
	StdErr io.Writer
}

func NewGitAPIServerOptions

func NewGitAPIServerOptions(out, errOut io.Writer) *GitAPIServerOptions

func (GitAPIServerOptions) AddFlags

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

func (*GitAPIServerOptions) Complete

func (o *GitAPIServerOptions) Complete() error

func (GitAPIServerOptions) Config

func (GitAPIServerOptions) Run

func (o GitAPIServerOptions) Run(stopCh <-chan struct{}) error

func (GitAPIServerOptions) Validate

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

Jump to

Keyboard shortcuts

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