flag_types

package
v0.4.10 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: Apache-2.0 Imports: 12 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 {
	Fd  preflect.FieldDescriptor
	Msg proto.Message
	Fp  object.FieldPath
	Tp  reflect.Type
}

func (*CustomTypeCliValueAdapter) Set

func (*CustomTypeCliValueAdapter) String

func (v *CustomTypeCliValueAdapter) String() string

func (*CustomTypeCliValueAdapter) Type

type MapVar

type MapVar struct {
	Fd  preflect.FieldDescriptor
	Msg proto.Message
	Fp  object.FieldPath
	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 {
	Fp  object.FieldPath
	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 {
	Fd  preflect.FieldDescriptor
	Msg proto.Message
	Fp  object.FieldPath
	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