mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-02-14 09:59:57 +00:00
* chore: improve dev targets Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * feat(controller): implement deterministic rolebinding reflection Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * feat(controller): capsule users are determined from configuration status Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * feat(tenantowners): added agreggate option - tenantowners are always considered capsule users Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * feat(tenantowner): add implicit aggregation for tenants Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: remove helm flags Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * fix(config): remove usergroups default Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> --------- Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
1433 lines
42 KiB
Go
1433 lines
42 KiB
Go
//go:build !ignore_autogenerated
|
|
|
|
// Copyright 2020-2023 Project Capsule Authors.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
// Code generated by controller-gen. DO NOT EDIT.
|
|
|
|
package v1beta2
|
|
|
|
import (
|
|
"github.com/projectcapsule/capsule/pkg/api"
|
|
"github.com/projectcapsule/capsule/pkg/api/meta"
|
|
"github.com/projectcapsule/capsule/pkg/api/misc"
|
|
corev1 "k8s.io/api/core/v1"
|
|
"k8s.io/api/rbac/v1"
|
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
"k8s.io/apimachinery/pkg/runtime"
|
|
)
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AdditionalRoleBindingsSpec) DeepCopyInto(out *AdditionalRoleBindingsSpec) {
|
|
*out = *in
|
|
if in.Subjects != nil {
|
|
in, out := &in.Subjects, &out.Subjects
|
|
*out = make([]v1.Subject, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalRoleBindingsSpec.
|
|
func (in *AdditionalRoleBindingsSpec) DeepCopy() *AdditionalRoleBindingsSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AdditionalRoleBindingsSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CapsuleConfiguration) DeepCopyInto(out *CapsuleConfiguration) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapsuleConfiguration.
|
|
func (in *CapsuleConfiguration) DeepCopy() *CapsuleConfiguration {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CapsuleConfiguration)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *CapsuleConfiguration) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CapsuleConfigurationList) DeepCopyInto(out *CapsuleConfigurationList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]CapsuleConfiguration, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapsuleConfigurationList.
|
|
func (in *CapsuleConfigurationList) DeepCopy() *CapsuleConfigurationList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CapsuleConfigurationList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *CapsuleConfigurationList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CapsuleConfigurationSpec) DeepCopyInto(out *CapsuleConfigurationSpec) {
|
|
*out = *in
|
|
if in.Users != nil {
|
|
in, out := &in.Users, &out.Users
|
|
*out = make(api.UserListSpec, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.UserNames != nil {
|
|
in, out := &in.UserNames, &out.UserNames
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.UserGroups != nil {
|
|
in, out := &in.UserGroups, &out.UserGroups
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.IgnoreUserWithGroups != nil {
|
|
in, out := &in.IgnoreUserWithGroups, &out.IgnoreUserWithGroups
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
out.CapsuleResources = in.CapsuleResources
|
|
if in.NodeMetadata != nil {
|
|
in, out := &in.NodeMetadata, &out.NodeMetadata
|
|
*out = new(NodeMetadata)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Administrators != nil {
|
|
in, out := &in.Administrators, &out.Administrators
|
|
*out = make(api.UserListSpec, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapsuleConfigurationSpec.
|
|
func (in *CapsuleConfigurationSpec) DeepCopy() *CapsuleConfigurationSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CapsuleConfigurationSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CapsuleConfigurationStatus) DeepCopyInto(out *CapsuleConfigurationStatus) {
|
|
*out = *in
|
|
if in.Users != nil {
|
|
in, out := &in.Users, &out.Users
|
|
*out = make(api.UserListSpec, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapsuleConfigurationStatus.
|
|
func (in *CapsuleConfigurationStatus) DeepCopy() *CapsuleConfigurationStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CapsuleConfigurationStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CapsuleResources) DeepCopyInto(out *CapsuleResources) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapsuleResources.
|
|
func (in *CapsuleResources) DeepCopy() *CapsuleResources {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CapsuleResources)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GatewayOptions) DeepCopyInto(out *GatewayOptions) {
|
|
*out = *in
|
|
if in.AllowedClasses != nil {
|
|
in, out := &in.AllowedClasses, &out.AllowedClasses
|
|
*out = new(api.DefaultAllowedListSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayOptions.
|
|
func (in *GatewayOptions) DeepCopy() *GatewayOptions {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(GatewayOptions)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GlobalTenantResource) DeepCopyInto(out *GlobalTenantResource) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalTenantResource.
|
|
func (in *GlobalTenantResource) DeepCopy() *GlobalTenantResource {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(GlobalTenantResource)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *GlobalTenantResource) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GlobalTenantResourceList) DeepCopyInto(out *GlobalTenantResourceList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]GlobalTenantResource, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalTenantResourceList.
|
|
func (in *GlobalTenantResourceList) DeepCopy() *GlobalTenantResourceList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(GlobalTenantResourceList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *GlobalTenantResourceList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GlobalTenantResourceSpec) DeepCopyInto(out *GlobalTenantResourceSpec) {
|
|
*out = *in
|
|
in.TenantResourceSpec.DeepCopyInto(&out.TenantResourceSpec)
|
|
in.TenantSelector.DeepCopyInto(&out.TenantSelector)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalTenantResourceSpec.
|
|
func (in *GlobalTenantResourceSpec) DeepCopy() *GlobalTenantResourceSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(GlobalTenantResourceSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GlobalTenantResourceStatus) DeepCopyInto(out *GlobalTenantResourceStatus) {
|
|
*out = *in
|
|
if in.SelectedTenants != nil {
|
|
in, out := &in.SelectedTenants, &out.SelectedTenants
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.ProcessedItems != nil {
|
|
in, out := &in.ProcessedItems, &out.ProcessedItems
|
|
*out = make(ProcessedItems, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalTenantResourceStatus.
|
|
func (in *GlobalTenantResourceStatus) DeepCopy() *GlobalTenantResourceStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(GlobalTenantResourceStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IngressOptions) DeepCopyInto(out *IngressOptions) {
|
|
*out = *in
|
|
if in.AllowedClasses != nil {
|
|
in, out := &in.AllowedClasses, &out.AllowedClasses
|
|
*out = new(api.DefaultAllowedListSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.AllowedHostnames != nil {
|
|
in, out := &in.AllowedHostnames, &out.AllowedHostnames
|
|
*out = new(api.AllowedListSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressOptions.
|
|
func (in *IngressOptions) DeepCopy() *IngressOptions {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressOptions)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *NamespaceOptions) DeepCopyInto(out *NamespaceOptions) {
|
|
*out = *in
|
|
if in.Quota != nil {
|
|
in, out := &in.Quota, &out.Quota
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.AdditionalMetadata != nil {
|
|
in, out := &in.AdditionalMetadata, &out.AdditionalMetadata
|
|
*out = new(api.AdditionalMetadataSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.AdditionalMetadataList != nil {
|
|
in, out := &in.AdditionalMetadataList, &out.AdditionalMetadataList
|
|
*out = make([]api.AdditionalMetadataSelectorSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
in.ForbiddenLabels.DeepCopyInto(&out.ForbiddenLabels)
|
|
in.ForbiddenAnnotations.DeepCopyInto(&out.ForbiddenAnnotations)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceOptions.
|
|
func (in *NamespaceOptions) DeepCopy() *NamespaceOptions {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NamespaceOptions)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *NodeMetadata) DeepCopyInto(out *NodeMetadata) {
|
|
*out = *in
|
|
in.ForbiddenLabels.DeepCopyInto(&out.ForbiddenLabels)
|
|
in.ForbiddenAnnotations.DeepCopyInto(&out.ForbiddenAnnotations)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeMetadata.
|
|
func (in *NodeMetadata) DeepCopy() *NodeMetadata {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NodeMetadata)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *NonLimitedResourceError) DeepCopyInto(out *NonLimitedResourceError) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonLimitedResourceError.
|
|
func (in *NonLimitedResourceError) DeepCopy() *NonLimitedResourceError {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NonLimitedResourceError)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ObjectReference) DeepCopyInto(out *ObjectReference) {
|
|
*out = *in
|
|
out.ObjectReferenceAbstract = in.ObjectReferenceAbstract
|
|
in.Selector.DeepCopyInto(&out.Selector)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference.
|
|
func (in *ObjectReference) DeepCopy() *ObjectReference {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ObjectReference)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ObjectReferenceAbstract) DeepCopyInto(out *ObjectReferenceAbstract) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReferenceAbstract.
|
|
func (in *ObjectReferenceAbstract) DeepCopy() *ObjectReferenceAbstract {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ObjectReferenceAbstract)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ObjectReferenceStatus) DeepCopyInto(out *ObjectReferenceStatus) {
|
|
*out = *in
|
|
out.ObjectReferenceAbstract = in.ObjectReferenceAbstract
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReferenceStatus.
|
|
func (in *ObjectReferenceStatus) DeepCopy() *ObjectReferenceStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ObjectReferenceStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Permissions) DeepCopyInto(out *Permissions) {
|
|
*out = *in
|
|
if in.MatchOwners != nil {
|
|
in, out := &in.MatchOwners, &out.MatchOwners
|
|
*out = make([]*metav1.LabelSelector, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(metav1.LabelSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Permissions.
|
|
func (in *Permissions) DeepCopy() *Permissions {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Permissions)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in ProcessedItems) DeepCopyInto(out *ProcessedItems) {
|
|
{
|
|
in := &in
|
|
*out = make(ProcessedItems, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProcessedItems.
|
|
func (in ProcessedItems) DeepCopy() ProcessedItems {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ProcessedItems)
|
|
in.DeepCopyInto(out)
|
|
return *out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RawExtension) DeepCopyInto(out *RawExtension) {
|
|
*out = *in
|
|
in.RawExtension.DeepCopyInto(&out.RawExtension)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RawExtension.
|
|
func (in *RawExtension) DeepCopy() *RawExtension {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RawExtension)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourcePool) DeepCopyInto(out *ResourcePool) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePool.
|
|
func (in *ResourcePool) DeepCopy() *ResourcePool {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourcePool)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ResourcePool) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourcePoolClaim) DeepCopyInto(out *ResourcePoolClaim) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolClaim.
|
|
func (in *ResourcePoolClaim) DeepCopy() *ResourcePoolClaim {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourcePoolClaim)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ResourcePoolClaim) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourcePoolClaimList) DeepCopyInto(out *ResourcePoolClaimList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ResourcePoolClaim, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolClaimList.
|
|
func (in *ResourcePoolClaimList) DeepCopy() *ResourcePoolClaimList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourcePoolClaimList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ResourcePoolClaimList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourcePoolClaimSpec) DeepCopyInto(out *ResourcePoolClaimSpec) {
|
|
*out = *in
|
|
if in.ResourceClaims != nil {
|
|
in, out := &in.ResourceClaims, &out.ResourceClaims
|
|
*out = make(corev1.ResourceList, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val.DeepCopy()
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolClaimSpec.
|
|
func (in *ResourcePoolClaimSpec) DeepCopy() *ResourcePoolClaimSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourcePoolClaimSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourcePoolClaimStatus) DeepCopyInto(out *ResourcePoolClaimStatus) {
|
|
*out = *in
|
|
out.Pool = in.Pool
|
|
in.Condition.DeepCopyInto(&out.Condition)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolClaimStatus.
|
|
func (in *ResourcePoolClaimStatus) DeepCopy() *ResourcePoolClaimStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourcePoolClaimStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourcePoolClaimsItem) DeepCopyInto(out *ResourcePoolClaimsItem) {
|
|
*out = *in
|
|
out.StatusNameUID = in.StatusNameUID
|
|
if in.Claims != nil {
|
|
in, out := &in.Claims, &out.Claims
|
|
*out = make(corev1.ResourceList, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val.DeepCopy()
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolClaimsItem.
|
|
func (in *ResourcePoolClaimsItem) DeepCopy() *ResourcePoolClaimsItem {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourcePoolClaimsItem)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in ResourcePoolClaimsList) DeepCopyInto(out *ResourcePoolClaimsList) {
|
|
{
|
|
in := &in
|
|
*out = make(ResourcePoolClaimsList, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(ResourcePoolClaimsItem)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolClaimsList.
|
|
func (in ResourcePoolClaimsList) DeepCopy() ResourcePoolClaimsList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourcePoolClaimsList)
|
|
in.DeepCopyInto(out)
|
|
return *out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourcePoolList) DeepCopyInto(out *ResourcePoolList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ResourcePool, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolList.
|
|
func (in *ResourcePoolList) DeepCopy() *ResourcePoolList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourcePoolList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ResourcePoolList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in ResourcePoolNamespaceClaimsStatus) DeepCopyInto(out *ResourcePoolNamespaceClaimsStatus) {
|
|
{
|
|
in := &in
|
|
*out = make(ResourcePoolNamespaceClaimsStatus, len(*in))
|
|
for key, val := range *in {
|
|
var outVal []*ResourcePoolClaimsItem
|
|
if val == nil {
|
|
(*out)[key] = nil
|
|
} else {
|
|
inVal := (*in)[key]
|
|
in, out := &inVal, &outVal
|
|
*out = make(ResourcePoolClaimsList, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(ResourcePoolClaimsItem)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
}
|
|
(*out)[key] = outVal
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolNamespaceClaimsStatus.
|
|
func (in ResourcePoolNamespaceClaimsStatus) DeepCopy() ResourcePoolNamespaceClaimsStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourcePoolNamespaceClaimsStatus)
|
|
in.DeepCopyInto(out)
|
|
return *out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourcePoolQuotaStatus) DeepCopyInto(out *ResourcePoolQuotaStatus) {
|
|
*out = *in
|
|
if in.Hard != nil {
|
|
in, out := &in.Hard, &out.Hard
|
|
*out = make(corev1.ResourceList, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val.DeepCopy()
|
|
}
|
|
}
|
|
if in.Claimed != nil {
|
|
in, out := &in.Claimed, &out.Claimed
|
|
*out = make(corev1.ResourceList, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val.DeepCopy()
|
|
}
|
|
}
|
|
if in.Available != nil {
|
|
in, out := &in.Available, &out.Available
|
|
*out = make(corev1.ResourceList, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val.DeepCopy()
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolQuotaStatus.
|
|
func (in *ResourcePoolQuotaStatus) DeepCopy() *ResourcePoolQuotaStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourcePoolQuotaStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourcePoolSpec) DeepCopyInto(out *ResourcePoolSpec) {
|
|
*out = *in
|
|
if in.Selectors != nil {
|
|
in, out := &in.Selectors, &out.Selectors
|
|
*out = make([]misc.NamespaceSelector, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
in.Quota.DeepCopyInto(&out.Quota)
|
|
if in.Defaults != nil {
|
|
in, out := &in.Defaults, &out.Defaults
|
|
*out = make(corev1.ResourceList, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val.DeepCopy()
|
|
}
|
|
}
|
|
in.Config.DeepCopyInto(&out.Config)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolSpec.
|
|
func (in *ResourcePoolSpec) DeepCopy() *ResourcePoolSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourcePoolSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourcePoolSpecConfiguration) DeepCopyInto(out *ResourcePoolSpecConfiguration) {
|
|
*out = *in
|
|
if in.DefaultsAssignZero != nil {
|
|
in, out := &in.DefaultsAssignZero, &out.DefaultsAssignZero
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.OrderedQueue != nil {
|
|
in, out := &in.OrderedQueue, &out.OrderedQueue
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.DeleteBoundResources != nil {
|
|
in, out := &in.DeleteBoundResources, &out.DeleteBoundResources
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolSpecConfiguration.
|
|
func (in *ResourcePoolSpecConfiguration) DeepCopy() *ResourcePoolSpecConfiguration {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourcePoolSpecConfiguration)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourcePoolStatus) DeepCopyInto(out *ResourcePoolStatus) {
|
|
*out = *in
|
|
if in.Namespaces != nil {
|
|
in, out := &in.Namespaces, &out.Namespaces
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Claims != nil {
|
|
in, out := &in.Claims, &out.Claims
|
|
*out = make(ResourcePoolNamespaceClaimsStatus, len(*in))
|
|
for key, val := range *in {
|
|
var outVal []*ResourcePoolClaimsItem
|
|
if val == nil {
|
|
(*out)[key] = nil
|
|
} else {
|
|
inVal := (*in)[key]
|
|
in, out := &inVal, &outVal
|
|
*out = make(ResourcePoolClaimsList, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(ResourcePoolClaimsItem)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
}
|
|
(*out)[key] = outVal
|
|
}
|
|
}
|
|
in.Allocation.DeepCopyInto(&out.Allocation)
|
|
if in.Exhaustions != nil {
|
|
in, out := &in.Exhaustions, &out.Exhaustions
|
|
*out = make(map[string]api.PoolExhaustionResource, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = *val.DeepCopy()
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolStatus.
|
|
func (in *ResourcePoolStatus) DeepCopy() *ResourcePoolStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourcePoolStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourceSpec) DeepCopyInto(out *ResourceSpec) {
|
|
*out = *in
|
|
if in.NamespaceSelector != nil {
|
|
in, out := &in.NamespaceSelector, &out.NamespaceSelector
|
|
*out = new(metav1.LabelSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.NamespacedItems != nil {
|
|
in, out := &in.NamespacedItems, &out.NamespacedItems
|
|
*out = make([]ObjectReference, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.RawItems != nil {
|
|
in, out := &in.RawItems, &out.RawItems
|
|
*out = make([]RawExtension, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.AdditionalMetadata != nil {
|
|
in, out := &in.AdditionalMetadata, &out.AdditionalMetadata
|
|
*out = new(api.AdditionalMetadataSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSpec.
|
|
func (in *ResourceSpec) DeepCopy() *ResourceSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Tenant) DeepCopyInto(out *Tenant) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tenant.
|
|
func (in *Tenant) DeepCopy() *Tenant {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Tenant)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Tenant) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TenantAvailableClassesStatus) DeepCopyInto(out *TenantAvailableClassesStatus) {
|
|
*out = *in
|
|
if in.StorageClasses != nil {
|
|
in, out := &in.StorageClasses, &out.StorageClasses
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.PriorityClasses != nil {
|
|
in, out := &in.PriorityClasses, &out.PriorityClasses
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.RuntimeClasses != nil {
|
|
in, out := &in.RuntimeClasses, &out.RuntimeClasses
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.GatewayClasses != nil {
|
|
in, out := &in.GatewayClasses, &out.GatewayClasses
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.DeviceClasses != nil {
|
|
in, out := &in.DeviceClasses, &out.DeviceClasses
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantAvailableClassesStatus.
|
|
func (in *TenantAvailableClassesStatus) DeepCopy() *TenantAvailableClassesStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TenantAvailableClassesStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TenantAvailableStatus) DeepCopyInto(out *TenantAvailableStatus) {
|
|
*out = *in
|
|
in.Classes.DeepCopyInto(&out.Classes)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantAvailableStatus.
|
|
func (in *TenantAvailableStatus) DeepCopy() *TenantAvailableStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TenantAvailableStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TenantList) DeepCopyInto(out *TenantList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Tenant, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantList.
|
|
func (in *TenantList) DeepCopy() *TenantList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TenantList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *TenantList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TenantOwner) DeepCopyInto(out *TenantOwner) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
out.Status = in.Status
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantOwner.
|
|
func (in *TenantOwner) DeepCopy() *TenantOwner {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TenantOwner)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *TenantOwner) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TenantOwnerList) DeepCopyInto(out *TenantOwnerList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]TenantOwner, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantOwnerList.
|
|
func (in *TenantOwnerList) DeepCopy() *TenantOwnerList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TenantOwnerList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *TenantOwnerList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TenantOwnerSpec) DeepCopyInto(out *TenantOwnerSpec) {
|
|
*out = *in
|
|
in.CoreOwnerSpec.DeepCopyInto(&out.CoreOwnerSpec)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantOwnerSpec.
|
|
func (in *TenantOwnerSpec) DeepCopy() *TenantOwnerSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TenantOwnerSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TenantOwnerStatus) DeepCopyInto(out *TenantOwnerStatus) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantOwnerStatus.
|
|
func (in *TenantOwnerStatus) DeepCopy() *TenantOwnerStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TenantOwnerStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TenantResource) DeepCopyInto(out *TenantResource) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantResource.
|
|
func (in *TenantResource) DeepCopy() *TenantResource {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TenantResource)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *TenantResource) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TenantResourceList) DeepCopyInto(out *TenantResourceList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]TenantResource, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantResourceList.
|
|
func (in *TenantResourceList) DeepCopy() *TenantResourceList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TenantResourceList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *TenantResourceList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TenantResourceSpec) DeepCopyInto(out *TenantResourceSpec) {
|
|
*out = *in
|
|
out.ResyncPeriod = in.ResyncPeriod
|
|
if in.PruningOnDelete != nil {
|
|
in, out := &in.PruningOnDelete, &out.PruningOnDelete
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Resources != nil {
|
|
in, out := &in.Resources, &out.Resources
|
|
*out = make([]ResourceSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantResourceSpec.
|
|
func (in *TenantResourceSpec) DeepCopy() *TenantResourceSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TenantResourceSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TenantResourceStatus) DeepCopyInto(out *TenantResourceStatus) {
|
|
*out = *in
|
|
if in.ProcessedItems != nil {
|
|
in, out := &in.ProcessedItems, &out.ProcessedItems
|
|
*out = make(ProcessedItems, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantResourceStatus.
|
|
func (in *TenantResourceStatus) DeepCopy() *TenantResourceStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TenantResourceStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TenantSpec) DeepCopyInto(out *TenantSpec) {
|
|
*out = *in
|
|
in.Permissions.DeepCopyInto(&out.Permissions)
|
|
if in.Owners != nil {
|
|
in, out := &in.Owners, &out.Owners
|
|
*out = make(api.OwnerListSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.NamespaceOptions != nil {
|
|
in, out := &in.NamespaceOptions, &out.NamespaceOptions
|
|
*out = new(NamespaceOptions)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.ServiceOptions != nil {
|
|
in, out := &in.ServiceOptions, &out.ServiceOptions
|
|
*out = new(api.ServiceOptions)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.PodOptions != nil {
|
|
in, out := &in.PodOptions, &out.PodOptions
|
|
*out = new(api.PodOptions)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.StorageClasses != nil {
|
|
in, out := &in.StorageClasses, &out.StorageClasses
|
|
*out = new(api.DefaultAllowedListSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
in.IngressOptions.DeepCopyInto(&out.IngressOptions)
|
|
if in.ContainerRegistries != nil {
|
|
in, out := &in.ContainerRegistries, &out.ContainerRegistries
|
|
*out = new(api.AllowedListSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.NodeSelector != nil {
|
|
in, out := &in.NodeSelector, &out.NodeSelector
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
in.NetworkPolicies.DeepCopyInto(&out.NetworkPolicies)
|
|
in.LimitRanges.DeepCopyInto(&out.LimitRanges)
|
|
in.ResourceQuota.DeepCopyInto(&out.ResourceQuota)
|
|
if in.AdditionalRoleBindings != nil {
|
|
in, out := &in.AdditionalRoleBindings, &out.AdditionalRoleBindings
|
|
*out = make([]api.AdditionalRoleBindingsSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.ImagePullPolicies != nil {
|
|
in, out := &in.ImagePullPolicies, &out.ImagePullPolicies
|
|
*out = make([]api.ImagePullPolicySpec, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.RuntimeClasses != nil {
|
|
in, out := &in.RuntimeClasses, &out.RuntimeClasses
|
|
*out = new(api.DefaultAllowedListSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.PriorityClasses != nil {
|
|
in, out := &in.PriorityClasses, &out.PriorityClasses
|
|
*out = new(api.DefaultAllowedListSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.DeviceClasses != nil {
|
|
in, out := &in.DeviceClasses, &out.DeviceClasses
|
|
*out = new(api.SelectorAllowedListSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
in.GatewayOptions.DeepCopyInto(&out.GatewayOptions)
|
|
if in.ForceTenantPrefix != nil {
|
|
in, out := &in.ForceTenantPrefix, &out.ForceTenantPrefix
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantSpec.
|
|
func (in *TenantSpec) DeepCopy() *TenantSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TenantSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TenantStatus) DeepCopyInto(out *TenantStatus) {
|
|
*out = *in
|
|
in.TenantAvailableStatus.DeepCopyInto(&out.TenantAvailableStatus)
|
|
if in.Owners != nil {
|
|
in, out := &in.Owners, &out.Owners
|
|
*out = make(api.OwnerStatusListSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Namespaces != nil {
|
|
in, out := &in.Namespaces, &out.Namespaces
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Spaces != nil {
|
|
in, out := &in.Spaces, &out.Spaces
|
|
*out = make([]*TenantStatusNamespaceItem, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(TenantStatusNamespaceItem)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
}
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make(meta.ConditionList, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantStatus.
|
|
func (in *TenantStatus) DeepCopy() *TenantStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TenantStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TenantStatusNamespaceItem) DeepCopyInto(out *TenantStatusNamespaceItem) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make(meta.ConditionList, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Metadata != nil {
|
|
in, out := &in.Metadata, &out.Metadata
|
|
*out = new(TenantStatusNamespaceMetadata)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantStatusNamespaceItem.
|
|
func (in *TenantStatusNamespaceItem) DeepCopy() *TenantStatusNamespaceItem {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TenantStatusNamespaceItem)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TenantStatusNamespaceMetadata) DeepCopyInto(out *TenantStatusNamespaceMetadata) {
|
|
*out = *in
|
|
if in.Labels != nil {
|
|
in, out := &in.Labels, &out.Labels
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.Annotations != nil {
|
|
in, out := &in.Annotations, &out.Annotations
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantStatusNamespaceMetadata.
|
|
func (in *TenantStatusNamespaceMetadata) DeepCopy() *TenantStatusNamespaceMetadata {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TenantStatusNamespaceMetadata)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|