Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=essentialcontacts.gcp.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type Contact
- func (in *Contact) DeepCopy() *Contact
- func (in *Contact) DeepCopyInto(out *Contact)
- func (in *Contact) DeepCopyObject() runtime.Object
- func (mg *Contact) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Contact) GetConnectionDetailsMapping() map[string]string
- func (mg *Contact) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Contact) GetID() string
- func (tr *Contact) GetInitParameters() (map[string]any, error)
- func (mg *Contact) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Contact) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Contact) GetObservation() (map[string]any, error)
- func (tr *Contact) GetParameters() (map[string]any, error)
- func (mg *Contact) GetProviderConfigReference() *xpv1.Reference
- func (mg *Contact) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Contact) GetTerraformResourceType() string
- func (tr *Contact) GetTerraformSchemaVersion() int
- func (mg *Contact) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Contact) LateInitialize(attrs []byte) (bool, error)
- func (mg *Contact) SetConditions(c ...xpv1.Condition)
- func (mg *Contact) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Contact) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Contact) SetObservation(obs map[string]any) error
- func (tr *Contact) SetParameters(params map[string]any) error
- func (mg *Contact) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Contact) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Contact) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ContactInitParameters
- type ContactList
- type ContactObservation
- type ContactParameters
- type ContactSpec
- type ContactStatus
Constants ¶
const ( CRDGroup = "essentialcontacts.gcp.upbound.io" CRDVersion = "v1beta1" )
Package type metadata.
Variables ¶
var ( Contact_Kind = "Contact" Contact_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Contact_Kind}.String() Contact_KindAPIVersion = Contact_Kind + "." + CRDGroupVersion.String() Contact_GroupVersionKind = CRDGroupVersion.WithKind(Contact_Kind) )
Repository type metadata.
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 )
Functions ¶
This section is empty.
Types ¶
type Contact ¶
type Contact 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.email) || (has(self.initProvider) && has(self.initProvider.email))",message="spec.forProvider.email is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.languageTag) || (has(self.initProvider) && has(self.initProvider.languageTag))",message="spec.forProvider.languageTag is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.notificationCategorySubscriptions) || (has(self.initProvider) && has(self.initProvider.notificationCategorySubscriptions))",message="spec.forProvider.notificationCategorySubscriptions is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.parent) || (has(self.initProvider) && has(self.initProvider.parent))",message="spec.forProvider.parent is a required parameter" Spec ContactSpec `json:"spec"` Status ContactStatus `json:"status,omitempty"` }
Contact is the Schema for the Contacts API. A contact that will receive notifications from Google Cloud. +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 (*Contact) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Contact.
func (*Contact) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Contact) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Contact) GetCondition ¶
func (mg *Contact) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Contact.
func (*Contact) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Contact
func (*Contact) GetDeletionPolicy ¶
func (mg *Contact) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Contact.
func (*Contact) GetInitParameters ¶ added in v0.35.0
GetInitParameters of this Contact
func (*Contact) GetManagementPolicies ¶ added in v0.35.0
func (mg *Contact) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Contact.
func (*Contact) GetMergedParameters ¶ added in v0.40.0
GetInitParameters of this Contact
func (*Contact) GetObservation ¶
GetObservation of this Contact
func (*Contact) GetParameters ¶
GetParameters of this Contact
func (*Contact) GetProviderConfigReference ¶
GetProviderConfigReference of this Contact.
func (*Contact) GetPublishConnectionDetailsTo ¶
func (mg *Contact) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Contact.
func (*Contact) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Contact
func (*Contact) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Contact) GetWriteConnectionSecretToReference ¶
func (mg *Contact) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Contact.
func (*Contact) LateInitialize ¶
LateInitialize this Contact using its observed tfState. returns True if there are any spec changes for the resource.
func (*Contact) SetConditions ¶
SetConditions of this Contact.
func (*Contact) SetDeletionPolicy ¶
func (mg *Contact) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Contact.
func (*Contact) SetManagementPolicies ¶ added in v0.35.0
func (mg *Contact) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Contact.
func (*Contact) SetObservation ¶
SetObservation for this Contact
func (*Contact) SetParameters ¶
SetParameters for this Contact
func (*Contact) SetProviderConfigReference ¶
SetProviderConfigReference of this Contact.
func (*Contact) SetPublishConnectionDetailsTo ¶
func (mg *Contact) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Contact.
func (*Contact) SetWriteConnectionSecretToReference ¶
func (mg *Contact) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Contact.
type ContactInitParameters ¶ added in v0.35.0
type ContactInitParameters struct { // The email address to send notifications to. This does not need to be a Google account. Email *string `json:"email,omitempty" tf:"email,omitempty"` // The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages. LanguageTag *string `json:"languageTag,omitempty" tf:"language_tag,omitempty"` // The categories of notifications that the contact will receive communications for. NotificationCategorySubscriptions []*string `json:"notificationCategorySubscriptions,omitempty" tf:"notification_category_subscriptions,omitempty"` // The resource to save this contact for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id} Parent *string `json:"parent,omitempty" tf:"parent,omitempty"` }
func (*ContactInitParameters) DeepCopy ¶ added in v0.35.0
func (in *ContactInitParameters) DeepCopy() *ContactInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactInitParameters.
func (*ContactInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *ContactInitParameters) DeepCopyInto(out *ContactInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContactList ¶
type ContactList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Contact `json:"items"` }
ContactList contains a list of Contacts
func (*ContactList) DeepCopy ¶
func (in *ContactList) DeepCopy() *ContactList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactList.
func (*ContactList) DeepCopyInto ¶
func (in *ContactList) DeepCopyInto(out *ContactList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContactList) DeepCopyObject ¶
func (in *ContactList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ContactList) GetItems ¶
func (l *ContactList) GetItems() []resource.Managed
GetItems of this ContactList.
type ContactObservation ¶
type ContactObservation struct { // The email address to send notifications to. This does not need to be a Google account. Email *string `json:"email,omitempty" tf:"email,omitempty"` // an identifier for the resource with format {{name}} ID *string `json:"id,omitempty" tf:"id,omitempty"` // The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages. LanguageTag *string `json:"languageTag,omitempty" tf:"language_tag,omitempty"` // The identifier for the contact. Format: {resourceType}/{resource_id}/contacts/{contact_id} Name *string `json:"name,omitempty" tf:"name,omitempty"` // The categories of notifications that the contact will receive communications for. NotificationCategorySubscriptions []*string `json:"notificationCategorySubscriptions,omitempty" tf:"notification_category_subscriptions,omitempty"` // The resource to save this contact for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id} Parent *string `json:"parent,omitempty" tf:"parent,omitempty"` }
func (*ContactObservation) DeepCopy ¶
func (in *ContactObservation) DeepCopy() *ContactObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactObservation.
func (*ContactObservation) DeepCopyInto ¶
func (in *ContactObservation) DeepCopyInto(out *ContactObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContactParameters ¶
type ContactParameters struct { // The email address to send notifications to. This does not need to be a Google account. // +kubebuilder:validation:Optional Email *string `json:"email,omitempty" tf:"email,omitempty"` // The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages. // +kubebuilder:validation:Optional LanguageTag *string `json:"languageTag,omitempty" tf:"language_tag,omitempty"` // The categories of notifications that the contact will receive communications for. // +kubebuilder:validation:Optional NotificationCategorySubscriptions []*string `json:"notificationCategorySubscriptions,omitempty" tf:"notification_category_subscriptions,omitempty"` // The resource to save this contact for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id} // +kubebuilder:validation:Optional Parent *string `json:"parent,omitempty" tf:"parent,omitempty"` }
func (*ContactParameters) DeepCopy ¶
func (in *ContactParameters) DeepCopy() *ContactParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactParameters.
func (*ContactParameters) DeepCopyInto ¶
func (in *ContactParameters) DeepCopyInto(out *ContactParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContactSpec ¶
type ContactSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ContactParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // 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 ContactInitParameters `json:"initProvider,omitempty"` }
ContactSpec defines the desired state of Contact
func (*ContactSpec) DeepCopy ¶
func (in *ContactSpec) DeepCopy() *ContactSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactSpec.
func (*ContactSpec) DeepCopyInto ¶
func (in *ContactSpec) DeepCopyInto(out *ContactSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContactStatus ¶
type ContactStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ContactObservation `json:"atProvider,omitempty"` }
ContactStatus defines the observed state of Contact.
func (*ContactStatus) DeepCopy ¶
func (in *ContactStatus) DeepCopy() *ContactStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactStatus.
func (*ContactStatus) DeepCopyInto ¶
func (in *ContactStatus) DeepCopyInto(out *ContactStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.