v1alpha1

package
v1.125.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the essentialcontacts v1alpha1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/essentialcontacts +k8s:defaulter-gen=TypeMeta +groupName=essentialcontacts.cnrm.cloud.google.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is the group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: "essentialcontacts.cnrm.cloud.google.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme

	EssentialContactsContactGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(EssentialContactsContact{}).Name(),
	}
)

Functions

This section is empty.

Types

type EssentialContactsContact

type EssentialContactsContact struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   EssentialContactsContactSpec   `json:"spec,omitempty"`
	Status EssentialContactsContactStatus `json:"status,omitempty"`
}

EssentialContactsContact is the Schema for the essentialcontacts API +k8s:openapi-gen=true

func (*EssentialContactsContact) DeepCopy

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

func (*EssentialContactsContact) DeepCopyInto

func (in *EssentialContactsContact) DeepCopyInto(out *EssentialContactsContact)

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

func (*EssentialContactsContact) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EssentialContactsContactList

type EssentialContactsContactList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []EssentialContactsContact `json:"items"`
}

EssentialContactsContactList contains a list of EssentialContactsContact

func (*EssentialContactsContactList) DeepCopy

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

func (*EssentialContactsContactList) DeepCopyInto

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

func (*EssentialContactsContactList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EssentialContactsContactSpec

type EssentialContactsContactSpec struct {
	/* Immutable. The email address to send notifications to. This does not need to be a Google account. */
	Email string `json:"email"`

	/* 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"`

	/* The categories of notifications that the contact will receive communications for. */
	NotificationCategorySubscriptions []string `json:"notificationCategorySubscriptions"`

	/* Immutable. The resource to save this contact for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}. */
	Parent string `json:"parent"`

	/* Immutable. Optional. The service-generated name of the resource. Used for acquisition only. Leave unset to create a new resource. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`
}

func (*EssentialContactsContactSpec) DeepCopy

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

func (*EssentialContactsContactSpec) DeepCopyInto

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

type EssentialContactsContactStatus

type EssentialContactsContactStatus struct {
	/* Conditions represent the latest available observations of the
	   EssentialContactsContact's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* The identifier for the contact. Format: {resourceType}/{resource_id}/contacts/{contact_id}. */
	// +optional
	Name *string `json:"name,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. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
}

func (*EssentialContactsContactStatus) DeepCopy

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

func (*EssentialContactsContactStatus) DeepCopyInto

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