Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=vpnwireguard.ionoscloud.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type ConnectionsInitParameters
- type ConnectionsObservation
- type ConnectionsParameters
- type EndpointInitParameters
- type EndpointObservation
- type EndpointParameters
- type MaintenanceWindowInitParameters
- type MaintenanceWindowObservation
- type MaintenanceWindowParameters
- type VpnWireguardGateway
- func (in *VpnWireguardGateway) DeepCopy() *VpnWireguardGateway
- func (in *VpnWireguardGateway) DeepCopyInto(out *VpnWireguardGateway)
- func (in *VpnWireguardGateway) DeepCopyObject() runtime.Object
- func (mg *VpnWireguardGateway) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *VpnWireguardGateway) GetConnectionDetailsMapping() map[string]string
- func (mg *VpnWireguardGateway) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *VpnWireguardGateway) GetID() string
- func (tr *VpnWireguardGateway) GetInitParameters() (map[string]any, error)
- func (mg *VpnWireguardGateway) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *VpnWireguardGateway) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *VpnWireguardGateway) GetObservation() (map[string]any, error)
- func (tr *VpnWireguardGateway) GetParameters() (map[string]any, error)
- func (mg *VpnWireguardGateway) GetProviderConfigReference() *xpv1.Reference
- func (mg *VpnWireguardGateway) GetTerraformResourceType() string
- func (tr *VpnWireguardGateway) GetTerraformSchemaVersion() int
- func (mg *VpnWireguardGateway) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *VpnWireguardGateway) Hub()
- func (tr *VpnWireguardGateway) LateInitialize(attrs []byte) (bool, error)
- func (mg *VpnWireguardGateway) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *VpnWireguardGateway) SetConditions(c ...xpv1.Condition)
- func (mg *VpnWireguardGateway) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *VpnWireguardGateway) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *VpnWireguardGateway) SetObservation(obs map[string]any) error
- func (tr *VpnWireguardGateway) SetParameters(params map[string]any) error
- func (mg *VpnWireguardGateway) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *VpnWireguardGateway) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type VpnWireguardGatewayInitParameters
- type VpnWireguardGatewayList
- type VpnWireguardGatewayObservation
- type VpnWireguardGatewayParameters
- type VpnWireguardGatewaySpec
- type VpnWireguardGatewayStatus
- type VpnWireguardPeer
- func (in *VpnWireguardPeer) DeepCopy() *VpnWireguardPeer
- func (in *VpnWireguardPeer) DeepCopyInto(out *VpnWireguardPeer)
- func (in *VpnWireguardPeer) DeepCopyObject() runtime.Object
- func (mg *VpnWireguardPeer) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *VpnWireguardPeer) GetConnectionDetailsMapping() map[string]string
- func (mg *VpnWireguardPeer) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *VpnWireguardPeer) GetID() string
- func (tr *VpnWireguardPeer) GetInitParameters() (map[string]any, error)
- func (mg *VpnWireguardPeer) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *VpnWireguardPeer) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *VpnWireguardPeer) GetObservation() (map[string]any, error)
- func (tr *VpnWireguardPeer) GetParameters() (map[string]any, error)
- func (mg *VpnWireguardPeer) GetProviderConfigReference() *xpv1.Reference
- func (mg *VpnWireguardPeer) GetTerraformResourceType() string
- func (tr *VpnWireguardPeer) GetTerraformSchemaVersion() int
- func (mg *VpnWireguardPeer) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *VpnWireguardPeer) Hub()
- func (tr *VpnWireguardPeer) LateInitialize(attrs []byte) (bool, error)
- func (mg *VpnWireguardPeer) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *VpnWireguardPeer) SetConditions(c ...xpv1.Condition)
- func (mg *VpnWireguardPeer) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *VpnWireguardPeer) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *VpnWireguardPeer) SetObservation(obs map[string]any) error
- func (tr *VpnWireguardPeer) SetParameters(params map[string]any) error
- func (mg *VpnWireguardPeer) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *VpnWireguardPeer) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type VpnWireguardPeerInitParameters
- type VpnWireguardPeerList
- type VpnWireguardPeerObservation
- type VpnWireguardPeerParameters
- type VpnWireguardPeerSpec
- type VpnWireguardPeerStatus
Constants ¶
const ( CRDGroup = "vpnwireguard.ionoscloud.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 ( VpnWireguardGateway_Kind = "VpnWireguardGateway" VpnWireguardGateway_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VpnWireguardGateway_Kind}.String() VpnWireguardGateway_KindAPIVersion = VpnWireguardGateway_Kind + "." + CRDGroupVersion.String() VpnWireguardGateway_GroupVersionKind = CRDGroupVersion.WithKind(VpnWireguardGateway_Kind) )
Repository type metadata.
var ( VpnWireguardPeer_Kind = "VpnWireguardPeer" VpnWireguardPeer_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VpnWireguardPeer_Kind}.String() VpnWireguardPeer_KindAPIVersion = VpnWireguardPeer_Kind + "." + CRDGroupVersion.String() VpnWireguardPeer_GroupVersionKind = CRDGroupVersion.WithKind(VpnWireguardPeer_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type ConnectionsInitParameters ¶
type ConnectionsInitParameters struct {
// [String] The ID of the datacenter where the WireGuard Gateway is located.
// +crossplane:generate:reference:type=github.com/ionos-cloud/provider-upjet-ionoscloud/apis/cluster/compute/v1alpha1.Datacenter
DatacenterID *string `json:"datacenterId,omitempty" tf:"datacenter_id,omitempty"`
// Reference to a Datacenter in compute to populate datacenterId.
// +kubebuilder:validation:Optional
DatacenterIDRef *v1.Reference `json:"datacenterIdRef,omitempty" tf:"-"`
// Selector for a Datacenter in compute to populate datacenterId.
// +kubebuilder:validation:Optional
DatacenterIDSelector *v1.Selector `json:"datacenterIdSelector,omitempty" tf:"-"`
// [String] The IPv4 CIDR for the WireGuard Gateway connection.
IPv4Cidr *string `json:"ipv4Cidr,omitempty" tf:"ipv4_cidr,omitempty"`
// [String] The IPv6 CIDR for the WireGuard Gateway connection.
IPv6Cidr *string `json:"ipv6Cidr,omitempty" tf:"ipv6_cidr,omitempty"`
// [String] The ID of the LAN where the WireGuard Gateway is connected.
// +crossplane:generate:reference:type=github.com/ionos-cloud/provider-upjet-ionoscloud/apis/cluster/compute/v1alpha1.Lan
LanID *string `json:"lanId,omitempty" tf:"lan_id,omitempty"`
// Reference to a Lan in compute to populate lanId.
// +kubebuilder:validation:Optional
LanIDRef *v1.Reference `json:"lanIdRef,omitempty" tf:"-"`
// Selector for a Lan in compute to populate lanId.
// +kubebuilder:validation:Optional
LanIDSelector *v1.Selector `json:"lanIdSelector,omitempty" tf:"-"`
}
func (*ConnectionsInitParameters) DeepCopy ¶
func (in *ConnectionsInitParameters) DeepCopy() *ConnectionsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionsInitParameters.
func (*ConnectionsInitParameters) DeepCopyInto ¶
func (in *ConnectionsInitParameters) DeepCopyInto(out *ConnectionsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectionsObservation ¶
type ConnectionsObservation struct {
// [String] The ID of the datacenter where the WireGuard Gateway is located.
DatacenterID *string `json:"datacenterId,omitempty" tf:"datacenter_id,omitempty"`
// [String] The IPv4 CIDR for the WireGuard Gateway connection.
IPv4Cidr *string `json:"ipv4Cidr,omitempty" tf:"ipv4_cidr,omitempty"`
// [String] The IPv6 CIDR for the WireGuard Gateway connection.
IPv6Cidr *string `json:"ipv6Cidr,omitempty" tf:"ipv6_cidr,omitempty"`
// [String] The ID of the LAN where the WireGuard Gateway is connected.
LanID *string `json:"lanId,omitempty" tf:"lan_id,omitempty"`
}
func (*ConnectionsObservation) DeepCopy ¶
func (in *ConnectionsObservation) DeepCopy() *ConnectionsObservation
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 {
// [String] The ID of the datacenter where the WireGuard Gateway is located.
// +crossplane:generate:reference:type=github.com/ionos-cloud/provider-upjet-ionoscloud/apis/cluster/compute/v1alpha1.Datacenter
// +kubebuilder:validation:Optional
DatacenterID *string `json:"datacenterId,omitempty" tf:"datacenter_id,omitempty"`
// Reference to a Datacenter in compute to populate datacenterId.
// +kubebuilder:validation:Optional
DatacenterIDRef *v1.Reference `json:"datacenterIdRef,omitempty" tf:"-"`
// Selector for a Datacenter in compute to populate datacenterId.
// +kubebuilder:validation:Optional
DatacenterIDSelector *v1.Selector `json:"datacenterIdSelector,omitempty" tf:"-"`
// [String] The IPv4 CIDR for the WireGuard Gateway connection.
// +kubebuilder:validation:Optional
IPv4Cidr *string `json:"ipv4Cidr,omitempty" tf:"ipv4_cidr,omitempty"`
// [String] The IPv6 CIDR for the WireGuard Gateway connection.
// +kubebuilder:validation:Optional
IPv6Cidr *string `json:"ipv6Cidr,omitempty" tf:"ipv6_cidr,omitempty"`
// [String] The ID of the LAN where the WireGuard Gateway is connected.
// +crossplane:generate:reference:type=github.com/ionos-cloud/provider-upjet-ionoscloud/apis/cluster/compute/v1alpha1.Lan
// +kubebuilder:validation:Optional
LanID *string `json:"lanId,omitempty" tf:"lan_id,omitempty"`
// Reference to a Lan in compute to populate lanId.
// +kubebuilder:validation:Optional
LanIDRef *v1.Reference `json:"lanIdRef,omitempty" tf:"-"`
// Selector for a Lan in compute to populate lanId.
// +kubebuilder:validation:Optional
LanIDSelector *v1.Selector `json:"lanIdSelector,omitempty" tf:"-"`
}
func (*ConnectionsParameters) DeepCopy ¶
func (in *ConnectionsParameters) DeepCopy() *ConnectionsParameters
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 EndpointInitParameters ¶
type EndpointInitParameters struct {
// [string] The hostname or IPV4 address that the WireGuard Server will connect to.
// Hostname or IPV4 address that the WireGuard Server will connect to.
Host *string `json:"host,omitempty" tf:"host,omitempty"`
// [int] The port that the WireGuard Server will connect to. Defaults to 51820.
// Port that the WireGuard Server will connect to.
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
}
func (*EndpointInitParameters) DeepCopy ¶
func (in *EndpointInitParameters) DeepCopy() *EndpointInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointInitParameters.
func (*EndpointInitParameters) DeepCopyInto ¶
func (in *EndpointInitParameters) DeepCopyInto(out *EndpointInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointObservation ¶
type EndpointObservation struct {
// [string] The hostname or IPV4 address that the WireGuard Server will connect to.
// Hostname or IPV4 address that the WireGuard Server will connect to.
Host *string `json:"host,omitempty" tf:"host,omitempty"`
// [int] The port that the WireGuard Server will connect to. Defaults to 51820.
// Port that the WireGuard Server will connect to.
Port *float64 `json:"port,omitempty" tf:"port,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 {
// [string] The hostname or IPV4 address that the WireGuard Server will connect to.
// Hostname or IPV4 address that the WireGuard Server will connect to.
// +kubebuilder:validation:Optional
Host *string `json:"host" tf:"host,omitempty"`
// [int] The port that the WireGuard Server will connect to. Defaults to 51820.
// Port that the WireGuard Server will connect to.
// +kubebuilder:validation:Optional
Port *float64 `json:"port,omitempty" tf:"port,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 MaintenanceWindowInitParameters ¶
type MaintenanceWindowInitParameters struct {
// [string] The name of the week day.
// The name of the week day
DayOfTheWeek *string `json:"dayOfTheWeek,omitempty" tf:"day_of_the_week,omitempty"`
// [string] Start of the maintenance window in UTC time.
// Start of the maintenance window in UTC time.
Time *string `json:"time,omitempty" tf:"time,omitempty"`
}
func (*MaintenanceWindowInitParameters) DeepCopy ¶
func (in *MaintenanceWindowInitParameters) DeepCopy() *MaintenanceWindowInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceWindowInitParameters.
func (*MaintenanceWindowInitParameters) DeepCopyInto ¶
func (in *MaintenanceWindowInitParameters) DeepCopyInto(out *MaintenanceWindowInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaintenanceWindowObservation ¶
type MaintenanceWindowObservation struct {
// [string] The name of the week day.
// The name of the week day
DayOfTheWeek *string `json:"dayOfTheWeek,omitempty" tf:"day_of_the_week,omitempty"`
// [string] Start of the maintenance window in UTC time.
// Start of the maintenance window in UTC time.
Time *string `json:"time,omitempty" tf:"time,omitempty"`
}
func (*MaintenanceWindowObservation) DeepCopy ¶
func (in *MaintenanceWindowObservation) DeepCopy() *MaintenanceWindowObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceWindowObservation.
func (*MaintenanceWindowObservation) DeepCopyInto ¶
func (in *MaintenanceWindowObservation) DeepCopyInto(out *MaintenanceWindowObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaintenanceWindowParameters ¶
type MaintenanceWindowParameters struct {
// [string] The name of the week day.
// The name of the week day
// +kubebuilder:validation:Optional
DayOfTheWeek *string `json:"dayOfTheWeek" tf:"day_of_the_week,omitempty"`
// [string] Start of the maintenance window in UTC time.
// Start of the maintenance window in UTC time.
// +kubebuilder:validation:Optional
Time *string `json:"time" tf:"time,omitempty"`
}
func (*MaintenanceWindowParameters) DeepCopy ¶
func (in *MaintenanceWindowParameters) DeepCopy() *MaintenanceWindowParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceWindowParameters.
func (*MaintenanceWindowParameters) DeepCopyInto ¶
func (in *MaintenanceWindowParameters) DeepCopyInto(out *MaintenanceWindowParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VpnWireguardGateway ¶
type VpnWireguardGateway 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.connections) || (has(self.initProvider) && has(self.initProvider.connections))",message="spec.forProvider.connections is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.privateKeySecretRef)",message="spec.forProvider.privateKeySecretRef is a required parameter"
Spec VpnWireguardGatewaySpec `json:"spec"`
Status VpnWireguardGatewayStatus `json:"status,omitempty"`
}
VpnWireguardGateway is the Schema for the VpnWireguardGateways API. Creates and manages IonosCloud VPN Wireguard Gateway objects. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,ionos}
func (*VpnWireguardGateway) DeepCopy ¶
func (in *VpnWireguardGateway) DeepCopy() *VpnWireguardGateway
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpnWireguardGateway.
func (*VpnWireguardGateway) DeepCopyInto ¶
func (in *VpnWireguardGateway) DeepCopyInto(out *VpnWireguardGateway)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VpnWireguardGateway) DeepCopyObject ¶
func (in *VpnWireguardGateway) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VpnWireguardGateway) GetCondition ¶
func (mg *VpnWireguardGateway) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this VpnWireguardGateway.
func (*VpnWireguardGateway) GetConnectionDetailsMapping ¶
func (tr *VpnWireguardGateway) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this VpnWireguardGateway
func (*VpnWireguardGateway) GetDeletionPolicy ¶
func (mg *VpnWireguardGateway) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this VpnWireguardGateway.
func (*VpnWireguardGateway) GetID ¶
func (tr *VpnWireguardGateway) GetID() string
GetID returns ID of underlying Terraform resource of this VpnWireguardGateway
func (*VpnWireguardGateway) GetInitParameters ¶
func (tr *VpnWireguardGateway) GetInitParameters() (map[string]any, error)
GetInitParameters of this VpnWireguardGateway
func (*VpnWireguardGateway) GetManagementPolicies ¶
func (mg *VpnWireguardGateway) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this VpnWireguardGateway.
func (*VpnWireguardGateway) GetMergedParameters ¶
func (tr *VpnWireguardGateway) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this VpnWireguardGateway
func (*VpnWireguardGateway) GetObservation ¶
func (tr *VpnWireguardGateway) GetObservation() (map[string]any, error)
GetObservation of this VpnWireguardGateway
func (*VpnWireguardGateway) GetParameters ¶
func (tr *VpnWireguardGateway) GetParameters() (map[string]any, error)
GetParameters of this VpnWireguardGateway
func (*VpnWireguardGateway) GetProviderConfigReference ¶
func (mg *VpnWireguardGateway) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this VpnWireguardGateway.
func (*VpnWireguardGateway) GetTerraformResourceType ¶
func (mg *VpnWireguardGateway) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this VpnWireguardGateway
func (*VpnWireguardGateway) GetTerraformSchemaVersion ¶
func (tr *VpnWireguardGateway) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*VpnWireguardGateway) GetWriteConnectionSecretToReference ¶
func (mg *VpnWireguardGateway) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this VpnWireguardGateway.
func (*VpnWireguardGateway) Hub ¶
func (tr *VpnWireguardGateway) Hub()
Hub marks this type as a conversion hub.
func (*VpnWireguardGateway) LateInitialize ¶
func (tr *VpnWireguardGateway) LateInitialize(attrs []byte) (bool, error)
LateInitialize this VpnWireguardGateway using its observed tfState. returns True if there are any spec changes for the resource.
func (*VpnWireguardGateway) ResolveReferences ¶
func (*VpnWireguardGateway) SetConditions ¶
func (mg *VpnWireguardGateway) SetConditions(c ...xpv1.Condition)
SetConditions of this VpnWireguardGateway.
func (*VpnWireguardGateway) SetDeletionPolicy ¶
func (mg *VpnWireguardGateway) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this VpnWireguardGateway.
func (*VpnWireguardGateway) SetManagementPolicies ¶
func (mg *VpnWireguardGateway) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this VpnWireguardGateway.
func (*VpnWireguardGateway) SetObservation ¶
func (tr *VpnWireguardGateway) SetObservation(obs map[string]any) error
SetObservation for this VpnWireguardGateway
func (*VpnWireguardGateway) SetParameters ¶
func (tr *VpnWireguardGateway) SetParameters(params map[string]any) error
SetParameters for this VpnWireguardGateway
func (*VpnWireguardGateway) SetProviderConfigReference ¶
func (mg *VpnWireguardGateway) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this VpnWireguardGateway.
func (*VpnWireguardGateway) SetWriteConnectionSecretToReference ¶
func (mg *VpnWireguardGateway) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this VpnWireguardGateway.
type VpnWireguardGatewayInitParameters ¶
type VpnWireguardGatewayInitParameters struct {
// [Block] The connection configuration for the WireGuard Gateway. This block supports fields documented below.
Connections []ConnectionsInitParameters `json:"connections,omitempty" tf:"connections,omitempty"`
// [String] A description of the WireGuard Gateway.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// [String] The IP address of the WireGuard Gateway.
// +crossplane:generate:reference:type=github.com/ionos-cloud/provider-upjet-ionoscloud/apis/cluster/compute/v1alpha1.Ipblock
// +crossplane:generate:reference:extractor=github.com/ionos-cloud/provider-upjet-ionoscloud/config/common.FirstIPBlockIP()
GatewayIP *string `json:"gatewayIp,omitempty" tf:"gateway_ip,omitempty"`
// Reference to a Ipblock in compute to populate gatewayIp.
// +kubebuilder:validation:Optional
GatewayIPRef *v1.Reference `json:"gatewayIpRef,omitempty" tf:"-"`
// Selector for a Ipblock in compute to populate gatewayIp.
// +kubebuilder:validation:Optional
GatewayIPSelector *v1.Selector `json:"gatewayIpSelector,omitempty" tf:"-"`
// [String] The IPv4 CIDR for the WireGuard Gateway interface.
// The IPV4 address (with CIDR mask) to be assigned to the WireGuard interface.
// __Note__: either interfaceIPv4CIDR or interfaceIPv6CIDR is __required__.
InterfaceIPv4Cidr *string `json:"interfaceIpv4Cidr,omitempty" tf:"interface_ipv4_cidr,omitempty"`
// [String] The IPv6 CIDR for the WireGuard Gateway interface.
// The IPV6 address (with CIDR mask) to be assigned to the WireGuard interface.
// __Note__: either interfaceIPv6CIDR or interfaceIPv4CIDR is __required__.
InterfaceIPv6Cidr *string `json:"interfaceIpv6Cidr,omitempty" tf:"interface_ipv6_cidr,omitempty"`
ListenPort *float64 `json:"listenPort,omitempty" tf:"listen_port,omitempty"`
// [String] The location of the WireGuard Gateway. Supported locations: de/fra, de/txl, es/vit,
// gb/bhx, gb/lhr, us/ewr, us/las, us/mci, fr/par.
// The location of the WireGuard Gateway. Supported locations: de/fra, de/txl, es/vit, gb/bhx, gb/lhr, us/ewr, us/las, us/mci, fr/par
Location *string `json:"location,omitempty" tf:"location,omitempty"`
// (Computed) A weekly 4 hour-long window, during which maintenance might occur.
// A weekly 4 hour-long window, during which maintenance might occur
MaintenanceWindow *MaintenanceWindowInitParameters `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"`
// [String] The name of the WireGuard Gateway.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// [String] The private key for the WireGuard Gateway. To be created with the wg utility.
// PrivateKey used for WireGuard Server
PrivateKeySecretRef v1.SecretKeySelector `json:"privateKeySecretRef" tf:"-"`
// (Computed)[string] Gateway performance options. See product documentation for full details. Options: STANDARD, STANDARD_HA, ENHANCED, ENHANCED_HA, PREMIUM, PREMIUM_HA.
// Gateway performance options. See the documentation for the available options
Tier *string `json:"tier,omitempty" tf:"tier,omitempty"`
}
func (*VpnWireguardGatewayInitParameters) DeepCopy ¶
func (in *VpnWireguardGatewayInitParameters) DeepCopy() *VpnWireguardGatewayInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpnWireguardGatewayInitParameters.
func (*VpnWireguardGatewayInitParameters) DeepCopyInto ¶
func (in *VpnWireguardGatewayInitParameters) DeepCopyInto(out *VpnWireguardGatewayInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VpnWireguardGatewayList ¶
type VpnWireguardGatewayList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []VpnWireguardGateway `json:"items"`
}
VpnWireguardGatewayList contains a list of VpnWireguardGateways
func (*VpnWireguardGatewayList) DeepCopy ¶
func (in *VpnWireguardGatewayList) DeepCopy() *VpnWireguardGatewayList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpnWireguardGatewayList.
func (*VpnWireguardGatewayList) DeepCopyInto ¶
func (in *VpnWireguardGatewayList) DeepCopyInto(out *VpnWireguardGatewayList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VpnWireguardGatewayList) DeepCopyObject ¶
func (in *VpnWireguardGatewayList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VpnWireguardGatewayList) GetItems ¶
func (l *VpnWireguardGatewayList) GetItems() []resource.Managed
GetItems of this VpnWireguardGatewayList.
type VpnWireguardGatewayObservation ¶
type VpnWireguardGatewayObservation struct {
// [Block] The connection configuration for the WireGuard Gateway. This block supports fields documented below.
Connections []ConnectionsObservation `json:"connections,omitempty" tf:"connections,omitempty"`
// [String] A description of the WireGuard Gateway.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// [String] The IP address of the WireGuard Gateway.
GatewayIP *string `json:"gatewayIp,omitempty" tf:"gateway_ip,omitempty"`
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// [String] The IPv4 CIDR for the WireGuard Gateway interface.
// The IPV4 address (with CIDR mask) to be assigned to the WireGuard interface.
// __Note__: either interfaceIPv4CIDR or interfaceIPv6CIDR is __required__.
InterfaceIPv4Cidr *string `json:"interfaceIpv4Cidr,omitempty" tf:"interface_ipv4_cidr,omitempty"`
// [String] The IPv6 CIDR for the WireGuard Gateway interface.
// The IPV6 address (with CIDR mask) to be assigned to the WireGuard interface.
// __Note__: either interfaceIPv6CIDR or interfaceIPv4CIDR is __required__.
InterfaceIPv6Cidr *string `json:"interfaceIpv6Cidr,omitempty" tf:"interface_ipv6_cidr,omitempty"`
ListenPort *float64 `json:"listenPort,omitempty" tf:"listen_port,omitempty"`
// [String] The location of the WireGuard Gateway. Supported locations: de/fra, de/txl, es/vit,
// gb/bhx, gb/lhr, us/ewr, us/las, us/mci, fr/par.
// The location of the WireGuard Gateway. Supported locations: de/fra, de/txl, es/vit, gb/bhx, gb/lhr, us/ewr, us/las, us/mci, fr/par
Location *string `json:"location,omitempty" tf:"location,omitempty"`
// (Computed) A weekly 4 hour-long window, during which maintenance might occur.
// A weekly 4 hour-long window, during which maintenance might occur
MaintenanceWindow *MaintenanceWindowObservation `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"`
// [String] The name of the WireGuard Gateway.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// (Computed)[String] The public key for the WireGuard Gateway.
// PublicKey used for WireGuard Server. Received in response from API
PublicKey *string `json:"publicKey,omitempty" tf:"public_key,omitempty"`
// (Computed)[String] The current status of the WireGuard Gateway.
// The status of the WireGuard Gateway
Status *string `json:"status,omitempty" tf:"status,omitempty"`
// (Computed)[string] Gateway performance options. See product documentation for full details. Options: STANDARD, STANDARD_HA, ENHANCED, ENHANCED_HA, PREMIUM, PREMIUM_HA.
// Gateway performance options. See the documentation for the available options
Tier *string `json:"tier,omitempty" tf:"tier,omitempty"`
}
func (*VpnWireguardGatewayObservation) DeepCopy ¶
func (in *VpnWireguardGatewayObservation) DeepCopy() *VpnWireguardGatewayObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpnWireguardGatewayObservation.
func (*VpnWireguardGatewayObservation) DeepCopyInto ¶
func (in *VpnWireguardGatewayObservation) DeepCopyInto(out *VpnWireguardGatewayObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VpnWireguardGatewayParameters ¶
type VpnWireguardGatewayParameters struct {
// [Block] The connection configuration for the WireGuard Gateway. This block supports fields documented below.
// +kubebuilder:validation:Optional
Connections []ConnectionsParameters `json:"connections,omitempty" tf:"connections,omitempty"`
// [String] A description of the WireGuard Gateway.
// +kubebuilder:validation:Optional
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// [String] The IP address of the WireGuard Gateway.
// +crossplane:generate:reference:type=github.com/ionos-cloud/provider-upjet-ionoscloud/apis/cluster/compute/v1alpha1.Ipblock
// +crossplane:generate:reference:extractor=github.com/ionos-cloud/provider-upjet-ionoscloud/config/common.FirstIPBlockIP()
// +kubebuilder:validation:Optional
GatewayIP *string `json:"gatewayIp,omitempty" tf:"gateway_ip,omitempty"`
// Reference to a Ipblock in compute to populate gatewayIp.
// +kubebuilder:validation:Optional
GatewayIPRef *v1.Reference `json:"gatewayIpRef,omitempty" tf:"-"`
// Selector for a Ipblock in compute to populate gatewayIp.
// +kubebuilder:validation:Optional
GatewayIPSelector *v1.Selector `json:"gatewayIpSelector,omitempty" tf:"-"`
// [String] The IPv4 CIDR for the WireGuard Gateway interface.
// The IPV4 address (with CIDR mask) to be assigned to the WireGuard interface.
// __Note__: either interfaceIPv4CIDR or interfaceIPv6CIDR is __required__.
// +kubebuilder:validation:Optional
InterfaceIPv4Cidr *string `json:"interfaceIpv4Cidr,omitempty" tf:"interface_ipv4_cidr,omitempty"`
// [String] The IPv6 CIDR for the WireGuard Gateway interface.
// The IPV6 address (with CIDR mask) to be assigned to the WireGuard interface.
// __Note__: either interfaceIPv6CIDR or interfaceIPv4CIDR is __required__.
// +kubebuilder:validation:Optional
InterfaceIPv6Cidr *string `json:"interfaceIpv6Cidr,omitempty" tf:"interface_ipv6_cidr,omitempty"`
// +kubebuilder:validation:Optional
ListenPort *float64 `json:"listenPort,omitempty" tf:"listen_port,omitempty"`
// [String] The location of the WireGuard Gateway. Supported locations: de/fra, de/txl, es/vit,
// gb/bhx, gb/lhr, us/ewr, us/las, us/mci, fr/par.
// The location of the WireGuard Gateway. Supported locations: de/fra, de/txl, es/vit, gb/bhx, gb/lhr, us/ewr, us/las, us/mci, fr/par
// +kubebuilder:validation:Optional
Location *string `json:"location,omitempty" tf:"location,omitempty"`
// (Computed) A weekly 4 hour-long window, during which maintenance might occur.
// A weekly 4 hour-long window, during which maintenance might occur
// +kubebuilder:validation:Optional
MaintenanceWindow *MaintenanceWindowParameters `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"`
// [String] The name of the WireGuard Gateway.
// +kubebuilder:validation:Optional
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// [String] The private key for the WireGuard Gateway. To be created with the wg utility.
// PrivateKey used for WireGuard Server
// +kubebuilder:validation:Optional
PrivateKeySecretRef v1.SecretKeySelector `json:"privateKeySecretRef" tf:"-"`
// (Computed)[string] Gateway performance options. See product documentation for full details. Options: STANDARD, STANDARD_HA, ENHANCED, ENHANCED_HA, PREMIUM, PREMIUM_HA.
// Gateway performance options. See the documentation for the available options
// +kubebuilder:validation:Optional
Tier *string `json:"tier,omitempty" tf:"tier,omitempty"`
}
func (*VpnWireguardGatewayParameters) DeepCopy ¶
func (in *VpnWireguardGatewayParameters) DeepCopy() *VpnWireguardGatewayParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpnWireguardGatewayParameters.
func (*VpnWireguardGatewayParameters) DeepCopyInto ¶
func (in *VpnWireguardGatewayParameters) DeepCopyInto(out *VpnWireguardGatewayParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VpnWireguardGatewaySpec ¶
type VpnWireguardGatewaySpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider VpnWireguardGatewayParameters `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 VpnWireguardGatewayInitParameters `json:"initProvider,omitempty"`
}
VpnWireguardGatewaySpec defines the desired state of VpnWireguardGateway
func (*VpnWireguardGatewaySpec) DeepCopy ¶
func (in *VpnWireguardGatewaySpec) DeepCopy() *VpnWireguardGatewaySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpnWireguardGatewaySpec.
func (*VpnWireguardGatewaySpec) DeepCopyInto ¶
func (in *VpnWireguardGatewaySpec) DeepCopyInto(out *VpnWireguardGatewaySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VpnWireguardGatewayStatus ¶
type VpnWireguardGatewayStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider VpnWireguardGatewayObservation `json:"atProvider,omitempty"`
}
VpnWireguardGatewayStatus defines the observed state of VpnWireguardGateway.
func (*VpnWireguardGatewayStatus) DeepCopy ¶
func (in *VpnWireguardGatewayStatus) DeepCopy() *VpnWireguardGatewayStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpnWireguardGatewayStatus.
func (*VpnWireguardGatewayStatus) DeepCopyInto ¶
func (in *VpnWireguardGatewayStatus) DeepCopyInto(out *VpnWireguardGatewayStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VpnWireguardPeer ¶
type VpnWireguardPeer 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.allowedIps) || (has(self.initProvider) && has(self.initProvider.allowedIps))",message="spec.forProvider.allowedIps is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.publicKey) || (has(self.initProvider) && has(self.initProvider.publicKey))",message="spec.forProvider.publicKey is a required parameter"
Spec VpnWireguardPeerSpec `json:"spec"`
Status VpnWireguardPeerStatus `json:"status,omitempty"`
}
VpnWireguardPeer is the Schema for the VpnWireguardPeers API. Creates and manages IonosCloud VPN Wireguard Gateway Peer objects. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,ionos}
func (*VpnWireguardPeer) DeepCopy ¶
func (in *VpnWireguardPeer) DeepCopy() *VpnWireguardPeer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpnWireguardPeer.
func (*VpnWireguardPeer) DeepCopyInto ¶
func (in *VpnWireguardPeer) DeepCopyInto(out *VpnWireguardPeer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VpnWireguardPeer) DeepCopyObject ¶
func (in *VpnWireguardPeer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VpnWireguardPeer) GetCondition ¶
func (mg *VpnWireguardPeer) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this VpnWireguardPeer.
func (*VpnWireguardPeer) GetConnectionDetailsMapping ¶
func (tr *VpnWireguardPeer) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this VpnWireguardPeer
func (*VpnWireguardPeer) GetDeletionPolicy ¶
func (mg *VpnWireguardPeer) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this VpnWireguardPeer.
func (*VpnWireguardPeer) GetID ¶
func (tr *VpnWireguardPeer) GetID() string
GetID returns ID of underlying Terraform resource of this VpnWireguardPeer
func (*VpnWireguardPeer) GetInitParameters ¶
func (tr *VpnWireguardPeer) GetInitParameters() (map[string]any, error)
GetInitParameters of this VpnWireguardPeer
func (*VpnWireguardPeer) GetManagementPolicies ¶
func (mg *VpnWireguardPeer) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this VpnWireguardPeer.
func (*VpnWireguardPeer) GetMergedParameters ¶
func (tr *VpnWireguardPeer) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this VpnWireguardPeer
func (*VpnWireguardPeer) GetObservation ¶
func (tr *VpnWireguardPeer) GetObservation() (map[string]any, error)
GetObservation of this VpnWireguardPeer
func (*VpnWireguardPeer) GetParameters ¶
func (tr *VpnWireguardPeer) GetParameters() (map[string]any, error)
GetParameters of this VpnWireguardPeer
func (*VpnWireguardPeer) GetProviderConfigReference ¶
func (mg *VpnWireguardPeer) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this VpnWireguardPeer.
func (*VpnWireguardPeer) GetTerraformResourceType ¶
func (mg *VpnWireguardPeer) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this VpnWireguardPeer
func (*VpnWireguardPeer) GetTerraformSchemaVersion ¶
func (tr *VpnWireguardPeer) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*VpnWireguardPeer) GetWriteConnectionSecretToReference ¶
func (mg *VpnWireguardPeer) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this VpnWireguardPeer.
func (*VpnWireguardPeer) Hub ¶
func (tr *VpnWireguardPeer) Hub()
Hub marks this type as a conversion hub.
func (*VpnWireguardPeer) LateInitialize ¶
func (tr *VpnWireguardPeer) LateInitialize(attrs []byte) (bool, error)
LateInitialize this VpnWireguardPeer using its observed tfState. returns True if there are any spec changes for the resource.
func (*VpnWireguardPeer) ResolveReferences ¶
ResolveReferences of this VpnWireguardPeer.
func (*VpnWireguardPeer) SetConditions ¶
func (mg *VpnWireguardPeer) SetConditions(c ...xpv1.Condition)
SetConditions of this VpnWireguardPeer.
func (*VpnWireguardPeer) SetDeletionPolicy ¶
func (mg *VpnWireguardPeer) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this VpnWireguardPeer.
func (*VpnWireguardPeer) SetManagementPolicies ¶
func (mg *VpnWireguardPeer) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this VpnWireguardPeer.
func (*VpnWireguardPeer) SetObservation ¶
func (tr *VpnWireguardPeer) SetObservation(obs map[string]any) error
SetObservation for this VpnWireguardPeer
func (*VpnWireguardPeer) SetParameters ¶
func (tr *VpnWireguardPeer) SetParameters(params map[string]any) error
SetParameters for this VpnWireguardPeer
func (*VpnWireguardPeer) SetProviderConfigReference ¶
func (mg *VpnWireguardPeer) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this VpnWireguardPeer.
func (*VpnWireguardPeer) SetWriteConnectionSecretToReference ¶
func (mg *VpnWireguardPeer) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this VpnWireguardPeer.
type VpnWireguardPeerInitParameters ¶
type VpnWireguardPeerInitParameters struct {
// [list, string] A list of subnet CIDRs that are allowed to connect to the WireGuard Gateway.
// The subnet CIDRs that are allowed to connect to the WireGuard Gateway.
AllowedIps []*string `json:"allowedIps,omitempty" tf:"allowed_ips,omitempty"`
// [string] A description of the WireGuard Gateway.
// Human readable description of the WireGuard Gateway Peer.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// [block] An endpoint configuration block for the WireGuard Gateway. The structure of this block is as follows:
// Endpoint configuration for the WireGuard Peer.
Endpoint *EndpointInitParameters `json:"endpoint,omitempty" tf:"endpoint,omitempty"`
// [string] The ID of the WireGuard Gateway that the Peer will connect to.
// The ID of the WireGuard Peer that the peer will connect to.
// +crossplane:generate:reference:type=github.com/ionos-cloud/provider-upjet-ionoscloud/apis/cluster/vpnwireguard/v1alpha1.VpnWireguardGateway
GatewayID *string `json:"gatewayId,omitempty" tf:"gateway_id,omitempty"`
// Reference to a VpnWireguardGateway in vpnwireguard to populate gatewayId.
// +kubebuilder:validation:Optional
GatewayIDRef *v1.Reference `json:"gatewayIdRef,omitempty" tf:"-"`
// Selector for a VpnWireguardGateway in vpnwireguard to populate gatewayId.
// +kubebuilder:validation:Optional
GatewayIDSelector *v1.Selector `json:"gatewayIdSelector,omitempty" tf:"-"`
// [string] The location of the WireGuard Gateway.
// The location of the WireGuard Peer. Supported locations: de/fra, de/txl, es/vit, gb/bhx, gb/lhr, us/ewr, us/las, us/mci, fr/par
Location *string `json:"location,omitempty" tf:"location,omitempty"`
// [string] The human-readable name of the WireGuard Gateway.
// The human readable name of your WireGuard Gateway Peer.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// [string] The public key for the WireGuard Gateway.
// WireGuard public key of the connecting peer
PublicKey *string `json:"publicKey,omitempty" tf:"public_key,omitempty"`
}
func (*VpnWireguardPeerInitParameters) DeepCopy ¶
func (in *VpnWireguardPeerInitParameters) DeepCopy() *VpnWireguardPeerInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpnWireguardPeerInitParameters.
func (*VpnWireguardPeerInitParameters) DeepCopyInto ¶
func (in *VpnWireguardPeerInitParameters) DeepCopyInto(out *VpnWireguardPeerInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VpnWireguardPeerList ¶
type VpnWireguardPeerList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []VpnWireguardPeer `json:"items"`
}
VpnWireguardPeerList contains a list of VpnWireguardPeers
func (*VpnWireguardPeerList) DeepCopy ¶
func (in *VpnWireguardPeerList) DeepCopy() *VpnWireguardPeerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpnWireguardPeerList.
func (*VpnWireguardPeerList) DeepCopyInto ¶
func (in *VpnWireguardPeerList) DeepCopyInto(out *VpnWireguardPeerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VpnWireguardPeerList) DeepCopyObject ¶
func (in *VpnWireguardPeerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VpnWireguardPeerList) GetItems ¶
func (l *VpnWireguardPeerList) GetItems() []resource.Managed
GetItems of this VpnWireguardPeerList.
type VpnWireguardPeerObservation ¶
type VpnWireguardPeerObservation struct {
// [list, string] A list of subnet CIDRs that are allowed to connect to the WireGuard Gateway.
// The subnet CIDRs that are allowed to connect to the WireGuard Gateway.
AllowedIps []*string `json:"allowedIps,omitempty" tf:"allowed_ips,omitempty"`
// [string] A description of the WireGuard Gateway.
// Human readable description of the WireGuard Gateway Peer.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// [block] An endpoint configuration block for the WireGuard Gateway. The structure of this block is as follows:
// Endpoint configuration for the WireGuard Peer.
Endpoint *EndpointObservation `json:"endpoint,omitempty" tf:"endpoint,omitempty"`
// [string] The ID of the WireGuard Gateway that the Peer will connect to.
// The ID of the WireGuard Peer that the peer will connect to.
GatewayID *string `json:"gatewayId,omitempty" tf:"gateway_id,omitempty"`
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// [string] The location of the WireGuard Gateway.
// The location of the WireGuard Peer. Supported locations: de/fra, de/txl, es/vit, gb/bhx, gb/lhr, us/ewr, us/las, us/mci, fr/par
Location *string `json:"location,omitempty" tf:"location,omitempty"`
// [string] The human-readable name of the WireGuard Gateway.
// The human readable name of your WireGuard Gateway Peer.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// [string] The public key for the WireGuard Gateway.
// WireGuard public key of the connecting peer
PublicKey *string `json:"publicKey,omitempty" tf:"public_key,omitempty"`
// The current status of the WireGuard Gateway Peer.
// The status of the WireGuard Gateway
Status *string `json:"status,omitempty" tf:"status,omitempty"`
}
func (*VpnWireguardPeerObservation) DeepCopy ¶
func (in *VpnWireguardPeerObservation) DeepCopy() *VpnWireguardPeerObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpnWireguardPeerObservation.
func (*VpnWireguardPeerObservation) DeepCopyInto ¶
func (in *VpnWireguardPeerObservation) DeepCopyInto(out *VpnWireguardPeerObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VpnWireguardPeerParameters ¶
type VpnWireguardPeerParameters struct {
// [list, string] A list of subnet CIDRs that are allowed to connect to the WireGuard Gateway.
// The subnet CIDRs that are allowed to connect to the WireGuard Gateway.
// +kubebuilder:validation:Optional
AllowedIps []*string `json:"allowedIps,omitempty" tf:"allowed_ips,omitempty"`
// [string] A description of the WireGuard Gateway.
// Human readable description of the WireGuard Gateway Peer.
// +kubebuilder:validation:Optional
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// [block] An endpoint configuration block for the WireGuard Gateway. The structure of this block is as follows:
// Endpoint configuration for the WireGuard Peer.
// +kubebuilder:validation:Optional
Endpoint *EndpointParameters `json:"endpoint,omitempty" tf:"endpoint,omitempty"`
// [string] The ID of the WireGuard Gateway that the Peer will connect to.
// The ID of the WireGuard Peer that the peer will connect to.
// +crossplane:generate:reference:type=github.com/ionos-cloud/provider-upjet-ionoscloud/apis/cluster/vpnwireguard/v1alpha1.VpnWireguardGateway
// +kubebuilder:validation:Optional
GatewayID *string `json:"gatewayId,omitempty" tf:"gateway_id,omitempty"`
// Reference to a VpnWireguardGateway in vpnwireguard to populate gatewayId.
// +kubebuilder:validation:Optional
GatewayIDRef *v1.Reference `json:"gatewayIdRef,omitempty" tf:"-"`
// Selector for a VpnWireguardGateway in vpnwireguard to populate gatewayId.
// +kubebuilder:validation:Optional
GatewayIDSelector *v1.Selector `json:"gatewayIdSelector,omitempty" tf:"-"`
// [string] The location of the WireGuard Gateway.
// The location of the WireGuard Peer. Supported locations: de/fra, de/txl, es/vit, gb/bhx, gb/lhr, us/ewr, us/las, us/mci, fr/par
// +kubebuilder:validation:Optional
Location *string `json:"location,omitempty" tf:"location,omitempty"`
// [string] The human-readable name of the WireGuard Gateway.
// The human readable name of your WireGuard Gateway Peer.
// +kubebuilder:validation:Optional
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// [string] The public key for the WireGuard Gateway.
// WireGuard public key of the connecting peer
// +kubebuilder:validation:Optional
PublicKey *string `json:"publicKey,omitempty" tf:"public_key,omitempty"`
}
func (*VpnWireguardPeerParameters) DeepCopy ¶
func (in *VpnWireguardPeerParameters) DeepCopy() *VpnWireguardPeerParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpnWireguardPeerParameters.
func (*VpnWireguardPeerParameters) DeepCopyInto ¶
func (in *VpnWireguardPeerParameters) DeepCopyInto(out *VpnWireguardPeerParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VpnWireguardPeerSpec ¶
type VpnWireguardPeerSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider VpnWireguardPeerParameters `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 VpnWireguardPeerInitParameters `json:"initProvider,omitempty"`
}
VpnWireguardPeerSpec defines the desired state of VpnWireguardPeer
func (*VpnWireguardPeerSpec) DeepCopy ¶
func (in *VpnWireguardPeerSpec) DeepCopy() *VpnWireguardPeerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpnWireguardPeerSpec.
func (*VpnWireguardPeerSpec) DeepCopyInto ¶
func (in *VpnWireguardPeerSpec) DeepCopyInto(out *VpnWireguardPeerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VpnWireguardPeerStatus ¶
type VpnWireguardPeerStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider VpnWireguardPeerObservation `json:"atProvider,omitempty"`
}
VpnWireguardPeerStatus defines the observed state of VpnWireguardPeer.
func (*VpnWireguardPeerStatus) DeepCopy ¶
func (in *VpnWireguardPeerStatus) DeepCopy() *VpnWireguardPeerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpnWireguardPeerStatus.
func (*VpnWireguardPeerStatus) DeepCopyInto ¶
func (in *VpnWireguardPeerStatus) DeepCopyInto(out *VpnWireguardPeerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.