Documentation
¶
Overview ¶
Package v1beta1 contains API Schema definitions for the networking v1beta1 API group
Index ¶
- Constants
- Variables
- type CIDR
- type ClusterConfig
- type ClusterConfigCIDR
- type Configuration
- type ConfigurationList
- type ConfigurationSpec
- type ConfigurationStatus
- type Connection
- type ConnectionLatency
- type ConnectionList
- type ConnectionSpec
- type ConnectionStatus
- type ConnectionStatusValue
- type ConnectionType
- type DeploymentTemplate
- type Endpoint
- type EndpointStatus
- type FirewallConfiguration
- type FirewallConfigurationList
- type FirewallConfigurationSpec
- type FirewallConfigurationStatus
- type FirewallConfigurationStatusCondition
- type FirewallConfigurationStatusConditionType
- type GatewayClient
- type GatewayClientList
- type GatewayClientSpec
- type GatewayClientStatus
- type GatewayServer
- type GatewayServerList
- type GatewayServerSpec
- type GatewayServerStatus
- type GeneveTunnel
- type GeneveTunnelList
- type GeneveTunnelSpec
- type IP
- type InternalFabric
- type InternalFabricList
- type InternalFabricSpec
- type InternalFabricSpecInterface
- type InternalFabricSpecInterfaceGateway
- type InternalFabricSpecInterfaceNode
- type InternalGatewayEndpoint
- type InternalNode
- type InternalNodeList
- type InternalNodeSpec
- type InternalNodeSpecInterface
- type InternalNodeSpecInterfaceGateway
- type InternalNodeSpecInterfaceNode
- type InternalNodeStatus
- type InternalNodeStatusNodeIP
- type Metrics
- type PublicKey
- type PublicKeyList
- type PublicKeySpec
- type Route
- type RouteConfiguration
- type RouteConfigurationList
- type RouteConfigurationSpec
- type RouteConfigurationStatus
- type RouteConfigurationStatusCondition
- type RouteConfigurationStatusConditionType
- type Rule
- type Scope
- type ServiceMonitorTemplate
- type ServiceTemplate
- type Table
- type WgGatewayClient
- type WgGatewayClientList
- type WgGatewayClientSpec
- type WgGatewayClientStatus
- type WgGatewayClientTemplate
- type WgGatewayClientTemplateList
- type WgGatewayClientTemplateSpec
- type WgGatewayServer
- type WgGatewayServerList
- type WgGatewayServerSpec
- type WgGatewayServerStatus
- type WgGatewayServerTemplate
- type WgGatewayServerTemplateList
- type WgGatewayServerTemplateSpec
Constants ¶
const ( // ConnectionTypeServer represents a server connection. ConnectionTypeServer ConnectionType = "Server" // ConnectionTypeClient represents a client connection. ConnectionTypeClient ConnectionType = "Client" // Connected used when the connection is up and running. Connected ConnectionStatusValue = "Connected" // Connecting used as temporary status while waiting for the vpn tunnel to come up. Connecting ConnectionStatusValue = "Connecting" // ConnectionError used to se the status in case of errors. ConnectionError ConnectionStatusValue = "Error" )
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "networking.liqo.io", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ConfigurationGroupResource = schema.GroupResource{Group: GroupVersion.Group, Resource: ConfigurationResource}
ConfigurationGroupResource is group resource used to register these objects.
var ConfigurationGroupVersionResource = GroupVersion.WithResource(ConfigurationResource)
ConfigurationGroupVersionResource is groupResourceVersion used to register these objects.
var ConfigurationKind = "Configuration"
ConfigurationKind is the kind name used to register the Configuration CRD.
var ConfigurationResource = "configurations"
ConfigurationResource the name of the configuration resources.
var ConnectionGroupResource = schema.GroupResource{Group: GroupVersion.Group, Resource: ConnectionResource}
ConnectionGroupResource is group resource used to register these objects.
var ConnectionGroupVersionResource = GroupVersion.WithResource(ConnectionResource)
ConnectionGroupVersionResource is groupResourceVersion used to register these objects.
var ConnectionKind = "Connection"
ConnectionKind specifies the kind of the connection.
var ConnectionResource = "connections"
ConnectionResource the name of the connection resources.
var GatewayClientGroupResource = schema.GroupResource{Group: GroupVersion.Group, Resource: GatewayClientResource}
GatewayClientGroupResource specifies the group and the resource of the gatewayclient resources.
var GatewayClientGroupVersionResource = GroupVersion.WithResource(GatewayClientResource)
GatewayClientGroupVersionResource specifies the group, the version and the resource of the gatewayclient resources.
var GatewayClientKind = "GatewayClient"
GatewayClientKind specifies the kind of the gatewayclient resources.
var GatewayClientResource = "gatewayclients"
GatewayClientResource the name of the gatewayclient resources.
var GatewayServerGroupResource = schema.GroupResource{Group: GroupVersion.Group, Resource: GatewayServerResource}
GatewayServerGroupResource specifies the group and the resource of the gatewayserver resources.
var GatewayServerGroupVersionResource = GroupVersion.WithResource(GatewayServerResource)
GatewayServerGroupVersionResource specifies the group, the version and the resource of the gatewayserver resources.
var GatewayServerKind = "GatewayServer"
GatewayServerKind specifies the kind of the gatewayserver resources.
var GatewayServerResource = "gatewayservers"
GatewayServerResource the name of the gatewayserver resources.
var GeneveTunnelGroupResource = schema.GroupResource{Group: GroupVersion.Group, Resource: GeneveTunnelResource}
GeneveTunnelGroupResource is group resource used to register these objects.
var GeneveTunnelGroupVersionResource = GroupVersion.WithResource(GeneveTunnelResource)
GeneveTunnelGroupVersionResource is groupResourceVersion used to register these objects.
var GeneveTunnelKind = "GeneveTunnel"
GeneveTunnelKind is the kind name used to register the GeneveTunnel CRD.
var GeneveTunnelResource = "genevetunnels"
GeneveTunnelResource the name of the geneveTunnel resources.
var InternalFabricGroupResource = schema.GroupResource{Group: GroupVersion.Group, Resource: InternalFabricResource}
InternalFabricGroupResource is group resource used to register these objects.
var InternalFabricGroupVersionResource = GroupVersion.WithResource(InternalFabricResource)
InternalFabricGroupVersionResource is groupResourceVersion used to register these objects.
var InternalFabricKind = "InternalFabric"
InternalFabricKind is the kind name used to register the InternalFabric CRD.
var InternalFabricResource = "internalfabrics"
InternalFabricResource the name of the internalFabric resources.
var InternalNodeGroupResource = schema.GroupResource{Group: GroupVersion.Group, Resource: InternalNodeResource}
InternalNodeGroupResource is group resource used to register these objects.
var InternalNodeGroupVersionResource = GroupVersion.WithResource(InternalNodeResource)
InternalNodeGroupVersionResource is groupResourceVersion used to register these objects.
var InternalNodeKind = "InternalNode"
InternalNodeKind is the kind name used to register the InternalNode CRD.
var InternalNodeResource = "internalnodes"
InternalNodeResource the name of the internalNode resources.
var PublicKeyGroupResource = schema.GroupResource{Group: GroupVersion.Group, Resource: PublicKeyResource}
PublicKeyGroupResource is group resource used to register these objects.
var PublicKeyGroupVersionResource = GroupVersion.WithResource(PublicKeyResource)
PublicKeyGroupVersionResource is groupResourceVersion used to register these objects.
var PublicKeyKind = "PublicKey"
PublicKeyKind is the kind name used to register the PublicKey CRD.
var PublicKeyResource = "publickeies"
PublicKeyResource the name of the publickey resources.
var RouteConfigurationGroupResource = schema.GroupResource{Group: GroupVersion.Group, Resource: RouteConfigurationResource}
RouteConfigurationGroupResource is group resource used to register these objects.
var RouteConfigurationGroupVersionResource = GroupVersion.WithResource(RouteConfigurationResource)
RouteConfigurationGroupVersionResource is groupResourceVersion used to register these objects.
var RouteConfigurationKind = "RouteConfiguration"
RouteConfigurationKind is the kind name used to register the RouteConfiguration CRD.
var RouteConfigurationResource = "routeconfigurations"
RouteConfigurationResource the name of the routeconfiguration resources.
var WgGatewayClientGroupResource = schema.GroupResource{Group: GroupVersion.Group, Resource: WgGatewayClientResource}
WgGatewayClientGroupResource is group resource used to register these objects.
var WgGatewayClientGroupVersionResource = GroupVersion.WithResource(WgGatewayClientResource)
WgGatewayClientGroupVersionResource is groupResourceVersion used to register these objects.
var WgGatewayClientKind = "WgGatewayClient"
WgGatewayClientKind is the kind name used to register the WgGatewayClient CRD.
var WgGatewayClientResource = "wggatewayclients"
WgGatewayClientResource the name of the wggatewayclient resources.
var WgGatewayClientTemplateGroupResource = schema.GroupResource{Group: GroupVersion.Group, Resource: WgGatewayClientTemplateResource}
WgGatewayClientTemplateGroupResource is group resource used to register these objects.
var WgGatewayClientTemplateGroupVersionResource = GroupVersion.WithResource(WgGatewayClientTemplateResource)
WgGatewayClientTemplateGroupVersionResource is groupResourceVersion used to register these objects.
var WgGatewayClientTemplateKind = "WgGatewayClientTemplate"
WgGatewayClientTemplateKind is the kind name used to register the WgGatewayClientTemplate CRD.
var WgGatewayClientTemplateResource = "wggatewayclienttemplates"
WgGatewayClientTemplateResource the name of the wggatewayclienttemplate resources.
var WgGatewayServerGroupResource = schema.GroupResource{Group: GroupVersion.Group, Resource: WgGatewayServerResource}
WgGatewayServerGroupResource specifies the group and the resource of the wggatewayserver resources.
var WgGatewayServerGroupVersionResource = GroupVersion.WithResource(WgGatewayServerResource)
WgGatewayServerGroupVersionResource specifies the group, the version and the resource of the wggatewayserver resources.
var WgGatewayServerKind = "WgGatewayServer"
WgGatewayServerKind specifies the kind of the wggatewayserver resources.
var WgGatewayServerResource = "wggatewayservers"
WgGatewayServerResource the name of the wggatewayserver resources.
var WgGatewayServerTemplateGroupResource = schema.GroupResource{Group: GroupVersion.Group, Resource: WgGatewayServerTemplateResource}
WgGatewayServerTemplateGroupResource is group resource used to register these objects.
var WgGatewayServerTemplateGroupVersionResource = GroupVersion.WithResource(WgGatewayServerTemplateResource)
WgGatewayServerTemplateGroupVersionResource is groupResourceVersion used to register these objects.
var WgGatewayServerTemplateKind = "WgGatewayServerTemplate"
WgGatewayServerTemplateKind is the kind name used to register the WgGatewayServerTemplate CRD.
var WgGatewayServerTemplateResource = "wggatewayservertemplates"
WgGatewayServerTemplateResource the name of the wggatewayservertemplate resources.
Functions ¶
This section is empty.
Types ¶
type CIDR ¶
type CIDR string
CIDR defines a syntax validated CIDR. +kubebuilder:validation:Format=cidr
type ClusterConfig ¶
type ClusterConfig struct {
// CIDR of the cluster.
CIDR ClusterConfigCIDR `json:"cidr,omitempty"`
}
ClusterConfig defines the configuration of a cluster.
func (*ClusterConfig) DeepCopy ¶
func (in *ClusterConfig) DeepCopy() *ClusterConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterConfig.
func (*ClusterConfig) DeepCopyInto ¶
func (in *ClusterConfig) DeepCopyInto(out *ClusterConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterConfigCIDR ¶
type ClusterConfigCIDR struct {
// Pod CIDR of the cluster.
Pod []CIDR `json:"pod,omitempty"`
// External CIDR of the cluster.
External []CIDR `json:"external,omitempty"`
}
ClusterConfigCIDR defines the CIDR of the cluster.
func (*ClusterConfigCIDR) DeepCopy ¶
func (in *ClusterConfigCIDR) DeepCopy() *ClusterConfigCIDR
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterConfigCIDR.
func (*ClusterConfigCIDR) DeepCopyInto ¶
func (in *ClusterConfigCIDR) DeepCopyInto(out *ClusterConfigCIDR)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Configuration ¶
type Configuration struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ConfigurationSpec `json:"spec,omitempty"`
Status ConfigurationStatus `json:"status,omitempty"`
}
Configuration contains the network configuration of a pair of clusters, including the local and the remote pod and external CIDRs and how the where remapped.
func (*Configuration) DeepCopy ¶
func (in *Configuration) DeepCopy() *Configuration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.
func (*Configuration) DeepCopyInto ¶
func (in *Configuration) DeepCopyInto(out *Configuration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Configuration) DeepCopyObject ¶
func (in *Configuration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigurationList ¶
type ConfigurationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Configuration `json:"items"`
}
ConfigurationList contains a list of Configuration.
func (*ConfigurationList) DeepCopy ¶
func (in *ConfigurationList) DeepCopy() *ConfigurationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationList.
func (*ConfigurationList) DeepCopyInto ¶
func (in *ConfigurationList) DeepCopyInto(out *ConfigurationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigurationList) DeepCopyObject ¶
func (in *ConfigurationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigurationSpec ¶
type ConfigurationSpec struct {
// Local network configuration (the cluster where the resource is created).
Local *ClusterConfig `json:"local,omitempty"`
// Remote network configuration (the other cluster).
Remote ClusterConfig `json:"remote,omitempty"`
}
ConfigurationSpec defines the desired state of Configuration.
func (*ConfigurationSpec) DeepCopy ¶
func (in *ConfigurationSpec) DeepCopy() *ConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationSpec.
func (*ConfigurationSpec) DeepCopyInto ¶
func (in *ConfigurationSpec) DeepCopyInto(out *ConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationStatus ¶
type ConfigurationStatus struct {
// Remote remapped configuration, it defines how the local cluster sees the remote cluster.
Remote *ClusterConfig `json:"remote,omitempty"`
}
ConfigurationStatus defines the observed state of Configuration.
func (*ConfigurationStatus) DeepCopy ¶
func (in *ConfigurationStatus) DeepCopy() *ConfigurationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationStatus.
func (*ConfigurationStatus) DeepCopyInto ¶
func (in *ConfigurationStatus) DeepCopyInto(out *ConfigurationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Connection ¶
type Connection struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ConnectionSpec `json:"spec,omitempty"`
Status ConnectionStatus `json:"status,omitempty"`
}
Connection contains the status of a connection between two clusters (a client and a server).
func (*Connection) DeepCopy ¶
func (in *Connection) DeepCopy() *Connection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Connection.
func (*Connection) DeepCopyInto ¶
func (in *Connection) DeepCopyInto(out *Connection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Connection) DeepCopyObject ¶
func (in *Connection) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConnectionLatency ¶
type ConnectionLatency struct {
// Value of the latency.
Value string `json:"value,omitempty"`
// Timestamp of the latency.
Timestamp metav1.Time `json:"timestamp,omitempty"`
}
ConnectionLatency represents the latency between two clusters.
func (*ConnectionLatency) DeepCopy ¶
func (in *ConnectionLatency) DeepCopy() *ConnectionLatency
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionLatency.
func (*ConnectionLatency) DeepCopyInto ¶
func (in *ConnectionLatency) DeepCopyInto(out *ConnectionLatency)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectionList ¶
type ConnectionList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Connection `json:"items"`
}
ConnectionList contains a list of Connection.
func (*ConnectionList) DeepCopy ¶
func (in *ConnectionList) DeepCopy() *ConnectionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionList.
func (*ConnectionList) DeepCopyInto ¶
func (in *ConnectionList) DeepCopyInto(out *ConnectionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConnectionList) DeepCopyObject ¶
func (in *ConnectionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConnectionSpec ¶
type ConnectionSpec struct {
// Type of the connection.
// +kubebuilder:validation:Enum=Server;Client
Type ConnectionType `json:"type"`
// GatewayRef specifies the reference to the gateway.
GatewayRef corev1.ObjectReference `json:"gatewayRef"`
}
ConnectionSpec defines the desired state of Connection.
func (*ConnectionSpec) DeepCopy ¶
func (in *ConnectionSpec) DeepCopy() *ConnectionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionSpec.
func (*ConnectionSpec) DeepCopyInto ¶
func (in *ConnectionSpec) DeepCopyInto(out *ConnectionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectionStatus ¶
type ConnectionStatus struct {
// Value of the connection.
Value ConnectionStatusValue `json:"value,omitempty"`
// Latency of the connection.
Latency ConnectionLatency `json:"latency,omitempty"`
}
ConnectionStatus defines the observed state of Connection.
func (*ConnectionStatus) DeepCopy ¶
func (in *ConnectionStatus) DeepCopy() *ConnectionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionStatus.
func (*ConnectionStatus) DeepCopyInto ¶
func (in *ConnectionStatus) DeepCopyInto(out *ConnectionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectionStatusValue ¶
type ConnectionStatusValue string
ConnectionStatusValue represents the status of a connection.
type ConnectionType ¶
type ConnectionType string
ConnectionType represents the type of a connection.
type DeploymentTemplate ¶
type DeploymentTemplate struct {
// Metadata of the deployment.
Metadata metav1.ObjectMeta `json:"metadata,omitempty"`
// Spec of the deployment.
Spec appsv1.DeploymentSpec `json:"spec,omitempty"`
}
DeploymentTemplate defines the template of a deployment.
func (*DeploymentTemplate) DeepCopy ¶
func (in *DeploymentTemplate) DeepCopy() *DeploymentTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentTemplate.
func (*DeploymentTemplate) DeepCopyInto ¶
func (in *DeploymentTemplate) DeepCopyInto(out *DeploymentTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Endpoint ¶
type Endpoint struct {
// Port specifies the port of the endpoint.
Port int32 `json:"port,omitempty"`
// ServiceType specifies the type of the service.
// +kubebuilder:default=ClusterIP
// +kubebuilder:validation:Enum=ClusterIP;NodePort;LoadBalancer;ExternalName
ServiceType corev1.ServiceType `json:"serviceType,omitempty"`
// NodePort allocates a static port for the NodePort service.
// +optional
NodePort *int32 `json:"nodePort,omitempty"`
// LoadBalancerIP override the LoadBalancer IP to use a specific IP address (e.g., static LB). It is used only if service type is LoadBalancer.
// LoadBalancer provider must support this feature.
// +optional
LoadBalancerIP *string `json:"loadBalancerIP,omitempty"`
}
Endpoint defines the endpoint of the gatewayserver.
func (*Endpoint) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoint.
func (*Endpoint) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointStatus ¶
type EndpointStatus struct {
// Addresses specifies the addresses of the endpoint.
Addresses []string `json:"addresses,omitempty"`
// Port specifies the port of the endpoint.
Port int32 `json:"port,omitempty"`
// Protocol specifies the protocol of the endpoint.
// +kubebuilder:validation:Enum=TCP;UDP
Protocol *corev1.Protocol `json:"protocol,omitempty"`
}
EndpointStatus defines the observed state of the 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 FirewallConfiguration ¶
type FirewallConfiguration struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec FirewallConfigurationSpec `json:"spec,omitempty"`
Status FirewallConfigurationStatus `json:"status,omitempty"`
}
FirewallConfiguration contains a rule to be applied to the firewall in the gateway.
func (*FirewallConfiguration) DeepCopy ¶
func (in *FirewallConfiguration) DeepCopy() *FirewallConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallConfiguration.
func (*FirewallConfiguration) DeepCopyInto ¶
func (in *FirewallConfiguration) DeepCopyInto(out *FirewallConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FirewallConfiguration) DeepCopyObject ¶
func (in *FirewallConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FirewallConfigurationList ¶
type FirewallConfigurationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []FirewallConfiguration `json:"items"`
}
FirewallConfigurationList contains a list of FirewallConfiguration.
func (*FirewallConfigurationList) DeepCopy ¶
func (in *FirewallConfigurationList) DeepCopy() *FirewallConfigurationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallConfigurationList.
func (*FirewallConfigurationList) DeepCopyInto ¶
func (in *FirewallConfigurationList) DeepCopyInto(out *FirewallConfigurationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FirewallConfigurationList) DeepCopyObject ¶
func (in *FirewallConfigurationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FirewallConfigurationSpec ¶
type FirewallConfigurationSpec struct {
// Table contains the rules to be applied to the firewall.
Table firewallapi.Table `json:"table"`
}
FirewallConfigurationSpec defines the desired state of FirewallConfiguration.
func (*FirewallConfigurationSpec) DeepCopy ¶
func (in *FirewallConfigurationSpec) DeepCopy() *FirewallConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallConfigurationSpec.
func (*FirewallConfigurationSpec) DeepCopyInto ¶
func (in *FirewallConfigurationSpec) DeepCopyInto(out *FirewallConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FirewallConfigurationStatus ¶
type FirewallConfigurationStatus struct {
// Conditions is the list of conditions of the FirewallConfiguration.
Conditions []FirewallConfigurationStatusCondition `json:"conditions,omitempty"`
}
FirewallConfigurationStatus defines the observed state of FirewallConfiguration.
func (*FirewallConfigurationStatus) DeepCopy ¶
func (in *FirewallConfigurationStatus) DeepCopy() *FirewallConfigurationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallConfigurationStatus.
func (*FirewallConfigurationStatus) DeepCopyInto ¶
func (in *FirewallConfigurationStatus) DeepCopyInto(out *FirewallConfigurationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FirewallConfigurationStatusCondition ¶
type FirewallConfigurationStatusCondition struct {
// Host where the configuration has been applied.
Host string `json:"host"`
// Type of firewallconfiguration condition.
Type FirewallConfigurationStatusConditionType `json:"type"`
// Status of the condition, one of True, False, Unknown.
Status metav1.ConditionStatus `json:"status"`
// Last time the condition transitioned from one status to another.
LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
}
FirewallConfigurationStatusCondition defines the observed state of FirewallConfiguration.
func (*FirewallConfigurationStatusCondition) DeepCopy ¶
func (in *FirewallConfigurationStatusCondition) DeepCopy() *FirewallConfigurationStatusCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallConfigurationStatusCondition.
func (*FirewallConfigurationStatusCondition) DeepCopyInto ¶
func (in *FirewallConfigurationStatusCondition) DeepCopyInto(out *FirewallConfigurationStatusCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FirewallConfigurationStatusConditionType ¶
type FirewallConfigurationStatusConditionType string
FirewallConfigurationStatusConditionType is a type of firewallconfiguration condition.
const ( // FirewallConfigurationStatusConditionTypeApplied is true if the configuration has been applied to the firewall. FirewallConfigurationStatusConditionTypeApplied FirewallConfigurationStatusConditionType = "Applied" // FirewallConfigurationStatusConditionTypeError is true if the configuration has not been applied to the firewall. FirewallConfigurationStatusConditionTypeError FirewallConfigurationStatusConditionType = "Error" )
type GatewayClient ¶
type GatewayClient struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec GatewayClientSpec `json:"spec,omitempty"`
Status GatewayClientStatus `json:"status,omitempty"`
}
GatewayClient defines a gateway client that needs to point to a remote gateway server.
func (*GatewayClient) DeepCopy ¶
func (in *GatewayClient) DeepCopy() *GatewayClient
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayClient.
func (*GatewayClient) DeepCopyInto ¶
func (in *GatewayClient) DeepCopyInto(out *GatewayClient)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GatewayClient) DeepCopyObject ¶
func (in *GatewayClient) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GatewayClientList ¶
type GatewayClientList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []GatewayClient `json:"items"`
}
GatewayClientList contains a list of GatewayClient.
func (*GatewayClientList) DeepCopy ¶
func (in *GatewayClientList) DeepCopy() *GatewayClientList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayClientList.
func (*GatewayClientList) DeepCopyInto ¶
func (in *GatewayClientList) DeepCopyInto(out *GatewayClientList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GatewayClientList) DeepCopyObject ¶
func (in *GatewayClientList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GatewayClientSpec ¶
type GatewayClientSpec struct {
// ClientTemplateRef specifies the reference to the client template.
ClientTemplateRef corev1.ObjectReference `json:"clientTemplateRef,omitempty"`
// MTU specifies the MTU of the tunnel.
MTU int `json:"mtu,omitempty"`
// Endpoint specifies the endpoint of the tunnel.
Endpoint EndpointStatus `json:"endpoint,omitempty"`
// SecretRef specifies the reference to the secret containing configurations.
// Leave it empty to let the operator create a new secret.
SecretRef corev1.LocalObjectReference `json:"secretRef,omitempty"`
}
GatewayClientSpec defines the desired state of GatewayClient.
func (*GatewayClientSpec) DeepCopy ¶
func (in *GatewayClientSpec) DeepCopy() *GatewayClientSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayClientSpec.
func (*GatewayClientSpec) DeepCopyInto ¶
func (in *GatewayClientSpec) DeepCopyInto(out *GatewayClientSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GatewayClientStatus ¶
type GatewayClientStatus struct {
// ClientRef specifies the reference to the client.
ClientRef *corev1.ObjectReference `json:"clientRef,omitempty"`
// SecretRef specifies the reference to the secret.
SecretRef *corev1.ObjectReference `json:"secretRef,omitempty"`
// InternalEndpoint specifies the endpoint for the internal network.
InternalEndpoint *InternalGatewayEndpoint `json:"internalEndpoint,omitempty"`
}
GatewayClientStatus defines the observed state of GatewayClient.
func (*GatewayClientStatus) DeepCopy ¶
func (in *GatewayClientStatus) DeepCopy() *GatewayClientStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayClientStatus.
func (*GatewayClientStatus) DeepCopyInto ¶
func (in *GatewayClientStatus) DeepCopyInto(out *GatewayClientStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GatewayServer ¶
type GatewayServer struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec GatewayServerSpec `json:"spec,omitempty"`
Status GatewayServerStatus `json:"status,omitempty"`
}
GatewayServer defines a gateway server that remote gateway clients need to point to.
func (*GatewayServer) DeepCopy ¶
func (in *GatewayServer) DeepCopy() *GatewayServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayServer.
func (*GatewayServer) DeepCopyInto ¶
func (in *GatewayServer) DeepCopyInto(out *GatewayServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GatewayServer) DeepCopyObject ¶
func (in *GatewayServer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GatewayServerList ¶
type GatewayServerList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []GatewayServer `json:"items"`
}
GatewayServerList contains a list of GatewayServer.
func (*GatewayServerList) DeepCopy ¶
func (in *GatewayServerList) DeepCopy() *GatewayServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayServerList.
func (*GatewayServerList) DeepCopyInto ¶
func (in *GatewayServerList) DeepCopyInto(out *GatewayServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GatewayServerList) DeepCopyObject ¶
func (in *GatewayServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GatewayServerSpec ¶
type GatewayServerSpec struct {
// ServerTemplateRef specifies the reference to the server template.
ServerTemplateRef corev1.ObjectReference `json:"serverTemplateRef,omitempty"`
// MTU specifies the MTU of the tunnel.
MTU int `json:"mtu,omitempty"`
// Endpoint specifies the endpoint of the tunnel.
Endpoint Endpoint `json:"endpoint,omitempty"`
// SecretRef specifies the reference to the secret containing configurations.
// Leave it empty to let the operator create a new secret.
SecretRef corev1.LocalObjectReference `json:"secretRef,omitempty"`
}
GatewayServerSpec defines the desired state of GatewayServer.
func (*GatewayServerSpec) DeepCopy ¶
func (in *GatewayServerSpec) DeepCopy() *GatewayServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayServerSpec.
func (*GatewayServerSpec) DeepCopyInto ¶
func (in *GatewayServerSpec) DeepCopyInto(out *GatewayServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GatewayServerStatus ¶
type GatewayServerStatus struct {
// ServerRef specifies the reference to the server.
ServerRef *corev1.ObjectReference `json:"serverRef,omitempty"`
// Endpoint specifies the endpoint of the tunnel.
Endpoint *EndpointStatus `json:"endpoint,omitempty"`
// SecretRef specifies the reference to the secret.
SecretRef *corev1.ObjectReference `json:"secretRef,omitempty"`
// InternalEndpoint specifies the endpoint for the internal network.
InternalEndpoint *InternalGatewayEndpoint `json:"internalEndpoint,omitempty"`
}
GatewayServerStatus defines the observed state of GatewayServer.
func (*GatewayServerStatus) DeepCopy ¶
func (in *GatewayServerStatus) DeepCopy() *GatewayServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayServerStatus.
func (*GatewayServerStatus) DeepCopyInto ¶
func (in *GatewayServerStatus) DeepCopyInto(out *GatewayServerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GeneveTunnel ¶
type GeneveTunnel struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec GeneveTunnelSpec `json:"spec,omitempty"`
}
GeneveTunnel contains the settings about a geneve tunnel. It links an InternalNode to an InternalFabric.
func (*GeneveTunnel) DeepCopy ¶
func (in *GeneveTunnel) DeepCopy() *GeneveTunnel
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneveTunnel.
func (*GeneveTunnel) DeepCopyInto ¶
func (in *GeneveTunnel) DeepCopyInto(out *GeneveTunnel)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GeneveTunnel) DeepCopyObject ¶
func (in *GeneveTunnel) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GeneveTunnelList ¶
type GeneveTunnelList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []GeneveTunnel `json:"items"`
}
GeneveTunnelList contains a list of GeneveTunnel.
func (*GeneveTunnelList) DeepCopy ¶
func (in *GeneveTunnelList) DeepCopy() *GeneveTunnelList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneveTunnelList.
func (*GeneveTunnelList) DeepCopyInto ¶
func (in *GeneveTunnelList) DeepCopyInto(out *GeneveTunnelList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GeneveTunnelList) DeepCopyObject ¶
func (in *GeneveTunnelList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GeneveTunnelSpec ¶
type GeneveTunnelSpec struct {
// The ID of the geneve tunnel. Only 24 can be used.
ID uint32 `json:"id"`
// InternalNodeRef is the reference to the internal node.
InternalNodeRef *corev1.ObjectReference `json:"internalNodeRef"`
// InternalFabricRef is the reference to the internal fabric.
InternalFabricRef *corev1.ObjectReference `json:"internalFabricRef"`
}
GeneveTunnelSpec defines the desired state of GeneveTunnel.
func (*GeneveTunnelSpec) DeepCopy ¶
func (in *GeneveTunnelSpec) DeepCopy() *GeneveTunnelSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneveTunnelSpec.
func (*GeneveTunnelSpec) DeepCopyInto ¶
func (in *GeneveTunnelSpec) DeepCopyInto(out *GeneveTunnelSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternalFabric ¶
type InternalFabric struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec InternalFabricSpec `json:"spec,omitempty"`
}
InternalFabric contains the network internalfabric settings. Every internalfabric resource targets a single gateway and respresents a connection between the local cluster and a remote one.
func (*InternalFabric) DeepCopy ¶
func (in *InternalFabric) DeepCopy() *InternalFabric
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalFabric.
func (*InternalFabric) DeepCopyInto ¶
func (in *InternalFabric) DeepCopyInto(out *InternalFabric)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InternalFabric) DeepCopyObject ¶
func (in *InternalFabric) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InternalFabricList ¶
type InternalFabricList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []InternalFabric `json:"items"`
}
InternalFabricList contains a list of InternalFabric.
func (*InternalFabricList) DeepCopy ¶
func (in *InternalFabricList) DeepCopy() *InternalFabricList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalFabricList.
func (*InternalFabricList) DeepCopyInto ¶
func (in *InternalFabricList) DeepCopyInto(out *InternalFabricList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InternalFabricList) DeepCopyObject ¶
func (in *InternalFabricList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InternalFabricSpec ¶
type InternalFabricSpec struct {
// MTU is the MTU of the internal fabric.
MTU int `json:"mtu,omitempty"`
// RemoteCIDRs is the list of remote CIDRs to be routed through the gateway.
RemoteCIDRs []CIDR `json:"remoteCIDRs,omitempty"`
// Interface contains the information about network interfaces.
Interface InternalFabricSpecInterface `json:"interface"`
// GatewayIP is the IP of the gateway pod.
GatewayIP IP `json:"gatewayIP"`
}
InternalFabricSpec defines the desired state of InternalFabric.
func (*InternalFabricSpec) DeepCopy ¶
func (in *InternalFabricSpec) DeepCopy() *InternalFabricSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalFabricSpec.
func (*InternalFabricSpec) DeepCopyInto ¶
func (in *InternalFabricSpec) DeepCopyInto(out *InternalFabricSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternalFabricSpecInterface ¶
type InternalFabricSpecInterface struct {
// Node contains the information about the node interface.
// The node interface is created on every node to connect them to the gateway related with the internalfabric.
Node InternalFabricSpecInterfaceNode `json:"node"`
// Gateway contains the information about the gateway interface.
Gateway InternalFabricSpecInterfaceGateway `json:"gateway"`
}
InternalFabricSpecInterface contains the information about network interfaces.
func (*InternalFabricSpecInterface) DeepCopy ¶
func (in *InternalFabricSpecInterface) DeepCopy() *InternalFabricSpecInterface
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalFabricSpecInterface.
func (*InternalFabricSpecInterface) DeepCopyInto ¶
func (in *InternalFabricSpecInterface) DeepCopyInto(out *InternalFabricSpecInterface)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternalFabricSpecInterfaceGateway ¶
type InternalFabricSpecInterfaceGateway struct {
// IP is the IP of the interface added to the gateway.
IP IP `json:"ip"`
}
InternalFabricSpecInterfaceGateway contains the information about the gateway interface.
func (*InternalFabricSpecInterfaceGateway) DeepCopy ¶
func (in *InternalFabricSpecInterfaceGateway) DeepCopy() *InternalFabricSpecInterfaceGateway
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalFabricSpecInterfaceGateway.
func (*InternalFabricSpecInterfaceGateway) DeepCopyInto ¶
func (in *InternalFabricSpecInterfaceGateway) DeepCopyInto(out *InternalFabricSpecInterfaceGateway)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternalFabricSpecInterfaceNode ¶
type InternalFabricSpecInterfaceNode struct {
// Name is the name of the interface added to the nodes.
Name string `json:"name"`
}
InternalFabricSpecInterfaceNode contains the information about the node interface.
func (*InternalFabricSpecInterfaceNode) DeepCopy ¶
func (in *InternalFabricSpecInterfaceNode) DeepCopy() *InternalFabricSpecInterfaceNode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalFabricSpecInterfaceNode.
func (*InternalFabricSpecInterfaceNode) DeepCopyInto ¶
func (in *InternalFabricSpecInterfaceNode) DeepCopyInto(out *InternalFabricSpecInterfaceNode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternalGatewayEndpoint ¶
type InternalGatewayEndpoint struct {
// IP is the IP address of the endpoint.
IP *IP `json:"ip,omitempty"`
// Node is the name of the node where the endpoint is running.
Node *string `json:"node,omitempty"`
}
InternalGatewayEndpoint defines the endpoint for the internal network.
func (*InternalGatewayEndpoint) DeepCopy ¶
func (in *InternalGatewayEndpoint) DeepCopy() *InternalGatewayEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalGatewayEndpoint.
func (*InternalGatewayEndpoint) DeepCopyInto ¶
func (in *InternalGatewayEndpoint) DeepCopyInto(out *InternalGatewayEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternalNode ¶
type InternalNode struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec InternalNodeSpec `json:"spec,omitempty"`
Status InternalNodeStatus `json:"status,omitempty"`
}
InternalNode contains the network internalnode settings. Every internalnode resource represents a node in the local cluster.
func (*InternalNode) DeepCopy ¶
func (in *InternalNode) DeepCopy() *InternalNode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalNode.
func (*InternalNode) DeepCopyInto ¶
func (in *InternalNode) DeepCopyInto(out *InternalNode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InternalNode) DeepCopyObject ¶
func (in *InternalNode) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InternalNodeList ¶
type InternalNodeList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []InternalNode `json:"items"`
}
InternalNodeList contains a list of InternalNode.
func (*InternalNodeList) DeepCopy ¶
func (in *InternalNodeList) DeepCopy() *InternalNodeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalNodeList.
func (*InternalNodeList) DeepCopyInto ¶
func (in *InternalNodeList) DeepCopyInto(out *InternalNodeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InternalNodeList) DeepCopyObject ¶
func (in *InternalNodeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InternalNodeSpec ¶
type InternalNodeSpec struct {
// Interface contains the information about network interfaces.
Interface InternalNodeSpecInterface `json:"interface"`
}
InternalNodeSpec defines the desired state of InternalNode.
func (*InternalNodeSpec) DeepCopy ¶
func (in *InternalNodeSpec) DeepCopy() *InternalNodeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalNodeSpec.
func (*InternalNodeSpec) DeepCopyInto ¶
func (in *InternalNodeSpec) DeepCopyInto(out *InternalNodeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternalNodeSpecInterface ¶
type InternalNodeSpecInterface struct {
// Gateway contains the information about the gateway interface.
// The gateway interface is created on every gateway to connect them to the node related with the internalnode.
Gateway InternalNodeSpecInterfaceGateway `json:"gateway"`
// Node contains the information about the node interface.
Node InternalNodeSpecInterfaceNode `json:"node"`
}
InternalNodeSpecInterface contains the information about network interfaces.
func (*InternalNodeSpecInterface) DeepCopy ¶
func (in *InternalNodeSpecInterface) DeepCopy() *InternalNodeSpecInterface
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalNodeSpecInterface.
func (*InternalNodeSpecInterface) DeepCopyInto ¶
func (in *InternalNodeSpecInterface) DeepCopyInto(out *InternalNodeSpecInterface)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternalNodeSpecInterfaceGateway ¶
type InternalNodeSpecInterfaceGateway struct {
// Name is the name of the interface added to the gateways.
Name string `json:"name"`
}
InternalNodeSpecInterfaceGateway contains the information about the gateway interface.
func (*InternalNodeSpecInterfaceGateway) DeepCopy ¶
func (in *InternalNodeSpecInterfaceGateway) DeepCopy() *InternalNodeSpecInterfaceGateway
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalNodeSpecInterfaceGateway.
func (*InternalNodeSpecInterfaceGateway) DeepCopyInto ¶
func (in *InternalNodeSpecInterfaceGateway) DeepCopyInto(out *InternalNodeSpecInterfaceGateway)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternalNodeSpecInterfaceNode ¶
type InternalNodeSpecInterfaceNode struct {
// IP is the IP of the interface added to the node.
IP IP `json:"ip"`
}
InternalNodeSpecInterfaceNode contains the information about the node interface.
func (*InternalNodeSpecInterfaceNode) DeepCopy ¶
func (in *InternalNodeSpecInterfaceNode) DeepCopy() *InternalNodeSpecInterfaceNode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalNodeSpecInterfaceNode.
func (*InternalNodeSpecInterfaceNode) DeepCopyInto ¶
func (in *InternalNodeSpecInterfaceNode) DeepCopyInto(out *InternalNodeSpecInterfaceNode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternalNodeStatus ¶
type InternalNodeStatus struct {
// NodeAddress is the address of the node.
NodeIP InternalNodeStatusNodeIP `json:"nodeIP"`
}
InternalNodeStatus defines the observed state of InternalNode.
func (*InternalNodeStatus) DeepCopy ¶
func (in *InternalNodeStatus) DeepCopy() *InternalNodeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalNodeStatus.
func (*InternalNodeStatus) DeepCopyInto ¶
func (in *InternalNodeStatus) DeepCopyInto(out *InternalNodeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternalNodeStatusNodeIP ¶
type InternalNodeStatusNodeIP struct {
// Local is the src IP used to contact a pod on the same node.
Local *IP `json:"local,omitempty"`
// Remote is the src IP used to contact a pod on another node.
Remote *IP `json:"remote,omitempty"`
}
InternalNodeStatusNodeIP defines the observed state of InternalNode. It contains the IPs used by an host network pod (scheduled on that node) as src IPs to contact a pod.
func (*InternalNodeStatusNodeIP) DeepCopy ¶
func (in *InternalNodeStatusNodeIP) DeepCopy() *InternalNodeStatusNodeIP
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalNodeStatusNodeIP.
func (*InternalNodeStatusNodeIP) DeepCopyInto ¶
func (in *InternalNodeStatusNodeIP) DeepCopyInto(out *InternalNodeStatusNodeIP)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Metrics ¶
type Metrics struct {
// Enabled specifies whether the metrics are enabled.
Enabled bool `json:"enabled"`
// Service specifies the service template for the metrics.
Service *ServiceTemplate `json:"service,omitempty"`
// ServiceMonitor specifies the service monitor template for the metrics.
ServiceMonitor *ServiceMonitorTemplate `json:"serviceMonitor,omitempty"`
}
Metrics defines the metrics configuration.
func (*Metrics) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metrics.
func (*Metrics) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PublicKey ¶
type PublicKey struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec PublicKeySpec `json:"spec,omitempty"`
}
PublicKey contains a public key data required by some interconnection technologies.
func (*PublicKey) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicKey.
func (*PublicKey) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PublicKey) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PublicKeyList ¶
type PublicKeyList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []PublicKey `json:"items"`
}
PublicKeyList contains a list of PublicKey.
func (*PublicKeyList) DeepCopy ¶
func (in *PublicKeyList) DeepCopy() *PublicKeyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicKeyList.
func (*PublicKeyList) DeepCopyInto ¶
func (in *PublicKeyList) DeepCopyInto(out *PublicKeyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PublicKeyList) DeepCopyObject ¶
func (in *PublicKeyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PublicKeySpec ¶
type PublicKeySpec struct {
// PublicKey contains the public key.
PublicKey []byte `json:"publicKey,omitempty"`
}
PublicKeySpec defines the desired state of PublicKey.
func (*PublicKeySpec) DeepCopy ¶
func (in *PublicKeySpec) DeepCopy() *PublicKeySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicKeySpec.
func (*PublicKeySpec) DeepCopyInto ¶
func (in *PublicKeySpec) DeepCopyInto(out *PublicKeySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Route ¶
type Route struct {
// Dst is the destination of the RouteConfiguration.
Dst *CIDR `json:"dst"`
// Src is the source of the RouteConfiguration.
Src *IP `json:"src,omitempty"`
// Gw is the gateway of the RouteConfiguration.
Gw *IP `json:"gw,omitempty"`
// Dev is the device of the RouteConfiguration.
Dev *string `json:"dev,omitempty"`
// Onlink enables the onlink falg inside the route.
Onlink *bool `json:"onlink,omitempty"`
// Scope is the scope of the RouteConfiguration.
// +kubebuilder:validation:Enum=global;link;host;site;nowhere
Scope *Scope `json:"scope,omitempty"`
// TargetRef is the reference to the target object of the route.
// It is optional and it can be used for custom purposes.
TargetRef *corev1.ObjectReference `json:"targetRef,omitempty"`
}
Route is the route of the RouteConfiguration.
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.
type RouteConfiguration ¶
type RouteConfiguration struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec RouteConfigurationSpec `json:"spec,omitempty"`
Status RouteConfigurationStatus `json:"status,omitempty"`
}
RouteConfiguration contains the network RouteConfiguration of a pair of clusters, including the local and the remote pod and external CIDRs and how the where remapped.
func (*RouteConfiguration) DeepCopy ¶
func (in *RouteConfiguration) DeepCopy() *RouteConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteConfiguration.
func (*RouteConfiguration) DeepCopyInto ¶
func (in *RouteConfiguration) DeepCopyInto(out *RouteConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RouteConfiguration) DeepCopyObject ¶
func (in *RouteConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RouteConfigurationList ¶
type RouteConfigurationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []RouteConfiguration `json:"items"`
}
RouteConfigurationList contains a list of RouteConfiguration.
func (*RouteConfigurationList) DeepCopy ¶
func (in *RouteConfigurationList) DeepCopy() *RouteConfigurationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteConfigurationList.
func (*RouteConfigurationList) DeepCopyInto ¶
func (in *RouteConfigurationList) DeepCopyInto(out *RouteConfigurationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RouteConfigurationList) DeepCopyObject ¶
func (in *RouteConfigurationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RouteConfigurationSpec ¶
type RouteConfigurationSpec struct {
// Table is the table of the RouteConfiguration.
Table Table `json:"table,omitempty"`
}
RouteConfigurationSpec defines the desired state of RouteConfiguration.
func (*RouteConfigurationSpec) DeepCopy ¶
func (in *RouteConfigurationSpec) DeepCopy() *RouteConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteConfigurationSpec.
func (*RouteConfigurationSpec) DeepCopyInto ¶
func (in *RouteConfigurationSpec) DeepCopyInto(out *RouteConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteConfigurationStatus ¶
type RouteConfigurationStatus struct {
// Conditions is the list of conditions of the RouteConfiguration.
Conditions []RouteConfigurationStatusCondition `json:"conditions,omitempty"`
}
RouteConfigurationStatus defines the observed state of RouteConfiguration.
func (*RouteConfigurationStatus) DeepCopy ¶
func (in *RouteConfigurationStatus) DeepCopy() *RouteConfigurationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteConfigurationStatus.
func (*RouteConfigurationStatus) DeepCopyInto ¶
func (in *RouteConfigurationStatus) DeepCopyInto(out *RouteConfigurationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteConfigurationStatusCondition ¶
type RouteConfigurationStatusCondition struct {
// Host where the configuration has been applied.
Host string `json:"host"`
// Type of routeconfiguration condition.
Type RouteConfigurationStatusConditionType `json:"type"`
// Status of the condition, one of True, False, Unknown.
Status metav1.ConditionStatus `json:"status"`
// Last time the condition transitioned from one status to another.
LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
}
RouteConfigurationStatusCondition defines the observed state of FirewallConfiguration.
func (*RouteConfigurationStatusCondition) DeepCopy ¶
func (in *RouteConfigurationStatusCondition) DeepCopy() *RouteConfigurationStatusCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteConfigurationStatusCondition.
func (*RouteConfigurationStatusCondition) DeepCopyInto ¶
func (in *RouteConfigurationStatusCondition) DeepCopyInto(out *RouteConfigurationStatusCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteConfigurationStatusConditionType ¶
type RouteConfigurationStatusConditionType string
RouteConfigurationStatusConditionType is a type of routeconfiguration condition.
const ( // RouteConfigurationStatusConditionTypeApplied reports that the configuration has been applied. RouteConfigurationStatusConditionTypeApplied RouteConfigurationStatusConditionType = "Applied" // RouteConfigurationStatusConditionTypeError reports an error in the configuration. RouteConfigurationStatusConditionTypeError RouteConfigurationStatusConditionType = "Error" )
type Rule ¶
type Rule struct {
// Dst is the destination of the Rule.
Dst *CIDR `json:"dst,omitempty"`
// Src is the source of the Rule.
Src *CIDR `json:"src,omitempty"`
// Iif is the input interface name of the Rule.
Iif *string `json:"iif,omitempty"`
// OifName is the output interface name of the Rule.
Oif *string `json:"oif,omitempty"`
// FwMark is the firewall mark of the Rule.
FwMark *int `json:"fwmark,omitempty"`
// Routes is the list of routes of the Rule.
Routes []Route `json:"routes"`
// TargetRef is the reference to the target object of the rule.
// It is optional and it can be used for custom purposes.
TargetRef *corev1.ObjectReference `json:"targetRef,omitempty"`
}
Rule is the rule of the RouteConfiguration.
func (*Rule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule.
func (*Rule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Scope ¶
type Scope string
Scope is the scope of the route.
const ( // GlobalScope is the global scope of the RouteConfiguration. GlobalScope Scope = "global" // LinkScope is the link scope of the RouteConfiguration. LinkScope Scope = "link" // HostScope is the host scope of the RouteConfiguration. HostScope Scope = "host" // SiteScope is the site scope of the RouteConfiguration. SiteScope Scope = "site" // NowhereScope is the nowhere scope of the RouteConfiguration. NowhereScope Scope = "nowhere" )
type ServiceMonitorTemplate ¶
type ServiceMonitorTemplate struct {
// Metadata of the service monitor.
Metadata metav1.ObjectMeta `json:"metadata,omitempty"`
// Spec of the service monitor.
Spec monitoringv1.ServiceMonitorSpec `json:"spec,omitempty"`
}
ServiceMonitorTemplate defines the template of a service monitor.
func (*ServiceMonitorTemplate) DeepCopy ¶
func (in *ServiceMonitorTemplate) DeepCopy() *ServiceMonitorTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceMonitorTemplate.
func (*ServiceMonitorTemplate) DeepCopyInto ¶
func (in *ServiceMonitorTemplate) DeepCopyInto(out *ServiceMonitorTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceTemplate ¶
type ServiceTemplate struct {
// Metadata of the service.
Metadata metav1.ObjectMeta `json:"metadata,omitempty"`
// Spec of the service.
Spec corev1.ServiceSpec `json:"spec,omitempty"`
}
ServiceTemplate defines the template of a service.
func (*ServiceTemplate) DeepCopy ¶
func (in *ServiceTemplate) DeepCopy() *ServiceTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTemplate.
func (*ServiceTemplate) DeepCopyInto ¶
func (in *ServiceTemplate) DeepCopyInto(out *ServiceTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Table ¶
type Table struct {
// Name is the name of the table of the RouteConfiguration.
Name string `json:"name"`
// Rules is the list of rules of the RouteConfiguration.
// +kubebuilder:validation:MinItems=1
Rules []Rule `json:"rules"`
// TargetRef is the reference to the target object of the table.
// It is optional and it can be used for custom purposes.
TargetRef *corev1.ObjectReference `json:"targetRef,omitempty"`
}
Table is the table of the RouteConfiguration.
func (*Table) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Table.
func (*Table) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WgGatewayClient ¶
type WgGatewayClient struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec WgGatewayClientSpec `json:"spec,omitempty"`
Status WgGatewayClientStatus `json:"status,omitempty"`
}
WgGatewayClient defines a wireguard gateway client that needs to point to a remote wireguard gateway server.
func (*WgGatewayClient) DeepCopy ¶
func (in *WgGatewayClient) DeepCopy() *WgGatewayClient
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WgGatewayClient.
func (*WgGatewayClient) DeepCopyInto ¶
func (in *WgGatewayClient) DeepCopyInto(out *WgGatewayClient)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WgGatewayClient) DeepCopyObject ¶
func (in *WgGatewayClient) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WgGatewayClientList ¶
type WgGatewayClientList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []WgGatewayClient `json:"items"`
}
WgGatewayClientList contains a list of WgGatewayClient.
func (*WgGatewayClientList) DeepCopy ¶
func (in *WgGatewayClientList) DeepCopy() *WgGatewayClientList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WgGatewayClientList.
func (*WgGatewayClientList) DeepCopyInto ¶
func (in *WgGatewayClientList) DeepCopyInto(out *WgGatewayClientList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WgGatewayClientList) DeepCopyObject ¶
func (in *WgGatewayClientList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WgGatewayClientSpec ¶
type WgGatewayClientSpec struct {
// Deployment specifies the deployment template for the client.
Deployment DeploymentTemplate `json:"deployment"`
// Metrics specifies the metrics configuration for the client.
Metrics *Metrics `json:"metrics,omitempty"`
// SecretRef specifies the reference to the secret containing the wireguard configuration.
// Leave it empty to let the operator create a new secret.
SecretRef corev1.LocalObjectReference `json:"secretRef,omitempty"`
}
WgGatewayClientSpec defines the desired state of WgGatewayClient.
func (*WgGatewayClientSpec) DeepCopy ¶
func (in *WgGatewayClientSpec) DeepCopy() *WgGatewayClientSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WgGatewayClientSpec.
func (*WgGatewayClientSpec) DeepCopyInto ¶
func (in *WgGatewayClientSpec) DeepCopyInto(out *WgGatewayClientSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WgGatewayClientStatus ¶
type WgGatewayClientStatus struct {
// SecretRef specifies the reference to the secret.
SecretRef *corev1.ObjectReference `json:"secretRef,omitempty"`
// InternalEndpoint specifies the endpoint for the internal network.
InternalEndpoint *InternalGatewayEndpoint `json:"internalEndpoint,omitempty"`
}
WgGatewayClientStatus defines the observed state of WgGatewayClient.
func (*WgGatewayClientStatus) DeepCopy ¶
func (in *WgGatewayClientStatus) DeepCopy() *WgGatewayClientStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WgGatewayClientStatus.
func (*WgGatewayClientStatus) DeepCopyInto ¶
func (in *WgGatewayClientStatus) DeepCopyInto(out *WgGatewayClientStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WgGatewayClientTemplate ¶
type WgGatewayClientTemplate struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec WgGatewayClientTemplateSpec `json:"spec,omitempty"`
}
WgGatewayClientTemplate contains a template for a wireguard gateway client.
func (*WgGatewayClientTemplate) DeepCopy ¶
func (in *WgGatewayClientTemplate) DeepCopy() *WgGatewayClientTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WgGatewayClientTemplate.
func (*WgGatewayClientTemplate) DeepCopyInto ¶
func (in *WgGatewayClientTemplate) DeepCopyInto(out *WgGatewayClientTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WgGatewayClientTemplate) DeepCopyObject ¶
func (in *WgGatewayClientTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WgGatewayClientTemplateList ¶
type WgGatewayClientTemplateList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []WgGatewayClientTemplate `json:"items"`
}
WgGatewayClientTemplateList contains a list of WgGatewayClientTemplate.
func (*WgGatewayClientTemplateList) DeepCopy ¶
func (in *WgGatewayClientTemplateList) DeepCopy() *WgGatewayClientTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WgGatewayClientTemplateList.
func (*WgGatewayClientTemplateList) DeepCopyInto ¶
func (in *WgGatewayClientTemplateList) DeepCopyInto(out *WgGatewayClientTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WgGatewayClientTemplateList) DeepCopyObject ¶
func (in *WgGatewayClientTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WgGatewayClientTemplateSpec ¶
type WgGatewayClientTemplateSpec struct {
// ObjectKind specifies the kind of the object.
ObjectKind metav1.TypeMeta `json:"objectKind,omitempty"`
// Template specifies the template of the client.
// +kubebuilder:pruning:PreserveUnknownFields
Template unstructured.Unstructured `json:"template,omitempty"`
}
WgGatewayClientTemplateSpec defines the desired state of WgGatewayClientTemplate.
func (*WgGatewayClientTemplateSpec) DeepCopy ¶
func (in *WgGatewayClientTemplateSpec) DeepCopy() *WgGatewayClientTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WgGatewayClientTemplateSpec.
func (*WgGatewayClientTemplateSpec) DeepCopyInto ¶
func (in *WgGatewayClientTemplateSpec) DeepCopyInto(out *WgGatewayClientTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WgGatewayServer ¶
type WgGatewayServer struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec WgGatewayServerSpec `json:"spec,omitempty"`
Status WgGatewayServerStatus `json:"status,omitempty"`
}
WgGatewayServer defines a wireguard gateway server that will accept connections from remote wireguard gateway clients.
func (*WgGatewayServer) DeepCopy ¶
func (in *WgGatewayServer) DeepCopy() *WgGatewayServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WgGatewayServer.
func (*WgGatewayServer) DeepCopyInto ¶
func (in *WgGatewayServer) DeepCopyInto(out *WgGatewayServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WgGatewayServer) DeepCopyObject ¶
func (in *WgGatewayServer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WgGatewayServerList ¶
type WgGatewayServerList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []WgGatewayServer `json:"items"`
}
WgGatewayServerList contains a list of WgGatewayServer.
func (*WgGatewayServerList) DeepCopy ¶
func (in *WgGatewayServerList) DeepCopy() *WgGatewayServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WgGatewayServerList.
func (*WgGatewayServerList) DeepCopyInto ¶
func (in *WgGatewayServerList) DeepCopyInto(out *WgGatewayServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WgGatewayServerList) DeepCopyObject ¶
func (in *WgGatewayServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WgGatewayServerSpec ¶
type WgGatewayServerSpec struct {
// Service specifies the service template for the server.
Service ServiceTemplate `json:"service"`
// Deployment specifies the deployment template for the server.
Deployment DeploymentTemplate `json:"deployment"`
// Metrics specifies the metrics configuration for the server.
Metrics *Metrics `json:"metrics,omitempty"`
// SecretRef specifies the reference to the secret containing the wireguard configuration.
// Leave it empty to let the operator create a new secret.
SecretRef corev1.LocalObjectReference `json:"secretRef,omitempty"`
}
WgGatewayServerSpec defines the desired state of WgGatewayServer.
func (*WgGatewayServerSpec) DeepCopy ¶
func (in *WgGatewayServerSpec) DeepCopy() *WgGatewayServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WgGatewayServerSpec.
func (*WgGatewayServerSpec) DeepCopyInto ¶
func (in *WgGatewayServerSpec) DeepCopyInto(out *WgGatewayServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WgGatewayServerStatus ¶
type WgGatewayServerStatus struct {
// SecretRef specifies the reference to the secret.
SecretRef *corev1.ObjectReference `json:"secretRef,omitempty"`
// Endpoint specifies the endpoint of the server.
Endpoint *EndpointStatus `json:"endpoint,omitempty"`
// InternalEndpoint specifies the endpoint for the internal network.
InternalEndpoint *InternalGatewayEndpoint `json:"internalEndpoint,omitempty"`
}
WgGatewayServerStatus defines the observed state of WgGatewayServer.
func (*WgGatewayServerStatus) DeepCopy ¶
func (in *WgGatewayServerStatus) DeepCopy() *WgGatewayServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WgGatewayServerStatus.
func (*WgGatewayServerStatus) DeepCopyInto ¶
func (in *WgGatewayServerStatus) DeepCopyInto(out *WgGatewayServerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WgGatewayServerTemplate ¶
type WgGatewayServerTemplate struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec WgGatewayServerTemplateSpec `json:"spec,omitempty"`
}
WgGatewayServerTemplate contains a template for a wireguard gateway server.
func (*WgGatewayServerTemplate) DeepCopy ¶
func (in *WgGatewayServerTemplate) DeepCopy() *WgGatewayServerTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WgGatewayServerTemplate.
func (*WgGatewayServerTemplate) DeepCopyInto ¶
func (in *WgGatewayServerTemplate) DeepCopyInto(out *WgGatewayServerTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WgGatewayServerTemplate) DeepCopyObject ¶
func (in *WgGatewayServerTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WgGatewayServerTemplateList ¶
type WgGatewayServerTemplateList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []WgGatewayServerTemplate `json:"items"`
}
WgGatewayServerTemplateList contains a list of WgGatewayServerTemplate.
func (*WgGatewayServerTemplateList) DeepCopy ¶
func (in *WgGatewayServerTemplateList) DeepCopy() *WgGatewayServerTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WgGatewayServerTemplateList.
func (*WgGatewayServerTemplateList) DeepCopyInto ¶
func (in *WgGatewayServerTemplateList) DeepCopyInto(out *WgGatewayServerTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WgGatewayServerTemplateList) DeepCopyObject ¶
func (in *WgGatewayServerTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WgGatewayServerTemplateSpec ¶
type WgGatewayServerTemplateSpec struct {
// ObjectKind specifies the kind of the object.
ObjectKind metav1.TypeMeta `json:"objectKind,omitempty"`
// Template specifies the template of the server.
// +kubebuilder:pruning:PreserveUnknownFields
Template unstructured.Unstructured `json:"template,omitempty"`
}
WgGatewayServerTemplateSpec defines the desired state of WgGatewayServerTemplate.
func (*WgGatewayServerTemplateSpec) DeepCopy ¶
func (in *WgGatewayServerTemplateSpec) DeepCopy() *WgGatewayServerTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WgGatewayServerTemplateSpec.
func (*WgGatewayServerTemplateSpec) DeepCopyInto ¶
func (in *WgGatewayServerTemplateSpec) DeepCopyInto(out *WgGatewayServerTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files
¶
- common_types.go
- configuration_types.go
- connection_types.go
- doc.go
- firewallconfiguration_types.go
- gatewayclient_types.go
- gatewayserver_types.go
- genevetunnel_types.go
- groupversion_info.go
- internalfabric_types.go
- internalnode_types.go
- publickey_types.go
- routeconfiguration_types.go
- wggatewayclient_types.go
- wggatewayclienttemplate_types.go
- wggatewayserver_types.go
- wggatewayservertemplate_types.go
- zz_generated.deepcopy.go