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) GetObservation() (map[string]any, error)
- func (tr *Contact) GetParameters() (map[string]any, error)
- func (mg *Contact) GetProviderConfigReference() *xpv1.Reference
- func (mg *Contact) GetProviderReference() *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 (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) SetProviderReference(r *xpv1.Reference)
- func (mg *Contact) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Contact) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- 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"` 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) GetObservation ¶
GetObservation of this Contact
func (*Contact) GetParameters ¶
GetParameters of this Contact
func (*Contact) GetProviderConfigReference ¶
GetProviderConfigReference of this Contact.
func (*Contact) GetProviderReference ¶
GetProviderReference of this Contact. Deprecated: Use GetProviderConfigReference.
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) SetObservation ¶
SetObservation for this Contact
func (*Contact) SetParameters ¶
SetParameters for this Contact
func (*Contact) SetProviderConfigReference ¶
SetProviderConfigReference of this Contact.
func (*Contact) SetProviderReference ¶
SetProviderReference of this Contact. Deprecated: Use SetProviderConfigReference.
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 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 { // an identifier for the resource with format {{name}} ID *string `json:"id,omitempty" tf:"id,omitempty"` // The identifier for the contact. Format: {resourceType}/{resource_id}/contacts/{contact_id} Name *string `json:"name,omitempty" tf:"name,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:Required Email *string `json:"email" 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:Required LanguageTag *string `json:"languageTag" tf:"language_tag,omitempty"` // The categories of notifications that the contact will receive communications for. // +kubebuilder:validation:Required NotificationCategorySubscriptions []*string `json:"notificationCategorySubscriptions" 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:Required Parent *string `json:"parent" 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"` }
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.