server

package
v0.0.0-...-e4dcd5c Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: LGPL-2.1 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandStartBlueChiServer

func NewCommandStartBlueChiServer(defaults *BlueChiServerOptions, stopCh <-chan struct{}) *cobra.Command

NewCommandStartBlueChiServer provides a CLI handler for 'start master' command with a default BlueChiServerOptions.

Types

type BlueChiServerOptions

type BlueChiServerOptions struct {
	RecommendedOptions *genericoptions.RecommendedOptions

	SharedInformerFactory informers.SharedInformerFactory
	StdOut                io.Writer
	StdErr                io.Writer

	AlternateDNS []string
}

BlueChiServerOptions contains state for master/api server

func NewBlueChiServerOptions

func NewBlueChiServerOptions(out, errOut io.Writer) *BlueChiServerOptions

NewBlueChiServerOptions returns a new BlueChiServerOptions

func (*BlueChiServerOptions) Complete

func (o *BlueChiServerOptions) Complete() error

Complete fills in fields required to have valid data

func (*BlueChiServerOptions) Config

func (o *BlueChiServerOptions) Config() (*apiserver.Config, error)

Config returns config for the api server given BlueChiServerOptions

func (BlueChiServerOptions) RunBlueChiServer

func (o BlueChiServerOptions) RunBlueChiServer(stopCh <-chan struct{}) error

RunBlueChiServer starts a new BlueChiServer given BlueChiServerOptions

func (BlueChiServerOptions) Validate

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

Validate validates BlueChiServerOptions

Jump to

Keyboard shortcuts

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