Documentation ¶
Index ¶
- func Duration_FromProto(mapCtx *MapContext, in *durationpb.Duration) *string
- func Duration_ToProto(mapCtx *MapContext, in *string) *durationpb.Duration
- func Enum_FromProto[U ProtoEnum](mapCtx *MapContext, v U) *string
- func Enum_ToProto[U ProtoEnum](mapCtx *MapContext, in *string) U
- func Instance_HostConfig_FromProto(mapCtx *MapContext, in *pb.Instance_HostConfig) *krm.Instance_HostConfig
- func Instance_HostConfig_ToProto(mapCtx *MapContext, in *krm.Instance_HostConfig) *pb.Instance_HostConfig
- func LazyPtr[V comparable](v V) *V
- func PtrTo[T any](t T) *T
- func SecondsString_FromProto(mapCtx *MapContext, in *durationpb.Duration) *string
- func SecondsString_ToProto(mapCtx *MapContext, in *string, fieldName string) *durationpb.Duration
- func SecureSourceManagerInstanceObservedState_FromProto(mapCtx *MapContext, in *pb.Instance) *krm.SecureSourceManagerInstanceObservedState
- func SecureSourceManagerInstanceObservedState_ToProto(mapCtx *MapContext, in *krm.SecureSourceManagerInstanceObservedState) *pb.Instance
- func SecureSourceManagerInstanceSpec_FromProto(mapCtx *MapContext, in *pb.Instance) *krm.SecureSourceManagerInstanceSpec
- func SecureSourceManagerInstanceSpec_ToProto(mapCtx *MapContext, in *krm.SecureSourceManagerInstanceSpec) *pb.Instance
- func Slice_FromProto[T, U any](mapCtx *MapContext, in []*T, mapper func(mapCtx *MapContext, in *T) *U) []U
- func Slice_ToProto[T, U any](mapCtx *MapContext, in []T, mapper func(mapCtx *MapContext, in *T) *U) []*U
- func ValueOf[T any](p *T) T
- type MapContext
- type ProtoEnum
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 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
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 }
Click to show internal directories.
Click to hide internal directories.