v1beta1

package
v0.19.0-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2022 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Overview

+kubebuilder:object:generate=true +groupName=essentialcontacts.gcp.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "essentialcontacts.gcp.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
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.

View Source
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

func (in *Contact) DeepCopy() *Contact

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Contact.

func (*Contact) DeepCopyInto

func (in *Contact) DeepCopyInto(out *Contact)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Contact) DeepCopyObject

func (in *Contact) DeepCopyObject() runtime.Object

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

func (tr *Contact) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Contact

func (*Contact) GetDeletionPolicy

func (mg *Contact) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Contact.

func (*Contact) GetID

func (tr *Contact) GetID() string

GetID returns ID of underlying Terraform resource of this Contact

func (*Contact) GetObservation

func (tr *Contact) GetObservation() (map[string]any, error)

GetObservation of this Contact

func (*Contact) GetParameters

func (tr *Contact) GetParameters() (map[string]any, error)

GetParameters of this Contact

func (*Contact) GetProviderConfigReference

func (mg *Contact) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Contact.

func (*Contact) GetProviderReference

func (mg *Contact) GetProviderReference() *xpv1.Reference

GetProviderReference of this Contact. Deprecated: Use GetProviderConfigReference.

func (*Contact) GetPublishConnectionDetailsTo

func (mg *Contact) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Contact.

func (*Contact) GetTerraformResourceType

func (mg *Contact) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Contact

func (*Contact) GetTerraformSchemaVersion

func (tr *Contact) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Contact) GetWriteConnectionSecretToReference

func (mg *Contact) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Contact.

func (*Contact) LateInitialize

func (tr *Contact) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Contact using its observed tfState. returns True if there are any spec changes for the resource.

func (*Contact) SetConditions

func (mg *Contact) SetConditions(c ...xpv1.Condition)

SetConditions of this Contact.

func (*Contact) SetDeletionPolicy

func (mg *Contact) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Contact.

func (*Contact) SetObservation

func (tr *Contact) SetObservation(obs map[string]any) error

SetObservation for this Contact

func (*Contact) SetParameters

func (tr *Contact) SetParameters(params map[string]any) error

SetParameters for this Contact

func (*Contact) SetProviderConfigReference

func (mg *Contact) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Contact.

func (*Contact) SetProviderReference

func (mg *Contact) SetProviderReference(r *xpv1.Reference)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL