options

package
v1.9.4 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerRunOptions

type ServerRunOptions struct {
	GenericServerRunOptions *config.Config
}

ServerRunOptions contains everything necessary to create and run api server

func NewServerRunOptions

func NewServerRunOptions() *ServerRunOptions

NewServerRunOptions creates a new ServerRunOptions object with default parameters

func (*ServerRunOptions) Flags

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

Flags returns the complete NamedFlagSets

func (*ServerRunOptions) Validate

func (s *ServerRunOptions) Validate() error

Validate validates server run options, to find options' misconfiguration

Jump to

Keyboard shortcuts

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