v1alpha1

package
v0.0.0-...-1cb00b6 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the dns resources of the yandex-cloud jet provider. +kubebuilder:object:generate=true +groupName=dns.yandex-cloud.jet.crossplane.io +versionName=v1alpha1

+kubebuilder:object:generate=true +groupName=dns.yandex-cloud.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "dns.yandex-cloud.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

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
)
View Source
var (
	Recordset_Kind             = "Recordset"
	Recordset_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Recordset_Kind}.String()
	Recordset_KindAPIVersion   = Recordset_Kind + "." + CRDGroupVersion.String()
	Recordset_GroupVersionKind = CRDGroupVersion.WithKind(Recordset_Kind)
)

Repository type metadata.

View Source
var (
	Zone_Kind             = "Zone"
	Zone_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Zone_Kind}.String()
	Zone_KindAPIVersion   = Zone_Kind + "." + CRDGroupVersion.String()
	Zone_GroupVersionKind = CRDGroupVersion.WithKind(Zone_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Recordset

type Recordset struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RecordsetSpec   `json:"spec"`
	Status            RecordsetStatus `json:"status,omitempty"`
}

Recordset is the Schema for the Recordsets API +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,yandex-cloud}

func (*Recordset) DeepCopy

func (in *Recordset) DeepCopy() *Recordset

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

func (*Recordset) DeepCopyInto

func (in *Recordset) DeepCopyInto(out *Recordset)

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

func (*Recordset) DeepCopyObject

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

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

func (*Recordset) GetCondition

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

GetCondition of this Recordset.

func (*Recordset) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Recordset

func (*Recordset) GetDeletionPolicy

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

GetDeletionPolicy of this Recordset.

func (*Recordset) GetID

func (tr *Recordset) GetID() string

GetID returns ID of underlying Terraform resource of this Recordset

func (*Recordset) GetObservation

func (tr *Recordset) GetObservation() (map[string]interface{}, error)

GetObservation of this Recordset

func (*Recordset) GetParameters

func (tr *Recordset) GetParameters() (map[string]interface{}, error)

GetParameters of this Recordset

func (*Recordset) GetProviderConfigReference

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

GetProviderConfigReference of this Recordset.

func (*Recordset) GetProviderReference

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

GetProviderReference of this Recordset. Deprecated: Use GetProviderConfigReference.

func (*Recordset) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Recordset.

func (*Recordset) GetTerraformResourceType

func (mg *Recordset) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Recordset

func (*Recordset) GetTerraformSchemaVersion

func (tr *Recordset) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Recordset) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Recordset.

func (*Recordset) LateInitialize

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

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

func (*Recordset) ResolveReferences

func (mg *Recordset) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Recordset.

func (*Recordset) SetConditions

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

SetConditions of this Recordset.

func (*Recordset) SetDeletionPolicy

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

SetDeletionPolicy of this Recordset.

func (*Recordset) SetObservation

func (tr *Recordset) SetObservation(obs map[string]interface{}) error

SetObservation for this Recordset

func (*Recordset) SetParameters

func (tr *Recordset) SetParameters(params map[string]interface{}) error

SetParameters for this Recordset

func (*Recordset) SetProviderConfigReference

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

SetProviderConfigReference of this Recordset.

func (*Recordset) SetProviderReference

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

SetProviderReference of this Recordset. Deprecated: Use SetProviderConfigReference.

func (*Recordset) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Recordset.

func (*Recordset) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Recordset.

type RecordsetList

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

RecordsetList contains a list of Recordsets

func (*RecordsetList) DeepCopy

func (in *RecordsetList) DeepCopy() *RecordsetList

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

func (*RecordsetList) DeepCopyInto

func (in *RecordsetList) DeepCopyInto(out *RecordsetList)

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

func (*RecordsetList) DeepCopyObject

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

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

func (*RecordsetList) GetItems

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

GetItems of this RecordsetList.

type RecordsetObservation

type RecordsetObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*RecordsetObservation) DeepCopy

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

func (*RecordsetObservation) DeepCopyInto

func (in *RecordsetObservation) DeepCopyInto(out *RecordsetObservation)

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

type RecordsetParameters

type RecordsetParameters struct {

	// +kubebuilder:validation:Required
	// (Optional) The string data for the records in this record set.
	Data []*string `json:"data" tf:"data,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) The DNS name this record set will apply to.
	Name *string `json:"name" tf:"name,omitempty"`

	// +kubebuilder:validation:Required
	// (Optional) The time-to-live of this record set (seconds).
	TTL *float64 `json:"ttl" tf:"ttl,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) The DNS record set type.
	Type *string `json:"type" tf:"type,omitempty"`

	// +crossplane:generate:reference:type=Zone
	// +kubebuilder:validation:Optional
	// (Required) The id of the zone in which this record set will reside.
	ZoneID *string `json:"zoneId,omitempty" tf:"zone_id,omitempty"`

	// +kubebuilder:validation:Optional
	ZoneIDRef *v1.Reference `json:"zoneIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	ZoneIDSelector *v1.Selector `json:"zoneIdSelector,omitempty" tf:"-"`
}

func (*RecordsetParameters) DeepCopy

func (in *RecordsetParameters) DeepCopy() *RecordsetParameters

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

func (*RecordsetParameters) DeepCopyInto

func (in *RecordsetParameters) DeepCopyInto(out *RecordsetParameters)

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

type RecordsetSpec

type RecordsetSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RecordsetParameters `json:"forProvider"`
}

RecordsetSpec defines the desired state of Recordset

func (*RecordsetSpec) DeepCopy

func (in *RecordsetSpec) DeepCopy() *RecordsetSpec

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

func (*RecordsetSpec) DeepCopyInto

func (in *RecordsetSpec) DeepCopyInto(out *RecordsetSpec)

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

type RecordsetStatus

type RecordsetStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        RecordsetObservation `json:"atProvider,omitempty"`
}

RecordsetStatus defines the observed state of Recordset.

func (*RecordsetStatus) DeepCopy

func (in *RecordsetStatus) DeepCopy() *RecordsetStatus

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

func (*RecordsetStatus) DeepCopyInto

func (in *RecordsetStatus) DeepCopyInto(out *RecordsetStatus)

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

type Zone

type Zone struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ZoneSpec   `json:"spec"`
	Status            ZoneStatus `json:"status,omitempty"`
}

Zone is the Schema for the Zones API +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,yandex-cloud}

func (*Zone) DeepCopy

func (in *Zone) DeepCopy() *Zone

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

func (*Zone) DeepCopyInto

func (in *Zone) DeepCopyInto(out *Zone)

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

func (*Zone) DeepCopyObject

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

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

func (*Zone) GetCondition

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

GetCondition of this Zone.

func (*Zone) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Zone

func (*Zone) GetDeletionPolicy

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

GetDeletionPolicy of this Zone.

func (*Zone) GetID

func (tr *Zone) GetID() string

GetID returns ID of underlying Terraform resource of this Zone

func (*Zone) GetObservation

func (tr *Zone) GetObservation() (map[string]interface{}, error)

GetObservation of this Zone

func (*Zone) GetParameters

func (tr *Zone) GetParameters() (map[string]interface{}, error)

GetParameters of this Zone

func (*Zone) GetProviderConfigReference

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

GetProviderConfigReference of this Zone.

func (*Zone) GetProviderReference

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

GetProviderReference of this Zone. Deprecated: Use GetProviderConfigReference.

func (*Zone) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Zone.

func (*Zone) GetTerraformResourceType

func (mg *Zone) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Zone

func (*Zone) GetTerraformSchemaVersion

func (tr *Zone) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Zone) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Zone.

func (*Zone) LateInitialize

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

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

func (*Zone) ResolveReferences

func (mg *Zone) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Zone.

func (*Zone) SetConditions

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

SetConditions of this Zone.

func (*Zone) SetDeletionPolicy

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

SetDeletionPolicy of this Zone.

func (*Zone) SetObservation

func (tr *Zone) SetObservation(obs map[string]interface{}) error

SetObservation for this Zone

func (*Zone) SetParameters

func (tr *Zone) SetParameters(params map[string]interface{}) error

SetParameters for this Zone

func (*Zone) SetProviderConfigReference

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

SetProviderConfigReference of this Zone.

func (*Zone) SetProviderReference

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

SetProviderReference of this Zone. Deprecated: Use SetProviderConfigReference.

func (*Zone) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Zone.

func (*Zone) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Zone.

type ZoneList

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

ZoneList contains a list of Zones

func (*ZoneList) DeepCopy

func (in *ZoneList) DeepCopy() *ZoneList

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

func (*ZoneList) DeepCopyInto

func (in *ZoneList) DeepCopyInto(out *ZoneList)

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

func (*ZoneList) DeepCopyObject

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

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

func (*ZoneList) GetItems

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

GetItems of this ZoneList.

type ZoneObservation

type ZoneObservation struct {
	// (Computed) The DNS zone creation timestamp.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// (Computed) ID of a new DNS zone.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*ZoneObservation) DeepCopy

func (in *ZoneObservation) DeepCopy() *ZoneObservation

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

func (*ZoneObservation) DeepCopyInto

func (in *ZoneObservation) DeepCopyInto(out *ZoneObservation)

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

type ZoneParameters

type ZoneParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) Description of the DNS zone.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/resourcemanager/v1alpha1.Folder
	// +kubebuilder:validation:Optional
	// (Optional) ID of the folder to create a zone in. If it is not provided, the default provider folder is used.
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	// (Optional) A set of key/value label pairs to assign to the DNS zone.
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) User assigned name of a specific resource. Must be unique within the folder.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/vpc/v1alpha1.Network
	// +kubebuilder:validation:Optional
	// (Optional) For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
	PrivateNetworks []*string `json:"privateNetworks,omitempty" tf:"private_networks,omitempty"`

	// +kubebuilder:validation:Optional
	PrivateNetworksRefs []v1.Reference `json:"privateNetworksRefs,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	PrivateNetworksSelector *v1.Selector `json:"privateNetworksSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	// (Optional) The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.
	Public *bool `json:"public,omitempty" tf:"public,omitempty"`

	// +kubebuilder:validation:Required
	// (Required) The DNS name of this zone, e.g. "example.com.". Must ends with dot.
	Zone *string `json:"zone" tf:"zone,omitempty"`
}

func (*ZoneParameters) DeepCopy

func (in *ZoneParameters) DeepCopy() *ZoneParameters

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

func (*ZoneParameters) DeepCopyInto

func (in *ZoneParameters) DeepCopyInto(out *ZoneParameters)

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

type ZoneSpec

type ZoneSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ZoneParameters `json:"forProvider"`
}

ZoneSpec defines the desired state of Zone

func (*ZoneSpec) DeepCopy

func (in *ZoneSpec) DeepCopy() *ZoneSpec

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

func (*ZoneSpec) DeepCopyInto

func (in *ZoneSpec) DeepCopyInto(out *ZoneSpec)

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

type ZoneStatus

type ZoneStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ZoneObservation `json:"atProvider,omitempty"`
}

ZoneStatus defines the observed state of Zone.

func (*ZoneStatus) DeepCopy

func (in *ZoneStatus) DeepCopy() *ZoneStatus

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

func (*ZoneStatus) DeepCopyInto

func (in *ZoneStatus) DeepCopyInto(out *ZoneStatus)

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