Documentation ¶
Overview ¶
+kcc:proto=google.cloud.secretmanager.v1
+kubebuilder:object:generate=true +groupName=secretmanager.cnrm.cloud.google.com
Index ¶
- Variables
- type CustomerManagedEncryption
- type CustomerManagedEncryptionStatus
- type Replication
- type ReplicationStatus
- type ReplicationStatus_AutomaticStatus
- type ReplicationStatus_UserManagedStatus
- type ReplicationStatus_UserManagedStatus_ReplicaStatus
- type Replication_Automatic
- type Replication_UserManaged
- type Replication_UserManaged_Replica
- type Rotation
- type Secret
- type SecretData_OneOf
- type SecretIdentity
- type SecretManagerSecret
- type SecretManagerSecretList
- type SecretManagerSecretObservedState
- type SecretManagerSecretSpec
- type SecretManagerSecretStatus
- type SecretManagerSecretVersion
- type SecretManagerSecretVersionList
- type SecretManagerSecretVersionObservedState
- type SecretManagerSecretVersionSpec
- type SecretManagerSecretVersionStatus
- type SecretParent
- type SecretRef
- type SecretVersion
- type SecretVersionIdentity
- func (in *SecretVersionIdentity) DeepCopy() *SecretVersionIdentity
- func (in *SecretVersionIdentity) DeepCopyInto(out *SecretVersionIdentity)
- func (i *SecretVersionIdentity) HasKnownID() bool
- func (r *SecretVersionIdentity) ID() string
- func (r *SecretVersionIdentity) Parent() *SecretVersionParent
- func (i *SecretVersionIdentity) String() string
- type SecretVersionParent
- type SecretVersionRef
- type Topic
- type TopicRef
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "secretmanager.cnrm.cloud.google.com", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var SecretManagerSecretGVK = GroupVersion.WithKind("SecretManagerSecret")
var SecretManagerSecretVersionGVK = GroupVersion.WithKind("SecretManagerSecretVersion")
Functions ¶
This section is empty.
Types ¶
type CustomerManagedEncryption ¶
type CustomerManagedEncryption struct { // +required // Required. The resource name of the Cloud KMS CryptoKey used to encrypt // secret payloads. // // For secrets using the // [UserManaged][google.cloud.secretmanager.v1.Replication.UserManaged] // replication policy type, Cloud KMS CryptoKeys must reside in the same // location as the [replica location][Secret.UserManaged.Replica.location]. // // For secrets using the // [Automatic][google.cloud.secretmanager.v1.Replication.Automatic] // replication policy type, Cloud KMS CryptoKeys must reside in `global`. // // The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`. KmsKeyRef *refv1beta1.KMSCryptoKeyRef `json:"kmsKeyRef,omitempty"` }
+kcc:proto=google.cloud.secretmanager.v1.CustomerManagedEncryption
func (*CustomerManagedEncryption) DeepCopy ¶
func (in *CustomerManagedEncryption) DeepCopy() *CustomerManagedEncryption
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomerManagedEncryption.
func (*CustomerManagedEncryption) DeepCopyInto ¶
func (in *CustomerManagedEncryption) DeepCopyInto(out *CustomerManagedEncryption)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomerManagedEncryptionStatus ¶ added in v1.126.0
type CustomerManagedEncryptionStatus struct { // Required. The resource name of the Cloud KMS CryptoKeyVersion used to // encrypt the secret payload, in the following format: // `projects/*/locations/*/keyRings/*/cryptoKeys/*/versions/*`. KmsKeyVersionName *string `json:"kmsKeyVersionName,omitempty"` }
+kcc:proto=google.cloud.secretmanager.v1.CustomerManagedEncryptionStatus
func (*CustomerManagedEncryptionStatus) DeepCopy ¶ added in v1.126.0
func (in *CustomerManagedEncryptionStatus) DeepCopy() *CustomerManagedEncryptionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomerManagedEncryptionStatus.
func (*CustomerManagedEncryptionStatus) DeepCopyInto ¶ added in v1.126.0
func (in *CustomerManagedEncryptionStatus) DeepCopyInto(out *CustomerManagedEncryptionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Replication ¶
type Replication struct { // The Secret will automatically be replicated without any restrictions. LegacyAuto *bool `json:"automatic,omitempty"` // The [Secret][google.cloud.secretmanager.v1.Secret] will automatically be // replicated without any restrictions. LegacyAutomatic *Replication_Automatic `json:"auto,omitempty"` // The [Secret][google.cloud.secretmanager.v1.Secret] will only be // replicated into the locations specified. UserManaged *Replication_UserManaged `json:"userManaged,omitempty"` }
+kcc:proto=google.cloud.secretmanager.v1.Replication
func (*Replication) DeepCopy ¶
func (in *Replication) DeepCopy() *Replication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Replication.
func (*Replication) DeepCopyInto ¶
func (in *Replication) DeepCopyInto(out *Replication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicationStatus ¶ added in v1.126.0
type ReplicationStatus struct { // Describes the replication status of a // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] with // automatic replication. // // Only populated if the parent // [Secret][google.cloud.secretmanager.v1.Secret] has an automatic // replication policy. Automatic *ReplicationStatus_AutomaticStatus `json:"automatic,omitempty"` // Describes the replication status of a // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] with // user-managed replication. // // Only populated if the parent // [Secret][google.cloud.secretmanager.v1.Secret] has a user-managed // replication policy. UserManaged *ReplicationStatus_UserManagedStatus `json:"userManaged,omitempty"` }
+kcc:proto=google.cloud.secretmanager.v1.ReplicationStatus
func (*ReplicationStatus) DeepCopy ¶ added in v1.126.0
func (in *ReplicationStatus) DeepCopy() *ReplicationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationStatus.
func (*ReplicationStatus) DeepCopyInto ¶ added in v1.126.0
func (in *ReplicationStatus) DeepCopyInto(out *ReplicationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicationStatus_AutomaticStatus ¶ added in v1.126.0
type ReplicationStatus_AutomaticStatus struct { // Output only. The customer-managed encryption status of the // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. Only // populated if customer-managed encryption is used. CustomerManagedEncryption *CustomerManagedEncryptionStatus `json:"customerManagedEncryption,omitempty"` }
+kcc:proto=google.cloud.secretmanager.v1.ReplicationStatus.AutomaticStatus
func (*ReplicationStatus_AutomaticStatus) DeepCopy ¶ added in v1.126.0
func (in *ReplicationStatus_AutomaticStatus) DeepCopy() *ReplicationStatus_AutomaticStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationStatus_AutomaticStatus.
func (*ReplicationStatus_AutomaticStatus) DeepCopyInto ¶ added in v1.126.0
func (in *ReplicationStatus_AutomaticStatus) DeepCopyInto(out *ReplicationStatus_AutomaticStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicationStatus_UserManagedStatus ¶ added in v1.126.0
type ReplicationStatus_UserManagedStatus struct { // Output only. The list of replica statuses for the // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. Replicas []ReplicationStatus_UserManagedStatus_ReplicaStatus `json:"replicas,omitempty"` }
+kcc:proto=google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus
func (*ReplicationStatus_UserManagedStatus) DeepCopy ¶ added in v1.126.0
func (in *ReplicationStatus_UserManagedStatus) DeepCopy() *ReplicationStatus_UserManagedStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationStatus_UserManagedStatus.
func (*ReplicationStatus_UserManagedStatus) DeepCopyInto ¶ added in v1.126.0
func (in *ReplicationStatus_UserManagedStatus) DeepCopyInto(out *ReplicationStatus_UserManagedStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicationStatus_UserManagedStatus_ReplicaStatus ¶ added in v1.126.0
type ReplicationStatus_UserManagedStatus_ReplicaStatus struct { // Output only. The canonical ID of the replica location. // For example: `"us-east1"`. Location *string `json:"location,omitempty"` // Output only. The customer-managed encryption status of the // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. Only // populated if customer-managed encryption is used. CustomerManagedEncryption *CustomerManagedEncryptionStatus `json:"customerManagedEncryption,omitempty"` }
+kcc:proto=google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus.ReplicaStatus
func (*ReplicationStatus_UserManagedStatus_ReplicaStatus) DeepCopy ¶ added in v1.126.0
func (in *ReplicationStatus_UserManagedStatus_ReplicaStatus) DeepCopy() *ReplicationStatus_UserManagedStatus_ReplicaStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationStatus_UserManagedStatus_ReplicaStatus.
func (*ReplicationStatus_UserManagedStatus_ReplicaStatus) DeepCopyInto ¶ added in v1.126.0
func (in *ReplicationStatus_UserManagedStatus_ReplicaStatus) DeepCopyInto(out *ReplicationStatus_UserManagedStatus_ReplicaStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Replication_Automatic ¶
type Replication_Automatic struct { // Optional. The customer-managed encryption configuration of the // [Secret][google.cloud.secretmanager.v1.Secret]. If no configuration is // provided, Google-managed default encryption is used. // // Updates to the [Secret][google.cloud.secretmanager.v1.Secret] encryption // configuration only apply to // [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] added // afterwards. They do not apply retroactively to existing // [SecretVersions][google.cloud.secretmanager.v1.SecretVersion]. CustomerManagedEncryption *CustomerManagedEncryption `json:"customerManagedEncryption,omitempty"` }
+kcc:proto=google.cloud.secretmanager.v1.Replication.Automatic
func (*Replication_Automatic) DeepCopy ¶
func (in *Replication_Automatic) DeepCopy() *Replication_Automatic
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Replication_Automatic.
func (*Replication_Automatic) DeepCopyInto ¶
func (in *Replication_Automatic) DeepCopyInto(out *Replication_Automatic)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Replication_UserManaged ¶
type Replication_UserManaged struct { // +required // Required. The list of Replicas for this // [Secret][google.cloud.secretmanager.v1.Secret]. // // Cannot be empty. Replicas []Replication_UserManaged_Replica `json:"replicas,omitempty"` }
+kcc:proto=google.cloud.secretmanager.v1.Replication.UserManaged
func (*Replication_UserManaged) DeepCopy ¶
func (in *Replication_UserManaged) DeepCopy() *Replication_UserManaged
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Replication_UserManaged.
func (*Replication_UserManaged) DeepCopyInto ¶
func (in *Replication_UserManaged) DeepCopyInto(out *Replication_UserManaged)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Replication_UserManaged_Replica ¶
type Replication_UserManaged_Replica struct { // +required // The canonical IDs of the location to replicate data. // For example: `"us-east1"`. Location *string `json:"location,omitempty"` // Optional. The customer-managed encryption configuration of the // [User-Managed Replica][Replication.UserManaged.Replica]. If no // configuration is provided, Google-managed default encryption is used. // // Updates to the [Secret][google.cloud.secretmanager.v1.Secret] // encryption configuration only apply to // [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] added // afterwards. They do not apply retroactively to existing // [SecretVersions][google.cloud.secretmanager.v1.SecretVersion]. CustomerManagedEncryption *CustomerManagedEncryption `json:"customerManagedEncryption,omitempty"` }
+kcc:proto=google.cloud.secretmanager.v1.Replication.UserManaged.Replica
func (*Replication_UserManaged_Replica) DeepCopy ¶
func (in *Replication_UserManaged_Replica) DeepCopy() *Replication_UserManaged_Replica
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Replication_UserManaged_Replica.
func (*Replication_UserManaged_Replica) DeepCopyInto ¶
func (in *Replication_UserManaged_Replica) DeepCopyInto(out *Replication_UserManaged_Replica)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Rotation ¶
type Rotation struct { // Optional. Timestamp in UTC at which the // [Secret][google.cloud.secretmanager.v1.Secret] is scheduled to rotate. // Cannot be set to less than 300s (5 min) in the future and at most // 3153600000s (100 years). // // [next_rotation_time][google.cloud.secretmanager.v1.Rotation.next_rotation_time] // MUST be set if // [rotation_period][google.cloud.secretmanager.v1.Rotation.rotation_period] // is set. NextRotationTime *string `json:"nextRotationTime,omitempty"` // Input only. The Duration between rotation notifications. Must be in seconds // and at least 3600s (1h) and at most 3153600000s (100 years). // // If // [rotation_period][google.cloud.secretmanager.v1.Rotation.rotation_period] // is set, // [next_rotation_time][google.cloud.secretmanager.v1.Rotation.next_rotation_time] // must be set. // [next_rotation_time][google.cloud.secretmanager.v1.Rotation.next_rotation_time] // will be advanced by this period when the service automatically sends // rotation notifications. RotationPeriod *string `json:"rotationPeriod,omitempty"` }
+kcc:proto=google.cloud.secretmanager.v1.Rotation
func (*Rotation) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rotation.
func (*Rotation) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Secret ¶
type Secret struct { // Output only. The resource name of the // [Secret][google.cloud.secretmanager.v1.Secret] in the format // `projects/*/secrets/*`. Name *string `json:"name,omitempty"` // Optional. Immutable. The replication policy of the secret data attached to // the [Secret][google.cloud.secretmanager.v1.Secret]. // // The replication policy cannot be changed after the Secret has been created. Replication *Replication `json:"replication,omitempty"` // Output only. The time at which the // [Secret][google.cloud.secretmanager.v1.Secret] was created. CreateTime *string `json:"createTime,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. Labels map[string]string `json:"labels,omitempty"` // Optional. 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. Topics []Topic `json:"topics,omitempty"` // Optional. Timestamp in UTC when the // [Secret][google.cloud.secretmanager.v1.Secret] is scheduled to expire. // This is always provided on output, regardless of what was sent on input. ExpireTime *string `json:"expireTime,omitempty"` // Input only. The TTL for the // [Secret][google.cloud.secretmanager.v1.Secret]. Ttl *string `json:"ttl,omitempty"` // Optional. Etag of the currently stored // [Secret][google.cloud.secretmanager.v1.Secret]. Etag *string `json:"etag,omitempty"` // Optional. Rotation policy attached to the // [Secret][google.cloud.secretmanager.v1.Secret]. May be excluded if there is // no rotation policy. Rotation *Rotation `json:"rotation,omitempty"` // Optional. Mapping from version alias to version name. // // A version alias is a string with a maximum length of 63 characters and can // contain uppercase and lowercase letters, numerals, and the hyphen (`-`) // and underscore ('_') characters. An alias string must start with a // letter and cannot be the string 'latest' or 'NEW'. // No more than 50 aliases can be assigned to a given secret. // // Version-Alias pairs will be viewable via GetSecret and modifiable via // UpdateSecret. Access by alias is only be supported on // GetSecretVersion and AccessSecretVersion. VersionAliases map[string]int64 `json:"versionAliases,omitempty"` // Optional. Custom metadata about the secret. // // Annotations are distinct from various forms of labels. // Annotations exist to allow client tools to store their own state // information without requiring a database. // // Annotation keys must be between 1 and 63 characters long, have a UTF-8 // encoding of maximum 128 bytes, begin and end with an alphanumeric character // ([a-z0-9A-Z]), and may have dashes (-), underscores (_), dots (.), and // alphanumerics in between these symbols. // // The total size of annotation keys and values must be less than 16KiB. Annotations map[string]string `json:"annotations,omitempty"` // Optional. The customer-managed encryption configuration of the Regionalised // Secrets. If no configuration is provided, Google-managed default encryption // is used. // // Updates to the [Secret][google.cloud.secretmanager.v1.Secret] encryption // configuration only apply to // [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] added // afterwards. They do not apply retroactively to existing // [SecretVersions][google.cloud.secretmanager.v1.SecretVersion]. CustomerManagedEncryption *CustomerManagedEncryption `json:"customerManagedEncryption,omitempty"` }
+kcc:proto=google.cloud.secretmanager.v1.Secret
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.
type SecretData_OneOf ¶ added in v1.126.0
type SecretData_OneOf struct {
*refsv1beta1secret.Legacy `json:",inline"`
}
func (*SecretData_OneOf) DeepCopy ¶ added in v1.126.0
func (in *SecretData_OneOf) DeepCopy() *SecretData_OneOf
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretData_OneOf.
func (*SecretData_OneOf) DeepCopyInto ¶ added in v1.126.0
func (in *SecretData_OneOf) DeepCopyInto(out *SecretData_OneOf)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretIdentity ¶ added in v1.126.0
type SecretIdentity struct {
// contains filtered or unexported fields
}
func NewSecretIdentity ¶ added in v1.126.0
func NewSecretIdentity(ctx context.Context, reader client.Reader, obj *SecretManagerSecret, u *unstructured.Unstructured) (*SecretIdentity, error)
func ParseSecretExternal ¶ added in v1.126.0
func ParseSecretExternal(external string) (*SecretIdentity, error)
func (*SecretIdentity) DeepCopy ¶ added in v1.126.0
func (in *SecretIdentity) DeepCopy() *SecretIdentity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretIdentity.
func (*SecretIdentity) DeepCopyInto ¶ added in v1.126.0
func (in *SecretIdentity) DeepCopyInto(out *SecretIdentity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretIdentity) ID ¶ added in v1.126.0
func (r *SecretIdentity) ID() string
func (*SecretIdentity) Parent ¶ added in v1.126.0
func (r *SecretIdentity) Parent() *SecretParent
func (*SecretIdentity) String ¶ added in v1.126.0
func (i *SecretIdentity) String() string
type SecretManagerSecret ¶
type SecretManagerSecret struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SecretManagerSecretSpec `json:"spec,omitempty"` Status SecretManagerSecretStatus `json:"status,omitempty"` }
SecretManagerSecret is the Schema for the SecretManagerSecret API +k8s:openapi-gen=true
func (*SecretManagerSecret) DeepCopy ¶
func (in *SecretManagerSecret) DeepCopy() *SecretManagerSecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretManagerSecret.
func (*SecretManagerSecret) DeepCopyInto ¶
func (in *SecretManagerSecret) DeepCopyInto(out *SecretManagerSecret)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretManagerSecret) DeepCopyObject ¶
func (in *SecretManagerSecret) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecretManagerSecretList ¶
type SecretManagerSecretList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SecretManagerSecret `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object SecretManagerSecretList contains a list of SecretManagerSecret
func (*SecretManagerSecretList) DeepCopy ¶
func (in *SecretManagerSecretList) DeepCopy() *SecretManagerSecretList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretManagerSecretList.
func (*SecretManagerSecretList) DeepCopyInto ¶
func (in *SecretManagerSecretList) DeepCopyInto(out *SecretManagerSecretList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretManagerSecretList) DeepCopyObject ¶
func (in *SecretManagerSecretList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecretManagerSecretObservedState ¶
type SecretManagerSecretObservedState struct {
VersionAliases map[string]string `json:"versionAliases,omitempty"`
}
SecretManagerSecretSpec defines the desired state of SecretManagerSecret +kcc:proto=google.cloud.secretmanager.v1.Secret
func (*SecretManagerSecretObservedState) DeepCopy ¶
func (in *SecretManagerSecretObservedState) DeepCopy() *SecretManagerSecretObservedState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretManagerSecretObservedState.
func (*SecretManagerSecretObservedState) DeepCopyInto ¶
func (in *SecretManagerSecretObservedState) DeepCopyInto(out *SecretManagerSecretObservedState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretManagerSecretSpec ¶
type SecretManagerSecretSpec struct { // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="ResourceID field is immutable" // Immutable. // The SecretManagerSecret name. If not given, the metadata.name will be used. ResourceID *string `json:"resourceID,omitempty"` // Optional. Immutable. The replication policy of the secret data attached to // the [Secret][google.cloud.secretmanager.v1.Secret]. // // The replication policy cannot be changed after the Secret has been created. Replication *Replication `json:"replication,omitempty"` // Optional. 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. TopicRefs []*TopicRef `json:"topics,omitempty"` // Optional. Timestamp in UTC when the // [Secret][google.cloud.secretmanager.v1.Secret] is scheduled to expire. // This is always provided on output, regardless of what was sent on input. ExpireTime *string `json:"expireTime,omitempty"` // Input only. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s". TTL *string `json:"ttl,omitempty"` // Optional. Rotation policy attached to the // [Secret][google.cloud.secretmanager.v1.Secret]. May be excluded if there is // no rotation policy. Rotation *Rotation `json:"rotation,omitempty"` // Optional. Mapping from version alias to version name. // // A version alias is a string with a maximum length of 63 characters and can // contain uppercase and lowercase letters, numerals, and the hyphen (`-`) // and underscore ('_') characters. An alias string must start with a // letter and cannot be the string 'latest' or 'NEW'. // No more than 50 aliases can be assigned to a given secret. // // Version-Alias pairs will be viewable via GetSecret and modifiable via // UpdateSecret. Access by alias is only be supported on // GetSecretVersion and AccessSecretVersion. VersionAliases map[string]string `json:"versionAliases,omitempty"` // Optional. Custom metadata about the secret. // // Annotations are distinct from various forms of labels. // Annotations exist to allow client tools to store their own state // information without requiring a database. // // Annotation keys must be between 1 and 63 characters long, have a UTF-8 // encoding of maximum 128 bytes, begin and end with an alphanumeric character // ([a-z0-9A-Z]), and may have dashes (-), underscores (_), dots (.), and // alphanumerics in between these symbols. // // The total size of annotation keys and values must be less than 16KiB. Annotations map[string]string `json:"annotations,omitempty"` }
SecretManagerSecretSpec defines the desired state of SecretManagerSecret +kcc:proto=google.cloud.secretmanager.v1.Secret
func (*SecretManagerSecretSpec) DeepCopy ¶
func (in *SecretManagerSecretSpec) DeepCopy() *SecretManagerSecretSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretManagerSecretSpec.
func (*SecretManagerSecretSpec) DeepCopyInto ¶
func (in *SecretManagerSecretSpec) DeepCopyInto(out *SecretManagerSecretSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretManagerSecretStatus ¶
type SecretManagerSecretStatus struct { /* Conditions represent the latest available observations of the object's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` // ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. ObservedGeneration *int64 `json:"observedGeneration,omitempty"` // A unique specifier for the SecretManagerSecret resource in GCP. ExternalRef *string `json:"externalRef,omitempty"` // ObservedState is the state of the resource as most recently observed in GCP. ObservedState *SecretManagerSecretObservedState `json:"observedState,omitempty"` // [DEPRECATED] Please read from `.status.externalRef` instead. Config Connector will remove the `.status.name` in v1 Version. Name string `json:"name,omitempty"` }
SecretManagerSecretStatus defines the config connector machine state of SecretManagerSecret
func (*SecretManagerSecretStatus) DeepCopy ¶
func (in *SecretManagerSecretStatus) DeepCopy() *SecretManagerSecretStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretManagerSecretStatus.
func (*SecretManagerSecretStatus) DeepCopyInto ¶
func (in *SecretManagerSecretStatus) DeepCopyInto(out *SecretManagerSecretStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretManagerSecretVersion ¶ added in v1.126.0
type SecretManagerSecretVersion struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +required Spec SecretManagerSecretVersionSpec `json:"spec,omitempty"` Status SecretManagerSecretVersionStatus `json:"status,omitempty"` }
SecretManagerSecretVersion is the Schema for the SecretManagerSecretVersion API +k8s:openapi-gen=true
func (*SecretManagerSecretVersion) DeepCopy ¶ added in v1.126.0
func (in *SecretManagerSecretVersion) DeepCopy() *SecretManagerSecretVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretManagerSecretVersion.
func (*SecretManagerSecretVersion) DeepCopyInto ¶ added in v1.126.0
func (in *SecretManagerSecretVersion) DeepCopyInto(out *SecretManagerSecretVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretManagerSecretVersion) DeepCopyObject ¶ added in v1.126.0
func (in *SecretManagerSecretVersion) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecretManagerSecretVersionList ¶ added in v1.126.0
type SecretManagerSecretVersionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SecretManagerSecretVersion `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object SecretManagerSecretVersionList contains a list of SecretManagerSecretVersion
func (*SecretManagerSecretVersionList) DeepCopy ¶ added in v1.126.0
func (in *SecretManagerSecretVersionList) DeepCopy() *SecretManagerSecretVersionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretManagerSecretVersionList.
func (*SecretManagerSecretVersionList) DeepCopyInto ¶ added in v1.126.0
func (in *SecretManagerSecretVersionList) DeepCopyInto(out *SecretManagerSecretVersionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretManagerSecretVersionList) DeepCopyObject ¶ added in v1.126.0
func (in *SecretManagerSecretVersionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecretManagerSecretVersionObservedState ¶ added in v1.126.0
type SecretManagerSecretVersionObservedState struct { // Output only. The time at which the // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] was created. CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"` // Output only. The time this // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] was destroyed. // Only present if // [state][google.cloud.secretmanager.v1.SecretVersion.state] is // [DESTROYED][google.cloud.secretmanager.v1.SecretVersion.State.DESTROYED]. DestroyTime *string `json:"destroyTime,omitempty" tf:"destroy_time,omitempty"` // Output only. The resource name of the // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] in the // format `projects/*/secrets/*/versions/*`. // // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] IDs in a // [Secret][google.cloud.secretmanager.v1.Secret] start at 1 and are // incremented for each subsequent version of the secret. Name *string `json:"name,omitempty"` // The replication status of the // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. ReplicationStatus *ReplicationStatus `json:"replicationStatus,omitempty"` // Optional. Output only. Scheduled destroy time for secret version. // This is a part of the Delayed secret version destroy feature. For a // Secret with a valid version destroy TTL, when a secert version is // destroyed, the version is moved to disabled state and it is scheduled for // destruction. The version is destroyed only after the // `scheduled_destroy_time`. ScheduledDestroyTime *string `json:"scheduledDestroyTime,omitempty"` // Output only. True if payload checksum specified in // [SecretPayload][google.cloud.secretmanager.v1.SecretPayload] object has // been received by // [SecretManagerService][google.cloud.secretmanager.v1.SecretManagerService] // on // [SecretManagerService.AddSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.AddSecretVersion]. ClientSpecifiedPayloadChecksum *bool `json:"clientSpecifiedPayloadChecksum,omitempty"` // Output only. The customer-managed encryption status of the // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. Only // populated if customer-managed encryption is used and // [Secret][google.cloud.secretmanager.v1.Secret] is a Regionalised Secret. CustomerManagedEncryption *CustomerManagedEncryptionStatus `json:"customerManagedEncryption,omitempty"` }
SecretManagerSecretVersionObserved is the state of the SecretManagerSecretVersion resource as most recently observed in GCP. +kcc:proto=google.cloud.secretmanager.v1.SecretVersion
func (*SecretManagerSecretVersionObservedState) DeepCopy ¶ added in v1.126.0
func (in *SecretManagerSecretVersionObservedState) DeepCopy() *SecretManagerSecretVersionObservedState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretManagerSecretVersionObservedState.
func (*SecretManagerSecretVersionObservedState) DeepCopyInto ¶ added in v1.126.0
func (in *SecretManagerSecretVersionObservedState) DeepCopyInto(out *SecretManagerSecretVersionObservedState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretManagerSecretVersionSpec ¶ added in v1.126.0
type SecretManagerSecretVersionSpec struct { // The resource name of the [Secret][google.cloud.secretmanager.v1.Secret] to create a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] for. SecretRef *SecretRef `json:"secretRef,omitempty"` // The SecretVersion number. If given, Config Connector acquires the resource from the Secret Manager service. // If not given, Config Connector adds a new secret version to the GCP service, and you can find out the version number // from `status.observedState.version` ResourceID *string `json:"resourceID,omitempty"` // Should enable or disable the current SecretVersion. // - Enabled version can be accessed and described. // - Disabled version cannot be accessed, but the secret's contents still exist Enabled *bool `json:"enabled,omitempty"` // The actual secret data. Config Connector supports secret data stored in Kubernetes secret or plain data (base64) SecretData *SecretData_OneOf `json:"secretData,omitempty"` // DEPRECATED. You do not need to set this field in direct reconciler mode. Use delete-policy annotation instead. https://cloud.google.com/config-connector/docs/how-to/managing-deleting-resources#keeping_resources_after_deletion // The deletion policy for the secret version. Setting 'ABANDON' allows the resource // to be abandoned rather than deleted. Setting 'DISABLE' allows the resource to be // disabled rather than deleted. Default is 'DELETE'. Possible values are: // * DELETE // * DISABLE // * ABANDON. DeletionPolicy *string `json:"deletionPolicy,omitempty"` // DEPRECATED. You do not need to set this field in direct reconciler mode. IsSecretDataBase64 *bool `json:"isSecretDataBase64,omitempty"` }
SecretManagerSecretVersionSpec defines the desired state of SecretManagerSecretVersion +kcc:proto=google.cloud.secretmanager.v1.SecretVersion
func (*SecretManagerSecretVersionSpec) DeepCopy ¶ added in v1.126.0
func (in *SecretManagerSecretVersionSpec) DeepCopy() *SecretManagerSecretVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretManagerSecretVersionSpec.
func (*SecretManagerSecretVersionSpec) DeepCopyInto ¶ added in v1.126.0
func (in *SecretManagerSecretVersionSpec) DeepCopyInto(out *SecretManagerSecretVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretManagerSecretVersionStatus ¶ added in v1.126.0
type SecretManagerSecretVersionStatus struct { /* Conditions represent the latest available observations of the object's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` // ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. ObservedGeneration *int64 `json:"observedGeneration,omitempty"` // A unique specifier for the SecretManagerSecretVersion resource in GCP. ExternalRef *string `json:"externalRef,omitempty"` // ObservedState is the state of the resource as most recently observed in GCP. ObservedState *SecretManagerSecretVersionObservedState `json:"observedState,omitempty"` // DEPRECATING NOTE: Please use status.observedState.createTime instead. CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"` // DEPRECATING NOTE: Please use status.observedState.destroyTime instead. DestroyTime *string `json:"destroyTime,omitempty" tf:"destroy_time,omitempty"` // DEPRECATING NOTE: Please use status.observedState.name instead. Name *string `json:"name,omitempty"` // DEPRECATED. Version *string `json:"version,omitempty"` }
SecretManagerSecretVersionStatus defines the config connector machine state of SecretManagerSecretVersion
func (*SecretManagerSecretVersionStatus) DeepCopy ¶ added in v1.126.0
func (in *SecretManagerSecretVersionStatus) DeepCopy() *SecretManagerSecretVersionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretManagerSecretVersionStatus.
func (*SecretManagerSecretVersionStatus) DeepCopyInto ¶ added in v1.126.0
func (in *SecretManagerSecretVersionStatus) DeepCopyInto(out *SecretManagerSecretVersionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretParent ¶ added in v1.126.0
type SecretParent struct {
ProjectID string
}
func (*SecretParent) DeepCopy ¶ added in v1.126.0
func (in *SecretParent) DeepCopy() *SecretParent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretParent.
func (*SecretParent) DeepCopyInto ¶ added in v1.126.0
func (in *SecretParent) DeepCopyInto(out *SecretParent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretParent) String ¶ added in v1.126.0
func (p *SecretParent) String() string
type SecretRef ¶ added in v1.126.0
type SecretRef struct { // A reference to an externally managed SecretManagerSecret resource. // Should be in the format "projects/{{projectID}}/locations/{{location}}/secrets/{{secretID}}". External string `json:"external,omitempty"` // The name of a SecretManagerSecret resource. Name string `json:"name,omitempty"` // The namespace of a SecretManagerSecret resource. Namespace string `json:"namespace,omitempty"` }
SecretRef defines the resource reference to SecretManagerSecret, which "External" field holds the GCP identifier for the KRM object.
func (*SecretRef) DeepCopy ¶ added in v1.126.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretRef.
func (*SecretRef) DeepCopyInto ¶ added in v1.126.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretRef) NormalizedExternal ¶ added in v1.126.0
func (r *SecretRef) NormalizedExternal(ctx context.Context, reader client.Reader, otherNamespace string) (string, error)
NormalizedExternal provision the "External" value for other resource that depends on SecretManagerSecret. If the "External" is given in the other resource's spec.SecretManagerSecretRef, the given value will be used. Otherwise, the "Name" and "Namespace" will be used to query the actual SecretManagerSecret object from the cluster.
type SecretVersion ¶ added in v1.126.0
type SecretVersion struct { // Output only. The resource name of the // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] in the format // `projects/*/secrets/*/versions/*`. // // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] IDs in a // [Secret][google.cloud.secretmanager.v1.Secret] start at 1 and are // incremented for each subsequent version of the secret. Name *string `json:"name,omitempty"` // Output only. The time at which the // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] was created. CreateTime *string `json:"createTime,omitempty"` // Output only. The time this // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] was destroyed. // Only present if [state][google.cloud.secretmanager.v1.SecretVersion.state] // is // [DESTROYED][google.cloud.secretmanager.v1.SecretVersion.State.DESTROYED]. DestroyTime *string `json:"destroyTime,omitempty"` // Output only. The current state of the // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. State *string `json:"state,omitempty"` // The replication status of the // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. ReplicationStatus *ReplicationStatus `json:"replicationStatus,omitempty"` // Output only. Etag of the currently stored // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. Etag *string `json:"etag,omitempty"` // Output only. True if payload checksum specified in // [SecretPayload][google.cloud.secretmanager.v1.SecretPayload] object has // been received by // [SecretManagerService][google.cloud.secretmanager.v1.SecretManagerService] // on // [SecretManagerService.AddSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.AddSecretVersion]. ClientSpecifiedPayloadChecksum *bool `json:"clientSpecifiedPayloadChecksum,omitempty"` // Optional. Output only. Scheduled destroy time for secret version. // This is a part of the Delayed secret version destroy feature. For a // Secret with a valid version destroy TTL, when a secert version is // destroyed, the version is moved to disabled state and it is scheduled for // destruction. The version is destroyed only after the // `scheduled_destroy_time`. ScheduledDestroyTime *string `json:"scheduledDestroyTime,omitempty"` // Output only. The customer-managed encryption status of the // [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. Only // populated if customer-managed encryption is used and // [Secret][google.cloud.secretmanager.v1.Secret] is a Regionalised Secret. CustomerManagedEncryption *CustomerManagedEncryptionStatus `json:"customerManagedEncryption,omitempty"` }
+kcc:proto=google.cloud.secretmanager.v1.SecretVersion
func (*SecretVersion) DeepCopy ¶ added in v1.126.0
func (in *SecretVersion) DeepCopy() *SecretVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVersion.
func (*SecretVersion) DeepCopyInto ¶ added in v1.126.0
func (in *SecretVersion) DeepCopyInto(out *SecretVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretVersionIdentity ¶ added in v1.126.0
type SecretVersionIdentity struct {
// contains filtered or unexported fields
}
func NewSecretVersionIdentity ¶ added in v1.126.0
func NewSecretVersionIdentity(ctx context.Context, reader client.Reader, obj *SecretManagerSecretVersion, u *unstructured.Unstructured) (*SecretVersionIdentity, error)
func ParseSecretVersionExternal ¶ added in v1.126.0
func ParseSecretVersionExternal(external string) (*SecretVersionIdentity, error)
func (*SecretVersionIdentity) DeepCopy ¶ added in v1.126.0
func (in *SecretVersionIdentity) DeepCopy() *SecretVersionIdentity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVersionIdentity.
func (*SecretVersionIdentity) DeepCopyInto ¶ added in v1.126.0
func (in *SecretVersionIdentity) DeepCopyInto(out *SecretVersionIdentity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretVersionIdentity) HasKnownID ¶ added in v1.126.0
func (i *SecretVersionIdentity) HasKnownID() bool
HasKnownID tells whether Config Connector knows the resource identity. If not, Config Connector saves one GCP GET call, and starts the CREATE call directly. This is mostly for GCP services that do not allow user to specify ID, but assign an ID when creating the object.
func (*SecretVersionIdentity) ID ¶ added in v1.126.0
func (r *SecretVersionIdentity) ID() string
func (*SecretVersionIdentity) Parent ¶ added in v1.126.0
func (r *SecretVersionIdentity) Parent() *SecretVersionParent
func (*SecretVersionIdentity) String ¶ added in v1.126.0
func (i *SecretVersionIdentity) String() string
type SecretVersionParent ¶ added in v1.126.0
func (*SecretVersionParent) DeepCopy ¶ added in v1.126.0
func (in *SecretVersionParent) DeepCopy() *SecretVersionParent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVersionParent.
func (*SecretVersionParent) DeepCopyInto ¶ added in v1.126.0
func (in *SecretVersionParent) DeepCopyInto(out *SecretVersionParent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretVersionParent) String ¶ added in v1.126.0
func (p *SecretVersionParent) String() string
type SecretVersionRef ¶ added in v1.126.0
type SecretVersionRef struct { // A reference to an externally managed SecretManagerSecretVersion resource. // Should be in the format "projects/{{projectID}}/locations/{{location}}/secretversions/{{secretversionID}}". External string `json:"external,omitempty"` // The name of a SecretManagerSecretVersion resource. Name string `json:"name,omitempty"` // The namespace of a SecretManagerSecretVersion resource. Namespace string `json:"namespace,omitempty"` }
SecretVersionRef defines the resource reference to SecretManagerSecretVersion, which "External" field holds the GCP identifier for the KRM object.
func (*SecretVersionRef) DeepCopy ¶ added in v1.126.0
func (in *SecretVersionRef) DeepCopy() *SecretVersionRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVersionRef.
func (*SecretVersionRef) DeepCopyInto ¶ added in v1.126.0
func (in *SecretVersionRef) DeepCopyInto(out *SecretVersionRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretVersionRef) NormalizedExternal ¶ added in v1.126.0
func (r *SecretVersionRef) NormalizedExternal(ctx context.Context, reader client.Reader, otherNamespace string) (string, error)
NormalizedExternal provision the "External" value for other resource that depends on SecretManagerSecretVersion. If the "External" is given in the other resource's spec.SecretVersionRef, the given value will be used. Otherwise, the "Name" and "Namespace" will be used to query the actual SecretManagerSecretVersion object from the cluster.
type Topic ¶
type Topic struct { // Required. 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 must have the `pubsub.topic.publish` // permission on the topic. The Pub/Sub Publisher role // (`roles/pubsub.publisher`) includes this permission. Name *string `json:"name,omitempty"` }
+kcc:proto=google.cloud.secretmanager.v1.Topic
func (*Topic) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Topic.
func (*Topic) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TopicRef ¶
type TopicRef struct { // +required PubSubTopicRef *refv1beta1.PubSubTopicRef `json:"topicRef,omitempty"` }
func (*TopicRef) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicRef.
func (*TopicRef) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.