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 (o GitAPIServerOptions) Config() (*server.GitAPIServerConfig, error)
func (GitAPIServerOptions) Run ¶
func (o GitAPIServerOptions) Run(stopCh <-chan struct{}) error
func (GitAPIServerOptions) Validate ¶
func (o GitAPIServerOptions) Validate(args []string) error
Click to show internal directories.
Click to hide internal directories.