options

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CubeOptions

type CubeOptions struct {
	GenericCubeOpts *cube.Config
	APIServerOpts   *apiserver.Config
	CtrlMgrOpts     *ctrlmgr.Config
	ClientMgrOpts   *clients.Config
	CubeLoggerOpts  *clog.Config
	AuthMgrOpts     *authentication.Config
}

func LoadConfigFromDisk

func LoadConfigFromDisk() (*CubeOptions, error)

func NewCubeOptions

func NewCubeOptions() *CubeOptions

func (*CubeOptions) NewCube

func (s *CubeOptions) NewCube() *cube.Cube

func (*CubeOptions) Validate

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

Validate verify options for every component todo(weilaaa): complete it

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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