Documentation ¶
Overview ¶
Package v1beta1 is the v1beta1 version of the API.
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type DeletePolicy
- type Environment
- type EnvironmentList
- type EnvironmentNetworkPolicy
- type EnvironmentSpec
- type EnvironmentStatus
- type Image
- type ProjectNetworkPolicy
- type Service
- type Tenant
- type TenantGateway
- type TenantGatewayList
- type TenantGatewaySpec
- type TenantGatewayStatus
- type TenantList
- type TenantNetworkPolicy
- type TenantNetworkPolicyList
- type TenantNetworkPolicySpec
- type TenantNetworkPolicyStatus
- type TenantResourceQuota
- type TenantResourceQuotaList
- type TenantResourceQuotaSpec
- type TenantResourceQuotaStatus
- type TenantSpec
- type TenantStatus
- type Workload
Constants ¶
const ( // 删除关联的namespace DeletePolicyDelNamespace = "delNamespace" // 仅删除关联的namespace的label DeletePolicyDelLabels = "delLabels" )
Variables ¶
var ( GroupVersion = SchemeGroupVersion // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( SchemeTenant = GroupVersion.WithKind("Tenant") SchemeTenantResourceQuota = GroupVersion.WithKind("TenantResourceQuota") SchemeTenantNetworkPolicy = GroupVersion.WithKind("TenantNetworkPolicy") SchemeTenantGateway = GroupVersion.WithKind("TenantGateway") SchemeEnvironment = GroupVersion.WithKind("Environment") SchemeResourceQuota = GroupVersion.WithKind("ResourceQuota") )
var SchemeGroupVersion = schema.GroupVersion{Group: gems.GroupName, Version: "v1beta1"}
SchemeGroupVersion is group version used to register these objects.
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type DeletePolicy ¶
type DeletePolicy string
type Environment ¶
type Environment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EnvironmentSpec `json:"spec,omitempty"` Status EnvironmentStatus `json:"status,omitempty"` }
Environment is the Schema for the environments API
func (*Environment) DeepCopy ¶
func (in *Environment) DeepCopy() *Environment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Environment.
func (*Environment) DeepCopyInto ¶
func (in *Environment) DeepCopyInto(out *Environment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Environment) DeepCopyObject ¶
func (in *Environment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EnvironmentList ¶
type EnvironmentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Environment `json:"items"` }
EnvironmentList contains a list of Environment
func (*EnvironmentList) DeepCopy ¶
func (in *EnvironmentList) DeepCopy() *EnvironmentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentList.
func (*EnvironmentList) DeepCopyInto ¶
func (in *EnvironmentList) DeepCopyInto(out *EnvironmentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EnvironmentList) DeepCopyObject ¶
func (in *EnvironmentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EnvironmentNetworkPolicy ¶
type EnvironmentNetworkPolicy struct { Project string `json:"project,omitempty"` Name string `json:"name,omitempty"` }
func (*EnvironmentNetworkPolicy) DeepCopy ¶
func (in *EnvironmentNetworkPolicy) DeepCopy() *EnvironmentNetworkPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentNetworkPolicy.
func (*EnvironmentNetworkPolicy) DeepCopyInto ¶
func (in *EnvironmentNetworkPolicy) DeepCopyInto(out *EnvironmentNetworkPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentSpec ¶
type EnvironmentSpec struct { // Tenant 租户 Tenant string `json:"tenant"` // Project 项目 Project string `json:"project"` // Namespace 关联的ns Namespace string `json:"namespace"` // DeletePolicy 删除策略,选项为 delNamespace,delLabels DeletePolicy string `json:"deletePolicy"` // ResourceQuota 资源限制 ResourceQuota corev1.ResourceList `json:"resourceQuota,omitempty"` // LimitRange 默认limitrange LimitRage []corev1.LimitRangeItem `json:"limitRange,omitempty"` // ResourceQuotaName ResourceQuotaName string `json:"resourceQuotaName,omitempty"` // LimitRageName LimitRageName string `json:"limitRangeName,omitempty"` }
EnvironmentSpec defines the desired state of Environment
func (*EnvironmentSpec) DeepCopy ¶
func (in *EnvironmentSpec) DeepCopy() *EnvironmentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpec.
func (*EnvironmentSpec) DeepCopyInto ¶
func (in *EnvironmentSpec) DeepCopyInto(out *EnvironmentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentStatus ¶
type EnvironmentStatus struct { // 最后更新时间 LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` }
EnvironmentStatus defines the observed state of Environment
func (*EnvironmentStatus) DeepCopy ¶
func (in *EnvironmentStatus) DeepCopy() *EnvironmentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentStatus.
func (*EnvironmentStatus) DeepCopyInto ¶
func (in *EnvironmentStatus) DeepCopyInto(out *EnvironmentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Image ¶
type Image struct { // The repository of the image. Repository string `json:"repository"` // The tag (version) of the image. Tag string `json:"tag"` // The ImagePullPolicy of the image. // +kubebuilder:validation:Enum=Never;Always;IfNotPresent PullPolicy string `json:"pullPolicy"` }
Image defines the Repository, Tag and ImagePullPolicy of the Ingress Controller Image.
func (*Image) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectNetworkPolicy ¶
type ProjectNetworkPolicy struct {
Name string `json:"name,omitempty"`
}
func (*ProjectNetworkPolicy) DeepCopy ¶
func (in *ProjectNetworkPolicy) DeepCopy() *ProjectNetworkPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectNetworkPolicy.
func (*ProjectNetworkPolicy) DeepCopyInto ¶
func (in *ProjectNetworkPolicy) DeepCopyInto(out *ProjectNetworkPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Service ¶
type Service struct { // Specifies extra labels of the service. ExtraLabels map[string]string `json:"extraLabels,omitempty"` }
Service defines the Service for the Ingress Controller.
func (*Service) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.
func (*Service) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Tenant ¶
type Tenant struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TenantSpec `json:"spec,omitempty"` Status TenantStatus `json:"status,omitempty"` }
Tenant is the Schema for the tenants API
func (*Tenant) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tenant.
func (*Tenant) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Tenant) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TenantGateway ¶
type TenantGateway struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TenantGatewaySpec `json:"spec,omitempty"` Status TenantGatewayStatus `json:"status,omitempty"` }
TenantGateway is the Schema for the tenantgateways API
func (*TenantGateway) DeepCopy ¶
func (in *TenantGateway) DeepCopy() *TenantGateway
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantGateway.
func (*TenantGateway) DeepCopyInto ¶
func (in *TenantGateway) DeepCopyInto(out *TenantGateway)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TenantGateway) DeepCopyObject ¶
func (in *TenantGateway) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TenantGatewayList ¶
type TenantGatewayList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TenantGateway `json:"items"` }
TenantGatewayList contains a list of TenantGateway
func (*TenantGatewayList) DeepCopy ¶
func (in *TenantGatewayList) DeepCopy() *TenantGatewayList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantGatewayList.
func (*TenantGatewayList) DeepCopyInto ¶
func (in *TenantGatewayList) DeepCopyInto(out *TenantGatewayList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TenantGatewayList) DeepCopyObject ¶
func (in *TenantGatewayList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TenantGatewaySpec ¶
type TenantGatewaySpec struct { // Type 负载均衡类型 Type corev1.ServiceType `json:"type"` // NodePort or LoadBalancer // Replicas 负载均衡实例数 Replicas *int32 `json:"replicas"` // Tenant 租户名 Tenant string `json:"tenant"` // IngressClass 用以区分nginx作用域 IngressClass string `json:"ingressClass"` // The image of the Ingress Controller. // +kubebuilder:validation:Optional Image Image `json:"image"` // The service of the Ingress controller. // +kubebuilder:validation:Optional // +nullable Service *Service `json:"service"` // The Workload of the Ingress controller. // +kubebuilder:validation:Optional // +nullable Workload *Workload `json:"workload"` // Initial values of the Ingress Controller ConfigMap. // Check https://docs.nginx.com/nginx-ingress-controller/configuration/global-configuration/configmap-resource/ for // more information about possible values. // +kubebuilder:validation:Optional // +nullable ConfigMapData map[string]string `json:"configMapData,omitempty"` // BaseDomain is a record to auto generate domain in ingress. // +kubebuilder:validation:Optional BaseDomain string `json:"baseDomain"` }
TenantGatewaySpec defines the desired state of TenantGateway
func (*TenantGatewaySpec) DeepCopy ¶
func (in *TenantGatewaySpec) DeepCopy() *TenantGatewaySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantGatewaySpec.
func (*TenantGatewaySpec) DeepCopyInto ¶
func (in *TenantGatewaySpec) DeepCopyInto(out *TenantGatewaySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TenantGatewayStatus ¶
type TenantGatewayStatus struct { // ActAvailableReplicasive nginx deployment 正常的pod数 AvailableReplicas int32 `json:"availableReplicas"` // NodePort nginx service 占用的ports Ports []corev1.ServicePort `json:"ports"` }
TenantGatewayStatus defines the observed state of TenantGateway
func (*TenantGatewayStatus) DeepCopy ¶
func (in *TenantGatewayStatus) DeepCopy() *TenantGatewayStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantGatewayStatus.
func (*TenantGatewayStatus) DeepCopyInto ¶
func (in *TenantGatewayStatus) DeepCopyInto(out *TenantGatewayStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TenantList ¶
type TenantList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Tenant `json:"items"` }
TenantList contains a list of Tenant
func (*TenantList) DeepCopy ¶
func (in *TenantList) DeepCopy() *TenantList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantList.
func (*TenantList) DeepCopyInto ¶
func (in *TenantList) DeepCopyInto(out *TenantList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TenantList) DeepCopyObject ¶
func (in *TenantList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TenantNetworkPolicy ¶
type TenantNetworkPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TenantNetworkPolicySpec `json:"spec,omitempty"` Status TenantNetworkPolicyStatus `json:"status,omitempty"` }
TenantNetworkPolicy is the Schema for the tenantnetworkpolicies API
func (*TenantNetworkPolicy) DeepCopy ¶
func (in *TenantNetworkPolicy) DeepCopy() *TenantNetworkPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantNetworkPolicy.
func (*TenantNetworkPolicy) DeepCopyInto ¶
func (in *TenantNetworkPolicy) DeepCopyInto(out *TenantNetworkPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TenantNetworkPolicy) DeepCopyObject ¶
func (in *TenantNetworkPolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TenantNetworkPolicyList ¶
type TenantNetworkPolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TenantNetworkPolicy `json:"items"` }
TenantNetworkPolicyList contains a list of TenantNetworkPolicy
func (*TenantNetworkPolicyList) DeepCopy ¶
func (in *TenantNetworkPolicyList) DeepCopy() *TenantNetworkPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantNetworkPolicyList.
func (*TenantNetworkPolicyList) DeepCopyInto ¶
func (in *TenantNetworkPolicyList) DeepCopyInto(out *TenantNetworkPolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TenantNetworkPolicyList) DeepCopyObject ¶
func (in *TenantNetworkPolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TenantNetworkPolicySpec ¶
type TenantNetworkPolicySpec struct { Tenant string `json:"tenant,omitempty"` TenantIsolated bool `json:"tenantIsolated,omitempty"` ProjectNetworkPolicies []ProjectNetworkPolicy `json:"projectNetworkPolicies,omitempty"` EnvironmentNetworkPolicies []EnvironmentNetworkPolicy `json:"environmentNetworkPolicies,omitempty"` }
TenantNetworkPolicySpec defines the desired state of TenantNetworkPolicy
func (*TenantNetworkPolicySpec) DeepCopy ¶
func (in *TenantNetworkPolicySpec) DeepCopy() *TenantNetworkPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantNetworkPolicySpec.
func (*TenantNetworkPolicySpec) DeepCopyInto ¶
func (in *TenantNetworkPolicySpec) DeepCopyInto(out *TenantNetworkPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TenantNetworkPolicyStatus ¶
type TenantNetworkPolicyStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` }
TenantNetworkPolicyStatus defines the observed state of TenantNetworkPolicy
func (*TenantNetworkPolicyStatus) DeepCopy ¶
func (in *TenantNetworkPolicyStatus) DeepCopy() *TenantNetworkPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantNetworkPolicyStatus.
func (*TenantNetworkPolicyStatus) DeepCopyInto ¶
func (in *TenantNetworkPolicyStatus) DeepCopyInto(out *TenantNetworkPolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TenantResourceQuota ¶
type TenantResourceQuota struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TenantResourceQuotaSpec `json:"spec,omitempty"` Status TenantResourceQuotaStatus `json:"status,omitempty"` }
TenantResourceQuota is the Schema for the tenantresourcequota API
func (*TenantResourceQuota) DeepCopy ¶
func (in *TenantResourceQuota) DeepCopy() *TenantResourceQuota
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantResourceQuota.
func (*TenantResourceQuota) DeepCopyInto ¶
func (in *TenantResourceQuota) DeepCopyInto(out *TenantResourceQuota)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TenantResourceQuota) DeepCopyObject ¶
func (in *TenantResourceQuota) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TenantResourceQuotaList ¶
type TenantResourceQuotaList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TenantResourceQuota `json:"items"` }
TenantResourceQuotaList contains a list of TenantResourceQuota
func (*TenantResourceQuotaList) DeepCopy ¶
func (in *TenantResourceQuotaList) DeepCopy() *TenantResourceQuotaList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantResourceQuotaList.
func (*TenantResourceQuotaList) DeepCopyInto ¶
func (in *TenantResourceQuotaList) DeepCopyInto(out *TenantResourceQuotaList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TenantResourceQuotaList) DeepCopyObject ¶
func (in *TenantResourceQuotaList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TenantResourceQuotaSpec ¶
type TenantResourceQuotaSpec struct { // Hard 租户在本集群的可以使用的总资源限制 Hard corev1.ResourceList `json:"hard,omitempty"` }
TenantResourceQuotaSpec defines the desired state of TenantResourceQuota
func (*TenantResourceQuotaSpec) DeepCopy ¶
func (in *TenantResourceQuotaSpec) DeepCopy() *TenantResourceQuotaSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantResourceQuotaSpec.
func (*TenantResourceQuotaSpec) DeepCopyInto ¶
func (in *TenantResourceQuotaSpec) DeepCopyInto(out *TenantResourceQuotaSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TenantResourceQuotaStatus ¶
type TenantResourceQuotaStatus struct { // Hard 租户在本集群的总资源限制 Hard corev1.ResourceList `json:"hard,omitempty"` // Allocated 已经申请了的资源 Allocated corev1.ResourceList `json:"allocated,omitempty"` // Used 实际使用了的资源 Used corev1.ResourceList `json:"used,omitempty"` // Deprecated: duplicate with LastUpdateTime. // LastCountTime last count time LastCountTime metav1.Time `json:"lastCountTime,omitempty"` // LastUpdateTime last update time LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` }
TenantResourceQuotaStatus defines the observed state of TenantResourceQuota
func (*TenantResourceQuotaStatus) DeepCopy ¶
func (in *TenantResourceQuotaStatus) DeepCopy() *TenantResourceQuotaStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantResourceQuotaStatus.
func (*TenantResourceQuotaStatus) DeepCopyInto ¶
func (in *TenantResourceQuotaStatus) DeepCopyInto(out *TenantResourceQuotaStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TenantSpec ¶
type TenantSpec struct { // TenantName 租户名字 TenantName string `json:"tenantName,omitempty"` // Admin 租户管理员列表 Admin []string `json:"admin"` // Members 租户成员列表 Members []string `json:"members,omitempty"` }
TenantSpec defines the desired state of Tenant
func (*TenantSpec) DeepCopy ¶
func (in *TenantSpec) DeepCopy() *TenantSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantSpec.
func (*TenantSpec) DeepCopyInto ¶
func (in *TenantSpec) DeepCopyInto(out *TenantSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TenantStatus ¶
type TenantStatus struct { // Environments 租户在本集群管控的环境 Environments []string `json:"environments,omitempty"` // Namespaces 租户在本集群管控的namespace Namespaces []string `json:"namespaces,omitempty"` // LastUpdateTime 最后更新时间 LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` }
TenantStatus defines the observed state of Tenant
func (*TenantStatus) DeepCopy ¶
func (in *TenantStatus) DeepCopy() *TenantStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantStatus.
func (*TenantStatus) DeepCopyInto ¶
func (in *TenantStatus) DeepCopyInto(out *TenantStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Workload ¶
type Workload struct { // Specifies resource request and limit of the nginx container // +kubebuilder:validation:Optional Resources corev1.ResourceRequirements `json:"resources,omitempty"` // Specifies extra labels of the workload(deployment) of nginx. // +kubebuilder:validation:Optional ExtraLabels map[string]string `json:"extraLabels,omitempty"` }
func (*Workload) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workload.
func (*Workload) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.