options

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	GrpcOptions            *coptions.GrpcOptions            `json:"grpc"  mapstructure:"grpc"`
	InsecureServingOptions *coptions.InsecureServingOptions `json:"insecure" mapstructure:"insecure"`
	EtcdOptions            *coptions.EtcdOptions            `json:"etcd" mapstructure:"etcd"`
	LoggerOptions          *zlog.Options                    `json:"logger" mapstructure:"logger"`
}

func New

func New() *Options

func (*Options) Complete

func (o *Options) Complete() error

func (*Options) Flags

func (o *Options) Flags() (fss flag.NamedFlagSets)

func (*Options) String

func (o *Options) String() string

func (*Options) Validate

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

Jump to

Keyboard shortcuts

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