Documentation ¶
Index ¶
- func ComputeAnnotations(secret *krm.SecretManagerSecret) map[string]string
- func CustomerManagedEncryptionStatus_FromProto(mapCtx *direct.MapContext, in *pb.CustomerManagedEncryptionStatus) *krm.CustomerManagedEncryptionStatus
- func CustomerManagedEncryptionStatus_ToProto(mapCtx *direct.MapContext, in *krm.CustomerManagedEncryptionStatus) *pb.CustomerManagedEncryptionStatus
- func CustomerManagedEncryption_FromProto(mapCtx *direct.MapContext, in *pb.CustomerManagedEncryption) *krm.CustomerManagedEncryption
- func CustomerManagedEncryption_ToProto(mapCtx *direct.MapContext, in *krm.CustomerManagedEncryption) *pb.CustomerManagedEncryption
- func MapStringInt64_ToMapStringString(mapCtx *direct.MapContext, in map[string]int64) map[string]string
- func MapStringString_ToMapStringInt64(mapCtx *direct.MapContext, in map[string]string) map[string]int64
- func MergeMap(a, b map[string]string) map[string]string
- func NewModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)
- func NewSecretVersionModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)
- func ReplicationStatus_AutomaticStatus_FromProto(mapCtx *direct.MapContext, in *pb.ReplicationStatus_AutomaticStatus) *krm.ReplicationStatus_AutomaticStatus
- func ReplicationStatus_AutomaticStatus_ToProto(mapCtx *direct.MapContext, in *krm.ReplicationStatus_AutomaticStatus) *pb.ReplicationStatus_AutomaticStatus
- func ReplicationStatus_FromProto(mapCtx *direct.MapContext, in *pb.ReplicationStatus) *krm.ReplicationStatus
- func ReplicationStatus_ToProto(mapCtx *direct.MapContext, in *krm.ReplicationStatus) *pb.ReplicationStatus
- func ReplicationStatus_UserManagedStatus_FromProto(mapCtx *direct.MapContext, in *pb.ReplicationStatus_UserManagedStatus) *krm.ReplicationStatus_UserManagedStatus
- func ReplicationStatus_UserManagedStatus_ReplicaStatus_FromProto(mapCtx *direct.MapContext, ...) *krm.ReplicationStatus_UserManagedStatus_ReplicaStatus
- func ReplicationStatus_UserManagedStatus_ReplicaStatus_ToProto(mapCtx *direct.MapContext, ...) *pb.ReplicationStatus_UserManagedStatus_ReplicaStatus
- func ReplicationStatus_UserManagedStatus_ToProto(mapCtx *direct.MapContext, in *krm.ReplicationStatus_UserManagedStatus) *pb.ReplicationStatus_UserManagedStatus
- func Replication_Automatic_FromProto(mapCtx *direct.MapContext, in *pb.Replication_Automatic) *krm.Replication_Automatic
- func Replication_Automatic_ToProto(mapCtx *direct.MapContext, in *krm.Replication_Automatic) *pb.Replication_Automatic
- func Replication_FromProto(mapCtx *direct.MapContext, in *pb.Replication) *krm.Replication
- func Replication_ToProto(mapCtx *direct.MapContext, in *krm.Replication) *pb.Replication
- func Replication_UserManaged_FromProto(mapCtx *direct.MapContext, in *pb.Replication_UserManaged) *krm.Replication_UserManaged
- func Replication_UserManaged_Replica_FromProto(mapCtx *direct.MapContext, in *pb.Replication_UserManaged_Replica) *krm.Replication_UserManaged_Replica
- func Replication_UserManaged_Replica_ToProto(mapCtx *direct.MapContext, in *krm.Replication_UserManaged_Replica) *pb.Replication_UserManaged_Replica
- func Replication_UserManaged_ToProto(mapCtx *direct.MapContext, in *krm.Replication_UserManaged) *pb.Replication_UserManaged
- func Rotation_FromProto(mapCtx *direct.MapContext, in *pb.Rotation) *krm.Rotation
- func Rotation_ToProto(mapCtx *direct.MapContext, in *krm.Rotation) *pb.Rotation
- func SecretManagerSecretObservedState_FromProto(mapCtx *direct.MapContext, in *pb.Secret) *krm.SecretManagerSecretObservedState
- func SecretManagerSecretObservedState_ToProto(mapCtx *direct.MapContext, in *krm.SecretManagerSecretObservedState) *pb.Secret
- func SecretManagerSecretSpec_FromProto(mapCtx *direct.MapContext, in *pb.Secret) *krm.SecretManagerSecretSpec
- func SecretManagerSecretSpec_ToProto(mapCtx *direct.MapContext, in *krm.SecretManagerSecretSpec) *pb.Secret
- func SecretManagerSecretStatusObservedState_FromProto(mapCtx *direct.MapContext, in *pb.Secret) *krm.SecretManagerSecretObservedState
- func SecretManagerSecretVersionObservedState_FromProto(mapCtx *direct.MapContext, in *pb.SecretVersion) *krm.SecretManagerSecretVersionObservedState
- func SecretManagerSecretVersionObservedState_ToProto(mapCtx *direct.MapContext, in *krm.SecretManagerSecretVersionObservedState) *pb.SecretVersion
- func SecretManagerSecretVersionSpec_FromProto(mapCtx *direct.MapContext, in *pb.SecretVersion) *krm.SecretManagerSecretVersionSpec
- func SecretManagerSecretVersionSpec_ToProto(mapCtx *direct.MapContext, in *krm.SecretManagerSecretVersionSpec) *pb.SecretVersion
- func SecretVersion_FromProto(mapCtx *direct.MapContext, in *pb.SecretVersion) *krm.SecretVersion
- func SecretVersion_ToProto(mapCtx *direct.MapContext, in *krm.SecretVersion) *pb.SecretVersion
- func Topic_FromProto(mapCtx *direct.MapContext, in *pb.Topic) *krm.Topic
- func Topic_ToProto(mapCtx *direct.MapContext, in *krm.Topic) *pb.Topic
- type Adapter
- func (a *Adapter) Create(ctx context.Context, op *directbase.CreateOperation) error
- func (a *Adapter) Delete(ctx context.Context, deleteOp *directbase.DeleteOperation) (bool, error)
- func (a *Adapter) Export(ctx context.Context) (*unstructured.Unstructured, error)
- func (a *Adapter) Find(ctx context.Context) (bool, error)
- func (a *Adapter) Update(ctx context.Context, op *directbase.UpdateOperation) error
- type SecretVersionAdapter
- func (a *SecretVersionAdapter) Create(ctx context.Context, createOp *directbase.CreateOperation) error
- func (a *SecretVersionAdapter) Delete(ctx context.Context, deleteOp *directbase.DeleteOperation) (bool, error)
- func (a *SecretVersionAdapter) Export(ctx context.Context) (*unstructured.Unstructured, error)
- func (a *SecretVersionAdapter) Find(ctx context.Context) (bool, error)
- func (a *SecretVersionAdapter) Update(ctx context.Context, updateOp *directbase.UpdateOperation) error
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 CustomerManagedEncryption_FromProto ¶
func CustomerManagedEncryption_FromProto(mapCtx *direct.MapContext, in *pb.CustomerManagedEncryption) *krm.CustomerManagedEncryption
func CustomerManagedEncryption_ToProto ¶
func CustomerManagedEncryption_ToProto(mapCtx *direct.MapContext, in *krm.CustomerManagedEncryption) *pb.CustomerManagedEncryption
func MapStringInt64_ToMapStringString ¶ added in v1.126.0
func MapStringString_ToMapStringInt64 ¶ added in v1.126.0
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_ReplicaStatus_FromProto ¶ added in v1.126.0
func ReplicationStatus_UserManagedStatus_ReplicaStatus_FromProto(mapCtx *direct.MapContext, in *pb.ReplicationStatus_UserManagedStatus_ReplicaStatus) *krm.ReplicationStatus_UserManagedStatus_ReplicaStatus
func ReplicationStatus_UserManagedStatus_ReplicaStatus_ToProto ¶ added in v1.126.0
func ReplicationStatus_UserManagedStatus_ReplicaStatus_ToProto(mapCtx *direct.MapContext, in *krm.ReplicationStatus_UserManagedStatus_ReplicaStatus) *pb.ReplicationStatus_UserManagedStatus_ReplicaStatus
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 Replication_UserManaged_Replica_FromProto ¶
func Replication_UserManaged_Replica_FromProto(mapCtx *direct.MapContext, in *pb.Replication_UserManaged_Replica) *krm.Replication_UserManaged_Replica
func Replication_UserManaged_Replica_ToProto ¶
func Replication_UserManaged_Replica_ToProto(mapCtx *direct.MapContext, in *krm.Replication_UserManaged_Replica) *pb.Replication_UserManaged_Replica
func Replication_UserManaged_ToProto ¶
func Replication_UserManaged_ToProto(mapCtx *direct.MapContext, in *krm.Replication_UserManaged) *pb.Replication_UserManaged
func Rotation_FromProto ¶
func Rotation_ToProto ¶
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_ToProto ¶
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 (a *Adapter) Export(ctx context.Context) (*unstructured.Unstructured, 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 (a *SecretVersionAdapter) Create(ctx context.Context, createOp *directbase.CreateOperation) error
func (*SecretVersionAdapter) Delete ¶ added in v1.126.0
func (a *SecretVersionAdapter) Delete(ctx context.Context, deleteOp *directbase.DeleteOperation) (bool, error)
Delete implements the Adapter interface.
func (*SecretVersionAdapter) Export ¶ added in v1.126.0
func (a *SecretVersionAdapter) Export(ctx context.Context) (*unstructured.Unstructured, error)
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
func (a *SecretVersionAdapter) Update(ctx context.Context, updateOp *directbase.UpdateOperation) error
Click to show internal directories.
Click to hide internal directories.