Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=secretmanager.gcp.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type ConditionInitParameters
- type ConditionObservation
- type ConditionParameters
- type CustomerManagedEncryptionInitParameters
- type CustomerManagedEncryptionObservation
- type CustomerManagedEncryptionParameters
- type ReplicasInitParameters
- type ReplicasObservation
- type ReplicasParameters
- type ReplicationInitParameters
- type ReplicationObservation
- type ReplicationParameters
- type RotationInitParameters
- type RotationObservation
- type RotationParameters
- type Secret
- func (in *Secret) DeepCopy() *Secret
- func (in *Secret) DeepCopyInto(out *Secret)
- func (in *Secret) DeepCopyObject() runtime.Object
- func (mg *Secret) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Secret) GetConnectionDetailsMapping() map[string]string
- func (mg *Secret) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Secret) GetID() string
- func (tr *Secret) GetInitParameters() (map[string]any, error)
- func (mg *Secret) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Secret) GetObservation() (map[string]any, error)
- func (tr *Secret) GetParameters() (map[string]any, error)
- func (mg *Secret) GetProviderConfigReference() *xpv1.Reference
- func (mg *Secret) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Secret) GetTerraformResourceType() string
- func (tr *Secret) GetTerraformSchemaVersion() int
- func (mg *Secret) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Secret) LateInitialize(attrs []byte) (bool, error)
- func (mg *Secret) SetConditions(c ...xpv1.Condition)
- func (mg *Secret) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Secret) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Secret) SetObservation(obs map[string]any) error
- func (tr *Secret) SetParameters(params map[string]any) error
- func (mg *Secret) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Secret) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Secret) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SecretIAMMember
- func (in *SecretIAMMember) DeepCopy() *SecretIAMMember
- func (in *SecretIAMMember) DeepCopyInto(out *SecretIAMMember)
- func (in *SecretIAMMember) DeepCopyObject() runtime.Object
- func (mg *SecretIAMMember) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *SecretIAMMember) GetConnectionDetailsMapping() map[string]string
- func (mg *SecretIAMMember) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *SecretIAMMember) GetID() string
- func (tr *SecretIAMMember) GetInitParameters() (map[string]any, error)
- func (mg *SecretIAMMember) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *SecretIAMMember) GetObservation() (map[string]any, error)
- func (tr *SecretIAMMember) GetParameters() (map[string]any, error)
- func (mg *SecretIAMMember) GetProviderConfigReference() *xpv1.Reference
- func (mg *SecretIAMMember) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *SecretIAMMember) GetTerraformResourceType() string
- func (tr *SecretIAMMember) GetTerraformSchemaVersion() int
- func (mg *SecretIAMMember) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *SecretIAMMember) LateInitialize(attrs []byte) (bool, error)
- func (mg *SecretIAMMember) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *SecretIAMMember) SetConditions(c ...xpv1.Condition)
- func (mg *SecretIAMMember) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *SecretIAMMember) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *SecretIAMMember) SetObservation(obs map[string]any) error
- func (tr *SecretIAMMember) SetParameters(params map[string]any) error
- func (mg *SecretIAMMember) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *SecretIAMMember) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *SecretIAMMember) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SecretIAMMemberInitParameters
- type SecretIAMMemberList
- type SecretIAMMemberObservation
- type SecretIAMMemberParameters
- type SecretIAMMemberSpec
- type SecretIAMMemberStatus
- type SecretInitParameters
- type SecretList
- type SecretObservation
- type SecretParameters
- type SecretSpec
- type SecretStatus
- type SecretVersion
- func (in *SecretVersion) DeepCopy() *SecretVersion
- func (in *SecretVersion) DeepCopyInto(out *SecretVersion)
- func (in *SecretVersion) DeepCopyObject() runtime.Object
- func (mg *SecretVersion) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *SecretVersion) GetConnectionDetailsMapping() map[string]string
- func (mg *SecretVersion) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *SecretVersion) GetID() string
- func (tr *SecretVersion) GetInitParameters() (map[string]any, error)
- func (mg *SecretVersion) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *SecretVersion) GetObservation() (map[string]any, error)
- func (tr *SecretVersion) GetParameters() (map[string]any, error)
- func (mg *SecretVersion) GetProviderConfigReference() *xpv1.Reference
- func (mg *SecretVersion) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *SecretVersion) GetTerraformResourceType() string
- func (tr *SecretVersion) GetTerraformSchemaVersion() int
- func (mg *SecretVersion) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *SecretVersion) LateInitialize(attrs []byte) (bool, error)
- func (mg *SecretVersion) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *SecretVersion) SetConditions(c ...xpv1.Condition)
- func (mg *SecretVersion) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *SecretVersion) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *SecretVersion) SetObservation(obs map[string]any) error
- func (tr *SecretVersion) SetParameters(params map[string]any) error
- func (mg *SecretVersion) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *SecretVersion) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *SecretVersion) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SecretVersionInitParameters
- type SecretVersionList
- type SecretVersionObservation
- type SecretVersionParameters
- type SecretVersionSpec
- type SecretVersionStatus
- type TopicsInitParameters
- type TopicsObservation
- type TopicsParameters
- type UserManagedInitParameters
- type UserManagedObservation
- type UserManagedParameters
Constants ¶
const ( CRDGroup = "secretmanager.gcp.upbound.io" CRDVersion = "v1beta1" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( Secret_Kind = "Secret" Secret_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Secret_Kind}.String() Secret_KindAPIVersion = Secret_Kind + "." + CRDGroupVersion.String() Secret_GroupVersionKind = CRDGroupVersion.WithKind(Secret_Kind) )
Repository type metadata.
var ( SecretIAMMember_Kind = "SecretIAMMember" SecretIAMMember_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SecretIAMMember_Kind}.String() SecretIAMMember_KindAPIVersion = SecretIAMMember_Kind + "." + CRDGroupVersion.String() SecretIAMMember_GroupVersionKind = CRDGroupVersion.WithKind(SecretIAMMember_Kind) )
Repository type metadata.
var ( SecretVersion_Kind = "SecretVersion" SecretVersion_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SecretVersion_Kind}.String() SecretVersion_KindAPIVersion = SecretVersion_Kind + "." + CRDGroupVersion.String() SecretVersion_GroupVersionKind = CRDGroupVersion.WithKind(SecretVersion_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type ConditionInitParameters ¶ added in v0.35.0
type ConditionInitParameters struct { Description *string `json:"description,omitempty" tf:"description,omitempty"` Expression *string `json:"expression,omitempty" tf:"expression,omitempty"` Title *string `json:"title,omitempty" tf:"title,omitempty"` }
func (*ConditionInitParameters) DeepCopy ¶ added in v0.35.0
func (in *ConditionInitParameters) DeepCopy() *ConditionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionInitParameters.
func (*ConditionInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *ConditionInitParameters) DeepCopyInto(out *ConditionInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionObservation ¶
type ConditionObservation struct { Description *string `json:"description,omitempty" tf:"description,omitempty"` Expression *string `json:"expression,omitempty" tf:"expression,omitempty"` Title *string `json:"title,omitempty" tf:"title,omitempty"` }
func (*ConditionObservation) DeepCopy ¶
func (in *ConditionObservation) DeepCopy() *ConditionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionObservation.
func (*ConditionObservation) DeepCopyInto ¶
func (in *ConditionObservation) DeepCopyInto(out *ConditionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionParameters ¶
type ConditionParameters struct { // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // +kubebuilder:validation:Optional Expression *string `json:"expression" tf:"expression,omitempty"` // +kubebuilder:validation:Optional Title *string `json:"title" tf:"title,omitempty"` }
func (*ConditionParameters) DeepCopy ¶
func (in *ConditionParameters) DeepCopy() *ConditionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionParameters.
func (*ConditionParameters) DeepCopyInto ¶
func (in *ConditionParameters) DeepCopyInto(out *ConditionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomerManagedEncryptionInitParameters ¶ added in v0.35.0
type CustomerManagedEncryptionInitParameters struct { // Describes the Cloud KMS encryption key that will be used to protect destination secret. KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"` }
func (*CustomerManagedEncryptionInitParameters) DeepCopy ¶ added in v0.35.0
func (in *CustomerManagedEncryptionInitParameters) DeepCopy() *CustomerManagedEncryptionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomerManagedEncryptionInitParameters.
func (*CustomerManagedEncryptionInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *CustomerManagedEncryptionInitParameters) DeepCopyInto(out *CustomerManagedEncryptionInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomerManagedEncryptionObservation ¶
type CustomerManagedEncryptionObservation struct { // Describes the Cloud KMS encryption key that will be used to protect destination secret. KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"` }
func (*CustomerManagedEncryptionObservation) DeepCopy ¶
func (in *CustomerManagedEncryptionObservation) DeepCopy() *CustomerManagedEncryptionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomerManagedEncryptionObservation.
func (*CustomerManagedEncryptionObservation) DeepCopyInto ¶
func (in *CustomerManagedEncryptionObservation) DeepCopyInto(out *CustomerManagedEncryptionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomerManagedEncryptionParameters ¶
type CustomerManagedEncryptionParameters struct { // Describes the Cloud KMS encryption key that will be used to protect destination secret. // +kubebuilder:validation:Optional KMSKeyName *string `json:"kmsKeyName" tf:"kms_key_name,omitempty"` }
func (*CustomerManagedEncryptionParameters) DeepCopy ¶
func (in *CustomerManagedEncryptionParameters) DeepCopy() *CustomerManagedEncryptionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomerManagedEncryptionParameters.
func (*CustomerManagedEncryptionParameters) DeepCopyInto ¶
func (in *CustomerManagedEncryptionParameters) DeepCopyInto(out *CustomerManagedEncryptionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicasInitParameters ¶ added in v0.35.0
type ReplicasInitParameters struct { // Customer Managed Encryption for the secret. // Structure is documented below. CustomerManagedEncryption []CustomerManagedEncryptionInitParameters `json:"customerManagedEncryption,omitempty" tf:"customer_managed_encryption,omitempty"` // The canonical IDs of the location to replicate data. For example: "us-east1". Location *string `json:"location,omitempty" tf:"location,omitempty"` }
func (*ReplicasInitParameters) DeepCopy ¶ added in v0.35.0
func (in *ReplicasInitParameters) DeepCopy() *ReplicasInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicasInitParameters.
func (*ReplicasInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *ReplicasInitParameters) DeepCopyInto(out *ReplicasInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicasObservation ¶
type ReplicasObservation struct { // Customer Managed Encryption for the secret. // Structure is documented below. CustomerManagedEncryption []CustomerManagedEncryptionObservation `json:"customerManagedEncryption,omitempty" tf:"customer_managed_encryption,omitempty"` // The canonical IDs of the location to replicate data. For example: "us-east1". Location *string `json:"location,omitempty" tf:"location,omitempty"` }
func (*ReplicasObservation) DeepCopy ¶
func (in *ReplicasObservation) DeepCopy() *ReplicasObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicasObservation.
func (*ReplicasObservation) DeepCopyInto ¶
func (in *ReplicasObservation) DeepCopyInto(out *ReplicasObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicasParameters ¶
type ReplicasParameters struct { // Customer Managed Encryption for the secret. // Structure is documented below. // +kubebuilder:validation:Optional CustomerManagedEncryption []CustomerManagedEncryptionParameters `json:"customerManagedEncryption,omitempty" tf:"customer_managed_encryption,omitempty"` // The canonical IDs of the location to replicate data. For example: "us-east1". // +kubebuilder:validation:Optional Location *string `json:"location" tf:"location,omitempty"` }
func (*ReplicasParameters) DeepCopy ¶
func (in *ReplicasParameters) DeepCopy() *ReplicasParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicasParameters.
func (*ReplicasParameters) DeepCopyInto ¶
func (in *ReplicasParameters) DeepCopyInto(out *ReplicasParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicationInitParameters ¶ added in v0.35.0
type ReplicationInitParameters struct { // The Secret will automatically be replicated without any restrictions. Automatic *bool `json:"automatic,omitempty" tf:"automatic,omitempty"` // The Secret will be replicated to the regions specified by the user. // Structure is documented below. UserManaged []UserManagedInitParameters `json:"userManaged,omitempty" tf:"user_managed,omitempty"` }
func (*ReplicationInitParameters) DeepCopy ¶ added in v0.35.0
func (in *ReplicationInitParameters) DeepCopy() *ReplicationInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationInitParameters.
func (*ReplicationInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *ReplicationInitParameters) DeepCopyInto(out *ReplicationInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicationObservation ¶
type ReplicationObservation struct { // The Secret will automatically be replicated without any restrictions. Automatic *bool `json:"automatic,omitempty" tf:"automatic,omitempty"` // The Secret will be replicated to the regions specified by the user. // Structure is documented below. UserManaged []UserManagedObservation `json:"userManaged,omitempty" tf:"user_managed,omitempty"` }
func (*ReplicationObservation) DeepCopy ¶
func (in *ReplicationObservation) DeepCopy() *ReplicationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationObservation.
func (*ReplicationObservation) DeepCopyInto ¶
func (in *ReplicationObservation) DeepCopyInto(out *ReplicationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicationParameters ¶
type ReplicationParameters struct { // The Secret will automatically be replicated without any restrictions. // +kubebuilder:validation:Optional Automatic *bool `json:"automatic,omitempty" tf:"automatic,omitempty"` // The Secret will be replicated to the regions specified by the user. // Structure is documented below. // +kubebuilder:validation:Optional UserManaged []UserManagedParameters `json:"userManaged,omitempty" tf:"user_managed,omitempty"` }
func (*ReplicationParameters) DeepCopy ¶
func (in *ReplicationParameters) DeepCopy() *ReplicationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationParameters.
func (*ReplicationParameters) DeepCopyInto ¶
func (in *ReplicationParameters) DeepCopyInto(out *ReplicationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RotationInitParameters ¶ added in v0.35.0
type RotationInitParameters struct { // Timestamp in UTC at which the Secret is scheduled to rotate. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". NextRotationTime *string `json:"nextRotationTime,omitempty" tf:"next_rotation_time,omitempty"` // The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years). // If rotationPeriod is set, next_rotation_time must be set. next_rotation_time will be advanced by this period when the service automatically sends rotation notifications. RotationPeriod *string `json:"rotationPeriod,omitempty" tf:"rotation_period,omitempty"` }
func (*RotationInitParameters) DeepCopy ¶ added in v0.35.0
func (in *RotationInitParameters) DeepCopy() *RotationInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RotationInitParameters.
func (*RotationInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *RotationInitParameters) DeepCopyInto(out *RotationInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RotationObservation ¶
type RotationObservation struct { // Timestamp in UTC at which the Secret is scheduled to rotate. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". NextRotationTime *string `json:"nextRotationTime,omitempty" tf:"next_rotation_time,omitempty"` // The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years). // If rotationPeriod is set, next_rotation_time must be set. next_rotation_time will be advanced by this period when the service automatically sends rotation notifications. RotationPeriod *string `json:"rotationPeriod,omitempty" tf:"rotation_period,omitempty"` }
func (*RotationObservation) DeepCopy ¶
func (in *RotationObservation) DeepCopy() *RotationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RotationObservation.
func (*RotationObservation) DeepCopyInto ¶
func (in *RotationObservation) DeepCopyInto(out *RotationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RotationParameters ¶
type RotationParameters struct { // Timestamp in UTC at which the Secret is scheduled to rotate. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". // +kubebuilder:validation:Optional NextRotationTime *string `json:"nextRotationTime,omitempty" tf:"next_rotation_time,omitempty"` // The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years). // If rotationPeriod is set, next_rotation_time must be set. next_rotation_time will be advanced by this period when the service automatically sends rotation notifications. // +kubebuilder:validation:Optional RotationPeriod *string `json:"rotationPeriod,omitempty" tf:"rotation_period,omitempty"` }
func (*RotationParameters) DeepCopy ¶
func (in *RotationParameters) DeepCopy() *RotationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RotationParameters.
func (*RotationParameters) DeepCopyInto ¶
func (in *RotationParameters) DeepCopyInto(out *RotationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Secret ¶
type Secret struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.replication) || (has(self.initProvider) && has(self.initProvider.replication))",message="spec.forProvider.replication is a required parameter" Spec SecretSpec `json:"spec"` Status SecretStatus `json:"status,omitempty"` }
Secret is the Schema for the Secrets API. A Secret is a logical secret whose value and versions can be accessed. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}
func (*Secret) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret.
func (*Secret) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Secret) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Secret) GetCondition ¶
func (mg *Secret) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Secret.
func (*Secret) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Secret
func (*Secret) GetDeletionPolicy ¶
func (mg *Secret) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Secret.
func (*Secret) GetInitParameters ¶ added in v0.35.0
GetInitParameters of this Secret
func (*Secret) GetManagementPolicies ¶ added in v0.35.0
func (mg *Secret) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Secret.
func (*Secret) GetObservation ¶
GetObservation of this Secret
func (*Secret) GetParameters ¶
GetParameters of this Secret
func (*Secret) GetProviderConfigReference ¶
GetProviderConfigReference of this Secret.
func (*Secret) GetPublishConnectionDetailsTo ¶
func (mg *Secret) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Secret.
func (*Secret) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Secret
func (*Secret) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Secret) GetWriteConnectionSecretToReference ¶
func (mg *Secret) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Secret.
func (*Secret) LateInitialize ¶
LateInitialize this Secret using its observed tfState. returns True if there are any spec changes for the resource.
func (*Secret) SetConditions ¶
SetConditions of this Secret.
func (*Secret) SetDeletionPolicy ¶
func (mg *Secret) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Secret.
func (*Secret) SetManagementPolicies ¶ added in v0.35.0
func (mg *Secret) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Secret.
func (*Secret) SetObservation ¶
SetObservation for this Secret
func (*Secret) SetParameters ¶
SetParameters for this Secret
func (*Secret) SetProviderConfigReference ¶
SetProviderConfigReference of this Secret.
func (*Secret) SetPublishConnectionDetailsTo ¶
func (mg *Secret) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Secret.
func (*Secret) SetWriteConnectionSecretToReference ¶
func (mg *Secret) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Secret.
type SecretIAMMember ¶
type SecretIAMMember struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.member) || (has(self.initProvider) && has(self.initProvider.member))",message="spec.forProvider.member is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.role) || (has(self.initProvider) && has(self.initProvider.role))",message="spec.forProvider.role is a required parameter" Spec SecretIAMMemberSpec `json:"spec"` Status SecretIAMMemberStatus `json:"status,omitempty"` }
SecretIAMMember is the Schema for the SecretIAMMembers API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}
func (*SecretIAMMember) DeepCopy ¶
func (in *SecretIAMMember) DeepCopy() *SecretIAMMember
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretIAMMember.
func (*SecretIAMMember) DeepCopyInto ¶
func (in *SecretIAMMember) DeepCopyInto(out *SecretIAMMember)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretIAMMember) DeepCopyObject ¶
func (in *SecretIAMMember) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecretIAMMember) GetCondition ¶
func (mg *SecretIAMMember) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this SecretIAMMember.
func (*SecretIAMMember) GetConnectionDetailsMapping ¶
func (tr *SecretIAMMember) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this SecretIAMMember
func (*SecretIAMMember) GetDeletionPolicy ¶
func (mg *SecretIAMMember) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this SecretIAMMember.
func (*SecretIAMMember) GetID ¶
func (tr *SecretIAMMember) GetID() string
GetID returns ID of underlying Terraform resource of this SecretIAMMember
func (*SecretIAMMember) GetInitParameters ¶ added in v0.35.0
func (tr *SecretIAMMember) GetInitParameters() (map[string]any, error)
GetInitParameters of this SecretIAMMember
func (*SecretIAMMember) GetManagementPolicies ¶ added in v0.35.0
func (mg *SecretIAMMember) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this SecretIAMMember.
func (*SecretIAMMember) GetObservation ¶
func (tr *SecretIAMMember) GetObservation() (map[string]any, error)
GetObservation of this SecretIAMMember
func (*SecretIAMMember) GetParameters ¶
func (tr *SecretIAMMember) GetParameters() (map[string]any, error)
GetParameters of this SecretIAMMember
func (*SecretIAMMember) GetProviderConfigReference ¶
func (mg *SecretIAMMember) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this SecretIAMMember.
func (*SecretIAMMember) GetPublishConnectionDetailsTo ¶
func (mg *SecretIAMMember) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this SecretIAMMember.
func (*SecretIAMMember) GetTerraformResourceType ¶
func (mg *SecretIAMMember) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this SecretIAMMember
func (*SecretIAMMember) GetTerraformSchemaVersion ¶
func (tr *SecretIAMMember) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*SecretIAMMember) GetWriteConnectionSecretToReference ¶
func (mg *SecretIAMMember) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this SecretIAMMember.
func (*SecretIAMMember) LateInitialize ¶
func (tr *SecretIAMMember) LateInitialize(attrs []byte) (bool, error)
LateInitialize this SecretIAMMember using its observed tfState. returns True if there are any spec changes for the resource.
func (*SecretIAMMember) ResolveReferences ¶
ResolveReferences of this SecretIAMMember.
func (*SecretIAMMember) SetConditions ¶
func (mg *SecretIAMMember) SetConditions(c ...xpv1.Condition)
SetConditions of this SecretIAMMember.
func (*SecretIAMMember) SetDeletionPolicy ¶
func (mg *SecretIAMMember) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this SecretIAMMember.
func (*SecretIAMMember) SetManagementPolicies ¶ added in v0.35.0
func (mg *SecretIAMMember) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this SecretIAMMember.
func (*SecretIAMMember) SetObservation ¶
func (tr *SecretIAMMember) SetObservation(obs map[string]any) error
SetObservation for this SecretIAMMember
func (*SecretIAMMember) SetParameters ¶
func (tr *SecretIAMMember) SetParameters(params map[string]any) error
SetParameters for this SecretIAMMember
func (*SecretIAMMember) SetProviderConfigReference ¶
func (mg *SecretIAMMember) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this SecretIAMMember.
func (*SecretIAMMember) SetPublishConnectionDetailsTo ¶
func (mg *SecretIAMMember) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this SecretIAMMember.
func (*SecretIAMMember) SetWriteConnectionSecretToReference ¶
func (mg *SecretIAMMember) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this SecretIAMMember.
type SecretIAMMemberInitParameters ¶ added in v0.35.0
type SecretIAMMemberInitParameters struct { Condition []ConditionInitParameters `json:"condition,omitempty" tf:"condition,omitempty"` Member *string `json:"member,omitempty" tf:"member,omitempty"` Project *string `json:"project,omitempty" tf:"project,omitempty"` Role *string `json:"role,omitempty" tf:"role,omitempty"` }
func (*SecretIAMMemberInitParameters) DeepCopy ¶ added in v0.35.0
func (in *SecretIAMMemberInitParameters) DeepCopy() *SecretIAMMemberInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretIAMMemberInitParameters.
func (*SecretIAMMemberInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *SecretIAMMemberInitParameters) DeepCopyInto(out *SecretIAMMemberInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretIAMMemberList ¶
type SecretIAMMemberList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SecretIAMMember `json:"items"` }
SecretIAMMemberList contains a list of SecretIAMMembers
func (*SecretIAMMemberList) DeepCopy ¶
func (in *SecretIAMMemberList) DeepCopy() *SecretIAMMemberList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretIAMMemberList.
func (*SecretIAMMemberList) DeepCopyInto ¶
func (in *SecretIAMMemberList) DeepCopyInto(out *SecretIAMMemberList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretIAMMemberList) DeepCopyObject ¶
func (in *SecretIAMMemberList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecretIAMMemberList) GetItems ¶
func (l *SecretIAMMemberList) GetItems() []resource.Managed
GetItems of this SecretIAMMemberList.
type SecretIAMMemberObservation ¶
type SecretIAMMemberObservation struct { Condition []ConditionObservation `json:"condition,omitempty" tf:"condition,omitempty"` Etag *string `json:"etag,omitempty" tf:"etag,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` Member *string `json:"member,omitempty" tf:"member,omitempty"` Project *string `json:"project,omitempty" tf:"project,omitempty"` Role *string `json:"role,omitempty" tf:"role,omitempty"` SecretID *string `json:"secretId,omitempty" tf:"secret_id,omitempty"` }
func (*SecretIAMMemberObservation) DeepCopy ¶
func (in *SecretIAMMemberObservation) DeepCopy() *SecretIAMMemberObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretIAMMemberObservation.
func (*SecretIAMMemberObservation) DeepCopyInto ¶
func (in *SecretIAMMemberObservation) DeepCopyInto(out *SecretIAMMemberObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretIAMMemberParameters ¶
type SecretIAMMemberParameters struct { // +kubebuilder:validation:Optional Condition []ConditionParameters `json:"condition,omitempty" tf:"condition,omitempty"` // +kubebuilder:validation:Optional Member *string `json:"member,omitempty" tf:"member,omitempty"` // +kubebuilder:validation:Optional Project *string `json:"project,omitempty" tf:"project,omitempty"` // +kubebuilder:validation:Optional Role *string `json:"role,omitempty" tf:"role,omitempty"` // +crossplane:generate:reference:type=Secret // +crossplane:generate:reference:extractor=github.com/upbound/provider-gcp/config/common.ExtractResourceID() // +kubebuilder:validation:Optional SecretID *string `json:"secretId,omitempty" tf:"secret_id,omitempty"` // Reference to a Secret to populate secretId. // +kubebuilder:validation:Optional SecretIDRef *v1.Reference `json:"secretIdRef,omitempty" tf:"-"` // Selector for a Secret to populate secretId. // +kubebuilder:validation:Optional SecretIDSelector *v1.Selector `json:"secretIdSelector,omitempty" tf:"-"` }
func (*SecretIAMMemberParameters) DeepCopy ¶
func (in *SecretIAMMemberParameters) DeepCopy() *SecretIAMMemberParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretIAMMemberParameters.
func (*SecretIAMMemberParameters) DeepCopyInto ¶
func (in *SecretIAMMemberParameters) DeepCopyInto(out *SecretIAMMemberParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretIAMMemberSpec ¶
type SecretIAMMemberSpec struct { v1.ResourceSpec `json:",inline"` ForProvider SecretIAMMemberParameters `json:"forProvider"` // THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored // unless the relevant Crossplane feature flag is enabled, and may be // changed or removed without notice. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider SecretIAMMemberInitParameters `json:"initProvider,omitempty"` }
SecretIAMMemberSpec defines the desired state of SecretIAMMember
func (*SecretIAMMemberSpec) DeepCopy ¶
func (in *SecretIAMMemberSpec) DeepCopy() *SecretIAMMemberSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretIAMMemberSpec.
func (*SecretIAMMemberSpec) DeepCopyInto ¶
func (in *SecretIAMMemberSpec) DeepCopyInto(out *SecretIAMMemberSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretIAMMemberStatus ¶
type SecretIAMMemberStatus struct { v1.ResourceStatus `json:",inline"` AtProvider SecretIAMMemberObservation `json:"atProvider,omitempty"` }
SecretIAMMemberStatus defines the observed state of SecretIAMMember.
func (*SecretIAMMemberStatus) DeepCopy ¶
func (in *SecretIAMMemberStatus) DeepCopy() *SecretIAMMemberStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretIAMMemberStatus.
func (*SecretIAMMemberStatus) DeepCopyInto ¶
func (in *SecretIAMMemberStatus) DeepCopyInto(out *SecretIAMMemberStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretInitParameters ¶ added in v0.35.0
type SecretInitParameters struct { // Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent on input. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". ExpireTime *string `json:"expireTime,omitempty" tf:"expire_time,omitempty"` // The labels assigned to this Secret. // Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, // and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}-]{0,62} // Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, // and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}-]{0,63} // No more than 64 labels can be assigned to a given resource. // An object containing a list of "key": value pairs. Example: // { "name": "wrench", "mass": "1.3kg", "count": "3" }. Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project *string `json:"project,omitempty" tf:"project,omitempty"` // The replication policy of the secret data attached to the Secret. It cannot be changed // after the Secret has been created. // Structure is documented below. Replication []ReplicationInitParameters `json:"replication,omitempty" tf:"replication,omitempty"` // The rotation time and period for a Secret. At next_rotation_time, Secret Manager will send a Pub/Sub notification to the topics configured on the Secret. topics must be set to configure rotation. // Structure is documented below. Rotation []RotationInitParameters `json:"rotation,omitempty" tf:"rotation,omitempty"` // The TTL for the Secret. // A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". TTL *string `json:"ttl,omitempty" tf:"ttl,omitempty"` // A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the secret or its versions. // Structure is documented below. Topics []TopicsInitParameters `json:"topics,omitempty" tf:"topics,omitempty"` }
func (*SecretInitParameters) DeepCopy ¶ added in v0.35.0
func (in *SecretInitParameters) DeepCopy() *SecretInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretInitParameters.
func (*SecretInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *SecretInitParameters) DeepCopyInto(out *SecretInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretList ¶
type SecretList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Secret `json:"items"` }
SecretList contains a list of Secrets
func (*SecretList) DeepCopy ¶
func (in *SecretList) DeepCopy() *SecretList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretList.
func (*SecretList) DeepCopyInto ¶
func (in *SecretList) DeepCopyInto(out *SecretList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretList) DeepCopyObject ¶
func (in *SecretList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecretList) GetItems ¶
func (l *SecretList) GetItems() []resource.Managed
GetItems of this SecretList.
type SecretObservation ¶
type SecretObservation struct { // The time at which the Secret was created. CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"` // Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent on input. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". ExpireTime *string `json:"expireTime,omitempty" tf:"expire_time,omitempty"` // an identifier for the resource with format projects/{{project}}/secrets/{{secret_id}} ID *string `json:"id,omitempty" tf:"id,omitempty"` // The labels assigned to this Secret. // Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, // and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}-]{0,62} // Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, // and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}-]{0,63} // No more than 64 labels can be assigned to a given resource. // An object containing a list of "key": value pairs. Example: // { "name": "wrench", "mass": "1.3kg", "count": "3" }. Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // The resource name of the Secret. Format: // projects/{{project}}/secrets/{{secret_id}} Name *string `json:"name,omitempty" tf:"name,omitempty"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project *string `json:"project,omitempty" tf:"project,omitempty"` // The replication policy of the secret data attached to the Secret. It cannot be changed // after the Secret has been created. // Structure is documented below. Replication []ReplicationObservation `json:"replication,omitempty" tf:"replication,omitempty"` // The rotation time and period for a Secret. At next_rotation_time, Secret Manager will send a Pub/Sub notification to the topics configured on the Secret. topics must be set to configure rotation. // Structure is documented below. Rotation []RotationObservation `json:"rotation,omitempty" tf:"rotation,omitempty"` // The TTL for the Secret. // A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". TTL *string `json:"ttl,omitempty" tf:"ttl,omitempty"` // A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the secret or its versions. // Structure is documented below. Topics []TopicsObservation `json:"topics,omitempty" tf:"topics,omitempty"` }
func (*SecretObservation) DeepCopy ¶
func (in *SecretObservation) DeepCopy() *SecretObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretObservation.
func (*SecretObservation) DeepCopyInto ¶
func (in *SecretObservation) DeepCopyInto(out *SecretObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretParameters ¶
type SecretParameters struct { // Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent on input. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". // +kubebuilder:validation:Optional ExpireTime *string `json:"expireTime,omitempty" tf:"expire_time,omitempty"` // The labels assigned to this Secret. // Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, // and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}-]{0,62} // Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, // and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}-]{0,63} // No more than 64 labels can be assigned to a given resource. // An object containing a list of "key": value pairs. Example: // { "name": "wrench", "mass": "1.3kg", "count": "3" }. // +kubebuilder:validation:Optional Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. // +kubebuilder:validation:Optional Project *string `json:"project,omitempty" tf:"project,omitempty"` // The replication policy of the secret data attached to the Secret. It cannot be changed // after the Secret has been created. // Structure is documented below. // +kubebuilder:validation:Optional Replication []ReplicationParameters `json:"replication,omitempty" tf:"replication,omitempty"` // The rotation time and period for a Secret. At next_rotation_time, Secret Manager will send a Pub/Sub notification to the topics configured on the Secret. topics must be set to configure rotation. // Structure is documented below. // +kubebuilder:validation:Optional Rotation []RotationParameters `json:"rotation,omitempty" tf:"rotation,omitempty"` // The TTL for the Secret. // A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". // +kubebuilder:validation:Optional TTL *string `json:"ttl,omitempty" tf:"ttl,omitempty"` // A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the secret or its versions. // Structure is documented below. // +kubebuilder:validation:Optional Topics []TopicsParameters `json:"topics,omitempty" tf:"topics,omitempty"` }
func (*SecretParameters) DeepCopy ¶
func (in *SecretParameters) DeepCopy() *SecretParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretParameters.
func (*SecretParameters) DeepCopyInto ¶
func (in *SecretParameters) DeepCopyInto(out *SecretParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretSpec ¶
type SecretSpec struct { v1.ResourceSpec `json:",inline"` ForProvider SecretParameters `json:"forProvider"` // THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored // unless the relevant Crossplane feature flag is enabled, and may be // changed or removed without notice. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider SecretInitParameters `json:"initProvider,omitempty"` }
SecretSpec defines the desired state of Secret
func (*SecretSpec) DeepCopy ¶
func (in *SecretSpec) DeepCopy() *SecretSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretSpec.
func (*SecretSpec) DeepCopyInto ¶
func (in *SecretSpec) DeepCopyInto(out *SecretSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretStatus ¶
type SecretStatus struct { v1.ResourceStatus `json:",inline"` AtProvider SecretObservation `json:"atProvider,omitempty"` }
SecretStatus defines the observed state of Secret.
func (*SecretStatus) DeepCopy ¶
func (in *SecretStatus) DeepCopy() *SecretStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStatus.
func (*SecretStatus) DeepCopyInto ¶
func (in *SecretStatus) DeepCopyInto(out *SecretStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretVersion ¶
type SecretVersion struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.secretDataSecretRef)",message="spec.forProvider.secretDataSecretRef is a required parameter" Spec SecretVersionSpec `json:"spec"` Status SecretVersionStatus `json:"status,omitempty"` }
SecretVersion is the Schema for the SecretVersions API. A secret version resource. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}
func (*SecretVersion) DeepCopy ¶
func (in *SecretVersion) DeepCopy() *SecretVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVersion.
func (*SecretVersion) DeepCopyInto ¶
func (in *SecretVersion) DeepCopyInto(out *SecretVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretVersion) DeepCopyObject ¶
func (in *SecretVersion) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecretVersion) GetCondition ¶
func (mg *SecretVersion) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this SecretVersion.
func (*SecretVersion) GetConnectionDetailsMapping ¶
func (tr *SecretVersion) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this SecretVersion
func (*SecretVersion) GetDeletionPolicy ¶
func (mg *SecretVersion) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this SecretVersion.
func (*SecretVersion) GetID ¶
func (tr *SecretVersion) GetID() string
GetID returns ID of underlying Terraform resource of this SecretVersion
func (*SecretVersion) GetInitParameters ¶ added in v0.35.0
func (tr *SecretVersion) GetInitParameters() (map[string]any, error)
GetInitParameters of this SecretVersion
func (*SecretVersion) GetManagementPolicies ¶ added in v0.35.0
func (mg *SecretVersion) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this SecretVersion.
func (*SecretVersion) GetObservation ¶
func (tr *SecretVersion) GetObservation() (map[string]any, error)
GetObservation of this SecretVersion
func (*SecretVersion) GetParameters ¶
func (tr *SecretVersion) GetParameters() (map[string]any, error)
GetParameters of this SecretVersion
func (*SecretVersion) GetProviderConfigReference ¶
func (mg *SecretVersion) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this SecretVersion.
func (*SecretVersion) GetPublishConnectionDetailsTo ¶
func (mg *SecretVersion) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this SecretVersion.
func (*SecretVersion) GetTerraformResourceType ¶
func (mg *SecretVersion) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this SecretVersion
func (*SecretVersion) GetTerraformSchemaVersion ¶
func (tr *SecretVersion) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*SecretVersion) GetWriteConnectionSecretToReference ¶
func (mg *SecretVersion) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this SecretVersion.
func (*SecretVersion) LateInitialize ¶
func (tr *SecretVersion) LateInitialize(attrs []byte) (bool, error)
LateInitialize this SecretVersion using its observed tfState. returns True if there are any spec changes for the resource.
func (*SecretVersion) ResolveReferences ¶
ResolveReferences of this SecretVersion.
func (*SecretVersion) SetConditions ¶
func (mg *SecretVersion) SetConditions(c ...xpv1.Condition)
SetConditions of this SecretVersion.
func (*SecretVersion) SetDeletionPolicy ¶
func (mg *SecretVersion) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this SecretVersion.
func (*SecretVersion) SetManagementPolicies ¶ added in v0.35.0
func (mg *SecretVersion) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this SecretVersion.
func (*SecretVersion) SetObservation ¶
func (tr *SecretVersion) SetObservation(obs map[string]any) error
SetObservation for this SecretVersion
func (*SecretVersion) SetParameters ¶
func (tr *SecretVersion) SetParameters(params map[string]any) error
SetParameters for this SecretVersion
func (*SecretVersion) SetProviderConfigReference ¶
func (mg *SecretVersion) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this SecretVersion.
func (*SecretVersion) SetPublishConnectionDetailsTo ¶
func (mg *SecretVersion) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this SecretVersion.
func (*SecretVersion) SetWriteConnectionSecretToReference ¶
func (mg *SecretVersion) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this SecretVersion.
type SecretVersionInitParameters ¶ added in v0.35.0
type SecretVersionInitParameters struct { // The current state of the SecretVersion. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` }
func (*SecretVersionInitParameters) DeepCopy ¶ added in v0.35.0
func (in *SecretVersionInitParameters) DeepCopy() *SecretVersionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVersionInitParameters.
func (*SecretVersionInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *SecretVersionInitParameters) DeepCopyInto(out *SecretVersionInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretVersionList ¶
type SecretVersionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SecretVersion `json:"items"` }
SecretVersionList contains a list of SecretVersions
func (*SecretVersionList) DeepCopy ¶
func (in *SecretVersionList) DeepCopy() *SecretVersionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVersionList.
func (*SecretVersionList) DeepCopyInto ¶
func (in *SecretVersionList) DeepCopyInto(out *SecretVersionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretVersionList) DeepCopyObject ¶
func (in *SecretVersionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecretVersionList) GetItems ¶
func (l *SecretVersionList) GetItems() []resource.Managed
GetItems of this SecretVersionList.
type SecretVersionObservation ¶
type SecretVersionObservation struct { // The time at which the Secret was created. CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"` // The time at which the Secret was destroyed. Only present if state is DESTROYED. DestroyTime *string `json:"destroyTime,omitempty" tf:"destroy_time,omitempty"` // The current state of the SecretVersion. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // an identifier for the resource with format {{name}} ID *string `json:"id,omitempty" tf:"id,omitempty"` // The resource name of the SecretVersion. Format: // projects/{{project}}/secrets/{{secret_id}}/versions/{{version}} Name *string `json:"name,omitempty" tf:"name,omitempty"` // Secret Manager secret resource Secret *string `json:"secret,omitempty" tf:"secret,omitempty"` // The version of the Secret. Version *string `json:"version,omitempty" tf:"version,omitempty"` }
func (*SecretVersionObservation) DeepCopy ¶
func (in *SecretVersionObservation) DeepCopy() *SecretVersionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVersionObservation.
func (*SecretVersionObservation) DeepCopyInto ¶
func (in *SecretVersionObservation) DeepCopyInto(out *SecretVersionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretVersionParameters ¶
type SecretVersionParameters struct { // The current state of the SecretVersion. // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // Secret Manager secret resource // +crossplane:generate:reference:type=Secret // +crossplane:generate:reference:extractor=github.com/upbound/provider-gcp/config/common.ExtractResourceID() // +kubebuilder:validation:Optional Secret *string `json:"secret,omitempty" tf:"secret,omitempty"` // The secret data. Must be no larger than 64KiB. // +kubebuilder:validation:Optional SecretDataSecretRef v1.SecretKeySelector `json:"secretDataSecretRef" tf:"-"` // Reference to a Secret to populate secret. // +kubebuilder:validation:Optional SecretRef *v1.Reference `json:"secretRef,omitempty" tf:"-"` // Selector for a Secret to populate secret. // +kubebuilder:validation:Optional SecretSelector *v1.Selector `json:"secretSelector,omitempty" tf:"-"` }
func (*SecretVersionParameters) DeepCopy ¶
func (in *SecretVersionParameters) DeepCopy() *SecretVersionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVersionParameters.
func (*SecretVersionParameters) DeepCopyInto ¶
func (in *SecretVersionParameters) DeepCopyInto(out *SecretVersionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretVersionSpec ¶
type SecretVersionSpec struct { v1.ResourceSpec `json:",inline"` ForProvider SecretVersionParameters `json:"forProvider"` // THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored // unless the relevant Crossplane feature flag is enabled, and may be // changed or removed without notice. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider SecretVersionInitParameters `json:"initProvider,omitempty"` }
SecretVersionSpec defines the desired state of SecretVersion
func (*SecretVersionSpec) DeepCopy ¶
func (in *SecretVersionSpec) DeepCopy() *SecretVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVersionSpec.
func (*SecretVersionSpec) DeepCopyInto ¶
func (in *SecretVersionSpec) DeepCopyInto(out *SecretVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretVersionStatus ¶
type SecretVersionStatus struct { v1.ResourceStatus `json:",inline"` AtProvider SecretVersionObservation `json:"atProvider,omitempty"` }
SecretVersionStatus defines the observed state of SecretVersion.
func (*SecretVersionStatus) DeepCopy ¶
func (in *SecretVersionStatus) DeepCopy() *SecretVersionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVersionStatus.
func (*SecretVersionStatus) DeepCopyInto ¶
func (in *SecretVersionStatus) DeepCopyInto(out *SecretVersionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TopicsInitParameters ¶ added in v0.35.0
type TopicsInitParameters struct { // The resource name of the Pub/Sub topic that will be published to, in the following format: projects//topics/. // For publication to succeed, the Secret Manager Service Agent service account must have pubsub.publisher permissions on the topic. Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*TopicsInitParameters) DeepCopy ¶ added in v0.35.0
func (in *TopicsInitParameters) DeepCopy() *TopicsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicsInitParameters.
func (*TopicsInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *TopicsInitParameters) DeepCopyInto(out *TopicsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TopicsObservation ¶
type TopicsObservation struct { // The resource name of the Pub/Sub topic that will be published to, in the following format: projects//topics/. // For publication to succeed, the Secret Manager Service Agent service account must have pubsub.publisher permissions on the topic. Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*TopicsObservation) DeepCopy ¶
func (in *TopicsObservation) DeepCopy() *TopicsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicsObservation.
func (*TopicsObservation) DeepCopyInto ¶
func (in *TopicsObservation) DeepCopyInto(out *TopicsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TopicsParameters ¶
type TopicsParameters struct { // The resource name of the Pub/Sub topic that will be published to, in the following format: projects//topics/. // For publication to succeed, the Secret Manager Service Agent service account must have pubsub.publisher permissions on the topic. // +kubebuilder:validation:Optional Name *string `json:"name" tf:"name,omitempty"` }
func (*TopicsParameters) DeepCopy ¶
func (in *TopicsParameters) DeepCopy() *TopicsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicsParameters.
func (*TopicsParameters) DeepCopyInto ¶
func (in *TopicsParameters) DeepCopyInto(out *TopicsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserManagedInitParameters ¶ added in v0.35.0
type UserManagedInitParameters struct { // The list of Replicas for this Secret. Cannot be empty. // Structure is documented below. Replicas []ReplicasInitParameters `json:"replicas,omitempty" tf:"replicas,omitempty"` }
func (*UserManagedInitParameters) DeepCopy ¶ added in v0.35.0
func (in *UserManagedInitParameters) DeepCopy() *UserManagedInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserManagedInitParameters.
func (*UserManagedInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *UserManagedInitParameters) DeepCopyInto(out *UserManagedInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserManagedObservation ¶
type UserManagedObservation struct { // The list of Replicas for this Secret. Cannot be empty. // Structure is documented below. Replicas []ReplicasObservation `json:"replicas,omitempty" tf:"replicas,omitempty"` }
func (*UserManagedObservation) DeepCopy ¶
func (in *UserManagedObservation) DeepCopy() *UserManagedObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserManagedObservation.
func (*UserManagedObservation) DeepCopyInto ¶
func (in *UserManagedObservation) DeepCopyInto(out *UserManagedObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserManagedParameters ¶
type UserManagedParameters struct { // The list of Replicas for this Secret. Cannot be empty. // Structure is documented below. // +kubebuilder:validation:Optional Replicas []ReplicasParameters `json:"replicas" tf:"replicas,omitempty"` }
func (*UserManagedParameters) DeepCopy ¶
func (in *UserManagedParameters) DeepCopy() *UserManagedParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserManagedParameters.
func (*UserManagedParameters) DeepCopyInto ¶
func (in *UserManagedParameters) DeepCopyInto(out *UserManagedParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.