flag_types

package
v1.5.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomTypeCliValue

type CustomTypeCliValue interface {
	fmt.Stringer
	SetFromCliFlag(raw string) error
}

type CustomTypeCliValueAdapter

type CustomTypeCliValueAdapter struct {
	FdPath []preflect.FieldDescriptor
	DVals  []interface{}
	Fd     preflect.FieldDescriptor
	Msg    proto.Message
	Tp     reflect.Type
}

func (*CustomTypeCliValueAdapter) Set

func (*CustomTypeCliValueAdapter) String

func (v *CustomTypeCliValueAdapter) String() string

func (*CustomTypeCliValueAdapter) Type

type MapVar

type MapVar struct {
	FdPath []preflect.FieldDescriptor
	DVals  []interface{}
	Fd     preflect.FieldDescriptor
	Msg    proto.Message
	Tp     reflect.Type
}

func (*MapVar) Set

func (v *MapVar) Set(raw string) error

func (*MapVar) String

func (v *MapVar) String() string

func (*MapVar) Type

func (v *MapVar) Type() string

type ScalarVar

type ScalarVar struct {
	FdPath []preflect.FieldDescriptor
	DVals  []interface{}
	Fd     preflect.FieldDescriptor
	Msg    proto.Message
	Tp     reflect.Type
}

func (*ScalarVar) Set

func (v *ScalarVar) Set(raw string) error

func (*ScalarVar) String

func (v *ScalarVar) String() string

func (*ScalarVar) Type

func (v *ScalarVar) Type() string

type SliceVar

type SliceVar struct {
	FdPath []preflect.FieldDescriptor
	DVals  []interface{}
	Fd     preflect.FieldDescriptor
	Msg    proto.Message
	Tp     reflect.Type
}

func (*SliceVar) Set

func (v *SliceVar) Set(raw string) error

func (*SliceVar) String

func (v *SliceVar) String() string

func (*SliceVar) Type

func (v *SliceVar) Type() string

Jump to

Keyboard shortcuts

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