options

package
v0.0.0-...-43b7830 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package options contains flags and options for initializing an apiserver

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControlPlaneServerRunOptions

type ControlPlaneServerRunOptions struct {
	*controleplaneoptions.ControlPlaneOptions

	MaxConnectionBytesPerSec    int64
	ShowHiddenMetricsForVersion string
}

ControlPlaneServerRunOptions runs a kubernetes api server.

func NewControlPlaneServerRunOptions

func NewControlPlaneServerRunOptions() *ControlPlaneServerRunOptions

NewControlPlaneServerRunOptions creates a new ServerRunOptions object with default parameters

func (*ControlPlaneServerRunOptions) Complete

func (s *ControlPlaneServerRunOptions) Complete() error

func (*ControlPlaneServerRunOptions) Flags

Flags returns flags for a specific APIServer by section name

func (*ControlPlaneServerRunOptions) Validate

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

type Options

type Options struct {
	ControlPlane *ControlPlaneServerRunOptions
	Proxy        *ProxyOptions
}

func NewOptions

func NewOptions() *Options

func (*Options) Complete

func (o *Options) Complete() error

func (*Options) Flags

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

func (*Options) Validate

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

type ProxyOptions

func NewProxyOptions

func NewProxyOptions() *ProxyOptions

func (*ProxyOptions) Flags

func (s *ProxyOptions) Flags() (fss cliflag.NamedFlagSets)

Flags returns flags for a proxy by section name

func (*ProxyOptions) Validate

func (o *ProxyOptions) Validate(controlplane *ControlPlaneServerRunOptions) []error

Jump to

Keyboard shortcuts

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