v1beta1

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=vpcep.flexibleengine.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "vpcep.flexibleengine.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	Approval_Kind             = "Approval"
	Approval_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Approval_Kind}.String()
	Approval_KindAPIVersion   = Approval_Kind + "." + CRDGroupVersion.String()
	Approval_GroupVersionKind = CRDGroupVersion.WithKind(Approval_Kind)
)

Repository type metadata.

View Source
var (
	Endpoint_Kind             = "Endpoint"
	Endpoint_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Endpoint_Kind}.String()
	Endpoint_KindAPIVersion   = Endpoint_Kind + "." + CRDGroupVersion.String()
	Endpoint_GroupVersionKind = CRDGroupVersion.WithKind(Endpoint_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 (
	VPCEPService_Kind             = "VPCEPService"
	VPCEPService_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: VPCEPService_Kind}.String()
	VPCEPService_KindAPIVersion   = VPCEPService_Kind + "." + CRDGroupVersion.String()
	VPCEPService_GroupVersionKind = CRDGroupVersion.WithKind(VPCEPService_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Approval

type Approval struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ApprovalSpec   `json:"spec"`
	Status            ApprovalStatus `json:"status,omitempty"`
}

Approval is the Schema for the Approvals API. ""page_title: "flexibleengine_vpcep_approval" +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,flexibleengine}

func (*Approval) DeepCopy

func (in *Approval) DeepCopy() *Approval

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

func (*Approval) DeepCopyInto

func (in *Approval) DeepCopyInto(out *Approval)

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

func (*Approval) DeepCopyObject

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

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

func (*Approval) GetCondition

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

GetCondition of this Approval.

func (*Approval) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Approval

func (*Approval) GetDeletionPolicy

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

GetDeletionPolicy of this Approval.

func (*Approval) GetID

func (tr *Approval) GetID() string

GetID returns ID of underlying Terraform resource of this Approval

func (*Approval) GetObservation

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

GetObservation of this Approval

func (*Approval) GetParameters

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

GetParameters of this Approval

func (*Approval) GetProviderConfigReference

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

GetProviderConfigReference of this Approval.

func (*Approval) GetProviderReference

func (mg *Approval) GetProviderReference() *xpv1.Reference

GetProviderReference of this Approval. Deprecated: Use GetProviderConfigReference.

func (*Approval) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Approval.

func (*Approval) GetTerraformResourceType

func (mg *Approval) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Approval

func (*Approval) GetTerraformSchemaVersion

func (tr *Approval) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Approval) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Approval.

func (*Approval) LateInitialize

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

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

func (*Approval) ResolveReferences

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

ResolveReferences of this Approval.

func (*Approval) SetConditions

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

SetConditions of this Approval.

func (*Approval) SetDeletionPolicy

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

SetDeletionPolicy of this Approval.

func (*Approval) SetObservation

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

SetObservation for this Approval

func (*Approval) SetParameters

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

SetParameters for this Approval

func (*Approval) SetProviderConfigReference

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

SetProviderConfigReference of this Approval.

func (*Approval) SetProviderReference

func (mg *Approval) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Approval. Deprecated: Use SetProviderConfigReference.

func (*Approval) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Approval.

func (*Approval) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Approval.

type ApprovalList

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

ApprovalList contains a list of Approvals

func (*ApprovalList) DeepCopy

func (in *ApprovalList) DeepCopy() *ApprovalList

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

func (*ApprovalList) DeepCopyInto

func (in *ApprovalList) DeepCopyInto(out *ApprovalList)

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

func (*ApprovalList) DeepCopyObject

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

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

func (*ApprovalList) GetItems

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

GetItems of this ApprovalList.

type ApprovalObservation

type ApprovalObservation struct {

	// An array of VPC endpoints connect to the VPC endpoint service. Structure is documented below.
	Connections []ConnectionsObservation `json:"connections,omitempty" tf:"connections,omitempty"`

	// The unique ID in UUID format which equals to the ID of the VPC endpoint service.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*ApprovalObservation) DeepCopy

func (in *ApprovalObservation) DeepCopy() *ApprovalObservation

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

func (*ApprovalObservation) DeepCopyInto

func (in *ApprovalObservation) DeepCopyInto(out *ApprovalObservation)

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

type ApprovalParameters

type ApprovalParameters struct {

	// Specifies the list of VPC endpoint IDs which accepted to connect to VPC endpoint service.
	// The VPC endpoints will be rejected when the resource was destroyed.
	// +crossplane:generate:reference:type=Endpoint
	// +kubebuilder:validation:Optional
	Endpoints []*string `json:"endpoints,omitempty" tf:"endpoints,omitempty"`

	// References to Endpoint to populate endpoints.
	// +kubebuilder:validation:Optional
	EndpointsRefs []v1.Reference `json:"endpointsRefs,omitempty" tf:"-"`

	// Selector for a list of Endpoint to populate endpoints.
	// +kubebuilder:validation:Optional
	EndpointsSelector *v1.Selector `json:"endpointsSelector,omitempty" tf:"-"`

	// The region in which to obtain the VPC endpoint service.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Specifies the ID of the VPC endpoint service. Changing this creates a new resource.
	// +crossplane:generate:reference:type=VPCEPService
	// +kubebuilder:validation:Optional
	ServiceID *string `json:"serviceId,omitempty" tf:"service_id,omitempty"`

	// Reference to a VPCEPService to populate serviceId.
	// +kubebuilder:validation:Optional
	ServiceIDRef *v1.Reference `json:"serviceIdRef,omitempty" tf:"-"`

	// Selector for a VPCEPService to populate serviceId.
	// +kubebuilder:validation:Optional
	ServiceIDSelector *v1.Selector `json:"serviceIdSelector,omitempty" tf:"-"`
}

func (*ApprovalParameters) DeepCopy

func (in *ApprovalParameters) DeepCopy() *ApprovalParameters

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

func (*ApprovalParameters) DeepCopyInto

func (in *ApprovalParameters) DeepCopyInto(out *ApprovalParameters)

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

type ApprovalSpec

type ApprovalSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ApprovalParameters `json:"forProvider"`
}

ApprovalSpec defines the desired state of Approval

func (*ApprovalSpec) DeepCopy

func (in *ApprovalSpec) DeepCopy() *ApprovalSpec

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

func (*ApprovalSpec) DeepCopyInto

func (in *ApprovalSpec) DeepCopyInto(out *ApprovalSpec)

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

type ApprovalStatus

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

ApprovalStatus defines the observed state of Approval.

func (*ApprovalStatus) DeepCopy

func (in *ApprovalStatus) DeepCopy() *ApprovalStatus

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

func (*ApprovalStatus) DeepCopyInto

func (in *ApprovalStatus) DeepCopyInto(out *ApprovalStatus)

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

type ConnectionsObservation

type ConnectionsObservation struct {

	// The user's domain ID.
	DomainID *string `json:"domainId,omitempty" tf:"domain_id,omitempty"`

	// The unique ID of the VPC endpoint.
	EndpointID *string `json:"endpointId,omitempty" tf:"endpoint_id,omitempty"`

	// The packet ID of the VPC endpoint.
	PacketID *float64 `json:"packetId,omitempty" tf:"packet_id,omitempty"`

	// The connection status of the VPC endpoint.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ConnectionsObservation) DeepCopy

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

func (*ConnectionsObservation) DeepCopyInto

func (in *ConnectionsObservation) DeepCopyInto(out *ConnectionsObservation)

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

type ConnectionsParameters

type ConnectionsParameters struct {
}

func (*ConnectionsParameters) DeepCopy

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

func (*ConnectionsParameters) DeepCopyInto

func (in *ConnectionsParameters) DeepCopyInto(out *ConnectionsParameters)

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

type Endpoint

type Endpoint struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EndpointSpec   `json:"spec"`
	Status            EndpointStatus `json:"status,omitempty"`
}

Endpoint is the Schema for the Endpoints API. ""page_title: "flexibleengine_vpcep_endpoint" +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,flexibleengine}

func (*Endpoint) DeepCopy

func (in *Endpoint) DeepCopy() *Endpoint

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

func (*Endpoint) DeepCopyInto

func (in *Endpoint) DeepCopyInto(out *Endpoint)

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

func (*Endpoint) DeepCopyObject

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

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

func (*Endpoint) GetCondition

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

GetCondition of this Endpoint.

func (*Endpoint) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Endpoint

func (*Endpoint) GetDeletionPolicy

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

GetDeletionPolicy of this Endpoint.

func (*Endpoint) GetID

func (tr *Endpoint) GetID() string

GetID returns ID of underlying Terraform resource of this Endpoint

func (*Endpoint) GetObservation

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

GetObservation of this Endpoint

func (*Endpoint) GetParameters

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

GetParameters of this Endpoint

func (*Endpoint) GetProviderConfigReference

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

GetProviderConfigReference of this Endpoint.

func (*Endpoint) GetProviderReference

func (mg *Endpoint) GetProviderReference() *xpv1.Reference

GetProviderReference of this Endpoint. Deprecated: Use GetProviderConfigReference.

func (*Endpoint) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Endpoint.

func (*Endpoint) GetTerraformResourceType

func (mg *Endpoint) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Endpoint

func (*Endpoint) GetTerraformSchemaVersion

func (tr *Endpoint) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Endpoint) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Endpoint.

func (*Endpoint) LateInitialize

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

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

func (*Endpoint) ResolveReferences

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

ResolveReferences of this Endpoint.

func (*Endpoint) SetConditions

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

SetConditions of this Endpoint.

func (*Endpoint) SetDeletionPolicy

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

SetDeletionPolicy of this Endpoint.

func (*Endpoint) SetObservation

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

SetObservation for this Endpoint

func (*Endpoint) SetParameters

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

SetParameters for this Endpoint

func (*Endpoint) SetProviderConfigReference

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

SetProviderConfigReference of this Endpoint.

func (*Endpoint) SetProviderReference

func (mg *Endpoint) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Endpoint. Deprecated: Use SetProviderConfigReference.

func (*Endpoint) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Endpoint.

func (*Endpoint) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Endpoint.

type EndpointList

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

EndpointList contains a list of Endpoints

func (*EndpointList) DeepCopy

func (in *EndpointList) DeepCopy() *EndpointList

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

func (*EndpointList) DeepCopyInto

func (in *EndpointList) DeepCopyInto(out *EndpointList)

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

func (*EndpointList) DeepCopyObject

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

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

func (*EndpointList) GetItems

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

GetItems of this EndpointList.

type EndpointObservation

type EndpointObservation struct {

	// The unique ID of the VPC endpoint.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The packet ID of the VPC endpoint.
	PacketID *float64 `json:"packetId,omitempty" tf:"packet_id,omitempty"`

	// The domain name for accessing the associated VPC endpoint service.
	// This parameter is only available when enable_dns is set to true.
	PrivateDomainName *string `json:"privateDomainName,omitempty" tf:"private_domain_name,omitempty"`

	// The name of the VPC endpoint service.
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`

	// The type of the VPC endpoint service.
	ServiceType *string `json:"serviceType,omitempty" tf:"service_type,omitempty"`

	// The status of the VPC endpoint. The value can be accepted, pendingAcceptance or rejected.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*EndpointObservation) DeepCopy

func (in *EndpointObservation) DeepCopy() *EndpointObservation

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

func (*EndpointObservation) DeepCopyInto

func (in *EndpointObservation) DeepCopyInto(out *EndpointObservation)

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

type EndpointParameters

type EndpointParameters struct {

	// Specifies whether to create a private domain name. The default value is true.
	// Changing this creates a new VPC endpoint.
	// +kubebuilder:validation:Optional
	EnableDNS *bool `json:"enableDns,omitempty" tf:"enable_dns,omitempty"`

	// Specifies whether to enable access control. The default value is false.
	// Changing this creates a new VPC endpoint.
	// +kubebuilder:validation:Optional
	EnableWhitelist *bool `json:"enableWhitelist,omitempty" tf:"enable_whitelist,omitempty"`

	// Specifies the IP address for accessing the associated VPC endpoint service.
	// Only IPv4 addresses are supported. Changing this creates a new VPC endpoint.
	// +kubebuilder:validation:Optional
	IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"`

	// Specifies the network ID of the subnet in the VPC specified by vpc_id.
	// Changing this creates a new VPC endpoint.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/vpc/v1beta1.VPCSubnet
	// +crossplane:generate:reference:extractor=github.com/FlexibleEngineCloud/provider-flexibleengine/pkg/tools.ExtractorParamPathfunc(true, "id")
	// +crossplane:generate:reference:refFieldName=NetworkIDRef
	// +crossplane:generate:reference:selectorFieldName=NetworkIDSelector
	// +kubebuilder:validation:Optional
	NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"`

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

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

	// The region in which to create the VPC endpoint.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Specifies the ID of the VPC endpoint service.
	// Changing this creates a new VPC endpoint.
	// +crossplane:generate:reference:type=VPCEPService
	// +kubebuilder:validation:Optional
	ServiceID *string `json:"serviceId,omitempty" tf:"service_id,omitempty"`

	// Reference to a VPCEPService to populate serviceId.
	// +kubebuilder:validation:Optional
	ServiceIDRef *v1.Reference `json:"serviceIdRef,omitempty" tf:"-"`

	// Selector for a VPCEPService to populate serviceId.
	// +kubebuilder:validation:Optional
	ServiceIDSelector *v1.Selector `json:"serviceIdSelector,omitempty" tf:"-"`

	// The key/value pairs to associate with the VPC endpoint.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Specifies the ID of the VPC where the VPC endpoint is to be created.
	// Changing this creates a new VPC endpoint.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/vpc/v1beta1.VPC
	// +kubebuilder:validation:Optional
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

	// Reference to a VPC in vpc to populate vpcId.
	// +kubebuilder:validation:Optional
	VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"`

	// Selector for a VPC in vpc to populate vpcId.
	// +kubebuilder:validation:Optional
	VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"`

	// Specifies the list of IP address or CIDR block which can be accessed to the VPC endpoint.
	// Changing this creates a new VPC endpoint.
	// +kubebuilder:validation:Optional
	Whitelist []*string `json:"whitelist,omitempty" tf:"whitelist,omitempty"`
}

func (*EndpointParameters) DeepCopy

func (in *EndpointParameters) DeepCopy() *EndpointParameters

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

func (*EndpointParameters) DeepCopyInto

func (in *EndpointParameters) DeepCopyInto(out *EndpointParameters)

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

type EndpointSpec

type EndpointSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     EndpointParameters `json:"forProvider"`
}

EndpointSpec defines the desired state of Endpoint

func (*EndpointSpec) DeepCopy

func (in *EndpointSpec) DeepCopy() *EndpointSpec

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

func (*EndpointSpec) DeepCopyInto

func (in *EndpointSpec) DeepCopyInto(out *EndpointSpec)

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

type EndpointStatus

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

EndpointStatus defines the observed state of Endpoint.

func (*EndpointStatus) DeepCopy

func (in *EndpointStatus) DeepCopy() *EndpointStatus

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

func (*EndpointStatus) DeepCopyInto

func (in *EndpointStatus) DeepCopyInto(out *EndpointStatus)

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

type PortMappingObservation

type PortMappingObservation struct {
}

func (*PortMappingObservation) DeepCopy

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

func (*PortMappingObservation) DeepCopyInto

func (in *PortMappingObservation) DeepCopyInto(out *PortMappingObservation)

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

type PortMappingParameters

type PortMappingParameters struct {

	// Specifies the protocol used in port mappings.
	// The value can be TCP or UDP. The default value is TCP.
	// +kubebuilder:validation:Optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Specifies the port for accessing the VPC endpoint service.
	// This port is provided by the backend service to provide services. The value ranges from 1 to 65535.
	// +kubebuilder:validation:Optional
	ServicePort *float64 `json:"servicePort,omitempty" tf:"service_port,omitempty"`

	// Specifies the port for accessing the VPC endpoint.
	// This port is provided by the VPC endpoint, allowing you to access the VPC endpoint service.
	// The value ranges from 1 to 65535.
	// +kubebuilder:validation:Optional
	TerminalPort *float64 `json:"terminalPort,omitempty" tf:"terminal_port,omitempty"`
}

func (*PortMappingParameters) DeepCopy

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

func (*PortMappingParameters) DeepCopyInto

func (in *PortMappingParameters) DeepCopyInto(out *PortMappingParameters)

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

type VPCEPService

type VPCEPService struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VPCEPServiceSpec   `json:"spec"`
	Status            VPCEPServiceStatus `json:"status,omitempty"`
}

VPCEPService is the Schema for the VPCEPServices API. ""page_title: "flexibleengine_vpcep_service" +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,flexibleengine}

func (*VPCEPService) DeepCopy

func (in *VPCEPService) DeepCopy() *VPCEPService

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

func (*VPCEPService) DeepCopyInto

func (in *VPCEPService) DeepCopyInto(out *VPCEPService)

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

func (*VPCEPService) DeepCopyObject

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

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

func (*VPCEPService) GetCondition

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

GetCondition of this VPCEPService.

func (*VPCEPService) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this VPCEPService

func (*VPCEPService) GetDeletionPolicy

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

GetDeletionPolicy of this VPCEPService.

func (*VPCEPService) GetID

func (tr *VPCEPService) GetID() string

GetID returns ID of underlying Terraform resource of this VPCEPService

func (*VPCEPService) GetObservation

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

GetObservation of this VPCEPService

func (*VPCEPService) GetParameters

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

GetParameters of this VPCEPService

func (*VPCEPService) GetProviderConfigReference

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

GetProviderConfigReference of this VPCEPService.

func (*VPCEPService) GetProviderReference

func (mg *VPCEPService) GetProviderReference() *xpv1.Reference

GetProviderReference of this VPCEPService. Deprecated: Use GetProviderConfigReference.

func (*VPCEPService) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this VPCEPService.

func (*VPCEPService) GetTerraformResourceType

func (mg *VPCEPService) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this VPCEPService

func (*VPCEPService) GetTerraformSchemaVersion

func (tr *VPCEPService) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*VPCEPService) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this VPCEPService.

func (*VPCEPService) LateInitialize

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

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

func (*VPCEPService) ResolveReferences

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

ResolveReferences of this VPCEPService.

func (*VPCEPService) SetConditions

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

SetConditions of this VPCEPService.

func (*VPCEPService) SetDeletionPolicy

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

SetDeletionPolicy of this VPCEPService.

func (*VPCEPService) SetObservation

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

SetObservation for this VPCEPService

func (*VPCEPService) SetParameters

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

SetParameters for this VPCEPService

func (*VPCEPService) SetProviderConfigReference

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

SetProviderConfigReference of this VPCEPService.

func (*VPCEPService) SetProviderReference

func (mg *VPCEPService) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this VPCEPService. Deprecated: Use SetProviderConfigReference.

func (*VPCEPService) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this VPCEPService.

func (*VPCEPService) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this VPCEPService.

type VPCEPServiceConnectionsObservation

type VPCEPServiceConnectionsObservation struct {

	// The user's domain ID.
	DomainID *string `json:"domainId,omitempty" tf:"domain_id,omitempty"`

	// The unique ID of the VPC endpoint.
	EndpointID *string `json:"endpointId,omitempty" tf:"endpoint_id,omitempty"`

	// The packet ID of the VPC endpoint.
	PacketID *float64 `json:"packetId,omitempty" tf:"packet_id,omitempty"`

	// The status of the VPC endpoint service. The value can be available or failed.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*VPCEPServiceConnectionsObservation) DeepCopy

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

func (*VPCEPServiceConnectionsObservation) DeepCopyInto

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

type VPCEPServiceConnectionsParameters

type VPCEPServiceConnectionsParameters struct {
}

func (*VPCEPServiceConnectionsParameters) DeepCopy

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

func (*VPCEPServiceConnectionsParameters) DeepCopyInto

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

type VPCEPServiceList

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

VPCEPServiceList contains a list of VPCEPServices

func (*VPCEPServiceList) DeepCopy

func (in *VPCEPServiceList) DeepCopy() *VPCEPServiceList

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

func (*VPCEPServiceList) DeepCopyInto

func (in *VPCEPServiceList) DeepCopyInto(out *VPCEPServiceList)

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

func (*VPCEPServiceList) DeepCopyObject

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

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

func (*VPCEPServiceList) GetItems

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

GetItems of this VPCEPServiceList.

type VPCEPServiceObservation

type VPCEPServiceObservation struct {

	// An array of VPC endpoints connect to the VPC endpoint service. Structure is documented below.
	Connections []VPCEPServiceConnectionsObservation `json:"connections,omitempty" tf:"connections,omitempty"`

	// The unique ID of the VPC endpoint service.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The full name of the VPC endpoint service in the format: region.name.id.
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`

	// The status of the VPC endpoint service. The value can be available or failed.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*VPCEPServiceObservation) DeepCopy

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

func (*VPCEPServiceObservation) DeepCopyInto

func (in *VPCEPServiceObservation) DeepCopyInto(out *VPCEPServiceObservation)

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

type VPCEPServiceParameters

type VPCEPServiceParameters struct {

	// Specifies whether connection approval is required. The default value is false.
	// +kubebuilder:validation:Optional
	Approval *bool `json:"approval,omitempty" tf:"approval,omitempty"`

	// Specifies the name of the VPC endpoint service. The value contains a maximum of
	// 16 characters, including letters, digits, underscores (_), and hyphens (-).
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the list of accounts to access the VPC endpoint service.
	// The record is in the iam:domain::domain_id format, while * allows all users to access the VPC endpoint service.
	// +kubebuilder:validation:Optional
	Permissions []*string `json:"permissions,omitempty" tf:"permissions,omitempty"`

	// Specifies the ID for identifying the backend resource of the VPC endpoint service.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/ecs/v1beta1.Instance
	// +crossplane:generate:reference:extractor=github.com/FlexibleEngineCloud/provider-flexibleengine/pkg/tools.ExtractorParamPathfunc(true, "network", "0", "port")
	// +kubebuilder:validation:Optional
	PortID *string `json:"portId,omitempty" tf:"port_id,omitempty"`

	// Reference to a Instance in ecs to populate portId.
	// +kubebuilder:validation:Optional
	PortIDRef *v1.Reference `json:"portIdRef,omitempty" tf:"-"`

	// Selector for a Instance in ecs to populate portId.
	// +kubebuilder:validation:Optional
	PortIDSelector *v1.Selector `json:"portIdSelector,omitempty" tf:"-"`

	// Specified the port mappings opened to the VPC endpoint service.
	// Structure is documented below.
	// +kubebuilder:validation:Required
	PortMapping []PortMappingParameters `json:"portMapping" tf:"port_mapping,omitempty"`

	// The region in which to create the VPC endpoint service.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Specifies the backend resource type. The value can be VM, VIP or LB.
	// Changing this creates a new VPC endpoint service.
	// +kubebuilder:validation:Required
	ServerType *string `json:"serverType" tf:"server_type,omitempty"`

	// The type of the VPC endpoint service. Only interface can be configured.
	// +kubebuilder:validation:Optional
	ServiceType *string `json:"serviceType,omitempty" tf:"service_type,omitempty"`

	// The key/value pairs to associate with the VPC endpoint service.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Specifies the ID of the VPC to which the backend resource of
	// the VPC endpoint service belongs. Changing this creates a new VPC endpoint service.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/vpc/v1beta1.VPC
	// +kubebuilder:validation:Optional
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

	// Reference to a VPC in vpc to populate vpcId.
	// +kubebuilder:validation:Optional
	VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"`

	// Selector for a VPC in vpc to populate vpcId.
	// +kubebuilder:validation:Optional
	VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"`
}

func (*VPCEPServiceParameters) DeepCopy

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

func (*VPCEPServiceParameters) DeepCopyInto

func (in *VPCEPServiceParameters) DeepCopyInto(out *VPCEPServiceParameters)

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

type VPCEPServiceSpec

type VPCEPServiceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     VPCEPServiceParameters `json:"forProvider"`
}

VPCEPServiceSpec defines the desired state of VPCEPService

func (*VPCEPServiceSpec) DeepCopy

func (in *VPCEPServiceSpec) DeepCopy() *VPCEPServiceSpec

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

func (*VPCEPServiceSpec) DeepCopyInto

func (in *VPCEPServiceSpec) DeepCopyInto(out *VPCEPServiceSpec)

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

type VPCEPServiceStatus

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

VPCEPServiceStatus defines the observed state of VPCEPService.

func (*VPCEPServiceStatus) DeepCopy

func (in *VPCEPServiceStatus) DeepCopy() *VPCEPServiceStatus

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

func (*VPCEPServiceStatus) DeepCopyInto

func (in *VPCEPServiceStatus) DeepCopyInto(out *VPCEPServiceStatus)

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