Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=ipsec.cloudflare.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Tunnel
- func (in *Tunnel) DeepCopy() *Tunnel
- func (in *Tunnel) DeepCopyInto(out *Tunnel)
- func (in *Tunnel) DeepCopyObject() runtime.Object
- func (mg *Tunnel) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Tunnel) GetConnectionDetailsMapping() map[string]string
- func (mg *Tunnel) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Tunnel) GetID() string
- func (tr *Tunnel) GetObservation() (map[string]interface{}, error)
- func (tr *Tunnel) GetParameters() (map[string]interface{}, error)
- func (mg *Tunnel) GetProviderConfigReference() *xpv1.Reference
- func (mg *Tunnel) GetProviderReference() *xpv1.Reference
- func (mg *Tunnel) GetTerraformResourceType() string
- func (tr *Tunnel) GetTerraformSchemaVersion() int
- func (mg *Tunnel) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Tunnel) LateInitialize(attrs []byte) (bool, error)
- func (mg *Tunnel) SetConditions(c ...xpv1.Condition)
- func (mg *Tunnel) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Tunnel) SetObservation(obs map[string]interface{}) error
- func (tr *Tunnel) SetParameters(params map[string]interface{}) error
- func (mg *Tunnel) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Tunnel) SetProviderReference(r *xpv1.Reference)
- func (mg *Tunnel) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type TunnelList
- type TunnelObservation
- type TunnelParameters
- type TunnelSpec
- type TunnelStatus
Constants ¶
const ( CRDGroup = "ipsec.cloudflare.jet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tunnel.
func (*Tunnel) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Tunnel) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Tunnel
func (*Tunnel) GetDeletionPolicy ¶
func (mg *Tunnel) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Tunnel.
func (*Tunnel) GetObservation ¶
GetObservation of this Tunnel
func (*Tunnel) GetParameters ¶
GetParameters of this Tunnel
func (*Tunnel) GetProviderConfigReference ¶
GetProviderConfigReference of this Tunnel.
func (*Tunnel) GetProviderReference ¶
GetProviderReference of this Tunnel. Deprecated: Use GetProviderConfigReference.
func (*Tunnel) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Tunnel
func (*Tunnel) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Tunnel) GetWriteConnectionSecretToReference ¶
func (mg *Tunnel) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Tunnel.
func (*Tunnel) LateInitialize ¶
LateInitialize this Tunnel using its observed tfState. returns True if there are any spec changes for the resource.
func (*Tunnel) SetConditions ¶
SetConditions of this Tunnel.
func (*Tunnel) SetDeletionPolicy ¶
func (mg *Tunnel) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Tunnel.
func (*Tunnel) SetObservation ¶
SetObservation for this Tunnel
func (*Tunnel) SetParameters ¶
SetParameters for this Tunnel
func (*Tunnel) SetProviderConfigReference ¶
SetProviderConfigReference of this Tunnel.
func (*Tunnel) SetProviderReference ¶
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 CloudflareEndpoint *string `json:"cloudflareEndpoint" tf:"cloudflare_endpoint,omitempty"` // +kubebuilder:validation:Required CustomerEndpoint *string `json:"customerEndpoint" tf:"customer_endpoint,omitempty"` // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // +kubebuilder:validation:Required InterfaceAddress *string `json:"interfaceAddress" tf:"interface_address,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.