secretmanager

package
v1.127.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeAnnotations

func ComputeAnnotations(secret *krm.SecretManagerSecret) map[string]string

func CustomerManagedEncryptionStatus_FromProto added in v1.126.0

func CustomerManagedEncryptionStatus_FromProto(mapCtx *direct.MapContext, in *pb.CustomerManagedEncryptionStatus) *krm.CustomerManagedEncryptionStatus

func CustomerManagedEncryptionStatus_ToProto added in v1.126.0

func CustomerManagedEncryptionStatus_ToProto(mapCtx *direct.MapContext, in *krm.CustomerManagedEncryptionStatus) *pb.CustomerManagedEncryptionStatus

func MapStringInt64_ToMapStringString added in v1.126.0

func MapStringInt64_ToMapStringString(mapCtx *direct.MapContext, in map[string]int64) map[string]string

func MapStringString_ToMapStringInt64 added in v1.126.0

func MapStringString_ToMapStringInt64(mapCtx *direct.MapContext, in map[string]string) map[string]int64

func MergeMap

func MergeMap(a, b map[string]string) map[string]string

func NewModel

func NewModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func NewSecretVersionModel added in v1.126.0

func NewSecretVersionModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func ReplicationStatus_AutomaticStatus_FromProto added in v1.126.0

func ReplicationStatus_AutomaticStatus_FromProto(mapCtx *direct.MapContext, in *pb.ReplicationStatus_AutomaticStatus) *krm.ReplicationStatus_AutomaticStatus

func ReplicationStatus_AutomaticStatus_ToProto added in v1.126.0

func ReplicationStatus_AutomaticStatus_ToProto(mapCtx *direct.MapContext, in *krm.ReplicationStatus_AutomaticStatus) *pb.ReplicationStatus_AutomaticStatus

func ReplicationStatus_FromProto added in v1.126.0

func ReplicationStatus_FromProto(mapCtx *direct.MapContext, in *pb.ReplicationStatus) *krm.ReplicationStatus

func ReplicationStatus_ToProto added in v1.126.0

func ReplicationStatus_ToProto(mapCtx *direct.MapContext, in *krm.ReplicationStatus) *pb.ReplicationStatus

func ReplicationStatus_UserManagedStatus_FromProto added in v1.126.0

func ReplicationStatus_UserManagedStatus_FromProto(mapCtx *direct.MapContext, in *pb.ReplicationStatus_UserManagedStatus) *krm.ReplicationStatus_UserManagedStatus

func ReplicationStatus_UserManagedStatus_ToProto added in v1.126.0

func ReplicationStatus_UserManagedStatus_ToProto(mapCtx *direct.MapContext, in *krm.ReplicationStatus_UserManagedStatus) *pb.ReplicationStatus_UserManagedStatus

func Replication_Automatic_FromProto

func Replication_Automatic_FromProto(mapCtx *direct.MapContext, in *pb.Replication_Automatic) *krm.Replication_Automatic

func Replication_Automatic_ToProto

func Replication_Automatic_ToProto(mapCtx *direct.MapContext, in *krm.Replication_Automatic) *pb.Replication_Automatic

func Replication_FromProto

func Replication_FromProto(mapCtx *direct.MapContext, in *pb.Replication) *krm.Replication

func Replication_ToProto

func Replication_ToProto(mapCtx *direct.MapContext, in *krm.Replication) *pb.Replication

func Replication_UserManaged_FromProto

func Replication_UserManaged_FromProto(mapCtx *direct.MapContext, in *pb.Replication_UserManaged) *krm.Replication_UserManaged

func Rotation_FromProto

func Rotation_FromProto(mapCtx *direct.MapContext, in *pb.Rotation) *krm.Rotation

func Rotation_ToProto

func Rotation_ToProto(mapCtx *direct.MapContext, in *krm.Rotation) *pb.Rotation

func SecretManagerSecretObservedState_FromProto

func SecretManagerSecretObservedState_FromProto(mapCtx *direct.MapContext, in *pb.Secret) *krm.SecretManagerSecretObservedState

func SecretManagerSecretObservedState_ToProto

func SecretManagerSecretObservedState_ToProto(mapCtx *direct.MapContext, in *krm.SecretManagerSecretObservedState) *pb.Secret

func SecretManagerSecretSpec_FromProto

func SecretManagerSecretSpec_FromProto(mapCtx *direct.MapContext, in *pb.Secret) *krm.SecretManagerSecretSpec

func SecretManagerSecretSpec_ToProto

func SecretManagerSecretSpec_ToProto(mapCtx *direct.MapContext, in *krm.SecretManagerSecretSpec) *pb.Secret

func SecretManagerSecretStatusObservedState_FromProto

func SecretManagerSecretStatusObservedState_FromProto(mapCtx *direct.MapContext, in *pb.Secret) *krm.SecretManagerSecretObservedState

func SecretManagerSecretVersionObservedState_FromProto added in v1.126.0

func SecretManagerSecretVersionObservedState_FromProto(mapCtx *direct.MapContext, in *pb.SecretVersion) *krm.SecretManagerSecretVersionObservedState

func SecretManagerSecretVersionObservedState_ToProto added in v1.126.0

func SecretManagerSecretVersionObservedState_ToProto(mapCtx *direct.MapContext, in *krm.SecretManagerSecretVersionObservedState) *pb.SecretVersion

func SecretManagerSecretVersionSpec_FromProto added in v1.126.0

func SecretManagerSecretVersionSpec_FromProto(mapCtx *direct.MapContext, in *pb.SecretVersion) *krm.SecretManagerSecretVersionSpec

func SecretManagerSecretVersionSpec_ToProto added in v1.126.0

func SecretManagerSecretVersionSpec_ToProto(mapCtx *direct.MapContext, in *krm.SecretManagerSecretVersionSpec) *pb.SecretVersion

func SecretVersion_FromProto added in v1.126.0

func SecretVersion_FromProto(mapCtx *direct.MapContext, in *pb.SecretVersion) *krm.SecretVersion

func SecretVersion_ToProto added in v1.126.0

func SecretVersion_ToProto(mapCtx *direct.MapContext, in *krm.SecretVersion) *pb.SecretVersion

func Topic_FromProto

func Topic_FromProto(mapCtx *direct.MapContext, in *pb.Topic) *krm.Topic

func Topic_ToProto

func Topic_ToProto(mapCtx *direct.MapContext, in *krm.Topic) *pb.Topic

Types

type Adapter

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

func (*Adapter) Create

func (a *Adapter) Create(ctx context.Context, op *directbase.CreateOperation) error

func (*Adapter) Delete

func (a *Adapter) Delete(ctx context.Context, deleteOp *directbase.DeleteOperation) (bool, error)

Delete implements the Adapter interface.

func (*Adapter) Export

func (*Adapter) Find

func (a *Adapter) Find(ctx context.Context) (bool, error)

func (*Adapter) Update

func (a *Adapter) Update(ctx context.Context, op *directbase.UpdateOperation) error

type SecretVersionAdapter added in v1.126.0

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

func (*SecretVersionAdapter) Create added in v1.126.0

func (*SecretVersionAdapter) Delete added in v1.126.0

Delete implements the Adapter interface.

func (*SecretVersionAdapter) Export added in v1.126.0

func (*SecretVersionAdapter) Find added in v1.126.0

func (a *SecretVersionAdapter) Find(ctx context.Context) (bool, error)

func (*SecretVersionAdapter) Update added in v1.126.0

Jump to

Keyboard shortcuts

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