v1alpha1

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=apigateway.ionoscloud.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "apigateway.ionoscloud.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Apigateway_Kind             = "Apigateway"
	Apigateway_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Apigateway_Kind}.String()
	Apigateway_KindAPIVersion   = Apigateway_Kind + "." + CRDGroupVersion.String()
	Apigateway_GroupVersionKind = CRDGroupVersion.WithKind(Apigateway_Kind)
)

Repository type metadata.

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 (
	Route_Kind             = "Route"
	Route_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Route_Kind}.String()
	Route_KindAPIVersion   = Route_Kind + "." + CRDGroupVersion.String()
	Route_GroupVersionKind = CRDGroupVersion.WithKind(Route_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Apigateway

type Apigateway 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"
	Spec   ApigatewaySpec   `json:"spec"`
	Status ApigatewayStatus `json:"status,omitempty"`
}

Apigateway is the Schema for the Apigateways API. API Gateway is an application that acts as a "front door" for backend services and APIs, handling client requests and routing them to the appropriate backend. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,ionos}

func (*Apigateway) DeepCopy

func (in *Apigateway) DeepCopy() *Apigateway

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

func (*Apigateway) DeepCopyInto

func (in *Apigateway) DeepCopyInto(out *Apigateway)

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

func (*Apigateway) DeepCopyObject

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

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

func (*Apigateway) GetCondition

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

GetCondition of this Apigateway.

func (*Apigateway) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Apigateway

func (*Apigateway) GetDeletionPolicy

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

GetDeletionPolicy of this Apigateway.

func (*Apigateway) GetID

func (tr *Apigateway) GetID() string

GetID returns ID of underlying Terraform resource of this Apigateway

func (*Apigateway) GetInitParameters

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

GetInitParameters of this Apigateway

func (*Apigateway) GetManagementPolicies

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

GetManagementPolicies of this Apigateway.

func (*Apigateway) GetMergedParameters

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

GetInitParameters of this Apigateway

func (*Apigateway) GetObservation

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

GetObservation of this Apigateway

func (*Apigateway) GetParameters

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

GetParameters of this Apigateway

func (*Apigateway) GetProviderConfigReference

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

GetProviderConfigReference of this Apigateway.

func (*Apigateway) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Apigateway.

func (*Apigateway) GetTerraformResourceType

func (mg *Apigateway) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Apigateway

func (*Apigateway) GetTerraformSchemaVersion

func (tr *Apigateway) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Apigateway) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Apigateway.

func (*Apigateway) Hub

func (tr *Apigateway) Hub()

Hub marks this type as a conversion hub.

func (*Apigateway) LateInitialize

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

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

func (*Apigateway) SetConditions

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

SetConditions of this Apigateway.

func (*Apigateway) SetDeletionPolicy

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

SetDeletionPolicy of this Apigateway.

func (*Apigateway) SetManagementPolicies

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

SetManagementPolicies of this Apigateway.

func (*Apigateway) SetObservation

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

SetObservation for this Apigateway

func (*Apigateway) SetParameters

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

SetParameters for this Apigateway

func (*Apigateway) SetProviderConfigReference

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

SetProviderConfigReference of this Apigateway.

func (*Apigateway) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Apigateway.

func (*Apigateway) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Apigateway.

type ApigatewayInitParameters

type ApigatewayInitParameters struct {

	// [list] Custom domains for the API Gateway, a list that contains elements with the following structure:
	// Custom domains for the API Gateway.
	CustomDomains []CustomDomainsInitParameters `json:"customDomains,omitempty" tf:"custom_domains,omitempty"`

	// [bool] Enable or disable logging. Defaults to false. NOTE: Central Logging must be enabled through the Logging API to enable this feature.
	// Enable or disable logging. NOTE: Central Logging must be enabled through the Logging API to enable this feature.
	Logs *bool `json:"logs,omitempty" tf:"logs,omitempty"`

	// [bool] Enable or disable metrics. Defaults to false.
	// Enable or disable metrics.
	Metrics *bool `json:"metrics,omitempty" tf:"metrics,omitempty"`

	// [string] The name of the API Gateway.
	// The name of the API Gateway.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*ApigatewayInitParameters) DeepCopy

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

func (*ApigatewayInitParameters) DeepCopyInto

func (in *ApigatewayInitParameters) DeepCopyInto(out *ApigatewayInitParameters)

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

type ApigatewayList

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

ApigatewayList contains a list of Apigateways

func (*ApigatewayList) DeepCopy

func (in *ApigatewayList) DeepCopy() *ApigatewayList

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

func (*ApigatewayList) DeepCopyInto

func (in *ApigatewayList) DeepCopyInto(out *ApigatewayList)

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

func (*ApigatewayList) DeepCopyObject

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

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

func (*ApigatewayList) GetItems

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

GetItems of this ApigatewayList.

type ApigatewayObservation

type ApigatewayObservation struct {

	// [list] Custom domains for the API Gateway, a list that contains elements with the following structure:
	// Custom domains for the API Gateway.
	CustomDomains []CustomDomainsObservation `json:"customDomains,omitempty" tf:"custom_domains,omitempty"`

	// (Computed)[string] The ID of the API Gateway.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// [bool] Enable or disable logging. Defaults to false. NOTE: Central Logging must be enabled through the Logging API to enable this feature.
	// Enable or disable logging. NOTE: Central Logging must be enabled through the Logging API to enable this feature.
	Logs *bool `json:"logs,omitempty" tf:"logs,omitempty"`

	// [bool] Enable or disable metrics. Defaults to false.
	// Enable or disable metrics.
	Metrics *bool `json:"metrics,omitempty" tf:"metrics,omitempty"`

	// [string] The name of the API Gateway.
	// The name of the API Gateway.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Computed)[string] The public endpoint of the API Gateway.
	// The public endpoint of the API Gateway.
	PublicEndpoint *string `json:"publicEndpoint,omitempty" tf:"public_endpoint,omitempty"`
}

func (*ApigatewayObservation) DeepCopy

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

func (*ApigatewayObservation) DeepCopyInto

func (in *ApigatewayObservation) DeepCopyInto(out *ApigatewayObservation)

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

type ApigatewayParameters

type ApigatewayParameters struct {

	// [list] Custom domains for the API Gateway, a list that contains elements with the following structure:
	// Custom domains for the API Gateway.
	// +kubebuilder:validation:Optional
	CustomDomains []CustomDomainsParameters `json:"customDomains,omitempty" tf:"custom_domains,omitempty"`

	// [bool] Enable or disable logging. Defaults to false. NOTE: Central Logging must be enabled through the Logging API to enable this feature.
	// Enable or disable logging. NOTE: Central Logging must be enabled through the Logging API to enable this feature.
	// +kubebuilder:validation:Optional
	Logs *bool `json:"logs,omitempty" tf:"logs,omitempty"`

	// [bool] Enable or disable metrics. Defaults to false.
	// Enable or disable metrics.
	// +kubebuilder:validation:Optional
	Metrics *bool `json:"metrics,omitempty" tf:"metrics,omitempty"`

	// [string] The name of the API Gateway.
	// The name of the API Gateway.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*ApigatewayParameters) DeepCopy

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

func (*ApigatewayParameters) DeepCopyInto

func (in *ApigatewayParameters) DeepCopyInto(out *ApigatewayParameters)

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

type ApigatewaySpec

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

ApigatewaySpec defines the desired state of Apigateway

func (*ApigatewaySpec) DeepCopy

func (in *ApigatewaySpec) DeepCopy() *ApigatewaySpec

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

func (*ApigatewaySpec) DeepCopyInto

func (in *ApigatewaySpec) DeepCopyInto(out *ApigatewaySpec)

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

type ApigatewayStatus

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

ApigatewayStatus defines the observed state of Apigateway.

func (*ApigatewayStatus) DeepCopy

func (in *ApigatewayStatus) DeepCopy() *ApigatewayStatus

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

func (*ApigatewayStatus) DeepCopyInto

func (in *ApigatewayStatus) DeepCopyInto(out *ApigatewayStatus)

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

type CustomDomainsInitParameters

type CustomDomainsInitParameters struct {

	// [string] The certificate ID for the domain. Must be a valid certificate in UUID form.
	// The certificate ID for the domain.
	CertificateID *string `json:"certificateId,omitempty" tf:"certificate_id,omitempty"`

	// [string] The name of the API Gateway.
	// The domain name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*CustomDomainsInitParameters) DeepCopy

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

func (*CustomDomainsInitParameters) DeepCopyInto

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

type CustomDomainsObservation

type CustomDomainsObservation struct {

	// [string] The certificate ID for the domain. Must be a valid certificate in UUID form.
	// The certificate ID for the domain.
	CertificateID *string `json:"certificateId,omitempty" tf:"certificate_id,omitempty"`

	// [string] The name of the API Gateway.
	// The domain name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*CustomDomainsObservation) DeepCopy

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

func (*CustomDomainsObservation) DeepCopyInto

func (in *CustomDomainsObservation) DeepCopyInto(out *CustomDomainsObservation)

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

type CustomDomainsParameters

type CustomDomainsParameters struct {

	// [string] The certificate ID for the domain. Must be a valid certificate in UUID form.
	// The certificate ID for the domain.
	// +kubebuilder:validation:Optional
	CertificateID *string `json:"certificateId,omitempty" tf:"certificate_id,omitempty"`

	// [string] The name of the API Gateway.
	// The domain name.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*CustomDomainsParameters) DeepCopy

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

func (*CustomDomainsParameters) DeepCopyInto

func (in *CustomDomainsParameters) DeepCopyInto(out *CustomDomainsParameters)

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

type Route

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

Route is the Schema for the Routes API. Creates and manages IonosCloud API Gateway Route objects. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,ionos}

func (*Route) DeepCopy

func (in *Route) DeepCopy() *Route

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

func (*Route) DeepCopyInto

func (in *Route) DeepCopyInto(out *Route)

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

func (*Route) DeepCopyObject

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

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

func (*Route) GetCondition

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

GetCondition of this Route.

func (*Route) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Route

func (*Route) GetDeletionPolicy

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

GetDeletionPolicy of this Route.

func (*Route) GetID

func (tr *Route) GetID() string

GetID returns ID of underlying Terraform resource of this Route

func (*Route) GetInitParameters

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

GetInitParameters of this Route

func (*Route) GetManagementPolicies

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

GetManagementPolicies of this Route.

func (*Route) GetMergedParameters

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

GetInitParameters of this Route

func (*Route) GetObservation

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

GetObservation of this Route

func (*Route) GetParameters

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

GetParameters of this Route

func (*Route) GetProviderConfigReference

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

GetProviderConfigReference of this Route.

func (*Route) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Route.

func (*Route) GetTerraformResourceType

func (mg *Route) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Route

func (*Route) GetTerraformSchemaVersion

func (tr *Route) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Route) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Route.

func (*Route) Hub

func (tr *Route) Hub()

Hub marks this type as a conversion hub.

func (*Route) LateInitialize

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

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

func (*Route) ResolveReferences

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

ResolveReferences of this Route.

func (*Route) SetConditions

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

SetConditions of this Route.

func (*Route) SetDeletionPolicy

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

SetDeletionPolicy of this Route.

func (*Route) SetManagementPolicies

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

SetManagementPolicies of this Route.

func (*Route) SetObservation

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

SetObservation for this Route

func (*Route) SetParameters

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

SetParameters for this Route

func (*Route) SetProviderConfigReference

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

SetProviderConfigReference of this Route.

func (*Route) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Route.

func (*Route) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Route.

type RouteInitParameters

type RouteInitParameters struct {

	// [string] The ID of the API Gateway that the route belongs to.
	// The ID of the API Gateway that the route belongs to.
	// +crossplane:generate:reference:type=github.com/ionos-cloud/provider-upjet-ionoscloud/apis/apigateway/v1alpha1.Apigateway
	GatewayID *string `json:"gatewayId,omitempty" tf:"gateway_id,omitempty"`

	// Reference to a Apigateway in apigateway to populate gatewayId.
	// +kubebuilder:validation:Optional
	GatewayIDRef *v1.Reference `json:"gatewayIdRef,omitempty" tf:"-"`

	// Selector for a Apigateway in apigateway to populate gatewayId.
	// +kubebuilder:validation:Optional
	GatewayIDSelector *v1.Selector `json:"gatewayIdSelector,omitempty" tf:"-"`

	// [list] The HTTP methods that the route should match. Minimum items: 1. Possible values: GET,
	// POST, PUT, DELETE, PATCH, OPTIONS, HEAD, CONNECT, TRACE.
	// The HTTP methods that the route should match.
	Methods []*string `json:"methods,omitempty" tf:"methods,omitempty"`

	// [string] Name of the API Gateway Route. Only alphanumeric characters are allowed.
	// The name of the API Gateway Route.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// [list] The paths that the route should match. Minimum items: 1.
	// The paths that the route should match.
	Paths []*string `json:"paths,omitempty" tf:"paths,omitempty"`

	// [string] This field specifies the protocol used by the ingress to route traffic to the backend
	// service. Default value: http.
	// This field specifies the protocol used by the ingress to route traffic to the backend service.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Upstreams information of the API Gateway Route. Minimum items: 1.
	Upstreams []UpstreamsInitParameters `json:"upstreams,omitempty" tf:"upstreams,omitempty"`

	// [bool] To enable websocket support. Default value: false.
	// To enable websocket support.
	Websocket *bool `json:"websocket,omitempty" tf:"websocket,omitempty"`
}

func (*RouteInitParameters) DeepCopy

func (in *RouteInitParameters) DeepCopy() *RouteInitParameters

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

func (*RouteInitParameters) DeepCopyInto

func (in *RouteInitParameters) DeepCopyInto(out *RouteInitParameters)

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

type RouteList

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

RouteList contains a list of Routes

func (*RouteList) DeepCopy

func (in *RouteList) DeepCopy() *RouteList

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

func (*RouteList) DeepCopyInto

func (in *RouteList) DeepCopyInto(out *RouteList)

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

func (*RouteList) DeepCopyObject

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

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

func (*RouteList) GetItems

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

GetItems of this RouteList.

type RouteObservation

type RouteObservation struct {

	// [string] The ID of the API Gateway that the route belongs to.
	// The ID of the API Gateway that the route belongs to.
	GatewayID *string `json:"gatewayId,omitempty" tf:"gateway_id,omitempty"`

	// (Computed)[string] The ID of the API Gateway Route.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// [list] The HTTP methods that the route should match. Minimum items: 1. Possible values: GET,
	// POST, PUT, DELETE, PATCH, OPTIONS, HEAD, CONNECT, TRACE.
	// The HTTP methods that the route should match.
	Methods []*string `json:"methods,omitempty" tf:"methods,omitempty"`

	// [string] Name of the API Gateway Route. Only alphanumeric characters are allowed.
	// The name of the API Gateway Route.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// [list] The paths that the route should match. Minimum items: 1.
	// The paths that the route should match.
	Paths []*string `json:"paths,omitempty" tf:"paths,omitempty"`

	// [string] This field specifies the protocol used by the ingress to route traffic to the backend
	// service. Default value: http.
	// This field specifies the protocol used by the ingress to route traffic to the backend service.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Upstreams information of the API Gateway Route. Minimum items: 1.
	Upstreams []UpstreamsObservation `json:"upstreams,omitempty" tf:"upstreams,omitempty"`

	// [bool] To enable websocket support. Default value: false.
	// To enable websocket support.
	Websocket *bool `json:"websocket,omitempty" tf:"websocket,omitempty"`
}

func (*RouteObservation) DeepCopy

func (in *RouteObservation) DeepCopy() *RouteObservation

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

func (*RouteObservation) DeepCopyInto

func (in *RouteObservation) DeepCopyInto(out *RouteObservation)

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

type RouteParameters

type RouteParameters struct {

	// [string] The ID of the API Gateway that the route belongs to.
	// The ID of the API Gateway that the route belongs to.
	// +crossplane:generate:reference:type=github.com/ionos-cloud/provider-upjet-ionoscloud/apis/apigateway/v1alpha1.Apigateway
	// +kubebuilder:validation:Optional
	GatewayID *string `json:"gatewayId,omitempty" tf:"gateway_id,omitempty"`

	// Reference to a Apigateway in apigateway to populate gatewayId.
	// +kubebuilder:validation:Optional
	GatewayIDRef *v1.Reference `json:"gatewayIdRef,omitempty" tf:"-"`

	// Selector for a Apigateway in apigateway to populate gatewayId.
	// +kubebuilder:validation:Optional
	GatewayIDSelector *v1.Selector `json:"gatewayIdSelector,omitempty" tf:"-"`

	// [list] The HTTP methods that the route should match. Minimum items: 1. Possible values: GET,
	// POST, PUT, DELETE, PATCH, OPTIONS, HEAD, CONNECT, TRACE.
	// The HTTP methods that the route should match.
	// +kubebuilder:validation:Optional
	Methods []*string `json:"methods,omitempty" tf:"methods,omitempty"`

	// [string] Name of the API Gateway Route. Only alphanumeric characters are allowed.
	// The name of the API Gateway Route.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// [list] The paths that the route should match. Minimum items: 1.
	// The paths that the route should match.
	// +kubebuilder:validation:Optional
	Paths []*string `json:"paths,omitempty" tf:"paths,omitempty"`

	// [string] This field specifies the protocol used by the ingress to route traffic to the backend
	// service. Default value: http.
	// This field specifies the protocol used by the ingress to route traffic to the backend service.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Upstreams information of the API Gateway Route. Minimum items: 1.
	// +kubebuilder:validation:Optional
	Upstreams []UpstreamsParameters `json:"upstreams,omitempty" tf:"upstreams,omitempty"`

	// [bool] To enable websocket support. Default value: false.
	// To enable websocket support.
	// +kubebuilder:validation:Optional
	Websocket *bool `json:"websocket,omitempty" tf:"websocket,omitempty"`
}

func (*RouteParameters) DeepCopy

func (in *RouteParameters) DeepCopy() *RouteParameters

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

func (*RouteParameters) DeepCopyInto

func (in *RouteParameters) DeepCopyInto(out *RouteParameters)

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

type RouteSpec

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

RouteSpec defines the desired state of Route

func (*RouteSpec) DeepCopy

func (in *RouteSpec) DeepCopy() *RouteSpec

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

func (*RouteSpec) DeepCopyInto

func (in *RouteSpec) DeepCopyInto(out *RouteSpec)

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

type RouteStatus

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

RouteStatus defines the observed state of Route.

func (*RouteStatus) DeepCopy

func (in *RouteStatus) DeepCopy() *RouteStatus

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

func (*RouteStatus) DeepCopyInto

func (in *RouteStatus) DeepCopyInto(out *RouteStatus)

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

type UpstreamsInitParameters

type UpstreamsInitParameters struct {

	// [string] The host of the upstream.
	// The host of the upstream.
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

	// [string] The load balancer algorithm. Default value: roundrobin.
	// The load balancer algorithm.
	Loadbalancer *string `json:"loadbalancer,omitempty" tf:"loadbalancer,omitempty"`

	// [int] The port of the upstream. Default value: 80.
	// The port of the upstream.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// [string] The target URL of the upstream. Default value: http.
	// The target URL of the upstream.
	Scheme *string `json:"scheme,omitempty" tf:"scheme,omitempty"`

	// [int] Weight with which to split traffic to the upstream. Default value: 100.
	// Weight with which to split traffic to the upstream.
	Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"`
}

func (*UpstreamsInitParameters) DeepCopy

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

func (*UpstreamsInitParameters) DeepCopyInto

func (in *UpstreamsInitParameters) DeepCopyInto(out *UpstreamsInitParameters)

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

type UpstreamsObservation

type UpstreamsObservation struct {

	// [string] The host of the upstream.
	// The host of the upstream.
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

	// [string] The load balancer algorithm. Default value: roundrobin.
	// The load balancer algorithm.
	Loadbalancer *string `json:"loadbalancer,omitempty" tf:"loadbalancer,omitempty"`

	// [int] The port of the upstream. Default value: 80.
	// The port of the upstream.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// [string] The target URL of the upstream. Default value: http.
	// The target URL of the upstream.
	Scheme *string `json:"scheme,omitempty" tf:"scheme,omitempty"`

	// [int] Weight with which to split traffic to the upstream. Default value: 100.
	// Weight with which to split traffic to the upstream.
	Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"`
}

func (*UpstreamsObservation) DeepCopy

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

func (*UpstreamsObservation) DeepCopyInto

func (in *UpstreamsObservation) DeepCopyInto(out *UpstreamsObservation)

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

type UpstreamsParameters

type UpstreamsParameters struct {

	// [string] The host of the upstream.
	// The host of the upstream.
	// +kubebuilder:validation:Optional
	Host *string `json:"host" tf:"host,omitempty"`

	// [string] The load balancer algorithm. Default value: roundrobin.
	// The load balancer algorithm.
	// +kubebuilder:validation:Optional
	Loadbalancer *string `json:"loadbalancer,omitempty" tf:"loadbalancer,omitempty"`

	// [int] The port of the upstream. Default value: 80.
	// The port of the upstream.
	// +kubebuilder:validation:Optional
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// [string] The target URL of the upstream. Default value: http.
	// The target URL of the upstream.
	// +kubebuilder:validation:Optional
	Scheme *string `json:"scheme,omitempty" tf:"scheme,omitempty"`

	// [int] Weight with which to split traffic to the upstream. Default value: 100.
	// Weight with which to split traffic to the upstream.
	// +kubebuilder:validation:Optional
	Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"`
}

func (*UpstreamsParameters) DeepCopy

func (in *UpstreamsParameters) DeepCopy() *UpstreamsParameters

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

func (*UpstreamsParameters) DeepCopyInto

func (in *UpstreamsParameters) DeepCopyInto(out *UpstreamsParameters)

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