v1alpha1

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=network.ovh.edixos.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "network.ovh.edixos.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 (
	PrivateNetwork_Kind             = "PrivateNetwork"
	PrivateNetwork_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PrivateNetwork_Kind}.String()
	PrivateNetwork_KindAPIVersion   = PrivateNetwork_Kind + "." + CRDGroupVersion.String()
	PrivateNetwork_GroupVersionKind = CRDGroupVersion.WithKind(PrivateNetwork_Kind)
)

Repository type metadata.

View Source
var (
	Subnet_Kind             = "Subnet"
	Subnet_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Subnet_Kind}.String()
	Subnet_KindAPIVersion   = Subnet_Kind + "." + CRDGroupVersion.String()
	Subnet_GroupVersionKind = CRDGroupVersion.WithKind(Subnet_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type IPPoolsInitParameters

type IPPoolsInitParameters struct {
}

func (*IPPoolsInitParameters) DeepCopy

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

func (*IPPoolsInitParameters) DeepCopyInto

func (in *IPPoolsInitParameters) DeepCopyInto(out *IPPoolsInitParameters)

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

type IPPoolsObservation

type IPPoolsObservation struct {
	DHCP *bool `json:"dhcp,omitempty" tf:"dhcp,omitempty"`

	End *string `json:"end,omitempty" tf:"end,omitempty"`

	Network *string `json:"network,omitempty" tf:"network,omitempty"`

	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	Start *string `json:"start,omitempty" tf:"start,omitempty"`
}

func (*IPPoolsObservation) DeepCopy

func (in *IPPoolsObservation) DeepCopy() *IPPoolsObservation

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

func (*IPPoolsObservation) DeepCopyInto

func (in *IPPoolsObservation) DeepCopyInto(out *IPPoolsObservation)

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

type IPPoolsParameters

type IPPoolsParameters struct {
}

func (*IPPoolsParameters) DeepCopy

func (in *IPPoolsParameters) DeepCopy() *IPPoolsParameters

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

func (*IPPoolsParameters) DeepCopyInto

func (in *IPPoolsParameters) DeepCopyInto(out *IPPoolsParameters)

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

type PrivateNetwork

type PrivateNetwork 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.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.serviceName) || (has(self.initProvider) && has(self.initProvider.serviceName))",message="spec.forProvider.serviceName is a required parameter"
	Spec   PrivateNetworkSpec   `json:"spec"`
	Status PrivateNetworkStatus `json:"status,omitempty"`
}

PrivateNetwork is the Schema for the PrivateNetworks API. <no value> +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,ovh}

func (*PrivateNetwork) DeepCopy

func (in *PrivateNetwork) DeepCopy() *PrivateNetwork

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

func (*PrivateNetwork) DeepCopyInto

func (in *PrivateNetwork) DeepCopyInto(out *PrivateNetwork)

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

func (*PrivateNetwork) DeepCopyObject

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

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

func (*PrivateNetwork) GetCondition

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

GetCondition of this PrivateNetwork.

func (*PrivateNetwork) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this PrivateNetwork

func (*PrivateNetwork) GetDeletionPolicy

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

GetDeletionPolicy of this PrivateNetwork.

func (*PrivateNetwork) GetID

func (tr *PrivateNetwork) GetID() string

GetID returns ID of underlying Terraform resource of this PrivateNetwork

func (*PrivateNetwork) GetInitParameters

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

GetInitParameters of this PrivateNetwork

func (*PrivateNetwork) GetManagementPolicies

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

GetManagementPolicies of this PrivateNetwork.

func (*PrivateNetwork) GetMergedParameters added in v0.39.0

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

GetInitParameters of this PrivateNetwork

func (*PrivateNetwork) GetObservation

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

GetObservation of this PrivateNetwork

func (*PrivateNetwork) GetParameters

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

GetParameters of this PrivateNetwork

func (*PrivateNetwork) GetProviderConfigReference

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

GetProviderConfigReference of this PrivateNetwork.

func (*PrivateNetwork) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this PrivateNetwork.

func (*PrivateNetwork) GetTerraformResourceType

func (mg *PrivateNetwork) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PrivateNetwork

func (*PrivateNetwork) GetTerraformSchemaVersion

func (tr *PrivateNetwork) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PrivateNetwork) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this PrivateNetwork.

func (*PrivateNetwork) Hub added in v0.39.0

func (tr *PrivateNetwork) Hub()

Hub marks this type as a conversion hub.

func (*PrivateNetwork) LateInitialize

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

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

func (*PrivateNetwork) SetConditions

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

SetConditions of this PrivateNetwork.

func (*PrivateNetwork) SetDeletionPolicy

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

SetDeletionPolicy of this PrivateNetwork.

func (*PrivateNetwork) SetManagementPolicies

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

SetManagementPolicies of this PrivateNetwork.

func (*PrivateNetwork) SetObservation

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

SetObservation for this PrivateNetwork

func (*PrivateNetwork) SetParameters

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

SetParameters for this PrivateNetwork

func (*PrivateNetwork) SetProviderConfigReference

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

SetProviderConfigReference of this PrivateNetwork.

func (*PrivateNetwork) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this PrivateNetwork.

func (*PrivateNetwork) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this PrivateNetwork.

type PrivateNetworkInitParameters

type PrivateNetworkInitParameters struct {
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// +listType=set
	Regions []*string `json:"regions,omitempty" tf:"regions,omitempty"`

	// Service name of the resource representing the id of the cloud project.
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`

	VlanID *float64 `json:"vlanId,omitempty" tf:"vlan_id,omitempty"`
}

func (*PrivateNetworkInitParameters) DeepCopy

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

func (*PrivateNetworkInitParameters) DeepCopyInto

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

type PrivateNetworkList

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

PrivateNetworkList contains a list of PrivateNetworks

func (*PrivateNetworkList) DeepCopy

func (in *PrivateNetworkList) DeepCopy() *PrivateNetworkList

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

func (*PrivateNetworkList) DeepCopyInto

func (in *PrivateNetworkList) DeepCopyInto(out *PrivateNetworkList)

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

func (*PrivateNetworkList) DeepCopyObject

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

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

func (*PrivateNetworkList) GetItems

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

GetItems of this PrivateNetworkList.

type PrivateNetworkObservation

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

	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// +listType=set
	Regions []*string `json:"regions,omitempty" tf:"regions,omitempty"`

	RegionsAttributes []RegionsAttributesObservation `json:"regionsAttributes,omitempty" tf:"regions_attributes,omitempty"`

	RegionsStatus []RegionsStatusObservation `json:"regionsStatus,omitempty" tf:"regions_status,omitempty"`

	// Service name of the resource representing the id of the cloud project.
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`

	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	VlanID *float64 `json:"vlanId,omitempty" tf:"vlan_id,omitempty"`
}

func (*PrivateNetworkObservation) DeepCopy

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

func (*PrivateNetworkObservation) DeepCopyInto

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

type PrivateNetworkParameters

type PrivateNetworkParameters struct {

	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// +kubebuilder:validation:Optional
	// +listType=set
	Regions []*string `json:"regions,omitempty" tf:"regions,omitempty"`

	// Service name of the resource representing the id of the cloud project.
	// +kubebuilder:validation:Optional
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`

	// +kubebuilder:validation:Optional
	VlanID *float64 `json:"vlanId,omitempty" tf:"vlan_id,omitempty"`
}

func (*PrivateNetworkParameters) DeepCopy

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

func (*PrivateNetworkParameters) DeepCopyInto

func (in *PrivateNetworkParameters) DeepCopyInto(out *PrivateNetworkParameters)

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

type PrivateNetworkSpec

type PrivateNetworkSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PrivateNetworkParameters `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 PrivateNetworkInitParameters `json:"initProvider,omitempty"`
}

PrivateNetworkSpec defines the desired state of PrivateNetwork

func (*PrivateNetworkSpec) DeepCopy

func (in *PrivateNetworkSpec) DeepCopy() *PrivateNetworkSpec

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

func (*PrivateNetworkSpec) DeepCopyInto

func (in *PrivateNetworkSpec) DeepCopyInto(out *PrivateNetworkSpec)

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

type PrivateNetworkStatus

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

PrivateNetworkStatus defines the observed state of PrivateNetwork.

func (*PrivateNetworkStatus) DeepCopy

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

func (*PrivateNetworkStatus) DeepCopyInto

func (in *PrivateNetworkStatus) DeepCopyInto(out *PrivateNetworkStatus)

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

type RegionsAttributesInitParameters

type RegionsAttributesInitParameters struct {
}

func (*RegionsAttributesInitParameters) DeepCopy

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

func (*RegionsAttributesInitParameters) DeepCopyInto

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

type RegionsAttributesObservation

type RegionsAttributesObservation struct {
	Openstackid *string `json:"openstackid,omitempty" tf:"openstackid,omitempty"`

	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*RegionsAttributesObservation) DeepCopy

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

func (*RegionsAttributesObservation) DeepCopyInto

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

type RegionsAttributesParameters

type RegionsAttributesParameters struct {
}

func (*RegionsAttributesParameters) DeepCopy

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

func (*RegionsAttributesParameters) DeepCopyInto

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

type RegionsStatusInitParameters

type RegionsStatusInitParameters struct {
}

func (*RegionsStatusInitParameters) DeepCopy

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

func (*RegionsStatusInitParameters) DeepCopyInto

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

type RegionsStatusObservation

type RegionsStatusObservation struct {
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*RegionsStatusObservation) DeepCopy

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

func (*RegionsStatusObservation) DeepCopyInto

func (in *RegionsStatusObservation) DeepCopyInto(out *RegionsStatusObservation)

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

type RegionsStatusParameters

type RegionsStatusParameters struct {
}

func (*RegionsStatusParameters) DeepCopy

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

func (*RegionsStatusParameters) DeepCopyInto

func (in *RegionsStatusParameters) DeepCopyInto(out *RegionsStatusParameters)

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

type Subnet

type Subnet 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.end) || (has(self.initProvider) && has(self.initProvider.end))",message="spec.forProvider.end is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.network) || (has(self.initProvider) && has(self.initProvider.network))",message="spec.forProvider.network is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.region) || (has(self.initProvider) && has(self.initProvider.region))",message="spec.forProvider.region is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceName) || (has(self.initProvider) && has(self.initProvider.serviceName))",message="spec.forProvider.serviceName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.start) || (has(self.initProvider) && has(self.initProvider.start))",message="spec.forProvider.start is a required parameter"
	Spec   SubnetSpec   `json:"spec"`
	Status SubnetStatus `json:"status,omitempty"`
}

Subnet is the Schema for the Subnets API. <no value> +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,ovh}

func (*Subnet) DeepCopy

func (in *Subnet) DeepCopy() *Subnet

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

func (*Subnet) DeepCopyInto

func (in *Subnet) DeepCopyInto(out *Subnet)

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

func (*Subnet) DeepCopyObject

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

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

func (*Subnet) GetCondition

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

GetCondition of this Subnet.

func (*Subnet) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Subnet

func (*Subnet) GetDeletionPolicy

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

GetDeletionPolicy of this Subnet.

func (*Subnet) GetID

func (tr *Subnet) GetID() string

GetID returns ID of underlying Terraform resource of this Subnet

func (*Subnet) GetInitParameters

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

GetInitParameters of this Subnet

func (*Subnet) GetManagementPolicies

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

GetManagementPolicies of this Subnet.

func (*Subnet) GetMergedParameters added in v0.39.0

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

GetInitParameters of this Subnet

func (*Subnet) GetObservation

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

GetObservation of this Subnet

func (*Subnet) GetParameters

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

GetParameters of this Subnet

func (*Subnet) GetProviderConfigReference

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

GetProviderConfigReference of this Subnet.

func (*Subnet) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Subnet.

func (*Subnet) GetTerraformResourceType

func (mg *Subnet) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Subnet

func (*Subnet) GetTerraformSchemaVersion

func (tr *Subnet) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Subnet) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Subnet.

func (*Subnet) Hub added in v0.39.0

func (tr *Subnet) Hub()

Hub marks this type as a conversion hub.

func (*Subnet) LateInitialize

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

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

func (*Subnet) ResolveReferences

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

ResolveReferences of this Subnet.

func (*Subnet) SetConditions

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

SetConditions of this Subnet.

func (*Subnet) SetDeletionPolicy

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

SetDeletionPolicy of this Subnet.

func (*Subnet) SetManagementPolicies

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

SetManagementPolicies of this Subnet.

func (*Subnet) SetObservation

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

SetObservation for this Subnet

func (*Subnet) SetParameters

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

SetParameters for this Subnet

func (*Subnet) SetProviderConfigReference

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

SetProviderConfigReference of this Subnet.

func (*Subnet) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Subnet.

func (*Subnet) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Subnet.

type SubnetInitParameters

type SubnetInitParameters struct {
	DHCP *bool `json:"dhcp,omitempty" tf:"dhcp,omitempty"`

	End *string `json:"end,omitempty" tf:"end,omitempty"`

	Network *string `json:"network,omitempty" tf:"network,omitempty"`

	// +crossplane:generate:reference:type=github.com/edixos/provider-ovh/apis/network/v1alpha1.PrivateNetwork
	NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"`

	// Reference to a PrivateNetwork in network to populate networkId.
	// +kubebuilder:validation:Optional
	NetworkIDRef *v1.Reference `json:"networkIdRef,omitempty" tf:"-"`

	// Selector for a PrivateNetwork in network to populate networkId.
	// +kubebuilder:validation:Optional
	NetworkIDSelector *v1.Selector `json:"networkIdSelector,omitempty" tf:"-"`

	NoGateway *bool `json:"noGateway,omitempty" tf:"no_gateway,omitempty"`

	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Service name of the resource representing the id of the cloud project.
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`

	Start *string `json:"start,omitempty" tf:"start,omitempty"`
}

func (*SubnetInitParameters) DeepCopy

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

func (*SubnetInitParameters) DeepCopyInto

func (in *SubnetInitParameters) DeepCopyInto(out *SubnetInitParameters)

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

type SubnetList

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

SubnetList contains a list of Subnets

func (*SubnetList) DeepCopy

func (in *SubnetList) DeepCopy() *SubnetList

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

func (*SubnetList) DeepCopyInto

func (in *SubnetList) DeepCopyInto(out *SubnetList)

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

func (*SubnetList) DeepCopyObject

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

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

func (*SubnetList) GetItems

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

GetItems of this SubnetList.

type SubnetObservation

type SubnetObservation struct {
	Cidr *string `json:"cidr,omitempty" tf:"cidr,omitempty"`

	DHCP *bool `json:"dhcp,omitempty" tf:"dhcp,omitempty"`

	End *string `json:"end,omitempty" tf:"end,omitempty"`

	GatewayIP *string `json:"gatewayIp,omitempty" tf:"gateway_ip,omitempty"`

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

	IPPools []IPPoolsObservation `json:"ipPools,omitempty" tf:"ip_pools,omitempty"`

	Network *string `json:"network,omitempty" tf:"network,omitempty"`

	NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"`

	NoGateway *bool `json:"noGateway,omitempty" tf:"no_gateway,omitempty"`

	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Service name of the resource representing the id of the cloud project.
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`

	Start *string `json:"start,omitempty" tf:"start,omitempty"`
}

func (*SubnetObservation) DeepCopy

func (in *SubnetObservation) DeepCopy() *SubnetObservation

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

func (*SubnetObservation) DeepCopyInto

func (in *SubnetObservation) DeepCopyInto(out *SubnetObservation)

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

type SubnetParameters

type SubnetParameters struct {

	// +kubebuilder:validation:Optional
	DHCP *bool `json:"dhcp,omitempty" tf:"dhcp,omitempty"`

	// +kubebuilder:validation:Optional
	End *string `json:"end,omitempty" tf:"end,omitempty"`

	// +kubebuilder:validation:Optional
	Network *string `json:"network,omitempty" tf:"network,omitempty"`

	// +crossplane:generate:reference:type=github.com/edixos/provider-ovh/apis/network/v1alpha1.PrivateNetwork
	// +kubebuilder:validation:Optional
	NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"`

	// Reference to a PrivateNetwork in network to populate networkId.
	// +kubebuilder:validation:Optional
	NetworkIDRef *v1.Reference `json:"networkIdRef,omitempty" tf:"-"`

	// Selector for a PrivateNetwork in network to populate networkId.
	// +kubebuilder:validation:Optional
	NetworkIDSelector *v1.Selector `json:"networkIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	NoGateway *bool `json:"noGateway,omitempty" tf:"no_gateway,omitempty"`

	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Service name of the resource representing the id of the cloud project.
	// +kubebuilder:validation:Optional
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`

	// +kubebuilder:validation:Optional
	Start *string `json:"start,omitempty" tf:"start,omitempty"`
}

func (*SubnetParameters) DeepCopy

func (in *SubnetParameters) DeepCopy() *SubnetParameters

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

func (*SubnetParameters) DeepCopyInto

func (in *SubnetParameters) DeepCopyInto(out *SubnetParameters)

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

type SubnetSpec

type SubnetSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SubnetParameters `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 SubnetInitParameters `json:"initProvider,omitempty"`
}

SubnetSpec defines the desired state of Subnet

func (*SubnetSpec) DeepCopy

func (in *SubnetSpec) DeepCopy() *SubnetSpec

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

func (*SubnetSpec) DeepCopyInto

func (in *SubnetSpec) DeepCopyInto(out *SubnetSpec)

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

type SubnetStatus

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

SubnetStatus defines the observed state of Subnet.

func (*SubnetStatus) DeepCopy

func (in *SubnetStatus) DeepCopy() *SubnetStatus

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

func (*SubnetStatus) DeepCopyInto

func (in *SubnetStatus) DeepCopyInto(out *SubnetStatus)

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