protovalue

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Duration

func Duration(mutable func() protoreflect.Message, field protoreflect.FieldDescriptor) pflag.Value

func Enum

func Enum(mutable func() protoreflect.Message, field protoreflect.FieldDescriptor) pflag.Value

func EnumList added in v0.17.0

func EnumList(mutable func() protoreflect.Message, field protoreflect.FieldDescriptor) pflag.Value

func FieldMask

func FieldMask(mutable func() protoreflect.Message, field protoreflect.FieldDescriptor) pflag.Value

func MapStringString

func MapStringString(mutable func() protoreflect.Message, field protoreflect.FieldDescriptor) pflag.Value

func Primitive

func Primitive[T any](
	mutable func() protoreflect.Message,
	field protoreflect.FieldDescriptor,
	valueOf func(T) protoreflect.Value,
	parser func(string) (T, error),
) pflag.Value

func PrimitiveList

func PrimitiveList[T any](
	mutable func() protoreflect.Message,
	field protoreflect.FieldDescriptor,
	valueOf func(T) protoreflect.Value,
	parser func(string) (T, error),
) pflag.Value

func Timestamp

func Timestamp(mutable func() protoreflect.Message, field protoreflect.FieldDescriptor) pflag.Value

Types

This section is empty.

Jump to

Keyboard shortcuts

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