v1alpha1

package
v0.49.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "gateway.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 (
	ProjectGateway_Kind             = "ProjectGateway"
	ProjectGateway_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ProjectGateway_Kind}.String()
	ProjectGateway_KindAPIVersion   = ProjectGateway_Kind + "." + CRDGroupVersion.String()
	ProjectGateway_GroupVersionKind = CRDGroupVersion.WithKind(ProjectGateway_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ExternalInformationInitParameters added in v0.49.0

type ExternalInformationInitParameters struct {
}

func (*ExternalInformationInitParameters) DeepCopy added in v0.49.0

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

func (*ExternalInformationInitParameters) DeepCopyInto added in v0.49.0

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

type ExternalInformationObservation added in v0.49.0

type ExternalInformationObservation struct {
	Ips []IpsObservation `json:"ips,omitempty" tf:"ips,omitempty"`

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

func (*ExternalInformationObservation) DeepCopy added in v0.49.0

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

func (*ExternalInformationObservation) DeepCopyInto added in v0.49.0

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

type ExternalInformationParameters added in v0.49.0

type ExternalInformationParameters struct {
}

func (*ExternalInformationParameters) DeepCopy added in v0.49.0

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

func (*ExternalInformationParameters) DeepCopyInto added in v0.49.0

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

type InterfacesInitParameters added in v0.49.0

type InterfacesInitParameters struct {
}

func (*InterfacesInitParameters) DeepCopy added in v0.49.0

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

func (*InterfacesInitParameters) DeepCopyInto added in v0.49.0

func (in *InterfacesInitParameters) DeepCopyInto(out *InterfacesInitParameters)

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

type InterfacesObservation added in v0.49.0

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

	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

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

	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`
}

func (*InterfacesObservation) DeepCopy added in v0.49.0

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

func (*InterfacesObservation) DeepCopyInto added in v0.49.0

func (in *InterfacesObservation) DeepCopyInto(out *InterfacesObservation)

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

type InterfacesParameters added in v0.49.0

type InterfacesParameters struct {
}

func (*InterfacesParameters) DeepCopy added in v0.49.0

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

func (*InterfacesParameters) DeepCopyInto added in v0.49.0

func (in *InterfacesParameters) DeepCopyInto(out *InterfacesParameters)

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

type IpsInitParameters added in v0.49.0

type IpsInitParameters struct {
}

func (*IpsInitParameters) DeepCopy added in v0.49.0

func (in *IpsInitParameters) DeepCopy() *IpsInitParameters

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

func (*IpsInitParameters) DeepCopyInto added in v0.49.0

func (in *IpsInitParameters) DeepCopyInto(out *IpsInitParameters)

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

type IpsObservation added in v0.49.0

type IpsObservation struct {
	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`
}

func (*IpsObservation) DeepCopy added in v0.49.0

func (in *IpsObservation) DeepCopy() *IpsObservation

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

func (*IpsObservation) DeepCopyInto added in v0.49.0

func (in *IpsObservation) DeepCopyInto(out *IpsObservation)

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

type IpsParameters added in v0.49.0

type IpsParameters struct {
}

func (*IpsParameters) DeepCopy added in v0.49.0

func (in *IpsParameters) DeepCopy() *IpsParameters

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

func (*IpsParameters) DeepCopyInto added in v0.49.0

func (in *IpsParameters) DeepCopyInto(out *IpsParameters)

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

type ProjectGateway

type ProjectGateway 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.model) || (has(self.initProvider) && has(self.initProvider.model))",message="spec.forProvider.model 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.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"
	Spec   ProjectGatewaySpec   `json:"spec"`
	Status ProjectGatewayStatus `json:"status,omitempty"`
}

ProjectGateway is the Schema for the ProjectGateways 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,lb}

func (*ProjectGateway) DeepCopy

func (in *ProjectGateway) DeepCopy() *ProjectGateway

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

func (*ProjectGateway) DeepCopyInto

func (in *ProjectGateway) DeepCopyInto(out *ProjectGateway)

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

func (*ProjectGateway) DeepCopyObject

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

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

func (*ProjectGateway) GetCondition

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

GetCondition of this ProjectGateway.

func (*ProjectGateway) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ProjectGateway

func (*ProjectGateway) GetDeletionPolicy

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

GetDeletionPolicy of this ProjectGateway.

func (*ProjectGateway) GetID

func (tr *ProjectGateway) GetID() string

GetID returns ID of underlying Terraform resource of this ProjectGateway

func (*ProjectGateway) GetInitParameters

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

GetInitParameters of this ProjectGateway

func (*ProjectGateway) GetManagementPolicies

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

GetManagementPolicies of this ProjectGateway.

func (*ProjectGateway) GetMergedParameters

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

GetInitParameters of this ProjectGateway

func (*ProjectGateway) GetObservation

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

GetObservation of this ProjectGateway

func (*ProjectGateway) GetParameters

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

GetParameters of this ProjectGateway

func (*ProjectGateway) GetProviderConfigReference

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

GetProviderConfigReference of this ProjectGateway.

func (*ProjectGateway) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ProjectGateway.

func (*ProjectGateway) GetTerraformResourceType

func (mg *ProjectGateway) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ProjectGateway

func (*ProjectGateway) GetTerraformSchemaVersion

func (tr *ProjectGateway) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ProjectGateway) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ProjectGateway.

func (*ProjectGateway) Hub

func (tr *ProjectGateway) Hub()

Hub marks this type as a conversion hub.

func (*ProjectGateway) LateInitialize

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

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

func (*ProjectGateway) ResolveReferences

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

ResolveReferences of this ProjectGateway.

func (*ProjectGateway) SetConditions

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

SetConditions of this ProjectGateway.

func (*ProjectGateway) SetDeletionPolicy

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

SetDeletionPolicy of this ProjectGateway.

func (*ProjectGateway) SetManagementPolicies

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

SetManagementPolicies of this ProjectGateway.

func (*ProjectGateway) SetObservation

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

SetObservation for this ProjectGateway

func (*ProjectGateway) SetParameters

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

SetParameters for this ProjectGateway

func (*ProjectGateway) SetProviderConfigReference

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

SetProviderConfigReference of this ProjectGateway.

func (*ProjectGateway) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ProjectGateway.

func (*ProjectGateway) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ProjectGateway.

type ProjectGatewayInitParameters

type ProjectGatewayInitParameters struct {
	Model *string `json:"model,omitempty" tf:"model,omitempty"`

	Name *string `json:"name,omitempty" tf:"name,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:"-"`

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

	// +crossplane:generate:reference:type=github.com/edixos/provider-ovh/apis/network/v1alpha1.Subnet
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// Reference to a Subnet in network to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

	// Selector for a Subnet in network to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`
}

func (*ProjectGatewayInitParameters) DeepCopy

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

func (*ProjectGatewayInitParameters) DeepCopyInto

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

type ProjectGatewayList

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

ProjectGatewayList contains a list of ProjectGateways

func (*ProjectGatewayList) DeepCopy

func (in *ProjectGatewayList) DeepCopy() *ProjectGatewayList

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

func (*ProjectGatewayList) DeepCopyInto

func (in *ProjectGatewayList) DeepCopyInto(out *ProjectGatewayList)

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

func (*ProjectGatewayList) DeepCopyObject

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

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

func (*ProjectGatewayList) GetItems

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

GetItems of this ProjectGatewayList.

type ProjectGatewayObservation

type ProjectGatewayObservation struct {

	// External information of the gateway
	ExternalInformation []ExternalInformationObservation `json:"externalInformation,omitempty" tf:"external_information,omitempty"`

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

	// Interfaces list of the gateway
	Interfaces []InterfacesObservation `json:"interfaces,omitempty" tf:"interfaces,omitempty"`

	Model *string `json:"model,omitempty" tf:"model,omitempty"`

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

	NetworkID *string `json:"networkId,omitempty" tf:"network_id,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"`

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

	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`
}

func (*ProjectGatewayObservation) DeepCopy

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

func (*ProjectGatewayObservation) DeepCopyInto

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

type ProjectGatewayParameters

type ProjectGatewayParameters struct {

	// +kubebuilder:validation:Optional
	Model *string `json:"model,omitempty" tf:"model,omitempty"`

	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,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
	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"`

	// +crossplane:generate:reference:type=github.com/edixos/provider-ovh/apis/network/v1alpha1.Subnet
	// +kubebuilder:validation:Optional
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// Reference to a Subnet in network to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

	// Selector for a Subnet in network to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`
}

func (*ProjectGatewayParameters) DeepCopy

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

func (*ProjectGatewayParameters) DeepCopyInto

func (in *ProjectGatewayParameters) DeepCopyInto(out *ProjectGatewayParameters)

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

type ProjectGatewaySpec

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

ProjectGatewaySpec defines the desired state of ProjectGateway

func (*ProjectGatewaySpec) DeepCopy

func (in *ProjectGatewaySpec) DeepCopy() *ProjectGatewaySpec

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

func (*ProjectGatewaySpec) DeepCopyInto

func (in *ProjectGatewaySpec) DeepCopyInto(out *ProjectGatewaySpec)

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

type ProjectGatewayStatus

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

ProjectGatewayStatus defines the observed state of ProjectGateway.

func (*ProjectGatewayStatus) DeepCopy

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

func (*ProjectGatewayStatus) DeepCopyInto

func (in *ProjectGatewayStatus) DeepCopyInto(out *ProjectGatewayStatus)

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