v1alpha1

package
v0.0.0-...-73c97c3 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=iploadbalancinghttprouterule.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "iploadbalancinghttprouterule.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 (
	HTTPRouteRule_Kind             = "HTTPRouteRule"
	HTTPRouteRule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: HTTPRouteRule_Kind}.String()
	HTTPRouteRule_KindAPIVersion   = HTTPRouteRule_Kind + "." + CRDGroupVersion.String()
	HTTPRouteRule_GroupVersionKind = CRDGroupVersion.WithKind(HTTPRouteRule_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type HTTPRouteRule

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

HTTPRouteRule is the Schema for the HTTPRouteRules 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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,ovh}

func (*HTTPRouteRule) DeepCopy

func (in *HTTPRouteRule) DeepCopy() *HTTPRouteRule

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

func (*HTTPRouteRule) DeepCopyInto

func (in *HTTPRouteRule) DeepCopyInto(out *HTTPRouteRule)

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

func (*HTTPRouteRule) DeepCopyObject

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

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

func (*HTTPRouteRule) GetCondition

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

GetCondition of this HTTPRouteRule.

func (*HTTPRouteRule) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this HTTPRouteRule

func (*HTTPRouteRule) GetDeletionPolicy

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

GetDeletionPolicy of this HTTPRouteRule.

func (*HTTPRouteRule) GetID

func (tr *HTTPRouteRule) GetID() string

GetID returns ID of underlying Terraform resource of this HTTPRouteRule

func (*HTTPRouteRule) GetInitParameters

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

GetInitParameters of this HTTPRouteRule

func (*HTTPRouteRule) GetManagementPolicies

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

GetManagementPolicies of this HTTPRouteRule.

func (*HTTPRouteRule) GetObservation

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

GetObservation of this HTTPRouteRule

func (*HTTPRouteRule) GetParameters

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

GetParameters of this HTTPRouteRule

func (*HTTPRouteRule) GetProviderConfigReference

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

GetProviderConfigReference of this HTTPRouteRule.

func (*HTTPRouteRule) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this HTTPRouteRule.

func (*HTTPRouteRule) GetTerraformResourceType

func (mg *HTTPRouteRule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this HTTPRouteRule

func (*HTTPRouteRule) GetTerraformSchemaVersion

func (tr *HTTPRouteRule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*HTTPRouteRule) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this HTTPRouteRule.

func (*HTTPRouteRule) LateInitialize

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

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

func (*HTTPRouteRule) SetConditions

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

SetConditions of this HTTPRouteRule.

func (*HTTPRouteRule) SetDeletionPolicy

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

SetDeletionPolicy of this HTTPRouteRule.

func (*HTTPRouteRule) SetManagementPolicies

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

SetManagementPolicies of this HTTPRouteRule.

func (*HTTPRouteRule) SetObservation

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

SetObservation for this HTTPRouteRule

func (*HTTPRouteRule) SetParameters

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

SetParameters for this HTTPRouteRule

func (*HTTPRouteRule) SetProviderConfigReference

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

SetProviderConfigReference of this HTTPRouteRule.

func (*HTTPRouteRule) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this HTTPRouteRule.

func (*HTTPRouteRule) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this HTTPRouteRule.

type HTTPRouteRuleInitParameters

type HTTPRouteRuleInitParameters struct {
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	Field *string `json:"field,omitempty" tf:"field,omitempty"`

	Match *string `json:"match,omitempty" tf:"match,omitempty"`

	Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"`

	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`

	RouteID *string `json:"routeId,omitempty" tf:"route_id,omitempty"`

	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`

	SubField *string `json:"subField,omitempty" tf:"sub_field,omitempty"`
}

func (*HTTPRouteRuleInitParameters) DeepCopy

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

func (*HTTPRouteRuleInitParameters) DeepCopyInto

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

type HTTPRouteRuleList

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

HTTPRouteRuleList contains a list of HTTPRouteRules

func (*HTTPRouteRuleList) DeepCopy

func (in *HTTPRouteRuleList) DeepCopy() *HTTPRouteRuleList

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

func (*HTTPRouteRuleList) DeepCopyInto

func (in *HTTPRouteRuleList) DeepCopyInto(out *HTTPRouteRuleList)

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

func (*HTTPRouteRuleList) DeepCopyObject

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

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

func (*HTTPRouteRuleList) GetItems

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

GetItems of this HTTPRouteRuleList.

type HTTPRouteRuleObservation

type HTTPRouteRuleObservation struct {
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	Field *string `json:"field,omitempty" tf:"field,omitempty"`

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

	Match *string `json:"match,omitempty" tf:"match,omitempty"`

	Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"`

	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`

	RouteID *string `json:"routeId,omitempty" tf:"route_id,omitempty"`

	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`

	SubField *string `json:"subField,omitempty" tf:"sub_field,omitempty"`
}

func (*HTTPRouteRuleObservation) DeepCopy

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

func (*HTTPRouteRuleObservation) DeepCopyInto

func (in *HTTPRouteRuleObservation) DeepCopyInto(out *HTTPRouteRuleObservation)

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

type HTTPRouteRuleParameters

type HTTPRouteRuleParameters struct {

	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// +kubebuilder:validation:Optional
	Field *string `json:"field,omitempty" tf:"field,omitempty"`

	// +kubebuilder:validation:Optional
	Match *string `json:"match,omitempty" tf:"match,omitempty"`

	// +kubebuilder:validation:Optional
	Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"`

	// +kubebuilder:validation:Optional
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`

	// +kubebuilder:validation:Optional
	RouteID *string `json:"routeId,omitempty" tf:"route_id,omitempty"`

	// +kubebuilder:validation:Optional
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`

	// +kubebuilder:validation:Optional
	SubField *string `json:"subField,omitempty" tf:"sub_field,omitempty"`
}

func (*HTTPRouteRuleParameters) DeepCopy

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

func (*HTTPRouteRuleParameters) DeepCopyInto

func (in *HTTPRouteRuleParameters) DeepCopyInto(out *HTTPRouteRuleParameters)

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

type HTTPRouteRuleSpec

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

HTTPRouteRuleSpec defines the desired state of HTTPRouteRule

func (*HTTPRouteRuleSpec) DeepCopy

func (in *HTTPRouteRuleSpec) DeepCopy() *HTTPRouteRuleSpec

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

func (*HTTPRouteRuleSpec) DeepCopyInto

func (in *HTTPRouteRuleSpec) DeepCopyInto(out *HTTPRouteRuleSpec)

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

type HTTPRouteRuleStatus

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

HTTPRouteRuleStatus defines the observed state of HTTPRouteRule.

func (*HTTPRouteRuleStatus) DeepCopy

func (in *HTTPRouteRuleStatus) DeepCopy() *HTTPRouteRuleStatus

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

func (*HTTPRouteRuleStatus) DeepCopyInto

func (in *HTTPRouteRuleStatus) DeepCopyInto(out *HTTPRouteRuleStatus)

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