v1alpha1

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the worker v1alpha1 API group +kubebuilder:object:generate=true +groupName=worker.kubeslice.io

Index

Constants

View Source
const (
	ComponentHealthStatusNormal  = "Normal"
	ComponentHealthStatusWarning = "Warning"
	ComponentHealthStatusError   = "Error"
)
View Source
const (
	SliceHealthStatusNormal  = "Normal"
	SliceHealthStatusWarning = "Warning"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "worker.kubeslice.io", Version: "v1alpha1"}

	// 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
)

Functions

This section is empty.

Types

type AppPod

type AppPod struct {
	// PodName is App Pod Name
	PodName string `json:"podName,omitempty"`
	// PodNamespace is App Pod Namespace
	PodNamespace string `json:"podNamespace,omitempty"`
	// PodIP is App Pod IP
	PodIP string `json:"podIp,omitempty"`
	// NsmIP is the nsm ip of App
	NsmIP string `json:"nsmIp,omitempty"`
	// NsmInterface is the nsm interface of App
	NsmInterface string `json:"nsmInterface,omitempty"`
	// PeerIp is the nsm peer ip of gateway
	NsmPeerIP string `json:"nsmPeerIp,omitempty"`
}

AppPod defines the app pods connected to slice

func (*AppPod) DeepCopy

func (in *AppPod) DeepCopy() *AppPod

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

func (*AppPod) DeepCopyInto

func (in *AppPod) DeepCopyInto(out *AppPod)

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

type ClientStatus added in v0.6.8

type ClientStatus struct {
	Response       string `json:"response,omitempty"`
	RecycledClient string `json:"recycledClient,omitempty"`
}

func (*ClientStatus) DeepCopy added in v0.6.8

func (in *ClientStatus) DeepCopy() *ClientStatus

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

func (*ClientStatus) DeepCopyInto added in v0.6.8

func (in *ClientStatus) DeepCopyInto(out *ClientStatus)

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

type ComponentHealthStatus added in v0.6.10

type ComponentHealthStatus string

type ComponentStatus added in v0.6.10

type ComponentStatus struct {
	// Component name
	Component string `json:"component"`
	//+kubebuilder:validation:Enum:=Normal;Warning;Error
	ComponentHealthStatus ComponentHealthStatus `json:"componentHealthStatus"`
}

func (*ComponentStatus) DeepCopy added in v0.6.10

func (in *ComponentStatus) DeepCopy() *ComponentStatus

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

func (*ComponentStatus) DeepCopyInto added in v0.6.10

func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus)

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

type ExternalGatewayConfig

type ExternalGatewayConfig struct {
	Ingress   ExternalGatewayConfigOptions `json:"ingress,omitempty"`
	Egress    ExternalGatewayConfigOptions `json:"egress,omitempty"`
	NsIngress ExternalGatewayConfigOptions `json:"nsIngress,omitempty"`
	//+kubebuilder:validation:Enum:=none;istio
	GatewayType string `json:"gatewayType,omitempty"`
}

func (*ExternalGatewayConfig) DeepCopy

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

func (*ExternalGatewayConfig) DeepCopyInto

func (in *ExternalGatewayConfig) DeepCopyInto(out *ExternalGatewayConfig)

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

type ExternalGatewayConfigOptions

type ExternalGatewayConfigOptions struct {
	Enabled bool `json:"enabled,omitempty"`
}

func (*ExternalGatewayConfigOptions) DeepCopy

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

func (*ExternalGatewayConfigOptions) DeepCopyInto

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

type GatewayCredentials

type GatewayCredentials struct {
	SecretName string `json:"secretName,omitempty"`
}

func (*GatewayCredentials) DeepCopy

func (in *GatewayCredentials) DeepCopy() *GatewayCredentials

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

func (*GatewayCredentials) DeepCopyInto

func (in *GatewayCredentials) DeepCopyInto(out *GatewayCredentials)

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

type GwPair added in v0.6.8

type GwPair struct {
	ClientID string `json:"clientId,omitempty"`
	ServerID string `json:"serverId,omitempty"`
}

func (*GwPair) DeepCopy added in v0.6.8

func (in *GwPair) DeepCopy() *GwPair

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

func (*GwPair) DeepCopyInto added in v0.6.8

func (in *GwPair) DeepCopyInto(out *GwPair)

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

type NamespaceConfig

type NamespaceConfig struct {
	Name string `json:"name,omitempty"`
}

func (*NamespaceConfig) DeepCopy

func (in *NamespaceConfig) DeepCopy() *NamespaceConfig

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

func (*NamespaceConfig) DeepCopyInto

func (in *NamespaceConfig) DeepCopyInto(out *NamespaceConfig)

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

type NamespaceIsolationProfile

type NamespaceIsolationProfile struct {
	//+kubebuilder:default:=false
	//+kubebuilder:validation:Optional
	IsolationEnabled      bool     `json:"isolationEnabled"`
	ApplicationNamespaces []string `json:"applicationNamespaces,omitempty"`
	AllowedNamespaces     []string `json:"allowedNamespaces,omitempty"`
}

func (*NamespaceIsolationProfile) DeepCopy

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

func (*NamespaceIsolationProfile) DeepCopyInto

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

type QOSProfile

type QOSProfile struct {
	//+kubebuilder:default:=HTB
	QueueType               string `json:"queueType,omitempty"`
	Priority                int    `json:"priority,omitempty"`
	TcType                  string `json:"tcType,omitempty"`
	BandwidthCeilingKbps    int    `json:"bandwidthCeilingKbps,omitempty"`
	BandwidthGuaranteedKbps int    `json:"bandwidthGuaranteedKbps,omitempty"`
	//+kubebuilder:validation:Enum:=Default;AF11;AF12;AF13;AF21;AF22;AF23;AF31;AF32;AF33;AF41;AF42;AF43;EF
	DscpClass string `json:"dscpClass,omitempty"`
}

QOSProfile is the QOS Profile configuration from backend

func (*QOSProfile) DeepCopy

func (in *QOSProfile) DeepCopy() *QOSProfile

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

func (*QOSProfile) DeepCopyInto

func (in *QOSProfile) DeepCopyInto(out *QOSProfile)

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

type ServiceDiscoveryEndpoint

type ServiceDiscoveryEndpoint struct {
	// The name of the pod.
	PodName string `json:"podName,omitempty"`
	// The ID of the cluster.
	Cluster string `json:"cluster,omitempty"`
	// The NSM IP address.
	NsmIp string `json:"nsmIp,omitempty"`
	// the dns_name of the service
	DnsName string `json:"dnsName,omitempty"`
	// port of the service
	Port int32 `json:"port,omitempty"`
}

func (*ServiceDiscoveryEndpoint) DeepCopy

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

func (*ServiceDiscoveryEndpoint) DeepCopyInto

func (in *ServiceDiscoveryEndpoint) DeepCopyInto(out *ServiceDiscoveryEndpoint)

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

type ServiceDiscoveryPort

type ServiceDiscoveryPort struct {
	// The name of the port.
	Name string `json:"name,omitempty"`
	// The port number.
	Port int32 `json:"port,omitempty"`
	// The protocol.
	Protocol string `json:"protocol,omitempty"`
}

func (*ServiceDiscoveryPort) DeepCopy

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

func (*ServiceDiscoveryPort) DeepCopyInto

func (in *ServiceDiscoveryPort) DeepCopyInto(out *ServiceDiscoveryPort)

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

type SliceGatewayConfig

type SliceGatewayConfig struct {
	//+kubebuilder:deprecatedversion:warning="worker/v1alpha1 NodeIp is deprecated...use NodeIps"
	NodeIp        string   `json:"nodeIp,omitempty"`
	NodeIps       []string `json:"nodeIps,omitempty"`
	NodePort      int      `json:"nodePort,omitempty"`
	NodePorts     []int    `json:"nodePorts,omitempty"`
	GatewayName   string   `json:"gatewayName,omitempty"`
	ClusterName   string   `json:"clusterName,omitempty"`
	VpnIp         string   `json:"vpnIp,omitempty"`
	GatewaySubnet string   `json:"gatewaySubnet,omitempty"`
}

func (*SliceGatewayConfig) DeepCopy

func (in *SliceGatewayConfig) DeepCopy() *SliceGatewayConfig

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

func (*SliceGatewayConfig) DeepCopyInto

func (in *SliceGatewayConfig) DeepCopyInto(out *SliceGatewayConfig)

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

type SliceHealth added in v0.6.10

type SliceHealth struct {
	// SliceHealthStatus shows the overall health status of the slice
	//+kubebuilder:validation:Enum:=Normal;Warning
	SliceHealthStatus SliceHealthStatus `json:"sliceHealthStatus,omitempty"`
	// ComponentStatuses shows the health status of individual components in the cluster
	ComponentStatuses []ComponentStatus `json:"componentStatuses,omitempty"`
	// LastUpdated is the timestamp when healthstatus was updated
	LastUpdated metav1.Time `json:"lastUpdated,omitempty"`
}

func (*SliceHealth) DeepCopy added in v0.6.10

func (in *SliceHealth) DeepCopy() *SliceHealth

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

func (*SliceHealth) DeepCopyInto added in v0.6.10

func (in *SliceHealth) DeepCopyInto(out *SliceHealth)

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

type SliceHealthStatus added in v0.6.10

type SliceHealthStatus string

type WorkerServiceImport

type WorkerServiceImport struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   WorkerServiceImportSpec   `json:"spec,omitempty"`
	Status WorkerServiceImportStatus `json:"status,omitempty"`
}

WorkerServiceImport is the Schema for the workerserviceimport API

func (*WorkerServiceImport) DeepCopy

func (in *WorkerServiceImport) DeepCopy() *WorkerServiceImport

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

func (*WorkerServiceImport) DeepCopyInto

func (in *WorkerServiceImport) DeepCopyInto(out *WorkerServiceImport)

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

func (*WorkerServiceImport) DeepCopyObject

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

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

type WorkerServiceImportList

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

WorkerServiceImportList contains a list of WorkerServiceImport

func (*WorkerServiceImportList) DeepCopy

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

func (*WorkerServiceImportList) DeepCopyInto

func (in *WorkerServiceImportList) DeepCopyInto(out *WorkerServiceImportList)

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

func (*WorkerServiceImportList) DeepCopyObject

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

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

type WorkerServiceImportSpec

type WorkerServiceImportSpec struct {
	//ServiceName is the name of the service
	ServiceName string `json:"serviceName,omitempty"`
	//ServiceNamespace is the namespace of the service
	ServiceNamespace string `json:"serviceNamespace,omitempty"` // Required
	// clusterId is the id of the cluster where the service is available.
	SourceClusters []string `json:"sourceClusters,omitempty"`
	// The name of the slice.
	SliceName string `json:"sliceName,omitempty"`
	// the service discovery endpoint array
	ServiceDiscoveryEndpoints []ServiceDiscoveryEndpoint `json:"serviceDiscoveryEndpoints,omitempty"`
	// The ports for the given service.
	ServiceDiscoveryPorts []ServiceDiscoveryPort `json:"serviceDiscoveryPorts,omitempty"`
	// Alias names for the exported service. The service could be addressed by the alias names
	// in addition to the slice.local name.
	Aliases []string `json:"aliases,omitempty"`
}

WorkerServiceImportSpec defines the desired state of WorkerServiceImport

func (*WorkerServiceImportSpec) DeepCopy

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

func (*WorkerServiceImportSpec) DeepCopyInto

func (in *WorkerServiceImportSpec) DeepCopyInto(out *WorkerServiceImportSpec)

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

type WorkerServiceImportStatus

type WorkerServiceImportStatus struct {
}

WorkerServiceImportStatus defines the observed state of WorkerServiceImport

func (*WorkerServiceImportStatus) DeepCopy

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

func (*WorkerServiceImportStatus) DeepCopyInto

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

type WorkerSliceConfig

type WorkerSliceConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   WorkerSliceConfigSpec   `json:"spec,omitempty"`
	Status WorkerSliceConfigStatus `json:"status,omitempty"`
}

WorkerSliceConfig is the Schema for the slice API

func (*WorkerSliceConfig) DeepCopy

func (in *WorkerSliceConfig) DeepCopy() *WorkerSliceConfig

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

func (*WorkerSliceConfig) DeepCopyInto

func (in *WorkerSliceConfig) DeepCopyInto(out *WorkerSliceConfig)

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

func (*WorkerSliceConfig) DeepCopyObject

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

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

func (*WorkerSliceConfig) Default

func (r *WorkerSliceConfig) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*WorkerSliceConfig) SetupWebhookWithManager

func (r *WorkerSliceConfig) SetupWebhookWithManager(mgr ctrl.Manager, validateUpdate customWorkerSliceConfigValidation) error

func (*WorkerSliceConfig) ValidateCreate

func (r *WorkerSliceConfig) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*WorkerSliceConfig) ValidateDelete

func (r *WorkerSliceConfig) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*WorkerSliceConfig) ValidateUpdate

func (r *WorkerSliceConfig) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type WorkerSliceConfigList

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

WorkerSliceConfigList contains a list of Slice

func (*WorkerSliceConfigList) DeepCopy

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

func (*WorkerSliceConfigList) DeepCopyInto

func (in *WorkerSliceConfigList) DeepCopyInto(out *WorkerSliceConfigList)

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

func (*WorkerSliceConfigList) DeepCopyObject

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

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

type WorkerSliceConfigSpec

type WorkerSliceConfigSpec struct {
	SliceName   string `json:"sliceName,omitempty"`
	SliceSubnet string `json:"sliceSubnet,omitempty"`
	//+kubebuilder:default:=Application
	SliceType            string                     `json:"sliceType,omitempty"`
	SliceGatewayProvider WorkerSliceGatewayProvider `json:"sliceGatewayProvider,omitempty"`
	//+kubebuilder:default:=Local
	SliceIpamType             string                    `json:"sliceIpamType,omitempty"`
	QosProfileDetails         QOSProfile                `json:"qosProfileDetails,omitempty"`
	NamespaceIsolationProfile NamespaceIsolationProfile `json:"namespaceIsolationProfile,omitempty"`
	IpamClusterOctet          int                       `json:"ipamClusterOctet,omitempty"`
	//+kubebuilder:validation:Required
	Octet                 *int                  `json:"octet"`
	ClusterSubnetCIDR     string                `json:"clusterSubnetCIDR,omitempty"`
	ExternalGatewayConfig ExternalGatewayConfig `json:"externalGatewayConfig,omitempty"`
}

WorkerSliceConfigSpec defines the desired state of Slice

func (*WorkerSliceConfigSpec) DeepCopy

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

func (*WorkerSliceConfigSpec) DeepCopyInto

func (in *WorkerSliceConfigSpec) DeepCopyInto(out *WorkerSliceConfigSpec)

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

type WorkerSliceConfigStatus

type WorkerSliceConfigStatus struct {
	ConnectedAppPods       []AppPod          `json:"connectedAppPods,omitempty"`
	OnboardedAppNamespaces []NamespaceConfig `json:"onboardedAppNamespaces,omitempty"`
	// SliceHealth shows the health of the slice in worker cluster
	SliceHealth *SliceHealth `json:"sliceHealth,omitempty"`
}

WorkerSliceConfigStatus defines the observed state of Slice

func (*WorkerSliceConfigStatus) DeepCopy

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

func (*WorkerSliceConfigStatus) DeepCopyInto

func (in *WorkerSliceConfigStatus) DeepCopyInto(out *WorkerSliceConfigStatus)

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

type WorkerSliceGateway

type WorkerSliceGateway struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   WorkerSliceGatewaySpec   `json:"spec,omitempty"`
	Status WorkerSliceGatewayStatus `json:"status,omitempty"`
}

WorkerSliceGateway is the Schema for the slicegateways API

func (*WorkerSliceGateway) DeepCopy

func (in *WorkerSliceGateway) DeepCopy() *WorkerSliceGateway

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

func (*WorkerSliceGateway) DeepCopyInto

func (in *WorkerSliceGateway) DeepCopyInto(out *WorkerSliceGateway)

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

func (*WorkerSliceGateway) DeepCopyObject

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

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

func (*WorkerSliceGateway) Default

func (r *WorkerSliceGateway) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*WorkerSliceGateway) SetupWebhookWithManager

func (r *WorkerSliceGateway) SetupWebhookWithManager(mgr ctrl.Manager, validateUpdate customWorkerSliceGatewayValidation) error

func (*WorkerSliceGateway) ValidateCreate

func (r *WorkerSliceGateway) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*WorkerSliceGateway) ValidateDelete

func (r *WorkerSliceGateway) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*WorkerSliceGateway) ValidateUpdate

func (r *WorkerSliceGateway) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type WorkerSliceGatewayList

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

WorkerSliceGatewayList contains a list of WorkerSliceGateway

func (*WorkerSliceGatewayList) DeepCopy

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

func (*WorkerSliceGatewayList) DeepCopyInto

func (in *WorkerSliceGatewayList) DeepCopyInto(out *WorkerSliceGatewayList)

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

func (*WorkerSliceGatewayList) DeepCopyObject

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

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

type WorkerSliceGatewayProvider

type WorkerSliceGatewayProvider struct {
	//+kubebuilder:default:=OpenVPN
	SliceGatewayType string `json:"sliceGatewayType,omitempty"`
	//+kubebuilder:default:=Local
	SliceCaType string `json:"sliceCaType,omitempty"`
}

WorkerSliceGatewayProvider defines the configuration for slicegateway

func (*WorkerSliceGatewayProvider) DeepCopy

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

func (*WorkerSliceGatewayProvider) DeepCopyInto

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

type WorkerSliceGatewaySpec

type WorkerSliceGatewaySpec struct {
	SliceName string `json:"sliceName,omitempty"`
	//+kubebuilder:default:=OpenVPN
	GatewayType string `json:"gatewayType,omitempty"`
	//+kubebuilder:validation:Enum:=Client;Server
	GatewayHostType     string             `json:"gatewayHostType,omitempty"`
	GatewayCredentials  GatewayCredentials `json:"gatewayCredentials,omitempty"`
	LocalGatewayConfig  SliceGatewayConfig `json:"localGatewayConfig,omitempty"`
	RemoteGatewayConfig SliceGatewayConfig `json:"remoteGatewayConfig,omitempty"`
	GatewayNumber       int                `json:"gatewayNumber,omitempty"`
}

WorkerSliceGatewaySpec defines the desired state of WorkerSliceGateway

func (*WorkerSliceGatewaySpec) DeepCopy

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

func (*WorkerSliceGatewaySpec) DeepCopyInto

func (in *WorkerSliceGatewaySpec) DeepCopyInto(out *WorkerSliceGatewaySpec)

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

type WorkerSliceGatewayStatus

type WorkerSliceGatewayStatus struct {
	GatewayNumber         int `json:"gatewayNumber,omitempty"`
	ClusterInsertionIndex int `json:"clusterInsertionIndex,omitempty"`
}

WorkerSliceGatewayStatus defines the observed state of WorkerSliceGateway

func (*WorkerSliceGatewayStatus) DeepCopy

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

func (*WorkerSliceGatewayStatus) DeepCopyInto

func (in *WorkerSliceGatewayStatus) DeepCopyInto(out *WorkerSliceGatewayStatus)

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

type WorkerSliceGwRecycler added in v0.6.8

type WorkerSliceGwRecycler struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   WorkerSliceGwRecyclerSpec   `json:"spec,omitempty"`
	Status WorkerSliceGwRecyclerStatus `json:"status,omitempty"`
}

WorkerSliceGwRecycler is the Schema for the workerslicegwrecyclers API

func (*WorkerSliceGwRecycler) DeepCopy added in v0.6.8

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

func (*WorkerSliceGwRecycler) DeepCopyInto added in v0.6.8

func (in *WorkerSliceGwRecycler) DeepCopyInto(out *WorkerSliceGwRecycler)

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

func (*WorkerSliceGwRecycler) DeepCopyObject added in v0.6.8

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

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

type WorkerSliceGwRecyclerList added in v0.6.8

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

WorkerSliceGwRecyclerList contains a list of WorkerSliceGwRecycler

func (*WorkerSliceGwRecyclerList) DeepCopy added in v0.6.8

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

func (*WorkerSliceGwRecyclerList) DeepCopyInto added in v0.6.8

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

func (*WorkerSliceGwRecyclerList) DeepCopyObject added in v0.6.8

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

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

type WorkerSliceGwRecyclerSpec added in v0.6.8

type WorkerSliceGwRecyclerSpec struct {
	SliceGwServer string `json:"sliceGwServer,omitempty"`
	SliceGwClient string `json:"sliceGwClient,omitempty"`
	GwPair        GwPair `json:"gwPair,omitempty"`
	State         string `json:"state,omitempty"`
	Request       string `json:"request,omitempty"`
	SliceName     string `json:"sliceName,omitempty"`
}

WorkerSliceGwRecyclerSpec defines the desired state of WorkerSliceGwRecycler

func (*WorkerSliceGwRecyclerSpec) DeepCopy added in v0.6.8

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

func (*WorkerSliceGwRecyclerSpec) DeepCopyInto added in v0.6.8

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

type WorkerSliceGwRecyclerStatus added in v0.6.8

type WorkerSliceGwRecyclerStatus struct {
	Client           ClientStatus `json:"client,omitempty"`
	ServersToRecycle []string     `json:"serversToRecycle,omitempty"`
	RecycledServers  []string     `json:"recycledServers,omitempty"`
}

WorkerSliceGwRecyclerStatus defines the observed state of WorkerSliceGwRecycler

func (*WorkerSliceGwRecyclerStatus) DeepCopy added in v0.6.8

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

func (*WorkerSliceGwRecyclerStatus) DeepCopyInto added in v0.6.8

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL