v1alpha1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "dns.yandex-cloud.upjet.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"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.data) || (has(self.initProvider) && has(self.initProvider.data))",message="spec.forProvider.data is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ttl) || (has(self.initProvider) && has(self.initProvider.ttl))",message="spec.forProvider.ttl is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter"
	Spec   RecordsetSpec   `json:"spec"`
	Status RecordsetStatus `json:"status,omitempty"`
}

Recordset is the Schema for the Recordsets API. Manages a DNS Recordset within Yandex.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: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) GetInitParameters

func (tr *Recordset) GetInitParameters() (map[string]any, error)

GetInitParameters of this Recordset

func (*Recordset) GetManagementPolicies

func (mg *Recordset) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Recordset.

func (*Recordset) GetMergedParameters added in v0.1.3

func (tr *Recordset) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Recordset

func (*Recordset) GetObservation

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

GetObservation of this Recordset

func (*Recordset) GetParameters

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

GetParameters of this Recordset

func (*Recordset) GetProviderConfigReference

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

GetProviderConfigReference of this Recordset.

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) Hub added in v0.2.0

func (tr *Recordset) Hub()

Hub marks this type as a conversion hub.

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) SetManagementPolicies

func (mg *Recordset) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Recordset.

func (*Recordset) SetObservation

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

SetObservation for this Recordset

func (*Recordset) SetParameters

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

SetParameters for this Recordset

func (*Recordset) SetProviderConfigReference

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

SetProviderConfigReference of this Recordset.

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 RecordsetInitParameters

type RecordsetInitParameters struct {

	// The string data for the records in this record set.
	// +listType=set
	Data []*string `json:"data,omitempty" tf:"data,omitempty"`

	// The DNS name this record set will apply to.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

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

	// The DNS record set type.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

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

	// Reference to a Zone to populate zoneId.
	// +kubebuilder:validation:Optional
	ZoneIDRef *v1.Reference `json:"zoneIdRef,omitempty" tf:"-"`

	// Selector for a Zone to populate zoneId.
	// +kubebuilder:validation:Optional
	ZoneIDSelector *v1.Selector `json:"zoneIdSelector,omitempty" tf:"-"`
}

func (*RecordsetInitParameters) DeepCopy

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

func (*RecordsetInitParameters) DeepCopyInto

func (in *RecordsetInitParameters) DeepCopyInto(out *RecordsetInitParameters)

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

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 {

	// The string data for the records in this record set.
	// +listType=set
	Data []*string `json:"data,omitempty" tf:"data,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The DNS name this record set will apply to.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

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

	// The DNS record set type.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// The id of the zone in which this record set will reside.
	ZoneID *string `json:"zoneId,omitempty" tf:"zone_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 {

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

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

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

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

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

	// Reference to a Zone to populate zoneId.
	// +kubebuilder:validation:Optional
	ZoneIDRef *v1.Reference `json:"zoneIdRef,omitempty" tf:"-"`

	// Selector for a Zone to populate zoneId.
	// +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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider RecordsetInitParameters `json:"initProvider,omitempty"`
}

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"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.zone) || (has(self.initProvider) && has(self.initProvider.zone))",message="spec.forProvider.zone is a required parameter"
	Spec   ZoneSpec   `json:"spec"`
	Status ZoneStatus `json:"status,omitempty"`
}

Zone is the Schema for the Zones API. Manages a DNS Zone within Yandex.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: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) GetInitParameters

func (tr *Zone) GetInitParameters() (map[string]any, error)

GetInitParameters of this Zone

func (*Zone) GetManagementPolicies

func (mg *Zone) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Zone.

func (*Zone) GetMergedParameters added in v0.1.3

func (tr *Zone) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Zone

func (*Zone) GetObservation

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

GetObservation of this Zone

func (*Zone) GetParameters

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

GetParameters of this Zone

func (*Zone) GetProviderConfigReference

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

GetProviderConfigReference of this Zone.

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) Hub added in v0.2.0

func (tr *Zone) Hub()

Hub marks this type as a conversion hub.

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) SetManagementPolicies

func (mg *Zone) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Zone.

func (*Zone) SetObservation

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

SetObservation for this Zone

func (*Zone) SetParameters

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

SetParameters for this Zone

func (*Zone) SetProviderConfigReference

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

SetProviderConfigReference of this Zone.

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 ZoneInitParameters

type ZoneInitParameters struct {

	// Description of the DNS zone.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// A set of key/value label pairs to assign to the DNS zone.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

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

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

	// References to Network in vpc to populate privateNetworks.
	// +kubebuilder:validation:Optional
	PrivateNetworksRefs []v1.Reference `json:"privateNetworksRefs,omitempty" tf:"-"`

	// Selector for a list of Network in vpc to populate privateNetworks.
	// +kubebuilder:validation:Optional
	PrivateNetworksSelector *v1.Selector `json:"privateNetworksSelector,omitempty" tf:"-"`

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

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

func (*ZoneInitParameters) DeepCopy

func (in *ZoneInitParameters) DeepCopy() *ZoneInitParameters

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

func (*ZoneInitParameters) DeepCopyInto

func (in *ZoneInitParameters) DeepCopyInto(out *ZoneInitParameters)

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

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

	// Description of the DNS zone.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

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

	// A set of key/value label pairs to assign to the DNS zone.
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

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

	// For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
	// +listType=set
	PrivateNetworks []*string `json:"privateNetworks,omitempty" tf:"private_networks,omitempty"`

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

	// The DNS name of this zone, e.g. "example.com.". Must ends with dot.
	Zone *string `json:"zone,omitempty" tf:"zone,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 {

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

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

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

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

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

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

	// References to Network in vpc to populate privateNetworks.
	// +kubebuilder:validation:Optional
	PrivateNetworksRefs []v1.Reference `json:"privateNetworksRefs,omitempty" tf:"-"`

	// Selector for a list of Network in vpc to populate privateNetworks.
	// +kubebuilder:validation:Optional
	PrivateNetworksSelector *v1.Selector `json:"privateNetworksSelector,omitempty" tf:"-"`

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

	// The DNS name of this zone, e.g. "example.com.". Must ends with dot.
	// +kubebuilder:validation:Optional
	Zone *string `json:"zone,omitempty" 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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ZoneInitParameters `json:"initProvider,omitempty"`
}

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