v1alpha1

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=gre.cloudflare.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "gre.cloudflare.jet.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 (
	Tunnel_Kind             = "Tunnel"
	Tunnel_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Tunnel_Kind}.String()
	Tunnel_KindAPIVersion   = Tunnel_Kind + "." + CRDGroupVersion.String()
	Tunnel_GroupVersionKind = CRDGroupVersion.WithKind(Tunnel_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Tunnel

type Tunnel struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TunnelSpec   `json:"spec"`
	Status            TunnelStatus `json:"status,omitempty"`
}

Tunnel is the Schema for the Tunnels API +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,cloudflarejet}

func (*Tunnel) DeepCopy

func (in *Tunnel) DeepCopy() *Tunnel

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

func (*Tunnel) DeepCopyInto

func (in *Tunnel) DeepCopyInto(out *Tunnel)

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

func (*Tunnel) DeepCopyObject

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

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

func (*Tunnel) GetCondition

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

GetCondition of this Tunnel.

func (*Tunnel) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Tunnel

func (*Tunnel) GetDeletionPolicy

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

GetDeletionPolicy of this Tunnel.

func (*Tunnel) GetID

func (tr *Tunnel) GetID() string

GetID returns ID of underlying Terraform resource of this Tunnel

func (*Tunnel) GetObservation

func (tr *Tunnel) GetObservation() (map[string]interface{}, error)

GetObservation of this Tunnel

func (*Tunnel) GetParameters

func (tr *Tunnel) GetParameters() (map[string]interface{}, error)

GetParameters of this Tunnel

func (*Tunnel) GetProviderConfigReference

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

GetProviderConfigReference of this Tunnel.

func (*Tunnel) GetProviderReference

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

GetProviderReference of this Tunnel. Deprecated: Use GetProviderConfigReference.

func (*Tunnel) GetTerraformResourceType

func (mg *Tunnel) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Tunnel

func (*Tunnel) GetTerraformSchemaVersion

func (tr *Tunnel) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Tunnel) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Tunnel.

func (*Tunnel) LateInitialize

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

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

func (*Tunnel) SetConditions

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

SetConditions of this Tunnel.

func (*Tunnel) SetDeletionPolicy

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

SetDeletionPolicy of this Tunnel.

func (*Tunnel) SetObservation

func (tr *Tunnel) SetObservation(obs map[string]interface{}) error

SetObservation for this Tunnel

func (*Tunnel) SetParameters

func (tr *Tunnel) SetParameters(params map[string]interface{}) error

SetParameters for this Tunnel

func (*Tunnel) SetProviderConfigReference

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

SetProviderConfigReference of this Tunnel.

func (*Tunnel) SetProviderReference

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

SetProviderReference of this Tunnel. Deprecated: Use SetProviderConfigReference.

func (*Tunnel) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Tunnel.

type TunnelList

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

TunnelList contains a list of Tunnels

func (*TunnelList) DeepCopy

func (in *TunnelList) DeepCopy() *TunnelList

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

func (*TunnelList) DeepCopyInto

func (in *TunnelList) DeepCopyInto(out *TunnelList)

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

func (*TunnelList) DeepCopyObject

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

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

func (*TunnelList) GetItems

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

GetItems of this TunnelList.

type TunnelObservation

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

func (*TunnelObservation) DeepCopy

func (in *TunnelObservation) DeepCopy() *TunnelObservation

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

func (*TunnelObservation) DeepCopyInto

func (in *TunnelObservation) DeepCopyInto(out *TunnelObservation)

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

type TunnelParameters

type TunnelParameters struct {

	// +kubebuilder:validation:Optional
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// +kubebuilder:validation:Required
	CloudflareGreEndpoint *string `json:"cloudflareGreEndpoint" tf:"cloudflare_gre_endpoint,omitempty"`

	// +kubebuilder:validation:Required
	CustomerGreEndpoint *string `json:"customerGreEndpoint" tf:"customer_gre_endpoint,omitempty"`

	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// +kubebuilder:validation:Optional
	HealthCheckEnabled *bool `json:"healthCheckEnabled,omitempty" tf:"health_check_enabled,omitempty"`

	// +kubebuilder:validation:Optional
	HealthCheckTarget *string `json:"healthCheckTarget,omitempty" tf:"health_check_target,omitempty"`

	// +kubebuilder:validation:Optional
	HealthCheckType *string `json:"healthCheckType,omitempty" tf:"health_check_type,omitempty"`

	// +kubebuilder:validation:Required
	InterfaceAddress *string `json:"interfaceAddress" tf:"interface_address,omitempty"`

	// +kubebuilder:validation:Optional
	Mtu *float64 `json:"mtu,omitempty" tf:"mtu,omitempty"`

	// +kubebuilder:validation:Optional
	TTL *float64 `json:"ttl,omitempty" tf:"ttl,omitempty"`
}

func (*TunnelParameters) DeepCopy

func (in *TunnelParameters) DeepCopy() *TunnelParameters

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

func (*TunnelParameters) DeepCopyInto

func (in *TunnelParameters) DeepCopyInto(out *TunnelParameters)

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

type TunnelSpec

type TunnelSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TunnelParameters `json:"forProvider"`
}

TunnelSpec defines the desired state of Tunnel

func (*TunnelSpec) DeepCopy

func (in *TunnelSpec) DeepCopy() *TunnelSpec

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

func (*TunnelSpec) DeepCopyInto

func (in *TunnelSpec) DeepCopyInto(out *TunnelSpec)

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

type TunnelStatus

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

TunnelStatus defines the observed state of Tunnel.

func (*TunnelStatus) DeepCopy

func (in *TunnelStatus) DeepCopy() *TunnelStatus

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

func (*TunnelStatus) DeepCopyInto

func (in *TunnelStatus) DeepCopyInto(out *TunnelStatus)

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