Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the controller v1alpha1 API group +kubebuilder:object:generate=true +groupName=controller.kubeslice.io
Index ¶
- Variables
- type Cluster
- func (in *Cluster) DeepCopy() *Cluster
- func (in *Cluster) DeepCopyInto(out *Cluster)
- func (in *Cluster) DeepCopyObject() runtime.Object
- func (r *Cluster) Default()
- func (r *Cluster) SetupWebhookWithManager(mgr ctrl.Manager, validateCreate clusterValidation, ...) error
- func (r *Cluster) ValidateCreate() error
- func (r *Cluster) ValidateDelete() error
- func (r *Cluster) ValidateUpdate(old runtime.Object) error
- type ClusterList
- type ClusterProperty
- type ClusterSpec
- type ClusterStatus
- type ExternalGatewayConfig
- type ExternalGatewayConfigOptions
- type GeoLocation
- type KubernetesDashboard
- type Monitoring
- type NamespaceIsolationProfile
- type NamespacesConfig
- type Project
- func (in *Project) DeepCopy() *Project
- func (in *Project) DeepCopyInto(out *Project)
- func (in *Project) DeepCopyObject() runtime.Object
- func (r *Project) Default()
- func (r *Project) SetupWebhookWithManager(mgr ctrl.Manager, validateCreate customProjectValidation, ...) error
- func (r *Project) ValidateCreate() error
- func (r *Project) ValidateDelete() error
- func (r *Project) ValidateUpdate(old runtime.Object) error
- type ProjectList
- type ProjectSpec
- type ProjectStatus
- type QOSProfile
- type ServiceAccount
- type ServiceDiscoveryEndpoint
- type ServiceDiscoveryPort
- type ServiceExportConfig
- func (in *ServiceExportConfig) DeepCopy() *ServiceExportConfig
- func (in *ServiceExportConfig) DeepCopyInto(out *ServiceExportConfig)
- func (in *ServiceExportConfig) DeepCopyObject() runtime.Object
- func (r *ServiceExportConfig) Default()
- func (r *ServiceExportConfig) SetupWebhookWithManager(mgr ctrl.Manager, validateCreate customValidationServiceExport, ...) error
- func (r *ServiceExportConfig) ValidateCreate() error
- func (r *ServiceExportConfig) ValidateDelete() error
- func (r *ServiceExportConfig) ValidateUpdate(old runtime.Object) error
- type ServiceExportConfigList
- type ServiceExportConfigSpec
- type ServiceExportConfigStatus
- type SliceConfig
- func (in *SliceConfig) DeepCopy() *SliceConfig
- func (in *SliceConfig) DeepCopyInto(out *SliceConfig)
- func (in *SliceConfig) DeepCopyObject() runtime.Object
- func (r *SliceConfig) Default()
- func (r *SliceConfig) SetupWebhookWithManager(mgr ctrl.Manager, validateCreate sliceConfigValidation, ...) error
- func (r *SliceConfig) ValidateCreate() error
- func (r *SliceConfig) ValidateDelete() error
- func (r *SliceConfig) ValidateUpdate(old runtime.Object) error
- type SliceConfigList
- type SliceConfigSpec
- type SliceConfigStatus
- type SliceNamespaceSelection
- type SliceQoSConfig
- func (in *SliceQoSConfig) DeepCopy() *SliceQoSConfig
- func (in *SliceQoSConfig) DeepCopyInto(out *SliceQoSConfig)
- func (in *SliceQoSConfig) DeepCopyObject() runtime.Object
- func (r *SliceQoSConfig) Default()
- func (r *SliceQoSConfig) SetupWebhookWithManager(mgr ctrl.Manager, validateCreate customSliceqosconfigValidation, ...) error
- func (r *SliceQoSConfig) ValidateCreate() error
- func (r *SliceQoSConfig) ValidateDelete() error
- func (r *SliceQoSConfig) ValidateUpdate(old runtime.Object) error
- type SliceQoSConfigList
- type SliceQoSConfigSpec
- type SliceQoSConfigStatus
- type Telemetry
- type WorkerSliceGatewayProvider
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "controller.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 Cluster ¶
type Cluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterSpec `json:"spec,omitempty"` Status ClusterStatus `json:"status,omitempty"` }
Cluster is the Schema for the clusters API
func (*Cluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cluster) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Cluster) Default ¶
func (r *Cluster) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*Cluster) SetupWebhookWithManager ¶
func (*Cluster) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Cluster) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type ClusterList ¶
type ClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Cluster `json:"items"` }
ClusterList contains a list of Cluster
func (*ClusterList) DeepCopy ¶
func (in *ClusterList) DeepCopy() *ClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
func (*ClusterList) DeepCopyInto ¶
func (in *ClusterList) DeepCopyInto(out *ClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterList) DeepCopyObject ¶
func (in *ClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterProperty ¶
type ClusterProperty struct { //Telemetry contains Telemetry information Telemetry Telemetry `json:"telemetry,omitempty"` //GeoLocation contains information regarding Geographical Location of the Cluster GeoLocation GeoLocation `json:"geoLocation,omitempty"` //Monitoring contains the Kubernetes Monitoring Dashboard Monitoring Monitoring `json:"monitoring,omitempty"` }
func (*ClusterProperty) DeepCopy ¶
func (in *ClusterProperty) DeepCopy() *ClusterProperty
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterProperty.
func (*ClusterProperty) DeepCopyInto ¶
func (in *ClusterProperty) DeepCopyInto(out *ClusterProperty)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSpec ¶
type ClusterSpec struct { //NodeIP is the IP address of the Node NodeIP string `json:"nodeIP,omitempty"` // NetworkInterface is the network interface attached with the cluster. NetworkInterface string `json:"networkInterface,omitempty"` //put in an object ClusterProperty ClusterProperty `json:"clusterProperty,omitempty"` }
ClusterSpec defines the desired state of Cluster
func (*ClusterSpec) DeepCopy ¶
func (in *ClusterSpec) DeepCopy() *ClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
func (*ClusterSpec) DeepCopyInto ¶
func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterStatus ¶
type ClusterStatus struct { // SecretName is the name of the secret for the worker cluster. SecretName string `json:"secretName,omitempty"` //CniSubnet is the podip and service ip subnet of CNI CniSubnet []string `json:"cniSubnet,omitempty"` // Namespaces present in cluster Namespaces []NamespacesConfig `json:"namespaces,omitempty"` }
ClusterStatus defines the observed state of Cluster
func (*ClusterStatus) DeepCopy ¶
func (in *ClusterStatus) DeepCopy() *ClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
func (*ClusterStatus) DeepCopyInto ¶
func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)
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"` Clusters []string `json:"clusters,omitempty"` }
ExternalGatewayConfig is the configuration for external gateways like 'istio', etc/
func (*ExternalGatewayConfig) DeepCopy ¶
func (in *ExternalGatewayConfig) DeepCopy() *ExternalGatewayConfig
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 ¶
func (in *ExternalGatewayConfigOptions) DeepCopy() *ExternalGatewayConfigOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalGatewayConfigOptions.
func (*ExternalGatewayConfigOptions) DeepCopyInto ¶
func (in *ExternalGatewayConfigOptions) DeepCopyInto(out *ExternalGatewayConfigOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GeoLocation ¶
type GeoLocation struct { //CloudProvider is the cloud service provider CloudProvider string `json:"cloudProvider,omitempty"` //CloudRegion is the region of the cloud CloudRegion string `json:"cloudRegion,omitempty"` //Latitude is the latitude of the cluster Latitude string `json:"latitude,omitempty"` //Longitude is the longitude of the cluster Longitude string `json:"longitude,omitempty"` }
GeoLocation defines the field of ClusterSpec
func (*GeoLocation) DeepCopy ¶
func (in *GeoLocation) DeepCopy() *GeoLocation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeoLocation.
func (*GeoLocation) DeepCopyInto ¶
func (in *GeoLocation) DeepCopyInto(out *GeoLocation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesDashboard ¶
type KubernetesDashboard struct { //Enabled is the enable status of the KubernetesDashboard Enabled bool `json:"enabled,omitempty"` //AccessToken is the Access Token to access the KubernetesDashboard AccessToken string `json:"accessToken,omitempty"` //IngressPrefix is the prefix of ingress gateway for KubernetesDashboard IngressPrefix string `json:"ingressPrefix,omitempty"` //Endpoint is the base endpoint to access the kubernetes dashboard Endpoint string `json:"endpoint,omitempty"` }
KubernetesDashboard defines the field of ClusterSpec
func (*KubernetesDashboard) DeepCopy ¶
func (in *KubernetesDashboard) DeepCopy() *KubernetesDashboard
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesDashboard.
func (*KubernetesDashboard) DeepCopyInto ¶
func (in *KubernetesDashboard) DeepCopyInto(out *KubernetesDashboard)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Monitoring ¶
type Monitoring struct { //KubernetesDashboard contains the information regarding Kubernetes Monitoring Dashboard KubernetesDashboard KubernetesDashboard `json:"kubernetesDashboard,omitempty"` }
Monitoring defines the field of ClusterSpec
func (*Monitoring) DeepCopy ¶
func (in *Monitoring) DeepCopy() *Monitoring
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Monitoring.
func (*Monitoring) DeepCopyInto ¶
func (in *Monitoring) DeepCopyInto(out *Monitoring)
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 []SliceNamespaceSelection `json:"applicationNamespaces,omitempty"` AllowedNamespaces []SliceNamespaceSelection `json:"allowedNamespaces,omitempty"` }
func (*NamespaceIsolationProfile) DeepCopy ¶
func (in *NamespaceIsolationProfile) DeepCopy() *NamespaceIsolationProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceIsolationProfile.
func (*NamespaceIsolationProfile) DeepCopyInto ¶
func (in *NamespaceIsolationProfile) DeepCopyInto(out *NamespaceIsolationProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespacesConfig ¶
type NamespacesConfig struct { Name string `json:"name,omitempty"` SliceName string `json:"sliceName,omitempty"` }
func (*NamespacesConfig) DeepCopy ¶
func (in *NamespacesConfig) DeepCopy() *NamespacesConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespacesConfig.
func (*NamespacesConfig) DeepCopyInto ¶
func (in *NamespacesConfig) DeepCopyInto(out *NamespacesConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Project ¶
type Project struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProjectSpec `json:"spec,omitempty"` Status ProjectStatus `json:"status,omitempty"` }
Project is the Schema for the projects API
func (*Project) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Project.
func (*Project) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Project) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Project) Default ¶
func (r *Project) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*Project) SetupWebhookWithManager ¶
func (*Project) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Project) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type ProjectList ¶
type ProjectList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Project `json:"items"` }
ProjectList contains a list of Project
func (*ProjectList) DeepCopy ¶
func (in *ProjectList) DeepCopy() *ProjectList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectList.
func (*ProjectList) DeepCopyInto ¶
func (in *ProjectList) DeepCopyInto(out *ProjectList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectList) DeepCopyObject ¶
func (in *ProjectList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProjectSpec ¶
type ProjectSpec struct { // ServiceAccount is a field of Project. Edit project_types.go to remove/update ServiceAccount ServiceAccount `json:"serviceAccount,omitempty"` }
ProjectSpec defines the desired state of Project
func (*ProjectSpec) DeepCopy ¶
func (in *ProjectSpec) DeepCopy() *ProjectSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectSpec.
func (*ProjectSpec) DeepCopyInto ¶
func (in *ProjectSpec) DeepCopyInto(out *ProjectSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectStatus ¶
type ProjectStatus struct { }
ProjectStatus defines the observed state of Project
func (*ProjectStatus) DeepCopy ¶
func (in *ProjectStatus) DeepCopy() *ProjectStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectStatus.
func (*ProjectStatus) DeepCopyInto ¶
func (in *ProjectStatus) DeepCopyInto(out *ProjectStatus)
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 // +kubebuilder:validation:Required QueueType string `json:"queueType"` // +kubebuilder:validation:Required Priority int `json:"priority"` //+kubebuilder:default:=BANDWIDTH_CONTROL // +kubebuilder:validation:Required TcType string `json:"tcType"` //+kubebuilder:validation:Required BandwidthCeilingKbps int `json:"bandwidthCeilingKbps"` //FIXME: Need research for unlimited //+kubebuilder:validation:Required BandwidthGuaranteedKbps int `json:"bandwidthGuaranteedKbps"` //+kubebuilder:validation:Enum:=Default;AF11;AF12;AF13;AF21;AF22;AF23;AF31;AF32;AF33;AF41;AF42;AF43;EF //+kubebuilder:validation:Required DscpClass string `json:"dscpClass"` }
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 ServiceAccount ¶
type ServiceAccount struct { ReadOnly []string `json:"readOnly,omitempty"` ReadWrite []string `json:"readWrite,omitempty"` }
ServiceAccount defines the field of ProjectSpec
func (*ServiceAccount) DeepCopy ¶
func (in *ServiceAccount) DeepCopy() *ServiceAccount
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccount.
func (*ServiceAccount) DeepCopyInto ¶
func (in *ServiceAccount) DeepCopyInto(out *ServiceAccount)
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 ¶
func (in *ServiceDiscoveryEndpoint) DeepCopy() *ServiceDiscoveryEndpoint
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 ¶
func (in *ServiceDiscoveryPort) DeepCopy() *ServiceDiscoveryPort
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 ServiceExportConfig ¶
type ServiceExportConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServiceExportConfigSpec `json:"spec,omitempty"` Status ServiceExportConfigStatus `json:"status,omitempty"` }
ServiceExportConfig is the Schema for the serviceexportconfigs API
func (*ServiceExportConfig) DeepCopy ¶
func (in *ServiceExportConfig) DeepCopy() *ServiceExportConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceExportConfig.
func (*ServiceExportConfig) DeepCopyInto ¶
func (in *ServiceExportConfig) DeepCopyInto(out *ServiceExportConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceExportConfig) DeepCopyObject ¶
func (in *ServiceExportConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceExportConfig) Default ¶
func (r *ServiceExportConfig) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*ServiceExportConfig) SetupWebhookWithManager ¶
func (r *ServiceExportConfig) SetupWebhookWithManager(mgr ctrl.Manager, validateCreate customValidationServiceExport, updateUpdate customValidationServiceExport) error
func (*ServiceExportConfig) ValidateCreate ¶
func (r *ServiceExportConfig) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*ServiceExportConfig) ValidateDelete ¶
func (r *ServiceExportConfig) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*ServiceExportConfig) ValidateUpdate ¶
func (r *ServiceExportConfig) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type ServiceExportConfigList ¶
type ServiceExportConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServiceExportConfig `json:"items"` }
ServiceExportConfigList contains a list of ServiceExportConfig
func (*ServiceExportConfigList) DeepCopy ¶
func (in *ServiceExportConfigList) DeepCopy() *ServiceExportConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceExportConfigList.
func (*ServiceExportConfigList) DeepCopyInto ¶
func (in *ServiceExportConfigList) DeepCopyInto(out *ServiceExportConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceExportConfigList) DeepCopyObject ¶
func (in *ServiceExportConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceExportConfigSpec ¶
type ServiceExportConfigSpec struct { //ServiceName is the name of the service // +kubebuilder:validation:Required ServiceName string `json:"serviceName"` ServiceNamespace string `json:"serviceNamespace,omitempty"` // clusterId is the id of the cluster where the service is available. // +kubebuilder:validation:Required SourceCluster string `json:"sourceCluster"` // The name of the slice. // +kubebuilder:validation:Required SliceName string `json:"sliceName"` // the service discovery endpoint array ServiceDiscoveryEndpoints []ServiceDiscoveryEndpoint `json:"serviceDiscoveryEndpoints,omitempty"` // The ports for the given service. ServiceDiscoveryPorts []ServiceDiscoveryPort `json:"serviceDiscoveryPorts,omitempty"` }
ServiceExportConfigSpec defines the desired state of ServiceExportConfig
func (*ServiceExportConfigSpec) DeepCopy ¶
func (in *ServiceExportConfigSpec) DeepCopy() *ServiceExportConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceExportConfigSpec.
func (*ServiceExportConfigSpec) DeepCopyInto ¶
func (in *ServiceExportConfigSpec) DeepCopyInto(out *ServiceExportConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceExportConfigStatus ¶
type ServiceExportConfigStatus struct { }
func (*ServiceExportConfigStatus) DeepCopy ¶
func (in *ServiceExportConfigStatus) DeepCopy() *ServiceExportConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceExportConfigStatus.
func (*ServiceExportConfigStatus) DeepCopyInto ¶
func (in *ServiceExportConfigStatus) DeepCopyInto(out *ServiceExportConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SliceConfig ¶
type SliceConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SliceConfigSpec `json:"spec,omitempty"` Status SliceConfigStatus `json:"status,omitempty"` }
SliceConfig is the Schema for the sliceconfig API
func (*SliceConfig) DeepCopy ¶
func (in *SliceConfig) DeepCopy() *SliceConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SliceConfig.
func (*SliceConfig) DeepCopyInto ¶
func (in *SliceConfig) DeepCopyInto(out *SliceConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SliceConfig) DeepCopyObject ¶
func (in *SliceConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SliceConfig) Default ¶
func (r *SliceConfig) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*SliceConfig) SetupWebhookWithManager ¶
func (r *SliceConfig) SetupWebhookWithManager(mgr ctrl.Manager, validateCreate sliceConfigValidation, validateUpdate sliceConfigUpdateValidation, validateDelete sliceConfigValidation) error
func (*SliceConfig) ValidateCreate ¶
func (r *SliceConfig) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*SliceConfig) ValidateDelete ¶
func (r *SliceConfig) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*SliceConfig) ValidateUpdate ¶
func (r *SliceConfig) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type SliceConfigList ¶
type SliceConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SliceConfig `json:"items"` }
SliceConfigList contains a list of SliceConfig
func (*SliceConfigList) DeepCopy ¶
func (in *SliceConfigList) DeepCopy() *SliceConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SliceConfigList.
func (*SliceConfigList) DeepCopyInto ¶
func (in *SliceConfigList) DeepCopyInto(out *SliceConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SliceConfigList) DeepCopyObject ¶
func (in *SliceConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SliceConfigSpec ¶
type SliceConfigSpec struct { SliceSubnet string `json:"sliceSubnet,omitempty"` //+kubebuilder:default:=Application SliceType string `json:"sliceType,omitempty"` // +kubebuilder:validation:Required SliceGatewayProvider WorkerSliceGatewayProvider `json:"sliceGatewayProvider"` //+kubebuilder:default:=Local SliceIpamType string `json:"sliceIpamType,omitempty"` Clusters []string `json:"clusters,omitempty"` StandardQosProfileName string `json:"standardQosProfileName,omitempty"` // FIXME: Add OneOf StandardQosProfileName vs QosProfileDetails // The custom QOS Profile Details QosProfileDetails *QOSProfile `json:"qosProfileDetails,omitempty"` // FIXME: Add OneOf StandardQosProfileName vs QosProfileDetails NamespaceIsolationProfile NamespaceIsolationProfile `json:"namespaceIsolationProfile,omitempty"` ExternalGatewayConfig []ExternalGatewayConfig `json:"externalGatewayConfig,omitempty"` //+kubebuilder:validation:Minimum=2 //+kubebuilder:validation:Maximum=32 //+kubebuilder:default:=16 MaxClusters int `json:"maxClusters,omitempty"` }
SliceConfigSpec defines the desired state of SliceConfig
func (*SliceConfigSpec) DeepCopy ¶
func (in *SliceConfigSpec) DeepCopy() *SliceConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SliceConfigSpec.
func (*SliceConfigSpec) DeepCopyInto ¶
func (in *SliceConfigSpec) DeepCopyInto(out *SliceConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SliceConfigStatus ¶
type SliceConfigStatus struct { }
SliceConfigStatus defines the observed state of SliceConfig
func (*SliceConfigStatus) DeepCopy ¶
func (in *SliceConfigStatus) DeepCopy() *SliceConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SliceConfigStatus.
func (*SliceConfigStatus) DeepCopyInto ¶
func (in *SliceConfigStatus) DeepCopyInto(out *SliceConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SliceNamespaceSelection ¶
type SliceNamespaceSelection struct { Namespace string `json:"namespace,omitempty"` Clusters []string `json:"clusters,omitempty"` }
func (*SliceNamespaceSelection) DeepCopy ¶
func (in *SliceNamespaceSelection) DeepCopy() *SliceNamespaceSelection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SliceNamespaceSelection.
func (*SliceNamespaceSelection) DeepCopyInto ¶
func (in *SliceNamespaceSelection) DeepCopyInto(out *SliceNamespaceSelection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SliceQoSConfig ¶ added in v0.2.1
type SliceQoSConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SliceQoSConfigSpec `json:"spec,omitempty"` Status SliceQoSConfigStatus `json:"status,omitempty"` }
SliceQoSConfig is the Schema for the sliceqosconfigs API
func (*SliceQoSConfig) DeepCopy ¶ added in v0.2.1
func (in *SliceQoSConfig) DeepCopy() *SliceQoSConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SliceQoSConfig.
func (*SliceQoSConfig) DeepCopyInto ¶ added in v0.2.1
func (in *SliceQoSConfig) DeepCopyInto(out *SliceQoSConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SliceQoSConfig) DeepCopyObject ¶ added in v0.2.1
func (in *SliceQoSConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SliceQoSConfig) Default ¶ added in v0.2.1
func (r *SliceQoSConfig) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*SliceQoSConfig) SetupWebhookWithManager ¶ added in v0.2.1
func (r *SliceQoSConfig) SetupWebhookWithManager(mgr ctrl.Manager, validateCreate customSliceqosconfigValidation, validateUpdate customSliceqosconfigValidation, validateDelete customSliceqosconfigValidation) error
func (*SliceQoSConfig) ValidateCreate ¶ added in v0.2.1
func (r *SliceQoSConfig) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*SliceQoSConfig) ValidateDelete ¶ added in v0.2.1
func (r *SliceQoSConfig) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*SliceQoSConfig) ValidateUpdate ¶ added in v0.2.1
func (r *SliceQoSConfig) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type SliceQoSConfigList ¶ added in v0.2.1
type SliceQoSConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SliceQoSConfig `json:"items"` }
SliceQoSConfigList contains a list of SliceQoSConfig
func (*SliceQoSConfigList) DeepCopy ¶ added in v0.2.1
func (in *SliceQoSConfigList) DeepCopy() *SliceQoSConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SliceQoSConfigList.
func (*SliceQoSConfigList) DeepCopyInto ¶ added in v0.2.1
func (in *SliceQoSConfigList) DeepCopyInto(out *SliceQoSConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SliceQoSConfigList) DeepCopyObject ¶ added in v0.2.1
func (in *SliceQoSConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SliceQoSConfigSpec ¶ added in v0.2.1
type SliceQoSConfigSpec struct { //+kubebuilder:validation:Enum:=HTB // +kubebuilder:validation:Required QueueType string `json:"queueType"` // +kubebuilder:validation:Required Priority int `json:"priority"` //+kubebuilder:validation:Enum:=BANDWIDTH_CONTROL // +kubebuilder:validation:Required TcType string `json:"tcType"` //+kubebuilder:validation:Required BandwidthCeilingKbps int `json:"bandwidthCeilingKbps"` //FIXME: Need research for unlimited //+kubebuilder:validation:Required BandwidthGuaranteedKbps int `json:"bandwidthGuaranteedKbps"` //+kubebuilder:validation:Enum:=Default;AF11;AF12;AF13;AF21;AF22;AF23;AF31;AF32;AF33;AF41;AF42;AF43;EF //+kubebuilder:validation:Required DscpClass string `json:"dscpClass"` }
SliceQoSConfigSpec defines the desired state of SliceQoSConfig
func (*SliceQoSConfigSpec) DeepCopy ¶ added in v0.2.1
func (in *SliceQoSConfigSpec) DeepCopy() *SliceQoSConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SliceQoSConfigSpec.
func (*SliceQoSConfigSpec) DeepCopyInto ¶ added in v0.2.1
func (in *SliceQoSConfigSpec) DeepCopyInto(out *SliceQoSConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SliceQoSConfigStatus ¶ added in v0.2.1
type SliceQoSConfigStatus struct { }
SliceQoSConfigStatus defines the observed state of SliceQoSConfig
func (*SliceQoSConfigStatus) DeepCopy ¶ added in v0.2.1
func (in *SliceQoSConfigStatus) DeepCopy() *SliceQoSConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SliceQoSConfigStatus.
func (*SliceQoSConfigStatus) DeepCopyInto ¶ added in v0.2.1
func (in *SliceQoSConfigStatus) DeepCopyInto(out *SliceQoSConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Telemetry ¶
type Telemetry struct { //Enabled is the enable status of the Telemetry Enabled bool `json:"enabled,omitempty"` //TelemetryProvider is the Telemetry Provider information TelemetryProvider string `json:"telemetryProvider,omitempty"` //Endpoint is the Telemetry Endpoint Endpoint string `json:"endpoint,omitempty"` }
Telemetry defines the field of ClusterSpec
func (*Telemetry) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Telemetry.
func (*Telemetry) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkerSliceGatewayProvider ¶
type WorkerSliceGatewayProvider struct { //+kubebuilder:default:=OpenVPN // +kubebuilder:validation:Required SliceGatewayType string `json:"sliceGatewayType"` //+kubebuilder:default:=Local // +kubebuilder:validation:Required SliceCaType string `json:"sliceCaType"` }
WorkerSliceGatewayProvider defines the configuration for slicegateway
func (*WorkerSliceGatewayProvider) DeepCopy ¶
func (in *WorkerSliceGatewayProvider) DeepCopy() *WorkerSliceGatewayProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerSliceGatewayProvider.
func (*WorkerSliceGatewayProvider) DeepCopyInto ¶
func (in *WorkerSliceGatewayProvider) DeepCopyInto(out *WorkerSliceGatewayProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.