Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=network.hcloud.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Route
- func (in *Route) DeepCopy() *Route
- func (in *Route) DeepCopyInto(out *Route)
- func (in *Route) DeepCopyObject() runtime.Object
- func (mg *Route) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Route) GetConnectionDetailsMapping() map[string]string
- func (mg *Route) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Route) GetID() string
- func (tr *Route) GetObservation() (map[string]interface{}, error)
- func (tr *Route) GetParameters() (map[string]interface{}, error)
- func (mg *Route) GetProviderConfigReference() *xpv1.Reference
- func (mg *Route) GetProviderReference() *xpv1.Reference
- func (mg *Route) GetTerraformResourceType() string
- func (tr *Route) GetTerraformSchemaVersion() int
- func (mg *Route) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Route) LateInitialize(attrs []byte) (bool, error)
- func (mg *Route) SetConditions(c ...xpv1.Condition)
- func (mg *Route) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Route) SetObservation(obs map[string]interface{}) error
- func (tr *Route) SetParameters(params map[string]interface{}) error
- func (mg *Route) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Route) SetProviderReference(r *xpv1.Reference)
- func (mg *Route) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RouteList
- type RouteObservation
- type RouteParameters
- type RouteSpec
- type RouteStatus
- type Subnet
- func (in *Subnet) DeepCopy() *Subnet
- func (in *Subnet) DeepCopyInto(out *Subnet)
- func (in *Subnet) DeepCopyObject() runtime.Object
- func (mg *Subnet) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Subnet) GetConnectionDetailsMapping() map[string]string
- func (mg *Subnet) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Subnet) GetID() string
- func (tr *Subnet) GetObservation() (map[string]interface{}, error)
- func (tr *Subnet) GetParameters() (map[string]interface{}, error)
- func (mg *Subnet) GetProviderConfigReference() *xpv1.Reference
- func (mg *Subnet) GetProviderReference() *xpv1.Reference
- func (mg *Subnet) GetTerraformResourceType() string
- func (tr *Subnet) GetTerraformSchemaVersion() int
- func (mg *Subnet) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Subnet) LateInitialize(attrs []byte) (bool, error)
- func (mg *Subnet) SetConditions(c ...xpv1.Condition)
- func (mg *Subnet) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Subnet) SetObservation(obs map[string]interface{}) error
- func (tr *Subnet) SetParameters(params map[string]interface{}) error
- func (mg *Subnet) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Subnet) SetProviderReference(r *xpv1.Reference)
- func (mg *Subnet) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SubnetList
- type SubnetObservation
- type SubnetParameters
- type SubnetSpec
- type SubnetStatus
Constants ¶
const ( CRDGroup = "network.hcloud.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 ( Route_Kind = "Route" Route_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Route_Kind}.String() Route_KindAPIVersion = Route_Kind + "." + CRDGroupVersion.String() Route_GroupVersionKind = CRDGroupVersion.WithKind(Route_Kind) )
Repository type metadata.
var ( Subnet_Kind = "Subnet" Subnet_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Subnet_Kind}.String() Subnet_KindAPIVersion = Subnet_Kind + "." + CRDGroupVersion.String() Subnet_GroupVersionKind = CRDGroupVersion.WithKind(Subnet_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Route ¶
type Route struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RouteSpec `json:"spec"` Status RouteStatus `json:"status,omitempty"` }
Route is the Schema for the Routes 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,hcloudjet}
func (*Route) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route.
func (*Route) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Route) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Route) GetCondition ¶
func (mg *Route) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Route.
func (*Route) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Route
func (*Route) GetDeletionPolicy ¶
func (mg *Route) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Route.
func (*Route) GetObservation ¶
GetObservation of this Route
func (*Route) GetParameters ¶
GetParameters of this Route
func (*Route) GetProviderConfigReference ¶
GetProviderConfigReference of this Route.
func (*Route) GetProviderReference ¶
GetProviderReference of this Route. Deprecated: Use GetProviderConfigReference.
func (*Route) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Route
func (*Route) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Route) GetWriteConnectionSecretToReference ¶
func (mg *Route) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Route.
func (*Route) LateInitialize ¶
LateInitialize this Route using its observed tfState. returns True if there are any spec changes for the resource.
func (*Route) SetConditions ¶
SetConditions of this Route.
func (*Route) SetDeletionPolicy ¶
func (mg *Route) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Route.
func (*Route) SetObservation ¶
SetObservation for this Route
func (*Route) SetParameters ¶
SetParameters for this Route
func (*Route) SetProviderConfigReference ¶
SetProviderConfigReference of this Route.
func (*Route) SetProviderReference ¶
SetProviderReference of this Route. Deprecated: Use SetProviderConfigReference.
func (*Route) SetWriteConnectionSecretToReference ¶
func (mg *Route) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Route.
type RouteList ¶
type RouteList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Route `json:"items"` }
RouteList contains a list of Routes
func (*RouteList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteList.
func (*RouteList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RouteList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RouteObservation ¶
type RouteObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*RouteObservation) DeepCopy ¶
func (in *RouteObservation) DeepCopy() *RouteObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteObservation.
func (*RouteObservation) DeepCopyInto ¶
func (in *RouteObservation) DeepCopyInto(out *RouteObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteParameters ¶
type RouteParameters struct { // +kubebuilder:validation:Required Destination *string `json:"destination" tf:"destination,omitempty"` // +kubebuilder:validation:Required Gateway *string `json:"gateway" tf:"gateway,omitempty"` // +kubebuilder:validation:Required NetworkID *int64 `json:"networkId" tf:"network_id,omitempty"` }
func (*RouteParameters) DeepCopy ¶
func (in *RouteParameters) DeepCopy() *RouteParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteParameters.
func (*RouteParameters) DeepCopyInto ¶
func (in *RouteParameters) DeepCopyInto(out *RouteParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteSpec ¶
type RouteSpec struct { v1.ResourceSpec `json:",inline"` ForProvider RouteParameters `json:"forProvider"` }
RouteSpec defines the desired state of Route
func (*RouteSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteSpec.
func (*RouteSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteStatus ¶
type RouteStatus struct { v1.ResourceStatus `json:",inline"` AtProvider RouteObservation `json:"atProvider,omitempty"` }
RouteStatus defines the observed state of Route.
func (*RouteStatus) DeepCopy ¶
func (in *RouteStatus) DeepCopy() *RouteStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteStatus.
func (*RouteStatus) DeepCopyInto ¶
func (in *RouteStatus) DeepCopyInto(out *RouteStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Subnet ¶
type Subnet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SubnetSpec `json:"spec"` Status SubnetStatus `json:"status,omitempty"` }
Subnet is the Schema for the Subnets 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,hcloudjet}
func (*Subnet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnet.
func (*Subnet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Subnet) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Subnet) GetCondition ¶
func (mg *Subnet) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Subnet.
func (*Subnet) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Subnet
func (*Subnet) GetDeletionPolicy ¶
func (mg *Subnet) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Subnet.
func (*Subnet) GetObservation ¶
GetObservation of this Subnet
func (*Subnet) GetParameters ¶
GetParameters of this Subnet
func (*Subnet) GetProviderConfigReference ¶
GetProviderConfigReference of this Subnet.
func (*Subnet) GetProviderReference ¶
GetProviderReference of this Subnet. Deprecated: Use GetProviderConfigReference.
func (*Subnet) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Subnet
func (*Subnet) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Subnet) GetWriteConnectionSecretToReference ¶
func (mg *Subnet) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Subnet.
func (*Subnet) LateInitialize ¶
LateInitialize this Subnet using its observed tfState. returns True if there are any spec changes for the resource.
func (*Subnet) SetConditions ¶
SetConditions of this Subnet.
func (*Subnet) SetDeletionPolicy ¶
func (mg *Subnet) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Subnet.
func (*Subnet) SetObservation ¶
SetObservation for this Subnet
func (*Subnet) SetParameters ¶
SetParameters for this Subnet
func (*Subnet) SetProviderConfigReference ¶
SetProviderConfigReference of this Subnet.
func (*Subnet) SetProviderReference ¶
SetProviderReference of this Subnet. Deprecated: Use SetProviderConfigReference.
func (*Subnet) SetWriteConnectionSecretToReference ¶
func (mg *Subnet) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Subnet.
type SubnetList ¶
type SubnetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Subnet `json:"items"` }
SubnetList contains a list of Subnets
func (*SubnetList) DeepCopy ¶
func (in *SubnetList) DeepCopy() *SubnetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetList.
func (*SubnetList) DeepCopyInto ¶
func (in *SubnetList) DeepCopyInto(out *SubnetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubnetList) DeepCopyObject ¶
func (in *SubnetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SubnetList) GetItems ¶
func (l *SubnetList) GetItems() []resource.Managed
GetItems of this SubnetList.
type SubnetObservation ¶
type SubnetObservation struct { Gateway *string `json:"gateway,omitempty" tf:"gateway,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` }
func (*SubnetObservation) DeepCopy ¶
func (in *SubnetObservation) DeepCopy() *SubnetObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetObservation.
func (*SubnetObservation) DeepCopyInto ¶
func (in *SubnetObservation) DeepCopyInto(out *SubnetObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubnetParameters ¶
type SubnetParameters struct { // +kubebuilder:validation:Required IPRange *string `json:"ipRange" tf:"ip_range,omitempty"` // +kubebuilder:validation:Required NetworkID *int64 `json:"networkId" tf:"network_id,omitempty"` // +kubebuilder:validation:Required NetworkZone *string `json:"networkZone" tf:"network_zone,omitempty"` // +kubebuilder:validation:Required Type *string `json:"type" tf:"type,omitempty"` // +kubebuilder:validation:Optional VswitchID *int64 `json:"vswitchId,omitempty" tf:"vswitch_id,omitempty"` }
func (*SubnetParameters) DeepCopy ¶
func (in *SubnetParameters) DeepCopy() *SubnetParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetParameters.
func (*SubnetParameters) DeepCopyInto ¶
func (in *SubnetParameters) DeepCopyInto(out *SubnetParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubnetSpec ¶
type SubnetSpec struct { v1.ResourceSpec `json:",inline"` ForProvider SubnetParameters `json:"forProvider"` }
SubnetSpec defines the desired state of Subnet
func (*SubnetSpec) DeepCopy ¶
func (in *SubnetSpec) DeepCopy() *SubnetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetSpec.
func (*SubnetSpec) DeepCopyInto ¶
func (in *SubnetSpec) DeepCopyInto(out *SubnetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubnetStatus ¶
type SubnetStatus struct { v1.ResourceStatus `json:",inline"` AtProvider SubnetObservation `json:"atProvider,omitempty"` }
SubnetStatus defines the observed state of Subnet.
func (*SubnetStatus) DeepCopy ¶
func (in *SubnetStatus) DeepCopy() *SubnetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetStatus.
func (*SubnetStatus) DeepCopyInto ¶
func (in *SubnetStatus) DeepCopyInto(out *SubnetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.