securesourcemanager

package
v1.120.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Duration_FromProto

func Duration_FromProto(mapCtx *MapContext, in *durationpb.Duration) *string

func Duration_ToProto

func Duration_ToProto(mapCtx *MapContext, in *string) *durationpb.Duration

func Enum_FromProto

func Enum_FromProto[U ProtoEnum](mapCtx *MapContext, v U) *string

func Enum_ToProto

func Enum_ToProto[U ProtoEnum](mapCtx *MapContext, in *string) U

func Instance_HostConfig_FromProto

func Instance_HostConfig_FromProto(mapCtx *MapContext, in *pb.Instance_HostConfig) *krm.Instance_HostConfig

func Instance_HostConfig_ToProto

func Instance_HostConfig_ToProto(mapCtx *MapContext, in *krm.Instance_HostConfig) *pb.Instance_HostConfig

func LazyPtr

func LazyPtr[V comparable](v V) *V

func PtrTo

func PtrTo[T any](t T) *T

func SecondsString_FromProto

func SecondsString_FromProto(mapCtx *MapContext, in *durationpb.Duration) *string

func SecondsString_ToProto

func SecondsString_ToProto(mapCtx *MapContext, in *string, fieldName string) *durationpb.Duration

func SecureSourceManagerInstanceObservedState_FromProto

func SecureSourceManagerInstanceObservedState_FromProto(mapCtx *MapContext, in *pb.Instance) *krm.SecureSourceManagerInstanceObservedState

func SecureSourceManagerInstanceObservedState_ToProto

func SecureSourceManagerInstanceObservedState_ToProto(mapCtx *MapContext, in *krm.SecureSourceManagerInstanceObservedState) *pb.Instance

func SecureSourceManagerInstanceSpec_FromProto

func SecureSourceManagerInstanceSpec_FromProto(mapCtx *MapContext, in *pb.Instance) *krm.SecureSourceManagerInstanceSpec

func SecureSourceManagerInstanceSpec_ToProto

func SecureSourceManagerInstanceSpec_ToProto(mapCtx *MapContext, in *krm.SecureSourceManagerInstanceSpec) *pb.Instance

func Slice_FromProto

func Slice_FromProto[T, U any](mapCtx *MapContext, in []*T, mapper func(mapCtx *MapContext, in *T) *U) []U

func Slice_ToProto

func Slice_ToProto[T, U any](mapCtx *MapContext, in []T, mapper func(mapCtx *MapContext, in *T) *U) []*U

func ValueOf

func ValueOf[T any](p *T) T

Types

type MapContext

type MapContext struct {
	// contains filtered or unexported fields
}

func (*MapContext) Err

func (c *MapContext) Err() error

func (*MapContext) Errorf

func (c *MapContext) Errorf(msg string, args ...interface{})

type ProtoEnum

type ProtoEnum interface {
	~int32
	Descriptor() protoreflect.EnumDescriptor
}

Jump to

Keyboard shortcuts

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