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=iploadbalancingtcpfrontend.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "iploadbalancingtcpfrontend.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 (
	TCPFrontend_Kind             = "TCPFrontend"
	TCPFrontend_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: TCPFrontend_Kind}.String()
	TCPFrontend_KindAPIVersion   = TCPFrontend_Kind + "." + CRDGroupVersion.String()
	TCPFrontend_GroupVersionKind = CRDGroupVersion.WithKind(TCPFrontend_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type TCPFrontend

type TCPFrontend 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.port) || (has(self.initProvider) && has(self.initProvider.port))",message="spec.forProvider.port 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.zone) || (has(self.initProvider) && has(self.initProvider.zone))",message="spec.forProvider.zone is a required parameter"
	Spec   TCPFrontendSpec   `json:"spec"`
	Status TCPFrontendStatus `json:"status,omitempty"`
}

TCPFrontend is the Schema for the TCPFrontends 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 (*TCPFrontend) DeepCopy

func (in *TCPFrontend) DeepCopy() *TCPFrontend

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

func (*TCPFrontend) DeepCopyInto

func (in *TCPFrontend) DeepCopyInto(out *TCPFrontend)

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

func (*TCPFrontend) DeepCopyObject

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

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

func (*TCPFrontend) GetCondition

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

GetCondition of this TCPFrontend.

func (*TCPFrontend) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this TCPFrontend

func (*TCPFrontend) GetDeletionPolicy

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

GetDeletionPolicy of this TCPFrontend.

func (*TCPFrontend) GetID

func (tr *TCPFrontend) GetID() string

GetID returns ID of underlying Terraform resource of this TCPFrontend

func (*TCPFrontend) GetInitParameters

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

GetInitParameters of this TCPFrontend

func (*TCPFrontend) GetManagementPolicies

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

GetManagementPolicies of this TCPFrontend.

func (*TCPFrontend) GetObservation

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

GetObservation of this TCPFrontend

func (*TCPFrontend) GetParameters

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

GetParameters of this TCPFrontend

func (*TCPFrontend) GetProviderConfigReference

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

GetProviderConfigReference of this TCPFrontend.

func (*TCPFrontend) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this TCPFrontend.

func (*TCPFrontend) GetTerraformResourceType

func (mg *TCPFrontend) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this TCPFrontend

func (*TCPFrontend) GetTerraformSchemaVersion

func (tr *TCPFrontend) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*TCPFrontend) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this TCPFrontend.

func (*TCPFrontend) LateInitialize

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

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

func (*TCPFrontend) SetConditions

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

SetConditions of this TCPFrontend.

func (*TCPFrontend) SetDeletionPolicy

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

SetDeletionPolicy of this TCPFrontend.

func (*TCPFrontend) SetManagementPolicies

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

SetManagementPolicies of this TCPFrontend.

func (*TCPFrontend) SetObservation

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

SetObservation for this TCPFrontend

func (*TCPFrontend) SetParameters

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

SetParameters for this TCPFrontend

func (*TCPFrontend) SetProviderConfigReference

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

SetProviderConfigReference of this TCPFrontend.

func (*TCPFrontend) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this TCPFrontend.

func (*TCPFrontend) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this TCPFrontend.

type TCPFrontendInitParameters

type TCPFrontendInitParameters struct {
	AllowedSource []*string `json:"allowedSource,omitempty" tf:"allowed_source,omitempty"`

	DedicatedIpfo []*string `json:"dedicatedIpfo,omitempty" tf:"dedicated_ipfo,omitempty"`

	DefaultFarmID *float64 `json:"defaultFarmId,omitempty" tf:"default_farm_id,omitempty"`

	DefaultSSLID *float64 `json:"defaultSslId,omitempty" tf:"default_ssl_id,omitempty"`

	Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`

	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	Port *string `json:"port,omitempty" tf:"port,omitempty"`

	SSL *bool `json:"ssl,omitempty" tf:"ssl,omitempty"`

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

	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*TCPFrontendInitParameters) DeepCopy

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

func (*TCPFrontendInitParameters) DeepCopyInto

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

type TCPFrontendList

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

TCPFrontendList contains a list of TCPFrontends

func (*TCPFrontendList) DeepCopy

func (in *TCPFrontendList) DeepCopy() *TCPFrontendList

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

func (*TCPFrontendList) DeepCopyInto

func (in *TCPFrontendList) DeepCopyInto(out *TCPFrontendList)

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

func (*TCPFrontendList) DeepCopyObject

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

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

func (*TCPFrontendList) GetItems

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

GetItems of this TCPFrontendList.

type TCPFrontendObservation

type TCPFrontendObservation struct {
	AllowedSource []*string `json:"allowedSource,omitempty" tf:"allowed_source,omitempty"`

	DedicatedIpfo []*string `json:"dedicatedIpfo,omitempty" tf:"dedicated_ipfo,omitempty"`

	DefaultFarmID *float64 `json:"defaultFarmId,omitempty" tf:"default_farm_id,omitempty"`

	DefaultSSLID *float64 `json:"defaultSslId,omitempty" tf:"default_ssl_id,omitempty"`

	Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`

	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

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

	Port *string `json:"port,omitempty" tf:"port,omitempty"`

	SSL *bool `json:"ssl,omitempty" tf:"ssl,omitempty"`

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

	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*TCPFrontendObservation) DeepCopy

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

func (*TCPFrontendObservation) DeepCopyInto

func (in *TCPFrontendObservation) DeepCopyInto(out *TCPFrontendObservation)

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

type TCPFrontendParameters

type TCPFrontendParameters struct {

	// +kubebuilder:validation:Optional
	AllowedSource []*string `json:"allowedSource,omitempty" tf:"allowed_source,omitempty"`

	// +kubebuilder:validation:Optional
	DedicatedIpfo []*string `json:"dedicatedIpfo,omitempty" tf:"dedicated_ipfo,omitempty"`

	// +kubebuilder:validation:Optional
	DefaultFarmID *float64 `json:"defaultFarmId,omitempty" tf:"default_farm_id,omitempty"`

	// +kubebuilder:validation:Optional
	DefaultSSLID *float64 `json:"defaultSslId,omitempty" tf:"default_ssl_id,omitempty"`

	// +kubebuilder:validation:Optional
	Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`

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

	// +kubebuilder:validation:Optional
	Port *string `json:"port,omitempty" tf:"port,omitempty"`

	// +kubebuilder:validation:Optional
	SSL *bool `json:"ssl,omitempty" tf:"ssl,omitempty"`

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

	// +kubebuilder:validation:Optional
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*TCPFrontendParameters) DeepCopy

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

func (*TCPFrontendParameters) DeepCopyInto

func (in *TCPFrontendParameters) DeepCopyInto(out *TCPFrontendParameters)

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

type TCPFrontendSpec

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

TCPFrontendSpec defines the desired state of TCPFrontend

func (*TCPFrontendSpec) DeepCopy

func (in *TCPFrontendSpec) DeepCopy() *TCPFrontendSpec

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

func (*TCPFrontendSpec) DeepCopyInto

func (in *TCPFrontendSpec) DeepCopyInto(out *TCPFrontendSpec)

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

type TCPFrontendStatus

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

TCPFrontendStatus defines the observed state of TCPFrontend.

func (*TCPFrontendStatus) DeepCopy

func (in *TCPFrontendStatus) DeepCopy() *TCPFrontendStatus

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

func (*TCPFrontendStatus) DeepCopyInto

func (in *TCPFrontendStatus) DeepCopyInto(out *TCPFrontendStatus)

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
JackTT - Gopher 🇻🇳