v1alpha1

package module
v0.0.0-...-f7ccbb4 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 contains managed resources, such as ManagedZone for DNS Service. +kubebuilder:object:generate=true +groupName=dns.gcp.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "dns.gcp.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)
View Source
var (
	ManagedZoneKind             = reflect.TypeOf(ManagedZone{}).Name()
	ManagedZoneGroupKind        = schema.GroupKind{Group: Group, Kind: ManagedZoneKind}.String()
	ManagedZoneKindAPIVersion   = ManagedZoneKind + "." + SchemeGroupVersion.String()
	ManagedZoneGroupVersionKind = SchemeGroupVersion.WithKind(ManagedZoneKind)
)

ManagedZone type metadata.

View Source
var (
	ResourceRecordSetKind             = reflect.TypeOf(ResourceRecordSet{}).Name()
	ResourceRecordSetGroupKind        = schema.GroupKind{Group: Group, Kind: ResourceRecordSetKind}.String()
	ResourceRecordSetKindAPIVersion   = ResourceRecordSetKind + "." + SchemeGroupVersion.String()
	ResourceRecordSetGroupVersionKind = SchemeGroupVersion.WithKind(ResourceRecordSetKind)
)

ResourceRecordSet type metadata.

Functions

This section is empty.

Types

type ManagedZone

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

	Spec   ManagedZoneSpec   `json:"spec"`
	Status ManagedZoneStatus `json:"status,omitempty"`
}

ManagedZone is a managed resource that represents a Google IAM Service Account. +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="ID",type="string",JSONPath=".status.atProvider.id" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster

func (*ManagedZone) DeepCopy

func (in *ManagedZone) DeepCopy() *ManagedZone

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

func (*ManagedZone) DeepCopyInto

func (in *ManagedZone) DeepCopyInto(out *ManagedZone)

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

func (*ManagedZone) DeepCopyObject

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

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

func (*ManagedZone) GetCondition

func (mg *ManagedZone) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ManagedZone.

func (*ManagedZone) GetDeletionPolicy

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

GetDeletionPolicy of this ManagedZone.

func (*ManagedZone) GetProviderConfigReference

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

GetProviderConfigReference of this ManagedZone.

func (*ManagedZone) GetProviderReference

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

GetProviderReference of this ManagedZone. Deprecated: Use GetProviderConfigReference.

func (*ManagedZone) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ManagedZone.

func (*ManagedZone) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ManagedZone.

func (*ManagedZone) SetConditions

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

SetConditions of this ManagedZone.

func (*ManagedZone) SetDeletionPolicy

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

SetDeletionPolicy of this ManagedZone.

func (*ManagedZone) SetProviderConfigReference

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

SetProviderConfigReference of this ManagedZone.

func (*ManagedZone) SetProviderReference

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

SetProviderReference of this ManagedZone. Deprecated: Use SetProviderConfigReference.

func (*ManagedZone) SetPublishConnectionDetailsTo

func (mg *ManagedZone) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ManagedZone.

func (*ManagedZone) SetWriteConnectionSecretToReference

func (mg *ManagedZone) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ManagedZone.

type ManagedZoneList

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

ManagedZoneList contains a list of ManagedZone types

func (*ManagedZoneList) DeepCopy

func (in *ManagedZoneList) DeepCopy() *ManagedZoneList

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

func (*ManagedZoneList) DeepCopyInto

func (in *ManagedZoneList) DeepCopyInto(out *ManagedZoneList)

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

func (*ManagedZoneList) DeepCopyObject

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

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

func (*ManagedZoneList) GetItems

func (l *ManagedZoneList) GetItems() []resource.Managed

GetItems of this ManagedZoneList.

type ManagedZoneObservation

type ManagedZoneObservation struct {
	// ID that gcp dns assigned to the managed zone when you created
	// it.
	ID uint64 `json:"id,omitempty"`
}

ManagedZoneObservation is used to show the observed state of the ManagedZone resource on GCP. All fields in this structure should only be populated from GCP responses; any changes made to the k8s resource outside of the crossplane gcp controller will be ignored and overwritten.

func (*ManagedZoneObservation) DeepCopy

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

func (*ManagedZoneObservation) DeepCopyInto

func (in *ManagedZoneObservation) DeepCopyInto(out *ManagedZoneObservation)

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

type ManagedZoneParameters

type ManagedZoneParameters struct {
	// Name: User assigned name for this resource. Must be unique within the
	// project. The name must be 1-63 characters long, must begin with a
	// letter, end with a letter or digit, and only contain lowercase
	// letters, digits or dashes.
	Name string `json:"name,omitempty"`

	// Labels are used as additional metadata on ManagedZone.
	// +optional
	Labels map[string]string `json:"labels,omitempty"`

	// Description: A mutable string of at most 1024 characters associated
	// with this resource for the user's convenience. Has no effect on the
	// managed zone's function.
	// +optional
	Description string `json:"description,omitempty"`

	// Network: the VPC network to bind to.
	Network string `json:"network,omitempty"`

	// DNSName: The DNS name of this managed zone, for instance
	// "example.com.".
	DNSName string `json:"dnsName,omitempty"`

	// Visibility: The zone's visibility: public zones are exposed to the
	// Internet, while private zones are visible only to Virtual Private
	// Cloud resources.
	//
	// Possible values:
	//   "private"
	//   "public"
	// +optional
	Visibility string `json:"visibility,omitempty"`
}

ManagedZoneParameters defines parameters for a ManagedZone.

func (*ManagedZoneParameters) DeepCopy

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

func (*ManagedZoneParameters) DeepCopyInto

func (in *ManagedZoneParameters) DeepCopyInto(out *ManagedZoneParameters)

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

type ManagedZoneSpec

type ManagedZoneSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       ManagedZoneParameters `json:"forProvider"`
}

ManagedZoneSpec defines the desired state of a ManagedZone.

func (*ManagedZoneSpec) DeepCopy

func (in *ManagedZoneSpec) DeepCopy() *ManagedZoneSpec

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

func (*ManagedZoneSpec) DeepCopyInto

func (in *ManagedZoneSpec) DeepCopyInto(out *ManagedZoneSpec)

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

type ManagedZoneStatus

type ManagedZoneStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          ManagedZoneObservation `json:"atProvider,omitempty"`
}

ManagedZoneStatus represents the observed state of a ManagedZone.

func (*ManagedZoneStatus) DeepCopy

func (in *ManagedZoneStatus) DeepCopy() *ManagedZoneStatus

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

func (*ManagedZoneStatus) DeepCopyInto

func (in *ManagedZoneStatus) DeepCopyInto(out *ManagedZoneStatus)

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

type ResourceRecordSet

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

	Spec   ResourceRecordSetSpec   `json:"spec"`
	Status ResourceRecordSetStatus `json:"status,omitempty"`
}

ResourceRecordSet is a managed resource that represents an gcp dns Resource Record. +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="TYPE",type="string",JSONPath=".spec.forProvider.type" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}

func (*ResourceRecordSet) DeepCopy

func (in *ResourceRecordSet) DeepCopy() *ResourceRecordSet

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

func (*ResourceRecordSet) DeepCopyInto

func (in *ResourceRecordSet) DeepCopyInto(out *ResourceRecordSet)

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

func (*ResourceRecordSet) DeepCopyObject

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

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

func (*ResourceRecordSet) GetCondition

func (mg *ResourceRecordSet) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ResourceRecordSet.

func (*ResourceRecordSet) GetDeletionPolicy

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

GetDeletionPolicy of this ResourceRecordSet.

func (*ResourceRecordSet) GetProviderConfigReference

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

GetProviderConfigReference of this ResourceRecordSet.

func (*ResourceRecordSet) GetProviderReference

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

GetProviderReference of this ResourceRecordSet. Deprecated: Use GetProviderConfigReference.

func (*ResourceRecordSet) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ResourceRecordSet.

func (*ResourceRecordSet) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ResourceRecordSet.

func (*ResourceRecordSet) SetConditions

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

SetConditions of this ResourceRecordSet.

func (*ResourceRecordSet) SetDeletionPolicy

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

SetDeletionPolicy of this ResourceRecordSet.

func (*ResourceRecordSet) SetProviderConfigReference

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

SetProviderConfigReference of this ResourceRecordSet.

func (*ResourceRecordSet) SetProviderReference

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

SetProviderReference of this ResourceRecordSet. Deprecated: Use SetProviderConfigReference.

func (*ResourceRecordSet) SetPublishConnectionDetailsTo

func (mg *ResourceRecordSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ResourceRecordSet.

func (*ResourceRecordSet) SetWriteConnectionSecretToReference

func (mg *ResourceRecordSet) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ResourceRecordSet.

type ResourceRecordSetList

type ResourceRecordSetList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []ResourceRecordSet `json:"items"`
}

ResourceRecordSetList contains a list of ResourceRecordSet.

func (*ResourceRecordSetList) DeepCopy

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

func (*ResourceRecordSetList) DeepCopyInto

func (in *ResourceRecordSetList) DeepCopyInto(out *ResourceRecordSetList)

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

func (*ResourceRecordSetList) DeepCopyObject

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

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

func (*ResourceRecordSetList) GetItems

func (l *ResourceRecordSetList) GetItems() []resource.Managed

GetItems of this ResourceRecordSetList.

type ResourceRecordSetParameters

type ResourceRecordSetParameters struct {
	// Rrdatas: As defined in RFC 1035 (section 5) and RFC 1034 (section
	// 3.6.1)
	// +optional
	Rrdatas []string `json:"aliasTarget,omitempty"`

	// Ttl: Number of seconds that this ResourceRecordSet can be cached by
	// resolvers.
	// +optional
	TTL *int64 `json:"ttl,omitempty"`

	// Type: The identifier of a supported record type. See the list of
	// Supported DNS record types.
	Type *string `json:"type"`

	// ZoneID is the ID of the hosted zone that contains the resource record sets
	// that you want to change.
	ZoneID *string `json:"zoneId,omitempty"`
}

ResourceRecordSetParameters define the desired state of an gcp dns Resource Record.

func (*ResourceRecordSetParameters) DeepCopy

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

func (*ResourceRecordSetParameters) DeepCopyInto

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

type ResourceRecordSetSpec

type ResourceRecordSetSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       ResourceRecordSetParameters `json:"forProvider"`
}

ResourceRecordSetSpec defines the desired state of an gcp dns Resource Record.

func (*ResourceRecordSetSpec) DeepCopy

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

func (*ResourceRecordSetSpec) DeepCopyInto

func (in *ResourceRecordSetSpec) DeepCopyInto(out *ResourceRecordSetSpec)

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

type ResourceRecordSetStatus

type ResourceRecordSetStatus struct {
	xpv1.ResourceStatus `json:",inline"`
}

ResourceRecordSetStatus represents the observed state of a ResourceRecordSet.

func (*ResourceRecordSetStatus) DeepCopy

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

func (*ResourceRecordSetStatus) DeepCopyInto

func (in *ResourceRecordSetStatus) DeepCopyInto(out *ResourceRecordSetStatus)

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