From ef92c56b0539c1b268649b64755c5edfba06947c Mon Sep 17 00:00:00 2001 From: abdurrahman-osman Date: Tue, 17 Oct 2023 20:53:46 +0300 Subject: [PATCH] generated --- apis/tmc/v1alpha1/zz_generated.deepcopy.go | 14631 ++++++++++++---- apis/tmc/v1alpha1/zz_generated.managed.go | 532 + apis/tmc/v1alpha1/zz_generated.managedlist.go | 63 + apis/tmc/v1alpha1/zz_generated_terraformed.go | 518 + .../zz_namespace_quota_policy_types.go | 415 + apis/tmc/v1alpha1/zz_network_policy_types.go | 686 + apis/tmc/v1alpha1/zz_package_install_types.go | 264 + .../v1alpha1/zz_package_repository_types.go | 227 + .../zz_repository_credential_types.go | 268 + apis/tmc/v1alpha1/zz_security_policy_types.go | 780 + apis/tmc/v1alpha1/zz_workspace_types.go | 116 + .../namespace_quota_policy/zz_controller.go | 55 + .../tmc/network_policy/zz_controller.go | 55 + .../tmc/package_install/zz_controller.go | 55 + .../tmc/package_repository/zz_controller.go | 55 + .../repository_credential/zz_controller.go | 55 + .../tmc/security_policy/zz_controller.go | 55 + .../controller/tmc/workspace/zz_controller.go | 55 + internal/controller/zz_setup.go | 14 + ...rossplane.io_namespace_quota_policies.yaml | 710 + .../tmc.crossplane.io_network_policies.yaml | 1147 ++ .../tmc.crossplane.io_package_installs.yaml | 520 + ...mc.crossplane.io_package_repositories.yaml | 467 + ....crossplane.io_repository_credentials.yaml | 540 + .../tmc.crossplane.io_security_policies.yaml | 1015 ++ .../crds/tmc.crossplane.io_workspaces.yaml | 356 + 26 files changed, 19907 insertions(+), 3747 deletions(-) create mode 100755 apis/tmc/v1alpha1/zz_namespace_quota_policy_types.go create mode 100755 apis/tmc/v1alpha1/zz_network_policy_types.go create mode 100755 apis/tmc/v1alpha1/zz_package_install_types.go create mode 100755 apis/tmc/v1alpha1/zz_package_repository_types.go create mode 100755 apis/tmc/v1alpha1/zz_repository_credential_types.go create mode 100755 apis/tmc/v1alpha1/zz_security_policy_types.go create mode 100755 apis/tmc/v1alpha1/zz_workspace_types.go create mode 100755 internal/controller/tmc/namespace_quota_policy/zz_controller.go create mode 100755 internal/controller/tmc/network_policy/zz_controller.go create mode 100755 internal/controller/tmc/package_install/zz_controller.go create mode 100755 internal/controller/tmc/package_repository/zz_controller.go create mode 100755 internal/controller/tmc/repository_credential/zz_controller.go create mode 100755 internal/controller/tmc/security_policy/zz_controller.go create mode 100755 internal/controller/tmc/workspace/zz_controller.go create mode 100644 package/crds/tmc.crossplane.io_namespace_quota_policies.yaml create mode 100644 package/crds/tmc.crossplane.io_network_policies.yaml create mode 100644 package/crds/tmc.crossplane.io_package_installs.yaml create mode 100644 package/crds/tmc.crossplane.io_package_repositories.yaml create mode 100644 package/crds/tmc.crossplane.io_repository_credentials.yaml create mode 100644 package/crds/tmc.crossplane.io_security_policies.yaml create mode 100644 package/crds/tmc.crossplane.io_workspaces.yaml diff --git a/apis/tmc/v1alpha1/zz_generated.deepcopy.go b/apis/tmc/v1alpha1/zz_generated.deepcopy.go index 272ed92..24a2dbc 100644 --- a/apis/tmc/v1alpha1/zz_generated.deepcopy.go +++ b/apis/tmc/v1alpha1/zz_generated.deepcopy.go @@ -600,6 +600,246 @@ func (in *AksClusterStatus) DeepCopy() *AksClusterStatus { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AllowAllEgressObservation) DeepCopyInto(out *AllowAllEgressObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowAllEgressObservation. +func (in *AllowAllEgressObservation) DeepCopy() *AllowAllEgressObservation { + if in == nil { + return nil + } + out := new(AllowAllEgressObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AllowAllEgressParameters) DeepCopyInto(out *AllowAllEgressParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowAllEgressParameters. +func (in *AllowAllEgressParameters) DeepCopy() *AllowAllEgressParameters { + if in == nil { + return nil + } + out := new(AllowAllEgressParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AllowAllObservation) DeepCopyInto(out *AllowAllObservation) { + *out = *in + if in.FromOwnNamespace != nil { + in, out := &in.FromOwnNamespace, &out.FromOwnNamespace + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowAllObservation. +func (in *AllowAllObservation) DeepCopy() *AllowAllObservation { + if in == nil { + return nil + } + out := new(AllowAllObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AllowAllParameters) DeepCopyInto(out *AllowAllParameters) { + *out = *in + if in.FromOwnNamespace != nil { + in, out := &in.FromOwnNamespace, &out.FromOwnNamespace + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowAllParameters. +func (in *AllowAllParameters) DeepCopy() *AllowAllParameters { + if in == nil { + return nil + } + out := new(AllowAllParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AllowAllToPodsObservation) DeepCopyInto(out *AllowAllToPodsObservation) { + *out = *in + if in.FromOwnNamespace != nil { + in, out := &in.FromOwnNamespace, &out.FromOwnNamespace + *out = new(bool) + **out = **in + } + if in.ToPodLabels != nil { + in, out := &in.ToPodLabels, &out.ToPodLabels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowAllToPodsObservation. +func (in *AllowAllToPodsObservation) DeepCopy() *AllowAllToPodsObservation { + if in == nil { + return nil + } + out := new(AllowAllToPodsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AllowAllToPodsParameters) DeepCopyInto(out *AllowAllToPodsParameters) { + *out = *in + if in.FromOwnNamespace != nil { + in, out := &in.FromOwnNamespace, &out.FromOwnNamespace + *out = new(bool) + **out = **in + } + if in.ToPodLabels != nil { + in, out := &in.ToPodLabels, &out.ToPodLabels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowAllToPodsParameters. +func (in *AllowAllToPodsParameters) DeepCopy() *AllowAllToPodsParameters { + if in == nil { + return nil + } + out := new(AllowAllToPodsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AllowedHostPathsObservation) DeepCopyInto(out *AllowedHostPathsObservation) { + *out = *in + if in.PathPrefix != nil { + in, out := &in.PathPrefix, &out.PathPrefix + *out = new(string) + **out = **in + } + if in.ReadOnly != nil { + in, out := &in.ReadOnly, &out.ReadOnly + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedHostPathsObservation. +func (in *AllowedHostPathsObservation) DeepCopy() *AllowedHostPathsObservation { + if in == nil { + return nil + } + out := new(AllowedHostPathsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AllowedHostPathsParameters) DeepCopyInto(out *AllowedHostPathsParameters) { + *out = *in + if in.PathPrefix != nil { + in, out := &in.PathPrefix, &out.PathPrefix + *out = new(string) + **out = **in + } + if in.ReadOnly != nil { + in, out := &in.ReadOnly, &out.ReadOnly + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedHostPathsParameters. +func (in *AllowedHostPathsParameters) DeepCopy() *AllowedHostPathsParameters { + if in == nil { + return nil + } + out := new(AllowedHostPathsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AllowedHostPortRangeObservation) DeepCopyInto(out *AllowedHostPortRangeObservation) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedHostPortRangeObservation. +func (in *AllowedHostPortRangeObservation) DeepCopy() *AllowedHostPortRangeObservation { + if in == nil { + return nil + } + out := new(AllowedHostPortRangeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AllowedHostPortRangeParameters) DeepCopyInto(out *AllowedHostPortRangeParameters) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedHostPortRangeParameters. +func (in *AllowedHostPortRangeParameters) DeepCopy() *AllowedHostPortRangeParameters { + if in == nil { + return nil + } + out := new(AllowedHostPortRangeParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AllowedNameTagObservation) DeepCopyInto(out *AllowedNameTagObservation) { *out = *in @@ -654,6 +894,76 @@ func (in *AllowedNameTagParameters) DeepCopy() *AllowedNameTagParameters { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AllowedSeLinuxOptionsObservation) DeepCopyInto(out *AllowedSeLinuxOptionsObservation) { + *out = *in + if in.Level != nil { + in, out := &in.Level, &out.Level + *out = new(string) + **out = **in + } + if in.Role != nil { + in, out := &in.Role, &out.Role + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.User != nil { + in, out := &in.User, &out.User + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedSeLinuxOptionsObservation. +func (in *AllowedSeLinuxOptionsObservation) DeepCopy() *AllowedSeLinuxOptionsObservation { + if in == nil { + return nil + } + out := new(AllowedSeLinuxOptionsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AllowedSeLinuxOptionsParameters) DeepCopyInto(out *AllowedSeLinuxOptionsParameters) { + *out = *in + if in.Level != nil { + in, out := &in.Level, &out.Level + *out = new(string) + **out = **in + } + if in.Role != nil { + in, out := &in.Role, &out.Role + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.User != nil { + in, out := &in.User, &out.User + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedSeLinuxOptionsParameters. +func (in *AllowedSeLinuxOptionsParameters) DeepCopy() *AllowedSeLinuxOptionsParameters { + if in == nil { + return nil + } + out := new(AllowedSeLinuxOptionsParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AttachK8SClusterObservation) DeepCopyInto(out *AttachK8SClusterObservation) { *out = *in @@ -974,60 +1284,110 @@ func (in *AzurePolicyAddonConfigParameters) DeepCopy() *AzurePolicyAddonConfigPa } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BlockLatestTagObservation) DeepCopyInto(out *BlockLatestTagObservation) { +func (in *BaselineObservation) DeepCopyInto(out *BaselineObservation) { *out = *in if in.Audit != nil { in, out := &in.Audit, &out.Audit *out = new(bool) **out = **in } + if in.DisableNativePsp != nil { + in, out := &in.DisableNativePsp, &out.DisableNativePsp + *out = new(bool) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockLatestTagObservation. -func (in *BlockLatestTagObservation) DeepCopy() *BlockLatestTagObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaselineObservation. +func (in *BaselineObservation) DeepCopy() *BaselineObservation { if in == nil { return nil } - out := new(BlockLatestTagObservation) + out := new(BaselineObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BlockLatestTagParameters) DeepCopyInto(out *BlockLatestTagParameters) { +func (in *BaselineParameters) DeepCopyInto(out *BaselineParameters) { *out = *in if in.Audit != nil { in, out := &in.Audit, &out.Audit *out = new(bool) **out = **in } + if in.DisableNativePsp != nil { + in, out := &in.DisableNativePsp, &out.DisableNativePsp + *out = new(bool) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockLatestTagParameters. -func (in *BlockLatestTagParameters) DeepCopy() *BlockLatestTagParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaselineParameters. +func (in *BaselineParameters) DeepCopy() *BaselineParameters { if in == nil { return nil } - out := new(BlockLatestTagParameters) + out := new(BaselineParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Cluster) DeepCopyInto(out *Cluster) { +func (in *BlockLatestTagObservation) DeepCopyInto(out *BlockLatestTagObservation) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.Audit != nil { + in, out := &in.Audit, &out.Audit + *out = new(bool) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster. -func (in *Cluster) DeepCopy() *Cluster { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockLatestTagObservation. +func (in *BlockLatestTagObservation) DeepCopy() *BlockLatestTagObservation { if in == nil { return nil } - out := new(Cluster) + out := new(BlockLatestTagObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BlockLatestTagParameters) DeepCopyInto(out *BlockLatestTagParameters) { + *out = *in + if in.Audit != nil { + in, out := &in.Audit, &out.Audit + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockLatestTagParameters. +func (in *BlockLatestTagParameters) DeepCopy() *BlockLatestTagParameters { + if in == nil { + return nil + } + out := new(BlockLatestTagParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Cluster) DeepCopyInto(out *Cluster) { + *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 Cluster. +func (in *Cluster) DeepCopy() *Cluster { + if in == nil { + return nil + } + out := new(Cluster) in.DeepCopyInto(out) return out } @@ -3159,207 +3519,255 @@ func (in *CredentialStatus) DeepCopy() *CredentialStatus { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomObservation) DeepCopyInto(out *CustomObservation) { +func (in *CustomEgressObservation) DeepCopyInto(out *CustomEgressObservation) { *out = *in - if in.Audit != nil { - in, out := &in.Audit, &out.Audit - *out = new(bool) - **out = **in - } if in.Rules != nil { in, out := &in.Rules, &out.Rules - *out = make([]CustomRulesObservation, len(*in)) + *out = make([]CustomEgressRulesObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.ToPodLabels != nil { + in, out := &in.ToPodLabels, &out.ToPodLabels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomObservation. -func (in *CustomObservation) DeepCopy() *CustomObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomEgressObservation. +func (in *CustomEgressObservation) DeepCopy() *CustomEgressObservation { if in == nil { return nil } - out := new(CustomObservation) + out := new(CustomEgressObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomParameters) DeepCopyInto(out *CustomParameters) { +func (in *CustomEgressParameters) DeepCopyInto(out *CustomEgressParameters) { *out = *in - if in.Audit != nil { - in, out := &in.Audit, &out.Audit - *out = new(bool) - **out = **in - } if in.Rules != nil { in, out := &in.Rules, &out.Rules - *out = make([]CustomRulesParameters, len(*in)) + *out = make([]CustomEgressRulesParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.ToPodLabels != nil { + in, out := &in.ToPodLabels, &out.ToPodLabels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomParameters. -func (in *CustomParameters) DeepCopy() *CustomParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomEgressParameters. +func (in *CustomEgressParameters) DeepCopy() *CustomEgressParameters { if in == nil { return nil } - out := new(CustomParameters) + out := new(CustomEgressParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomRulesObservation) DeepCopyInto(out *CustomRulesObservation) { +func (in *CustomEgressRulesObservation) DeepCopyInto(out *CustomEgressRulesObservation) { *out = *in - if in.Hostname != nil { - in, out := &in.Hostname, &out.Hostname - *out = new(string) - **out = **in + if in.Ports != nil { + in, out := &in.Ports, &out.Ports + *out = make([]PortsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.Imagename != nil { - in, out := &in.Imagename, &out.Imagename - *out = new(string) - **out = **in + if in.RuleSpec != nil { + in, out := &in.RuleSpec, &out.RuleSpec + *out = make([]RuleSpecObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.Port != nil { - in, out := &in.Port, &out.Port - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomEgressRulesObservation. +func (in *CustomEgressRulesObservation) DeepCopy() *CustomEgressRulesObservation { + if in == nil { + return nil } - if in.Requiredigest != nil { - in, out := &in.Requiredigest, &out.Requiredigest - *out = new(bool) - **out = **in + out := new(CustomEgressRulesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomEgressRulesParameters) DeepCopyInto(out *CustomEgressRulesParameters) { + *out = *in + if in.Ports != nil { + in, out := &in.Ports, &out.Ports + *out = make([]PortsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.Tag != nil { - in, out := &in.Tag, &out.Tag - *out = make([]RulesTagObservation, len(*in)) + if in.RuleSpec != nil { + in, out := &in.RuleSpec, &out.RuleSpec + *out = make([]RuleSpecParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRulesObservation. -func (in *CustomRulesObservation) DeepCopy() *CustomRulesObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomEgressRulesParameters. +func (in *CustomEgressRulesParameters) DeepCopy() *CustomEgressRulesParameters { if in == nil { return nil } - out := new(CustomRulesObservation) + out := new(CustomEgressRulesParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomRulesParameters) DeepCopyInto(out *CustomRulesParameters) { +func (in *CustomIPIPBlockObservation) DeepCopyInto(out *CustomIPIPBlockObservation) { *out = *in - if in.Hostname != nil { - in, out := &in.Hostname, &out.Hostname + if in.Cidr != nil { + in, out := &in.Cidr, &out.Cidr *out = new(string) **out = **in } - if in.Imagename != nil { - in, out := &in.Imagename, &out.Imagename - *out = new(string) - **out = **in + if in.Except != nil { + in, out := &in.Except, &out.Except + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.Port != nil { - in, out := &in.Port, &out.Port - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomIPIPBlockObservation. +func (in *CustomIPIPBlockObservation) DeepCopy() *CustomIPIPBlockObservation { + if in == nil { + return nil } - if in.Requiredigest != nil { - in, out := &in.Requiredigest, &out.Requiredigest - *out = new(bool) + out := new(CustomIPIPBlockObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomIPIPBlockParameters) DeepCopyInto(out *CustomIPIPBlockParameters) { + *out = *in + if in.Cidr != nil { + in, out := &in.Cidr, &out.Cidr + *out = new(string) **out = **in } - if in.Tag != nil { - in, out := &in.Tag, &out.Tag - *out = make([]RulesTagParameters, len(*in)) + if in.Except != nil { + in, out := &in.Except, &out.Except + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRulesParameters. -func (in *CustomRulesParameters) DeepCopy() *CustomRulesParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomIPIPBlockParameters. +func (in *CustomIPIPBlockParameters) DeepCopy() *CustomIPIPBlockParameters { if in == nil { return nil } - out := new(CustomRulesParameters) + out := new(CustomIPIPBlockParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Custom_Policy) DeepCopyInto(out *Custom_Policy) { +func (in *CustomIPObservation) DeepCopyInto(out *CustomIPObservation) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.IPBlock != nil { + in, out := &in.IPBlock, &out.IPBlock + *out = make([]IPBlockObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Custom_Policy. -func (in *Custom_Policy) DeepCopy() *Custom_Policy { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomIPObservation. +func (in *CustomIPObservation) DeepCopy() *CustomIPObservation { if in == nil { return nil } - out := new(Custom_Policy) + out := new(CustomIPObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Custom_Policy) 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 *Custom_PolicyList) DeepCopyInto(out *Custom_PolicyList) { +func (in *CustomIPParameters) DeepCopyInto(out *CustomIPParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]Custom_Policy, len(*in)) + if in.IPBlock != nil { + in, out := &in.IPBlock, &out.IPBlock + *out = make([]IPBlockParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Custom_PolicyList. -func (in *Custom_PolicyList) DeepCopy() *Custom_PolicyList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomIPParameters. +func (in *CustomIPParameters) DeepCopy() *CustomIPParameters { if in == nil { return nil } - out := new(Custom_PolicyList) + out := new(CustomIPParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Custom_PolicyList) 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 *Custom_PolicyMetaObservation) DeepCopyInto(out *Custom_PolicyMetaObservation) { +func (in *CustomIngressObservation) DeepCopyInto(out *CustomIngressObservation) { *out = *in - if in.Annotations != nil { - in, out := &in.Annotations, &out.Annotations + if in.Rules != nil { + in, out := &in.Rules, &out.Rules + *out = make([]CustomIngressRulesObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ToPodLabels != nil { + in, out := &in.ToPodLabels, &out.ToPodLabels *out = make(map[string]*string, len(*in)) for key, val := range *in { var outVal *string @@ -3373,13 +3781,30 @@ func (in *Custom_PolicyMetaObservation) DeepCopyInto(out *Custom_PolicyMetaObser (*out)[key] = outVal } } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomIngressObservation. +func (in *CustomIngressObservation) DeepCopy() *CustomIngressObservation { + if in == nil { + return nil } - if in.Labels != nil { - in, out := &in.Labels, &out.Labels + out := new(CustomIngressObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomIngressParameters) DeepCopyInto(out *CustomIngressParameters) { + *out = *in + if in.Rules != nil { + in, out := &in.Rules, &out.Rules + *out = make([]CustomIngressRulesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ToPodLabels != nil { + in, out := &in.ToPodLabels, &out.ToPodLabels *out = make(map[string]*string, len(*in)) for key, val := range *in { var outVal *string @@ -3393,518 +3818,306 @@ func (in *Custom_PolicyMetaObservation) DeepCopyInto(out *Custom_PolicyMetaObser (*out)[key] = outVal } } - if in.ResourceVersion != nil { - in, out := &in.ResourceVersion, &out.ResourceVersion - *out = new(string) - **out = **in - } - if in.UID != nil { - in, out := &in.UID, &out.UID - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Custom_PolicyMetaObservation. -func (in *Custom_PolicyMetaObservation) DeepCopy() *Custom_PolicyMetaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomIngressParameters. +func (in *CustomIngressParameters) DeepCopy() *CustomIngressParameters { if in == nil { return nil } - out := new(Custom_PolicyMetaObservation) + out := new(CustomIngressParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Custom_PolicyMetaParameters) DeepCopyInto(out *Custom_PolicyMetaParameters) { +func (in *CustomIngressRulesObservation) DeepCopyInto(out *CustomIngressRulesObservation) { *out = *in - if in.Annotations != nil { - in, out := &in.Annotations, &out.Annotations - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Labels != nil { - in, out := &in.Labels, &out.Labels - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Custom_PolicyMetaParameters. -func (in *Custom_PolicyMetaParameters) DeepCopy() *Custom_PolicyMetaParameters { - if in == nil { - return nil - } - out := new(Custom_PolicyMetaParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Custom_PolicyObservation) DeepCopyInto(out *Custom_PolicyObservation) { - *out = *in - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in - } - if in.Meta != nil { - in, out := &in.Meta, &out.Meta - *out = make([]Custom_PolicyMetaObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.Scope != nil { - in, out := &in.Scope, &out.Scope - *out = make([]ScopeObservation, len(*in)) + if in.Ports != nil { + in, out := &in.Ports, &out.Ports + *out = make([]RulesPortsObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Spec != nil { - in, out := &in.Spec, &out.Spec - *out = make([]Custom_PolicySpecObservation, len(*in)) + if in.RuleSpec != nil { + in, out := &in.RuleSpec, &out.RuleSpec + *out = make([]RulesRuleSpecObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Custom_PolicyObservation. -func (in *Custom_PolicyObservation) DeepCopy() *Custom_PolicyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomIngressRulesObservation. +func (in *CustomIngressRulesObservation) DeepCopy() *CustomIngressRulesObservation { if in == nil { return nil } - out := new(Custom_PolicyObservation) + out := new(CustomIngressRulesObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Custom_PolicyParameters) DeepCopyInto(out *Custom_PolicyParameters) { +func (in *CustomIngressRulesParameters) DeepCopyInto(out *CustomIngressRulesParameters) { *out = *in - if in.Meta != nil { - in, out := &in.Meta, &out.Meta - *out = make([]Custom_PolicyMetaParameters, len(*in)) + if in.Ports != nil { + in, out := &in.Ports, &out.Ports + *out = make([]RulesPortsParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.Scope != nil { - in, out := &in.Scope, &out.Scope - *out = make([]ScopeParameters, len(*in)) + if in.RuleSpec != nil { + in, out := &in.RuleSpec, &out.RuleSpec + *out = make([]RulesRuleSpecParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Spec != nil { - in, out := &in.Spec, &out.Spec - *out = make([]Custom_PolicySpecParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Custom_PolicyParameters. -func (in *Custom_PolicyParameters) DeepCopy() *Custom_PolicyParameters { - if in == nil { - return nil - } - out := new(Custom_PolicyParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Custom_PolicySpec) DeepCopyInto(out *Custom_PolicySpec) { - *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Custom_PolicySpec. -func (in *Custom_PolicySpec) DeepCopy() *Custom_PolicySpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomIngressRulesParameters. +func (in *CustomIngressRulesParameters) DeepCopy() *CustomIngressRulesParameters { if in == nil { return nil } - out := new(Custom_PolicySpec) + out := new(CustomIngressRulesParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Custom_PolicySpecObservation) DeepCopyInto(out *Custom_PolicySpecObservation) { +func (in *CustomObservation) DeepCopyInto(out *CustomObservation) { *out = *in - if in.Input != nil { - in, out := &in.Input, &out.Input - *out = make([]InputObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Audit != nil { + in, out := &in.Audit, &out.Audit + *out = new(bool) + **out = **in } - if in.NamespaceSelector != nil { - in, out := &in.NamespaceSelector, &out.NamespaceSelector - *out = make([]NamespaceSelectorObservation, len(*in)) + if in.Rules != nil { + in, out := &in.Rules, &out.Rules + *out = make([]CustomRulesObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Custom_PolicySpecObservation. -func (in *Custom_PolicySpecObservation) DeepCopy() *Custom_PolicySpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomObservation. +func (in *CustomObservation) DeepCopy() *CustomObservation { if in == nil { return nil } - out := new(Custom_PolicySpecObservation) + out := new(CustomObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Custom_PolicySpecParameters) DeepCopyInto(out *Custom_PolicySpecParameters) { +func (in *CustomParameters) DeepCopyInto(out *CustomParameters) { *out = *in - if in.Input != nil { - in, out := &in.Input, &out.Input - *out = make([]InputParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Audit != nil { + in, out := &in.Audit, &out.Audit + *out = new(bool) + **out = **in } - if in.NamespaceSelector != nil { - in, out := &in.NamespaceSelector, &out.NamespaceSelector - *out = make([]NamespaceSelectorParameters, len(*in)) + if in.Rules != nil { + in, out := &in.Rules, &out.Rules + *out = make([]CustomRulesParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Custom_PolicySpecParameters. -func (in *Custom_PolicySpecParameters) DeepCopy() *Custom_PolicySpecParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomParameters. +func (in *CustomParameters) DeepCopy() *CustomParameters { if in == nil { return nil } - out := new(Custom_PolicySpecParameters) + out := new(CustomParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Custom_PolicyStatus) DeepCopyInto(out *Custom_PolicyStatus) { +func (in *CustomRulesObservation) DeepCopyInto(out *CustomRulesObservation) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Custom_PolicyStatus. -func (in *Custom_PolicyStatus) DeepCopy() *Custom_PolicyStatus { - if in == nil { - return nil + if in.Hostname != nil { + in, out := &in.Hostname, &out.Hostname + *out = new(string) + **out = **in } - out := new(Custom_PolicyStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DataObservation) DeepCopyInto(out *DataObservation) { - *out = *in - if in.AwsCredential != nil { - in, out := &in.AwsCredential, &out.AwsCredential - *out = make([]AwsCredentialObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Imagename != nil { + in, out := &in.Imagename, &out.Imagename + *out = new(string) + **out = **in } - if in.GenericCredential != nil { - in, out := &in.GenericCredential, &out.GenericCredential + if in.Port != nil { + in, out := &in.Port, &out.Port *out = new(string) **out = **in } - if in.KeyValue != nil { - in, out := &in.KeyValue, &out.KeyValue - *out = make([]KeyValueObservation, len(*in)) + if in.Requiredigest != nil { + in, out := &in.Requiredigest, &out.Requiredigest + *out = new(bool) + **out = **in + } + if in.Tag != nil { + in, out := &in.Tag, &out.Tag + *out = make([]RulesTagObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataObservation. -func (in *DataObservation) DeepCopy() *DataObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRulesObservation. +func (in *CustomRulesObservation) DeepCopy() *CustomRulesObservation { if in == nil { return nil } - out := new(DataObservation) + out := new(CustomRulesObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DataParameters) DeepCopyInto(out *DataParameters) { +func (in *CustomRulesParameters) DeepCopyInto(out *CustomRulesParameters) { *out = *in - if in.AwsCredential != nil { - in, out := &in.AwsCredential, &out.AwsCredential - *out = make([]AwsCredentialParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Hostname != nil { + in, out := &in.Hostname, &out.Hostname + *out = new(string) + **out = **in } - if in.GenericCredential != nil { - in, out := &in.GenericCredential, &out.GenericCredential + if in.Imagename != nil { + in, out := &in.Imagename, &out.Imagename *out = new(string) **out = **in } - if in.KeyValue != nil { - in, out := &in.KeyValue, &out.KeyValue - *out = make([]KeyValueParameters, len(*in)) + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(string) + **out = **in + } + if in.Requiredigest != nil { + in, out := &in.Requiredigest, &out.Requiredigest + *out = new(bool) + **out = **in + } + if in.Tag != nil { + in, out := &in.Tag, &out.Tag + *out = make([]RulesTagParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataParameters. -func (in *DataParameters) DeepCopy() *DataParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRulesParameters. +func (in *CustomRulesParameters) DeepCopy() *CustomRulesParameters { if in == nil { return nil } - out := new(DataParameters) + out := new(CustomRulesParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DisallowedSubjectsObservation) DeepCopyInto(out *DisallowedSubjectsObservation) { +func (in *CustomSelectorObservation) DeepCopyInto(out *CustomSelectorObservation) { *out = *in - if in.Kind != nil { - in, out := &in.Kind, &out.Kind - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DisallowedSubjectsObservation. -func (in *DisallowedSubjectsObservation) DeepCopy() *DisallowedSubjectsObservation { - if in == nil { - return nil - } - out := new(DisallowedSubjectsObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DisallowedSubjectsParameters) DeepCopyInto(out *DisallowedSubjectsParameters) { - *out = *in - if in.Kind != nil { - in, out := &in.Kind, &out.Kind - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DisallowedSubjectsParameters. -func (in *DisallowedSubjectsParameters) DeepCopy() *DisallowedSubjectsParameters { - if in == nil { - return nil - } - out := new(DisallowedSubjectsParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DistributionObservation) DeepCopyInto(out *DistributionObservation) { - *out = *in - if in.OsArch != nil { - in, out := &in.OsArch, &out.OsArch - *out = new(string) - **out = **in - } - if in.OsName != nil { - in, out := &in.OsName, &out.OsName - *out = new(string) - **out = **in - } - if in.OsVersion != nil { - in, out := &in.OsVersion, &out.OsVersion - *out = new(string) - **out = **in - } - if in.ProvisionerCredentialName != nil { - in, out := &in.ProvisionerCredentialName, &out.ProvisionerCredentialName - *out = new(string) - **out = **in - } - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) - **out = **in - } - if in.Version != nil { - in, out := &in.Version, &out.Version - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DistributionObservation. -func (in *DistributionObservation) DeepCopy() *DistributionObservation { - if in == nil { - return nil - } - out := new(DistributionObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DistributionParameters) DeepCopyInto(out *DistributionParameters) { - *out = *in - if in.OsArch != nil { - in, out := &in.OsArch, &out.OsArch - *out = new(string) - **out = **in - } - if in.OsName != nil { - in, out := &in.OsName, &out.OsName - *out = new(string) - **out = **in - } - if in.OsVersion != nil { - in, out := &in.OsVersion, &out.OsVersion - *out = new(string) - **out = **in - } - if in.ProvisionerCredentialName != nil { - in, out := &in.ProvisionerCredentialName, &out.ProvisionerCredentialName - *out = new(string) - **out = **in - } - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) - **out = **in - } - if in.Version != nil { - in, out := &in.Version, &out.Version - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DistributionParameters. -func (in *DistributionParameters) DeepCopy() *DistributionParameters { - if in == nil { - return nil - } - out := new(DistributionParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DockerConfigJSONObservation) DeepCopyInto(out *DockerConfigJSONObservation) { - *out = *in - if in.ImageRegistryURL != nil { - in, out := &in.ImageRegistryURL, &out.ImageRegistryURL - *out = new(string) - **out = **in + if in.NamespaceSelector != nil { + in, out := &in.NamespaceSelector, &out.NamespaceSelector + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } - if in.Username != nil { - in, out := &in.Username, &out.Username - *out = new(string) - **out = **in + if in.PodSelector != nil { + in, out := &in.PodSelector, &out.PodSelector + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerConfigJSONObservation. -func (in *DockerConfigJSONObservation) DeepCopy() *DockerConfigJSONObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomSelectorObservation. +func (in *CustomSelectorObservation) DeepCopy() *CustomSelectorObservation { if in == nil { return nil } - out := new(DockerConfigJSONObservation) + out := new(CustomSelectorObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DockerConfigJSONParameters) DeepCopyInto(out *DockerConfigJSONParameters) { +func (in *CustomSelectorParameters) DeepCopyInto(out *CustomSelectorParameters) { *out = *in - if in.ImageRegistryURL != nil { - in, out := &in.ImageRegistryURL, &out.ImageRegistryURL - *out = new(string) - **out = **in + if in.NamespaceSelector != nil { + in, out := &in.NamespaceSelector, &out.NamespaceSelector + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } - out.PasswordSecretRef = in.PasswordSecretRef - if in.Username != nil { - in, out := &in.Username, &out.Username - *out = new(string) - **out = **in + if in.PodSelector != nil { + in, out := &in.PodSelector, &out.PodSelector + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerConfigJSONParameters. -func (in *DockerConfigJSONParameters) DeepCopy() *DockerConfigJSONParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomSelectorParameters. +func (in *CustomSelectorParameters) DeepCopy() *CustomSelectorParameters { if in == nil { return nil } - out := new(DockerConfigJSONParameters) + out := new(CustomSelectorParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EKSCluster) DeepCopyInto(out *EKSCluster) { +func (in *Custom_Policy) DeepCopyInto(out *Custom_Policy) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -3912,18 +4125,18 @@ func (in *EKSCluster) DeepCopyInto(out *EKSCluster) { in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSCluster. -func (in *EKSCluster) DeepCopy() *EKSCluster { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Custom_Policy. +func (in *Custom_Policy) DeepCopy() *Custom_Policy { if in == nil { return nil } - out := new(EKSCluster) + out := new(Custom_Policy) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *EKSCluster) DeepCopyObject() runtime.Object { +func (in *Custom_Policy) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -3931,31 +4144,31 @@ func (in *EKSCluster) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EKSClusterList) DeepCopyInto(out *EKSClusterList) { +func (in *Custom_PolicyList) DeepCopyInto(out *Custom_PolicyList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]EKSCluster, len(*in)) + *out = make([]Custom_Policy, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterList. -func (in *EKSClusterList) DeepCopy() *EKSClusterList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Custom_PolicyList. +func (in *Custom_PolicyList) DeepCopy() *Custom_PolicyList { if in == nil { return nil } - out := new(EKSClusterList) + out := new(Custom_PolicyList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *EKSClusterList) DeepCopyObject() runtime.Object { +func (in *Custom_PolicyList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -3963,7 +4176,7 @@ func (in *EKSClusterList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EKSClusterMetaObservation) DeepCopyInto(out *EKSClusterMetaObservation) { +func (in *Custom_PolicyMetaObservation) DeepCopyInto(out *Custom_PolicyMetaObservation) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -4012,18 +4225,18 @@ func (in *EKSClusterMetaObservation) DeepCopyInto(out *EKSClusterMetaObservation } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterMetaObservation. -func (in *EKSClusterMetaObservation) DeepCopy() *EKSClusterMetaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Custom_PolicyMetaObservation. +func (in *Custom_PolicyMetaObservation) DeepCopy() *Custom_PolicyMetaObservation { if in == nil { return nil } - out := new(EKSClusterMetaObservation) + out := new(Custom_PolicyMetaObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EKSClusterMetaParameters) DeepCopyInto(out *EKSClusterMetaParameters) { +func (in *Custom_PolicyMetaParameters) DeepCopyInto(out *Custom_PolicyMetaParameters) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -4062,24 +4275,19 @@ func (in *EKSClusterMetaParameters) DeepCopyInto(out *EKSClusterMetaParameters) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterMetaParameters. -func (in *EKSClusterMetaParameters) DeepCopy() *EKSClusterMetaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Custom_PolicyMetaParameters. +func (in *Custom_PolicyMetaParameters) DeepCopy() *Custom_PolicyMetaParameters { if in == nil { return nil } - out := new(EKSClusterMetaParameters) + out := new(Custom_PolicyMetaParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EKSClusterObservation) DeepCopyInto(out *EKSClusterObservation) { +func (in *Custom_PolicyObservation) DeepCopyInto(out *Custom_PolicyObservation) { *out = *in - if in.CredentialName != nil { - in, out := &in.CredentialName, &out.CredentialName - *out = new(string) - **out = **in - } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) @@ -4087,7 +4295,7 @@ func (in *EKSClusterObservation) DeepCopyInto(out *EKSClusterObservation) { } if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]EKSClusterMetaObservation, len(*in)) + *out = make([]Custom_PolicyMetaObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -4097,61 +4305,38 @@ func (in *EKSClusterObservation) DeepCopyInto(out *EKSClusterObservation) { *out = new(string) **out = **in } - if in.ReadyWaitTimeout != nil { - in, out := &in.ReadyWaitTimeout, &out.ReadyWaitTimeout - *out = new(string) - **out = **in - } - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) - **out = **in + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = make([]ScopeObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.Spec != nil { in, out := &in.Spec, &out.Spec - *out = make([]EKSClusterSpecObservation, len(*in)) + *out = make([]Custom_PolicySpecObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Status != nil { - in, out := &in.Status, &out.Status - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterObservation. -func (in *EKSClusterObservation) DeepCopy() *EKSClusterObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Custom_PolicyObservation. +func (in *Custom_PolicyObservation) DeepCopy() *Custom_PolicyObservation { if in == nil { return nil } - out := new(EKSClusterObservation) + out := new(Custom_PolicyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EKSClusterParameters) DeepCopyInto(out *EKSClusterParameters) { +func (in *Custom_PolicyParameters) DeepCopyInto(out *Custom_PolicyParameters) { *out = *in - if in.CredentialName != nil { - in, out := &in.CredentialName, &out.CredentialName - *out = new(string) - **out = **in - } if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]EKSClusterMetaParameters, len(*in)) + *out = make([]Custom_PolicyMetaParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -4161,271 +4346,257 @@ func (in *EKSClusterParameters) DeepCopyInto(out *EKSClusterParameters) { *out = new(string) **out = **in } - if in.ReadyWaitTimeout != nil { - in, out := &in.ReadyWaitTimeout, &out.ReadyWaitTimeout - *out = new(string) - **out = **in - } - if in.Region != nil { - in, out := &in.Region, &out.Region - *out = new(string) - **out = **in + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = make([]ScopeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.Spec != nil { in, out := &in.Spec, &out.Spec - *out = make([]EKSClusterSpecParameters, len(*in)) + *out = make([]Custom_PolicySpecParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterParameters. -func (in *EKSClusterParameters) DeepCopy() *EKSClusterParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Custom_PolicyParameters. +func (in *Custom_PolicyParameters) DeepCopy() *Custom_PolicyParameters { if in == nil { return nil } - out := new(EKSClusterParameters) + out := new(Custom_PolicyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EKSClusterSpec) DeepCopyInto(out *EKSClusterSpec) { +func (in *Custom_PolicySpec) DeepCopyInto(out *Custom_PolicySpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterSpec. -func (in *EKSClusterSpec) DeepCopy() *EKSClusterSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Custom_PolicySpec. +func (in *Custom_PolicySpec) DeepCopy() *Custom_PolicySpec { if in == nil { return nil } - out := new(EKSClusterSpec) + out := new(Custom_PolicySpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EKSClusterSpecObservation) DeepCopyInto(out *EKSClusterSpecObservation) { +func (in *Custom_PolicySpecObservation) DeepCopyInto(out *Custom_PolicySpecObservation) { *out = *in - if in.ClusterGroup != nil { - in, out := &in.ClusterGroup, &out.ClusterGroup - *out = new(string) - **out = **in - } - if in.Config != nil { - in, out := &in.Config, &out.Config - *out = make([]SpecConfigObservation, len(*in)) + if in.Input != nil { + in, out := &in.Input, &out.Input + *out = make([]InputObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Nodepool != nil { - in, out := &in.Nodepool, &out.Nodepool - *out = make([]SpecNodepoolObservation, len(*in)) + if in.NamespaceSelector != nil { + in, out := &in.NamespaceSelector, &out.NamespaceSelector + *out = make([]NamespaceSelectorObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Proxy != nil { - in, out := &in.Proxy, &out.Proxy - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterSpecObservation. -func (in *EKSClusterSpecObservation) DeepCopy() *EKSClusterSpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Custom_PolicySpecObservation. +func (in *Custom_PolicySpecObservation) DeepCopy() *Custom_PolicySpecObservation { if in == nil { return nil } - out := new(EKSClusterSpecObservation) + out := new(Custom_PolicySpecObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EKSClusterSpecParameters) DeepCopyInto(out *EKSClusterSpecParameters) { +func (in *Custom_PolicySpecParameters) DeepCopyInto(out *Custom_PolicySpecParameters) { *out = *in - if in.ClusterGroup != nil { - in, out := &in.ClusterGroup, &out.ClusterGroup - *out = new(string) - **out = **in - } - if in.Config != nil { - in, out := &in.Config, &out.Config - *out = make([]SpecConfigParameters, len(*in)) + if in.Input != nil { + in, out := &in.Input, &out.Input + *out = make([]InputParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Nodepool != nil { - in, out := &in.Nodepool, &out.Nodepool - *out = make([]SpecNodepoolParameters, len(*in)) + if in.NamespaceSelector != nil { + in, out := &in.NamespaceSelector, &out.NamespaceSelector + *out = make([]NamespaceSelectorParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Proxy != nil { - in, out := &in.Proxy, &out.Proxy - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterSpecParameters. -func (in *EKSClusterSpecParameters) DeepCopy() *EKSClusterSpecParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Custom_PolicySpecParameters. +func (in *Custom_PolicySpecParameters) DeepCopy() *Custom_PolicySpecParameters { if in == nil { return nil } - out := new(EKSClusterSpecParameters) + out := new(Custom_PolicySpecParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *EKSClusterStatus) DeepCopyInto(out *EKSClusterStatus) { +func (in *Custom_PolicyStatus) DeepCopyInto(out *Custom_PolicyStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterStatus. -func (in *EKSClusterStatus) DeepCopy() *EKSClusterStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Custom_PolicyStatus. +func (in *Custom_PolicyStatus) DeepCopy() *Custom_PolicyStatus { if in == nil { return nil } - out := new(EKSClusterStatus) + out := new(Custom_PolicyStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Git_Repository) DeepCopyInto(out *Git_Repository) { +func (in *DataObservation) DeepCopyInto(out *DataObservation) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.AwsCredential != nil { + in, out := &in.AwsCredential, &out.AwsCredential + *out = make([]AwsCredentialObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.GenericCredential != nil { + in, out := &in.GenericCredential, &out.GenericCredential + *out = new(string) + **out = **in + } + if in.KeyValue != nil { + in, out := &in.KeyValue, &out.KeyValue + *out = make([]KeyValueObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_Repository. -func (in *Git_Repository) DeepCopy() *Git_Repository { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataObservation. +func (in *DataObservation) DeepCopy() *DataObservation { if in == nil { return nil } - out := new(Git_Repository) + out := new(DataObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Git_Repository) 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 *Git_RepositoryList) DeepCopyInto(out *Git_RepositoryList) { +func (in *DataParameters) DeepCopyInto(out *DataParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]Git_Repository, len(*in)) + if in.AwsCredential != nil { + in, out := &in.AwsCredential, &out.AwsCredential + *out = make([]AwsCredentialParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.GenericCredential != nil { + in, out := &in.GenericCredential, &out.GenericCredential + *out = new(string) + **out = **in + } + if in.KeyValue != nil { + in, out := &in.KeyValue, &out.KeyValue + *out = make([]KeyValueParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositoryList. -func (in *Git_RepositoryList) DeepCopy() *Git_RepositoryList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataParameters. +func (in *DataParameters) DeepCopy() *DataParameters { if in == nil { return nil } - out := new(Git_RepositoryList) + out := new(DataParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Git_RepositoryList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DenyAllEgressObservation) DeepCopyInto(out *DenyAllEgressObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DenyAllEgressObservation. +func (in *DenyAllEgressObservation) DeepCopy() *DenyAllEgressObservation { + if in == nil { + return nil } - return nil + out := new(DenyAllEgressObservation) + in.DeepCopyInto(out) + return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Git_RepositoryMetaObservation) DeepCopyInto(out *Git_RepositoryMetaObservation) { +func (in *DenyAllEgressParameters) DeepCopyInto(out *DenyAllEgressParameters) { *out = *in - if in.Annotations != nil { - in, out := &in.Annotations, &out.Annotations - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DenyAllEgressParameters. +func (in *DenyAllEgressParameters) DeepCopy() *DenyAllEgressParameters { + if in == nil { + return nil } - if in.Labels != nil { - in, out := &in.Labels, &out.Labels - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.ResourceVersion != nil { - in, out := &in.ResourceVersion, &out.ResourceVersion - *out = new(string) - **out = **in - } - if in.UID != nil { - in, out := &in.UID, &out.UID - *out = new(string) - **out = **in + out := new(DenyAllEgressParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DenyAllObservation) DeepCopyInto(out *DenyAllObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DenyAllObservation. +func (in *DenyAllObservation) DeepCopy() *DenyAllObservation { + if in == nil { + return nil } + out := new(DenyAllObservation) + in.DeepCopyInto(out) + return out } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositoryMetaObservation. -func (in *Git_RepositoryMetaObservation) DeepCopy() *Git_RepositoryMetaObservation { +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DenyAllParameters) DeepCopyInto(out *DenyAllParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DenyAllParameters. +func (in *DenyAllParameters) DeepCopy() *DenyAllParameters { if in == nil { return nil } - out := new(Git_RepositoryMetaObservation) + out := new(DenyAllParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Git_RepositoryMetaParameters) DeepCopyInto(out *Git_RepositoryMetaParameters) { +func (in *DenyAllToPodsObservation) DeepCopyInto(out *DenyAllToPodsObservation) { *out = *in - if in.Annotations != nil { - in, out := &in.Annotations, &out.Annotations + if in.ToPodLabels != nil { + in, out := &in.ToPodLabels, &out.ToPodLabels *out = make(map[string]*string, len(*in)) for key, val := range *in { var outVal *string @@ -4439,13 +4610,23 @@ func (in *Git_RepositoryMetaParameters) DeepCopyInto(out *Git_RepositoryMetaPara (*out)[key] = outVal } } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DenyAllToPodsObservation. +func (in *DenyAllToPodsObservation) DeepCopy() *DenyAllToPodsObservation { + if in == nil { + return nil } - if in.Labels != nil { - in, out := &in.Labels, &out.Labels + out := new(DenyAllToPodsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DenyAllToPodsParameters) DeepCopyInto(out *DenyAllToPodsParameters) { + *out = *in + if in.ToPodLabels != nil { + in, out := &in.ToPodLabels, &out.ToPodLabels *out = make(map[string]*string, len(*in)) for key, val := range *in { var outVal *string @@ -4461,416 +4642,209 @@ func (in *Git_RepositoryMetaParameters) DeepCopyInto(out *Git_RepositoryMetaPara } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositoryMetaParameters. -func (in *Git_RepositoryMetaParameters) DeepCopy() *Git_RepositoryMetaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DenyAllToPodsParameters. +func (in *DenyAllToPodsParameters) DeepCopy() *DenyAllToPodsParameters { if in == nil { return nil } - out := new(Git_RepositoryMetaParameters) + out := new(DenyAllToPodsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Git_RepositoryObservation) DeepCopyInto(out *Git_RepositoryObservation) { +func (in *DisallowedSubjectsObservation) DeepCopyInto(out *DisallowedSubjectsObservation) { *out = *in - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.Kind != nil { + in, out := &in.Kind, &out.Kind *out = new(string) **out = **in } - if in.Meta != nil { - in, out := &in.Meta, &out.Meta - *out = make([]Git_RepositoryMetaObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.NamespaceName != nil { - in, out := &in.NamespaceName, &out.NamespaceName - *out = new(string) - **out = **in - } - if in.Scope != nil { - in, out := &in.Scope, &out.Scope - *out = make([]Git_RepositoryScopeObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Spec != nil { - in, out := &in.Spec, &out.Spec - *out = make([]Git_RepositorySpecObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Status != nil { - in, out := &in.Status, &out.Status - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositoryObservation. -func (in *Git_RepositoryObservation) DeepCopy() *Git_RepositoryObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DisallowedSubjectsObservation. +func (in *DisallowedSubjectsObservation) DeepCopy() *DisallowedSubjectsObservation { if in == nil { return nil } - out := new(Git_RepositoryObservation) + out := new(DisallowedSubjectsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Git_RepositoryParameters) DeepCopyInto(out *Git_RepositoryParameters) { +func (in *DisallowedSubjectsParameters) DeepCopyInto(out *DisallowedSubjectsParameters) { *out = *in - if in.Meta != nil { - in, out := &in.Meta, &out.Meta - *out = make([]Git_RepositoryMetaParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.Kind != nil { + in, out := &in.Kind, &out.Kind *out = new(string) **out = **in } - if in.NamespaceName != nil { - in, out := &in.NamespaceName, &out.NamespaceName + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.Scope != nil { - in, out := &in.Scope, &out.Scope - *out = make([]Git_RepositoryScopeParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Spec != nil { - in, out := &in.Spec, &out.Spec - *out = make([]Git_RepositorySpecParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositoryParameters. -func (in *Git_RepositoryParameters) DeepCopy() *Git_RepositoryParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DisallowedSubjectsParameters. +func (in *DisallowedSubjectsParameters) DeepCopy() *DisallowedSubjectsParameters { if in == nil { return nil } - out := new(Git_RepositoryParameters) + out := new(DisallowedSubjectsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Git_RepositoryScopeClusterObservation) DeepCopyInto(out *Git_RepositoryScopeClusterObservation) { +func (in *DistributionObservation) DeepCopyInto(out *DistributionObservation) { *out = *in - if in.ManagementClusterName != nil { - in, out := &in.ManagementClusterName, &out.ManagementClusterName + if in.OsArch != nil { + in, out := &in.OsArch, &out.OsArch *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.OsName != nil { + in, out := &in.OsName, &out.OsName *out = new(string) **out = **in } - if in.ProvisionerName != nil { - in, out := &in.ProvisionerName, &out.ProvisionerName + if in.OsVersion != nil { + in, out := &in.OsVersion, &out.OsVersion + *out = new(string) + **out = **in + } + if in.ProvisionerCredentialName != nil { + in, out := &in.ProvisionerCredentialName, &out.ProvisionerCredentialName + *out = new(string) + **out = **in + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositoryScopeClusterObservation. -func (in *Git_RepositoryScopeClusterObservation) DeepCopy() *Git_RepositoryScopeClusterObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DistributionObservation. +func (in *DistributionObservation) DeepCopy() *DistributionObservation { if in == nil { return nil } - out := new(Git_RepositoryScopeClusterObservation) + out := new(DistributionObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Git_RepositoryScopeClusterParameters) DeepCopyInto(out *Git_RepositoryScopeClusterParameters) { +func (in *DistributionParameters) DeepCopyInto(out *DistributionParameters) { *out = *in - if in.ManagementClusterName != nil { - in, out := &in.ManagementClusterName, &out.ManagementClusterName + if in.OsArch != nil { + in, out := &in.OsArch, &out.OsArch *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.OsName != nil { + in, out := &in.OsName, &out.OsName *out = new(string) **out = **in } - if in.ProvisionerName != nil { - in, out := &in.ProvisionerName, &out.ProvisionerName + if in.OsVersion != nil { + in, out := &in.OsVersion, &out.OsVersion + *out = new(string) + **out = **in + } + if in.ProvisionerCredentialName != nil { + in, out := &in.ProvisionerCredentialName, &out.ProvisionerCredentialName + *out = new(string) + **out = **in + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositoryScopeClusterParameters. -func (in *Git_RepositoryScopeClusterParameters) DeepCopy() *Git_RepositoryScopeClusterParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DistributionParameters. +func (in *DistributionParameters) DeepCopy() *DistributionParameters { if in == nil { return nil } - out := new(Git_RepositoryScopeClusterParameters) + out := new(DistributionParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Git_RepositoryScopeObservation) DeepCopyInto(out *Git_RepositoryScopeObservation) { +func (in *DockerConfigJSONObservation) DeepCopyInto(out *DockerConfigJSONObservation) { *out = *in - if in.Cluster != nil { - in, out := &in.Cluster, &out.Cluster - *out = make([]Git_RepositoryScopeClusterObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.ImageRegistryURL != nil { + in, out := &in.ImageRegistryURL, &out.ImageRegistryURL + *out = new(string) + **out = **in } - if in.ClusterGroup != nil { - in, out := &in.ClusterGroup, &out.ClusterGroup - *out = make([]ScopeClusterGroupObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositoryScopeObservation. -func (in *Git_RepositoryScopeObservation) DeepCopy() *Git_RepositoryScopeObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerConfigJSONObservation. +func (in *DockerConfigJSONObservation) DeepCopy() *DockerConfigJSONObservation { if in == nil { return nil } - out := new(Git_RepositoryScopeObservation) + out := new(DockerConfigJSONObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Git_RepositoryScopeParameters) DeepCopyInto(out *Git_RepositoryScopeParameters) { +func (in *DockerConfigJSONParameters) DeepCopyInto(out *DockerConfigJSONParameters) { *out = *in - if in.Cluster != nil { - in, out := &in.Cluster, &out.Cluster - *out = make([]Git_RepositoryScopeClusterParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.ClusterGroup != nil { - in, out := &in.ClusterGroup, &out.ClusterGroup - *out = make([]ScopeClusterGroupParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositoryScopeParameters. -func (in *Git_RepositoryScopeParameters) DeepCopy() *Git_RepositoryScopeParameters { - if in == nil { - return nil - } - out := new(Git_RepositoryScopeParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Git_RepositorySpec) DeepCopyInto(out *Git_RepositorySpec) { - *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositorySpec. -func (in *Git_RepositorySpec) DeepCopy() *Git_RepositorySpec { - if in == nil { - return nil - } - out := new(Git_RepositorySpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Git_RepositorySpecObservation) DeepCopyInto(out *Git_RepositorySpecObservation) { - *out = *in - if in.GitImplementation != nil { - in, out := &in.GitImplementation, &out.GitImplementation - *out = new(string) - **out = **in - } - if in.Interval != nil { - in, out := &in.Interval, &out.Interval - *out = new(string) - **out = **in - } - if in.Ref != nil { - in, out := &in.Ref, &out.Ref - *out = make([]RefObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.SecretRef != nil { - in, out := &in.SecretRef, &out.SecretRef - *out = new(string) - **out = **in - } - if in.URL != nil { - in, out := &in.URL, &out.URL - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositorySpecObservation. -func (in *Git_RepositorySpecObservation) DeepCopy() *Git_RepositorySpecObservation { - if in == nil { - return nil - } - out := new(Git_RepositorySpecObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Git_RepositorySpecParameters) DeepCopyInto(out *Git_RepositorySpecParameters) { - *out = *in - if in.GitImplementation != nil { - in, out := &in.GitImplementation, &out.GitImplementation - *out = new(string) - **out = **in - } - if in.Interval != nil { - in, out := &in.Interval, &out.Interval - *out = new(string) - **out = **in - } - if in.Ref != nil { - in, out := &in.Ref, &out.Ref - *out = make([]RefParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.SecretRef != nil { - in, out := &in.SecretRef, &out.SecretRef - *out = new(string) - **out = **in - } - if in.URL != nil { - in, out := &in.URL, &out.URL - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositorySpecParameters. -func (in *Git_RepositorySpecParameters) DeepCopy() *Git_RepositorySpecParameters { - if in == nil { - return nil - } - out := new(Git_RepositorySpecParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Git_RepositoryStatus) DeepCopyInto(out *Git_RepositoryStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositoryStatus. -func (in *Git_RepositoryStatus) DeepCopy() *Git_RepositoryStatus { - if in == nil { - return nil - } - out := new(Git_RepositoryStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IAMRoleObservation) DeepCopyInto(out *IAMRoleObservation) { - *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn - *out = new(string) - **out = **in - } - if in.ExtID != nil { - in, out := &in.ExtID, &out.ExtID - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAMRoleObservation. -func (in *IAMRoleObservation) DeepCopy() *IAMRoleObservation { - if in == nil { - return nil - } - out := new(IAMRoleObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IAMRoleParameters) DeepCopyInto(out *IAMRoleParameters) { - *out = *in - if in.Arn != nil { - in, out := &in.Arn, &out.Arn + if in.ImageRegistryURL != nil { + in, out := &in.ImageRegistryURL, &out.ImageRegistryURL *out = new(string) **out = **in } - if in.ExtID != nil { - in, out := &in.ExtID, &out.ExtID + out.PasswordSecretRef = in.PasswordSecretRef + if in.Username != nil { + in, out := &in.Username, &out.Username *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAMRoleParameters. -func (in *IAMRoleParameters) DeepCopy() *IAMRoleParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerConfigJSONParameters. +func (in *DockerConfigJSONParameters) DeepCopy() *DockerConfigJSONParameters { if in == nil { return nil } - out := new(IAMRoleParameters) + out := new(DockerConfigJSONParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Iam_Policy) DeepCopyInto(out *Iam_Policy) { +func (in *EKSCluster) DeepCopyInto(out *EKSCluster) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -4878,18 +4852,18 @@ func (in *Iam_Policy) DeepCopyInto(out *Iam_Policy) { in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_Policy. -func (in *Iam_Policy) DeepCopy() *Iam_Policy { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSCluster. +func (in *EKSCluster) DeepCopy() *EKSCluster { if in == nil { return nil } - out := new(Iam_Policy) + out := new(EKSCluster) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Iam_Policy) DeepCopyObject() runtime.Object { +func (in *EKSCluster) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -4897,31 +4871,31 @@ func (in *Iam_Policy) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Iam_PolicyList) DeepCopyInto(out *Iam_PolicyList) { +func (in *EKSClusterList) DeepCopyInto(out *EKSClusterList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]Iam_Policy, len(*in)) + *out = make([]EKSCluster, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyList. -func (in *Iam_PolicyList) DeepCopy() *Iam_PolicyList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterList. +func (in *EKSClusterList) DeepCopy() *EKSClusterList { if in == nil { return nil } - out := new(Iam_PolicyList) + out := new(EKSClusterList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Iam_PolicyList) DeepCopyObject() runtime.Object { +func (in *EKSClusterList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -4929,7 +4903,7 @@ func (in *Iam_PolicyList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Iam_PolicyMetaObservation) DeepCopyInto(out *Iam_PolicyMetaObservation) { +func (in *EKSClusterMetaObservation) DeepCopyInto(out *EKSClusterMetaObservation) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -4978,18 +4952,18 @@ func (in *Iam_PolicyMetaObservation) DeepCopyInto(out *Iam_PolicyMetaObservation } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyMetaObservation. -func (in *Iam_PolicyMetaObservation) DeepCopy() *Iam_PolicyMetaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterMetaObservation. +func (in *EKSClusterMetaObservation) DeepCopy() *EKSClusterMetaObservation { if in == nil { return nil } - out := new(Iam_PolicyMetaObservation) + out := new(EKSClusterMetaObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Iam_PolicyMetaParameters) DeepCopyInto(out *Iam_PolicyMetaParameters) { +func (in *EKSClusterMetaParameters) DeepCopyInto(out *EKSClusterMetaParameters) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -5028,19 +5002,24 @@ func (in *Iam_PolicyMetaParameters) DeepCopyInto(out *Iam_PolicyMetaParameters) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyMetaParameters. -func (in *Iam_PolicyMetaParameters) DeepCopy() *Iam_PolicyMetaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterMetaParameters. +func (in *EKSClusterMetaParameters) DeepCopy() *EKSClusterMetaParameters { if in == nil { return nil } - out := new(Iam_PolicyMetaParameters) + out := new(EKSClusterMetaParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Iam_PolicyObservation) DeepCopyInto(out *Iam_PolicyObservation) { +func (in *EKSClusterObservation) DeepCopyInto(out *EKSClusterObservation) { *out = *in + if in.CredentialName != nil { + in, out := &in.CredentialName, &out.CredentialName + *out = new(string) + **out = **in + } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) @@ -5048,349 +5027,322 @@ func (in *Iam_PolicyObservation) DeepCopyInto(out *Iam_PolicyObservation) { } if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Iam_PolicyMetaObservation, len(*in)) + *out = make([]EKSClusterMetaObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.RoleBindings != nil { - in, out := &in.RoleBindings, &out.RoleBindings - *out = make([]RoleBindingsObservation, len(*in)) + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ReadyWaitTimeout != nil { + in, out := &in.ReadyWaitTimeout, &out.ReadyWaitTimeout + *out = new(string) + **out = **in + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]EKSClusterSpecObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Scope != nil { - in, out := &in.Scope, &out.Scope - *out = make([]Iam_PolicyScopeObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyObservation. -func (in *Iam_PolicyObservation) DeepCopy() *Iam_PolicyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterObservation. +func (in *EKSClusterObservation) DeepCopy() *EKSClusterObservation { if in == nil { return nil } - out := new(Iam_PolicyObservation) + out := new(EKSClusterObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Iam_PolicyParameters) DeepCopyInto(out *Iam_PolicyParameters) { +func (in *EKSClusterParameters) DeepCopyInto(out *EKSClusterParameters) { *out = *in + if in.CredentialName != nil { + in, out := &in.CredentialName, &out.CredentialName + *out = new(string) + **out = **in + } if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Iam_PolicyMetaParameters, len(*in)) + *out = make([]EKSClusterMetaParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.RoleBindings != nil { - in, out := &in.RoleBindings, &out.RoleBindings - *out = make([]RoleBindingsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in } - if in.Scope != nil { - in, out := &in.Scope, &out.Scope - *out = make([]Iam_PolicyScopeParameters, len(*in)) + if in.ReadyWaitTimeout != nil { + in, out := &in.ReadyWaitTimeout, &out.ReadyWaitTimeout + *out = new(string) + **out = **in + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]EKSClusterSpecParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyParameters. -func (in *Iam_PolicyParameters) DeepCopy() *Iam_PolicyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterParameters. +func (in *EKSClusterParameters) DeepCopy() *EKSClusterParameters { if in == nil { return nil } - out := new(Iam_PolicyParameters) + out := new(EKSClusterParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Iam_PolicyScopeClusterGroupObservation) DeepCopyInto(out *Iam_PolicyScopeClusterGroupObservation) { +func (in *EKSClusterSpec) DeepCopyInto(out *EKSClusterSpec) { *out = *in - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyScopeClusterGroupObservation. -func (in *Iam_PolicyScopeClusterGroupObservation) DeepCopy() *Iam_PolicyScopeClusterGroupObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterSpec. +func (in *EKSClusterSpec) DeepCopy() *EKSClusterSpec { if in == nil { return nil } - out := new(Iam_PolicyScopeClusterGroupObservation) + out := new(EKSClusterSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Iam_PolicyScopeClusterGroupParameters) DeepCopyInto(out *Iam_PolicyScopeClusterGroupParameters) { +func (in *EKSClusterSpecObservation) DeepCopyInto(out *EKSClusterSpecObservation) { *out = *in - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup + *out = new(string) + **out = **in + } + if in.Config != nil { + in, out := &in.Config, &out.Config + *out = make([]SpecConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Nodepool != nil { + in, out := &in.Nodepool, &out.Nodepool + *out = make([]SpecNodepoolObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Proxy != nil { + in, out := &in.Proxy, &out.Proxy *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyScopeClusterGroupParameters. -func (in *Iam_PolicyScopeClusterGroupParameters) DeepCopy() *Iam_PolicyScopeClusterGroupParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterSpecObservation. +func (in *EKSClusterSpecObservation) DeepCopy() *EKSClusterSpecObservation { if in == nil { return nil } - out := new(Iam_PolicyScopeClusterGroupParameters) + out := new(EKSClusterSpecObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Iam_PolicyScopeClusterObservation) DeepCopyInto(out *Iam_PolicyScopeClusterObservation) { +func (in *EKSClusterSpecParameters) DeepCopyInto(out *EKSClusterSpecParameters) { *out = *in - if in.ManagementClusterName != nil { - in, out := &in.ManagementClusterName, &out.ManagementClusterName + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in + if in.Config != nil { + in, out := &in.Config, &out.Config + *out = make([]SpecConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.ProvisionerName != nil { - in, out := &in.ProvisionerName, &out.ProvisionerName + if in.Nodepool != nil { + in, out := &in.Nodepool, &out.Nodepool + *out = make([]SpecNodepoolParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Proxy != nil { + in, out := &in.Proxy, &out.Proxy *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyScopeClusterObservation. -func (in *Iam_PolicyScopeClusterObservation) DeepCopy() *Iam_PolicyScopeClusterObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterSpecParameters. +func (in *EKSClusterSpecParameters) DeepCopy() *EKSClusterSpecParameters { if in == nil { return nil } - out := new(Iam_PolicyScopeClusterObservation) + out := new(EKSClusterSpecParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Iam_PolicyScopeClusterParameters) DeepCopyInto(out *Iam_PolicyScopeClusterParameters) { +func (in *EKSClusterStatus) DeepCopyInto(out *EKSClusterStatus) { *out = *in - if in.ManagementClusterName != nil { - in, out := &in.ManagementClusterName, &out.ManagementClusterName - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.ProvisionerName != nil { - in, out := &in.ProvisionerName, &out.ProvisionerName - *out = new(string) - **out = **in - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyScopeClusterParameters. -func (in *Iam_PolicyScopeClusterParameters) DeepCopy() *Iam_PolicyScopeClusterParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterStatus. +func (in *EKSClusterStatus) DeepCopy() *EKSClusterStatus { if in == nil { return nil } - out := new(Iam_PolicyScopeClusterParameters) + out := new(EKSClusterStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Iam_PolicyScopeObservation) DeepCopyInto(out *Iam_PolicyScopeObservation) { +func (in *FsGroupObservation) DeepCopyInto(out *FsGroupObservation) { *out = *in - if in.Cluster != nil { - in, out := &in.Cluster, &out.Cluster - *out = make([]Iam_PolicyScopeClusterObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.ClusterGroup != nil { - in, out := &in.ClusterGroup, &out.ClusterGroup - *out = make([]Iam_PolicyScopeClusterGroupObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Namespace != nil { - in, out := &in.Namespace, &out.Namespace - *out = make([]NamespaceObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Organization != nil { - in, out := &in.Organization, &out.Organization - *out = make([]ScopeOrganizationObservation, len(*in)) + if in.Ranges != nil { + in, out := &in.Ranges, &out.Ranges + *out = make([]RangesObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Workspace != nil { - in, out := &in.Workspace, &out.Workspace - *out = make([]Iam_PolicyScopeWorkspaceObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyScopeObservation. -func (in *Iam_PolicyScopeObservation) DeepCopy() *Iam_PolicyScopeObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FsGroupObservation. +func (in *FsGroupObservation) DeepCopy() *FsGroupObservation { if in == nil { return nil } - out := new(Iam_PolicyScopeObservation) + out := new(FsGroupObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Iam_PolicyScopeParameters) DeepCopyInto(out *Iam_PolicyScopeParameters) { +func (in *FsGroupParameters) DeepCopyInto(out *FsGroupParameters) { *out = *in - if in.Cluster != nil { - in, out := &in.Cluster, &out.Cluster - *out = make([]Iam_PolicyScopeClusterParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.ClusterGroup != nil { - in, out := &in.ClusterGroup, &out.ClusterGroup - *out = make([]Iam_PolicyScopeClusterGroupParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Namespace != nil { - in, out := &in.Namespace, &out.Namespace - *out = make([]NamespaceParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Organization != nil { - in, out := &in.Organization, &out.Organization - *out = make([]ScopeOrganizationParameters, len(*in)) + if in.Ranges != nil { + in, out := &in.Ranges, &out.Ranges + *out = make([]RangesParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Workspace != nil { - in, out := &in.Workspace, &out.Workspace - *out = make([]Iam_PolicyScopeWorkspaceParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyScopeParameters. -func (in *Iam_PolicyScopeParameters) DeepCopy() *Iam_PolicyScopeParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FsGroupParameters. +func (in *FsGroupParameters) DeepCopy() *FsGroupParameters { if in == nil { return nil } - out := new(Iam_PolicyScopeParameters) + out := new(FsGroupParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Iam_PolicyScopeWorkspaceObservation) DeepCopyInto(out *Iam_PolicyScopeWorkspaceObservation) { +func (in *GeneratedResourcesObservation) DeepCopyInto(out *GeneratedResourcesObservation) { *out = *in - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.ClusterRoleName != nil { + in, out := &in.ClusterRoleName, &out.ClusterRoleName + *out = new(string) + **out = **in + } + if in.RoleBindingName != nil { + in, out := &in.RoleBindingName, &out.RoleBindingName + *out = new(string) + **out = **in + } + if in.ServiceAccountName != nil { + in, out := &in.ServiceAccountName, &out.ServiceAccountName *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyScopeWorkspaceObservation. -func (in *Iam_PolicyScopeWorkspaceObservation) DeepCopy() *Iam_PolicyScopeWorkspaceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratedResourcesObservation. +func (in *GeneratedResourcesObservation) DeepCopy() *GeneratedResourcesObservation { if in == nil { return nil } - out := new(Iam_PolicyScopeWorkspaceObservation) + out := new(GeneratedResourcesObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Iam_PolicyScopeWorkspaceParameters) DeepCopyInto(out *Iam_PolicyScopeWorkspaceParameters) { +func (in *GeneratedResourcesParameters) DeepCopyInto(out *GeneratedResourcesParameters) { *out = *in - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyScopeWorkspaceParameters. -func (in *Iam_PolicyScopeWorkspaceParameters) DeepCopy() *Iam_PolicyScopeWorkspaceParameters { - if in == nil { - return nil - } - out := new(Iam_PolicyScopeWorkspaceParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Iam_PolicySpec) DeepCopyInto(out *Iam_PolicySpec) { - *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicySpec. -func (in *Iam_PolicySpec) DeepCopy() *Iam_PolicySpec { - if in == nil { - return nil - } - out := new(Iam_PolicySpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Iam_PolicyStatus) DeepCopyInto(out *Iam_PolicyStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyStatus. -func (in *Iam_PolicyStatus) DeepCopy() *Iam_PolicyStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratedResourcesParameters. +func (in *GeneratedResourcesParameters) DeepCopy() *GeneratedResourcesParameters { if in == nil { return nil } - out := new(Iam_PolicyStatus) + out := new(GeneratedResourcesParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Image_Policy) DeepCopyInto(out *Image_Policy) { +func (in *Git_Repository) DeepCopyInto(out *Git_Repository) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -5398,18 +5350,18 @@ func (in *Image_Policy) DeepCopyInto(out *Image_Policy) { in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_Policy. -func (in *Image_Policy) DeepCopy() *Image_Policy { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_Repository. +func (in *Git_Repository) DeepCopy() *Git_Repository { if in == nil { return nil } - out := new(Image_Policy) + out := new(Git_Repository) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Image_Policy) DeepCopyObject() runtime.Object { +func (in *Git_Repository) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -5417,31 +5369,31 @@ func (in *Image_Policy) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Image_PolicyList) DeepCopyInto(out *Image_PolicyList) { +func (in *Git_RepositoryList) DeepCopyInto(out *Git_RepositoryList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]Image_Policy, len(*in)) + *out = make([]Git_Repository, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyList. -func (in *Image_PolicyList) DeepCopy() *Image_PolicyList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositoryList. +func (in *Git_RepositoryList) DeepCopy() *Git_RepositoryList { if in == nil { return nil } - out := new(Image_PolicyList) + out := new(Git_RepositoryList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Image_PolicyList) DeepCopyObject() runtime.Object { +func (in *Git_RepositoryList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -5449,7 +5401,7 @@ func (in *Image_PolicyList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Image_PolicyMetaObservation) DeepCopyInto(out *Image_PolicyMetaObservation) { +func (in *Git_RepositoryMetaObservation) DeepCopyInto(out *Git_RepositoryMetaObservation) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -5498,18 +5450,18 @@ func (in *Image_PolicyMetaObservation) DeepCopyInto(out *Image_PolicyMetaObserva } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyMetaObservation. -func (in *Image_PolicyMetaObservation) DeepCopy() *Image_PolicyMetaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositoryMetaObservation. +func (in *Git_RepositoryMetaObservation) DeepCopy() *Git_RepositoryMetaObservation { if in == nil { return nil } - out := new(Image_PolicyMetaObservation) + out := new(Git_RepositoryMetaObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Image_PolicyMetaParameters) DeepCopyInto(out *Image_PolicyMetaParameters) { +func (in *Git_RepositoryMetaParameters) DeepCopyInto(out *Git_RepositoryMetaParameters) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -5548,18 +5500,18 @@ func (in *Image_PolicyMetaParameters) DeepCopyInto(out *Image_PolicyMetaParamete } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyMetaParameters. -func (in *Image_PolicyMetaParameters) DeepCopy() *Image_PolicyMetaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositoryMetaParameters. +func (in *Git_RepositoryMetaParameters) DeepCopy() *Git_RepositoryMetaParameters { if in == nil { return nil } - out := new(Image_PolicyMetaParameters) + out := new(Git_RepositoryMetaParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Image_PolicyObservation) DeepCopyInto(out *Image_PolicyObservation) { +func (in *Git_RepositoryObservation) DeepCopyInto(out *Git_RepositoryObservation) { *out = *in if in.ID != nil { in, out := &in.ID, &out.ID @@ -5568,7 +5520,7 @@ func (in *Image_PolicyObservation) DeepCopyInto(out *Image_PolicyObservation) { } if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Image_PolicyMetaObservation, len(*in)) + *out = make([]Git_RepositoryMetaObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -5578,38 +5530,58 @@ func (in *Image_PolicyObservation) DeepCopyInto(out *Image_PolicyObservation) { *out = new(string) **out = **in } + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } if in.Scope != nil { in, out := &in.Scope, &out.Scope - *out = make([]Image_PolicyScopeObservation, len(*in)) + *out = make([]Git_RepositoryScopeObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.Spec != nil { in, out := &in.Spec, &out.Spec - *out = make([]Image_PolicySpecObservation, len(*in)) + *out = make([]Git_RepositorySpecObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyObservation. -func (in *Image_PolicyObservation) DeepCopy() *Image_PolicyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositoryObservation. +func (in *Git_RepositoryObservation) DeepCopy() *Git_RepositoryObservation { if in == nil { return nil } - out := new(Image_PolicyObservation) + out := new(Git_RepositoryObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Image_PolicyParameters) DeepCopyInto(out *Image_PolicyParameters) { +func (in *Git_RepositoryParameters) DeepCopyInto(out *Git_RepositoryParameters) { *out = *in if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Image_PolicyMetaParameters, len(*in)) + *out = make([]Git_RepositoryMetaParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -5619,74 +5591,39 @@ func (in *Image_PolicyParameters) DeepCopyInto(out *Image_PolicyParameters) { *out = new(string) **out = **in } + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } if in.Scope != nil { in, out := &in.Scope, &out.Scope - *out = make([]Image_PolicyScopeParameters, len(*in)) + *out = make([]Git_RepositoryScopeParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.Spec != nil { in, out := &in.Spec, &out.Spec - *out = make([]Image_PolicySpecParameters, len(*in)) + *out = make([]Git_RepositorySpecParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyParameters. -func (in *Image_PolicyParameters) DeepCopy() *Image_PolicyParameters { - if in == nil { - return nil - } - out := new(Image_PolicyParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Image_PolicyScopeClusterGroupObservation) DeepCopyInto(out *Image_PolicyScopeClusterGroupObservation) { - *out = *in - if in.ClusterGroup != nil { - in, out := &in.ClusterGroup, &out.ClusterGroup - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyScopeClusterGroupObservation. -func (in *Image_PolicyScopeClusterGroupObservation) DeepCopy() *Image_PolicyScopeClusterGroupObservation { - if in == nil { - return nil - } - out := new(Image_PolicyScopeClusterGroupObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Image_PolicyScopeClusterGroupParameters) DeepCopyInto(out *Image_PolicyScopeClusterGroupParameters) { - *out = *in - if in.ClusterGroup != nil { - in, out := &in.ClusterGroup, &out.ClusterGroup - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyScopeClusterGroupParameters. -func (in *Image_PolicyScopeClusterGroupParameters) DeepCopy() *Image_PolicyScopeClusterGroupParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositoryParameters. +func (in *Git_RepositoryParameters) DeepCopy() *Git_RepositoryParameters { if in == nil { return nil } - out := new(Image_PolicyScopeClusterGroupParameters) + out := new(Git_RepositoryParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Image_PolicyScopeClusterObservation) DeepCopyInto(out *Image_PolicyScopeClusterObservation) { +func (in *Git_RepositoryScopeClusterObservation) DeepCopyInto(out *Git_RepositoryScopeClusterObservation) { *out = *in if in.ManagementClusterName != nil { in, out := &in.ManagementClusterName, &out.ManagementClusterName @@ -5705,18 +5642,18 @@ func (in *Image_PolicyScopeClusterObservation) DeepCopyInto(out *Image_PolicySco } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyScopeClusterObservation. -func (in *Image_PolicyScopeClusterObservation) DeepCopy() *Image_PolicyScopeClusterObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositoryScopeClusterObservation. +func (in *Git_RepositoryScopeClusterObservation) DeepCopy() *Git_RepositoryScopeClusterObservation { if in == nil { return nil } - out := new(Image_PolicyScopeClusterObservation) + out := new(Git_RepositoryScopeClusterObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Image_PolicyScopeClusterParameters) DeepCopyInto(out *Image_PolicyScopeClusterParameters) { +func (in *Git_RepositoryScopeClusterParameters) DeepCopyInto(out *Git_RepositoryScopeClusterParameters) { *out = *in if in.ManagementClusterName != nil { in, out := &in.ManagementClusterName, &out.ManagementClusterName @@ -5735,499 +5672,365 @@ func (in *Image_PolicyScopeClusterParameters) DeepCopyInto(out *Image_PolicyScop } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyScopeClusterParameters. -func (in *Image_PolicyScopeClusterParameters) DeepCopy() *Image_PolicyScopeClusterParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositoryScopeClusterParameters. +func (in *Git_RepositoryScopeClusterParameters) DeepCopy() *Git_RepositoryScopeClusterParameters { if in == nil { return nil } - out := new(Image_PolicyScopeClusterParameters) + out := new(Git_RepositoryScopeClusterParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Image_PolicyScopeObservation) DeepCopyInto(out *Image_PolicyScopeObservation) { +func (in *Git_RepositoryScopeObservation) DeepCopyInto(out *Git_RepositoryScopeObservation) { *out = *in if in.Cluster != nil { in, out := &in.Cluster, &out.Cluster - *out = make([]Image_PolicyScopeClusterObservation, len(*in)) + *out = make([]Git_RepositoryScopeClusterObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.ClusterGroup != nil { in, out := &in.ClusterGroup, &out.ClusterGroup - *out = make([]Image_PolicyScopeClusterGroupObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Organization != nil { - in, out := &in.Organization, &out.Organization - *out = make([]Image_PolicyScopeOrganizationObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Workspace != nil { - in, out := &in.Workspace, &out.Workspace - *out = make([]Image_PolicyScopeWorkspaceObservation, len(*in)) + *out = make([]ScopeClusterGroupObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyScopeObservation. -func (in *Image_PolicyScopeObservation) DeepCopy() *Image_PolicyScopeObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositoryScopeObservation. +func (in *Git_RepositoryScopeObservation) DeepCopy() *Git_RepositoryScopeObservation { if in == nil { return nil } - out := new(Image_PolicyScopeObservation) + out := new(Git_RepositoryScopeObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Image_PolicyScopeOrganizationObservation) DeepCopyInto(out *Image_PolicyScopeOrganizationObservation) { +func (in *Git_RepositoryScopeParameters) DeepCopyInto(out *Git_RepositoryScopeParameters) { *out = *in - if in.Organization != nil { - in, out := &in.Organization, &out.Organization - *out = new(string) - **out = **in + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = make([]Git_RepositoryScopeClusterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup + *out = make([]ScopeClusterGroupParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyScopeOrganizationObservation. -func (in *Image_PolicyScopeOrganizationObservation) DeepCopy() *Image_PolicyScopeOrganizationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositoryScopeParameters. +func (in *Git_RepositoryScopeParameters) DeepCopy() *Git_RepositoryScopeParameters { if in == nil { return nil } - out := new(Image_PolicyScopeOrganizationObservation) + out := new(Git_RepositoryScopeParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Image_PolicyScopeOrganizationParameters) DeepCopyInto(out *Image_PolicyScopeOrganizationParameters) { +func (in *Git_RepositorySpec) DeepCopyInto(out *Git_RepositorySpec) { *out = *in - if in.Organization != nil { - in, out := &in.Organization, &out.Organization - *out = new(string) - **out = **in - } + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyScopeOrganizationParameters. -func (in *Image_PolicyScopeOrganizationParameters) DeepCopy() *Image_PolicyScopeOrganizationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositorySpec. +func (in *Git_RepositorySpec) DeepCopy() *Git_RepositorySpec { if in == nil { return nil } - out := new(Image_PolicyScopeOrganizationParameters) + out := new(Git_RepositorySpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Image_PolicyScopeParameters) DeepCopyInto(out *Image_PolicyScopeParameters) { +func (in *Git_RepositorySpecObservation) DeepCopyInto(out *Git_RepositorySpecObservation) { *out = *in - if in.Cluster != nil { - in, out := &in.Cluster, &out.Cluster - *out = make([]Image_PolicyScopeClusterParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.GitImplementation != nil { + in, out := &in.GitImplementation, &out.GitImplementation + *out = new(string) + **out = **in } - if in.ClusterGroup != nil { - in, out := &in.ClusterGroup, &out.ClusterGroup - *out = make([]Image_PolicyScopeClusterGroupParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Interval != nil { + in, out := &in.Interval, &out.Interval + *out = new(string) + **out = **in } - if in.Organization != nil { - in, out := &in.Organization, &out.Organization - *out = make([]Image_PolicyScopeOrganizationParameters, len(*in)) + if in.Ref != nil { + in, out := &in.Ref, &out.Ref + *out = make([]RefObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Workspace != nil { - in, out := &in.Workspace, &out.Workspace - *out = make([]Image_PolicyScopeWorkspaceParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.SecretRef != nil { + in, out := &in.SecretRef, &out.SecretRef + *out = new(string) + **out = **in + } + if in.URL != nil { + in, out := &in.URL, &out.URL + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyScopeParameters. -func (in *Image_PolicyScopeParameters) DeepCopy() *Image_PolicyScopeParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositorySpecObservation. +func (in *Git_RepositorySpecObservation) DeepCopy() *Git_RepositorySpecObservation { if in == nil { return nil } - out := new(Image_PolicyScopeParameters) + out := new(Git_RepositorySpecObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Image_PolicyScopeWorkspaceObservation) DeepCopyInto(out *Image_PolicyScopeWorkspaceObservation) { +func (in *Git_RepositorySpecParameters) DeepCopyInto(out *Git_RepositorySpecParameters) { *out = *in - if in.Workspace != nil { - in, out := &in.Workspace, &out.Workspace + if in.GitImplementation != nil { + in, out := &in.GitImplementation, &out.GitImplementation + *out = new(string) + **out = **in + } + if in.Interval != nil { + in, out := &in.Interval, &out.Interval + *out = new(string) + **out = **in + } + if in.Ref != nil { + in, out := &in.Ref, &out.Ref + *out = make([]RefParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecretRef != nil { + in, out := &in.SecretRef, &out.SecretRef + *out = new(string) + **out = **in + } + if in.URL != nil { + in, out := &in.URL, &out.URL *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyScopeWorkspaceObservation. -func (in *Image_PolicyScopeWorkspaceObservation) DeepCopy() *Image_PolicyScopeWorkspaceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositorySpecParameters. +func (in *Git_RepositorySpecParameters) DeepCopy() *Git_RepositorySpecParameters { if in == nil { return nil } - out := new(Image_PolicyScopeWorkspaceObservation) + out := new(Git_RepositorySpecParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Image_PolicyScopeWorkspaceParameters) DeepCopyInto(out *Image_PolicyScopeWorkspaceParameters) { +func (in *Git_RepositoryStatus) DeepCopyInto(out *Git_RepositoryStatus) { *out = *in - if in.Workspace != nil { - in, out := &in.Workspace, &out.Workspace - *out = new(string) - **out = **in - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyScopeWorkspaceParameters. -func (in *Image_PolicyScopeWorkspaceParameters) DeepCopy() *Image_PolicyScopeWorkspaceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositoryStatus. +func (in *Git_RepositoryStatus) DeepCopy() *Git_RepositoryStatus { if in == nil { return nil } - out := new(Image_PolicyScopeWorkspaceParameters) + out := new(Git_RepositoryStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Image_PolicySpec) DeepCopyInto(out *Image_PolicySpec) { +func (in *IAMRoleObservation) DeepCopyInto(out *IAMRoleObservation) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in + } + if in.ExtID != nil { + in, out := &in.ExtID, &out.ExtID + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicySpec. -func (in *Image_PolicySpec) DeepCopy() *Image_PolicySpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAMRoleObservation. +func (in *IAMRoleObservation) DeepCopy() *IAMRoleObservation { if in == nil { return nil } - out := new(Image_PolicySpec) + out := new(IAMRoleObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Image_PolicySpecObservation) DeepCopyInto(out *Image_PolicySpecObservation) { +func (in *IAMRoleParameters) DeepCopyInto(out *IAMRoleParameters) { *out = *in - if in.Input != nil { - in, out := &in.Input, &out.Input - *out = make([]SpecInputObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Arn != nil { + in, out := &in.Arn, &out.Arn + *out = new(string) + **out = **in } - if in.NamespaceSelector != nil { - in, out := &in.NamespaceSelector, &out.NamespaceSelector - *out = make([]SpecNamespaceSelectorObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.ExtID != nil { + in, out := &in.ExtID, &out.ExtID + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicySpecObservation. -func (in *Image_PolicySpecObservation) DeepCopy() *Image_PolicySpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAMRoleParameters. +func (in *IAMRoleParameters) DeepCopy() *IAMRoleParameters { if in == nil { return nil } - out := new(Image_PolicySpecObservation) + out := new(IAMRoleParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Image_PolicySpecParameters) DeepCopyInto(out *Image_PolicySpecParameters) { +func (in *IPBlockObservation) DeepCopyInto(out *IPBlockObservation) { *out = *in - if in.Input != nil { - in, out := &in.Input, &out.Input - *out = make([]SpecInputParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Cidr != nil { + in, out := &in.Cidr, &out.Cidr + *out = new(string) + **out = **in } - if in.NamespaceSelector != nil { - in, out := &in.NamespaceSelector, &out.NamespaceSelector - *out = make([]SpecNamespaceSelectorParameters, len(*in)) + if in.Except != nil { + in, out := &in.Except, &out.Except + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicySpecParameters. -func (in *Image_PolicySpecParameters) DeepCopy() *Image_PolicySpecParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPBlockObservation. +func (in *IPBlockObservation) DeepCopy() *IPBlockObservation { if in == nil { return nil } - out := new(Image_PolicySpecParameters) + out := new(IPBlockObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Image_PolicyStatus) DeepCopyInto(out *Image_PolicyStatus) { +func (in *IPBlockParameters) DeepCopyInto(out *IPBlockParameters) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.Cidr != nil { + in, out := &in.Cidr, &out.Cidr + *out = new(string) + **out = **in + } + if in.Except != nil { + in, out := &in.Except, &out.Except + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyStatus. -func (in *Image_PolicyStatus) DeepCopy() *Image_PolicyStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPBlockParameters. +func (in *IPBlockParameters) DeepCopy() *IPBlockParameters { if in == nil { return nil } - out := new(Image_PolicyStatus) + out := new(IPBlockParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InfoObservation) DeepCopyInto(out *InfoObservation) { +func (in *Iam_Policy) DeepCopyInto(out *Iam_Policy) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **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 InfoObservation. -func (in *InfoObservation) DeepCopy() *InfoObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_Policy. +func (in *Iam_Policy) DeepCopy() *Iam_Policy { if in == nil { return nil } - out := new(InfoObservation) + out := new(Iam_Policy) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Iam_Policy) 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 *InfoParameters) DeepCopyInto(out *InfoParameters) { +func (in *Iam_PolicyList) DeepCopyInto(out *Iam_PolicyList) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Iam_Policy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfoParameters. -func (in *InfoParameters) DeepCopy() *InfoParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyList. +func (in *Iam_PolicyList) DeepCopy() *Iam_PolicyList { if in == nil { return nil } - out := new(InfoParameters) + out := new(Iam_PolicyList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Iam_PolicyList) 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 *InputObservation) DeepCopyInto(out *InputObservation) { - *out = *in - if in.TmcBlockNodeportService != nil { - in, out := &in.TmcBlockNodeportService, &out.TmcBlockNodeportService - *out = make([]TmcBlockNodeportServiceObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.TmcBlockResources != nil { - in, out := &in.TmcBlockResources, &out.TmcBlockResources - *out = make([]TmcBlockResourcesObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.TmcBlockRolebindingSubjects != nil { - in, out := &in.TmcBlockRolebindingSubjects, &out.TmcBlockRolebindingSubjects - *out = make([]TmcBlockRolebindingSubjectsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.TmcExternalIps != nil { - in, out := &in.TmcExternalIps, &out.TmcExternalIps - *out = make([]TmcExternalIpsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.TmcHTTPSIngress != nil { - in, out := &in.TmcHTTPSIngress, &out.TmcHTTPSIngress - *out = make([]TmcHTTPSIngressObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.TmcRequireLabels != nil { - in, out := &in.TmcRequireLabels, &out.TmcRequireLabels - *out = make([]TmcRequireLabelsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputObservation. -func (in *InputObservation) DeepCopy() *InputObservation { - if in == nil { - return nil - } - out := new(InputObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *InputParameters) DeepCopyInto(out *InputParameters) { - *out = *in - if in.TmcBlockNodeportService != nil { - in, out := &in.TmcBlockNodeportService, &out.TmcBlockNodeportService - *out = make([]TmcBlockNodeportServiceParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.TmcBlockResources != nil { - in, out := &in.TmcBlockResources, &out.TmcBlockResources - *out = make([]TmcBlockResourcesParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.TmcBlockRolebindingSubjects != nil { - in, out := &in.TmcBlockRolebindingSubjects, &out.TmcBlockRolebindingSubjects - *out = make([]TmcBlockRolebindingSubjectsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.TmcExternalIps != nil { - in, out := &in.TmcExternalIps, &out.TmcExternalIps - *out = make([]TmcExternalIpsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.TmcHTTPSIngress != nil { - in, out := &in.TmcHTTPSIngress, &out.TmcHTTPSIngress - *out = make([]TmcHTTPSIngressParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.TmcRequireLabels != nil { - in, out := &in.TmcRequireLabels, &out.TmcRequireLabels - *out = make([]TmcRequireLabelsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputParameters. -func (in *InputParameters) DeepCopy() *InputParameters { - if in == nil { - return nil - } - out := new(InputParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Integration) DeepCopyInto(out *Integration) { - *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 Integration. -func (in *Integration) DeepCopy() *Integration { - if in == nil { - return nil - } - out := new(Integration) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Integration) 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 *IntegrationList) DeepCopyInto(out *IntegrationList) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]Integration, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationList. -func (in *IntegrationList) DeepCopy() *IntegrationList { - if in == nil { - return nil - } - out := new(IntegrationList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *IntegrationList) 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 *IntegrationMetaObservation) DeepCopyInto(out *IntegrationMetaObservation) { +func (in *Iam_PolicyMetaObservation) DeepCopyInto(out *Iam_PolicyMetaObservation) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -6276,18 +6079,18 @@ func (in *IntegrationMetaObservation) DeepCopyInto(out *IntegrationMetaObservati } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationMetaObservation. -func (in *IntegrationMetaObservation) DeepCopy() *IntegrationMetaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyMetaObservation. +func (in *Iam_PolicyMetaObservation) DeepCopy() *Iam_PolicyMetaObservation { if in == nil { return nil } - out := new(IntegrationMetaObservation) + out := new(Iam_PolicyMetaObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IntegrationMetaParameters) DeepCopyInto(out *IntegrationMetaParameters) { +func (in *Iam_PolicyMetaParameters) DeepCopyInto(out *Iam_PolicyMetaParameters) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -6326,371 +6129,420 @@ func (in *IntegrationMetaParameters) DeepCopyInto(out *IntegrationMetaParameters } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationMetaParameters. -func (in *IntegrationMetaParameters) DeepCopy() *IntegrationMetaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyMetaParameters. +func (in *Iam_PolicyMetaParameters) DeepCopy() *Iam_PolicyMetaParameters { if in == nil { return nil } - out := new(IntegrationMetaParameters) + out := new(Iam_PolicyMetaParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IntegrationObservation) DeepCopyInto(out *IntegrationObservation) { +func (in *Iam_PolicyObservation) DeepCopyInto(out *Iam_PolicyObservation) { *out = *in - if in.ClusterName != nil { - in, out := &in.ClusterName, &out.ClusterName - *out = new(string) - **out = **in - } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.IntegrationName != nil { - in, out := &in.IntegrationName, &out.IntegrationName - *out = new(string) - **out = **in - } - if in.ManagementClusterName != nil { - in, out := &in.ManagementClusterName, &out.ManagementClusterName - *out = new(string) - **out = **in - } if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]IntegrationMetaObservation, len(*in)) + *out = make([]Iam_PolicyMetaObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.ProvisionerName != nil { - in, out := &in.ProvisionerName, &out.ProvisionerName - *out = new(string) - **out = **in - } - if in.Spec != nil { - in, out := &in.Spec, &out.Spec - *out = make([]IntegrationSpecObservation, len(*in)) + if in.RoleBindings != nil { + in, out := &in.RoleBindings, &out.RoleBindings + *out = make([]RoleBindingsObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Status != nil { - in, out := &in.Status, &out.Status - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = make([]Iam_PolicyScopeObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationObservation. -func (in *IntegrationObservation) DeepCopy() *IntegrationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyObservation. +func (in *Iam_PolicyObservation) DeepCopy() *Iam_PolicyObservation { if in == nil { return nil } - out := new(IntegrationObservation) + out := new(Iam_PolicyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IntegrationParameters) DeepCopyInto(out *IntegrationParameters) { +func (in *Iam_PolicyParameters) DeepCopyInto(out *Iam_PolicyParameters) { *out = *in - if in.ClusterName != nil { - in, out := &in.ClusterName, &out.ClusterName - *out = new(string) - **out = **in - } - if in.IntegrationName != nil { - in, out := &in.IntegrationName, &out.IntegrationName - *out = new(string) - **out = **in - } - if in.ManagementClusterName != nil { - in, out := &in.ManagementClusterName, &out.ManagementClusterName - *out = new(string) - **out = **in - } if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]IntegrationMetaParameters, len(*in)) + *out = make([]Iam_PolicyMetaParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.ProvisionerName != nil { - in, out := &in.ProvisionerName, &out.ProvisionerName - *out = new(string) - **out = **in - } - if in.Spec != nil { - in, out := &in.Spec, &out.Spec - *out = make([]IntegrationSpecParameters, len(*in)) + if in.RoleBindings != nil { + in, out := &in.RoleBindings, &out.RoleBindings + *out = make([]RoleBindingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = make([]Iam_PolicyScopeParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationParameters. -func (in *IntegrationParameters) DeepCopy() *IntegrationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyParameters. +func (in *Iam_PolicyParameters) DeepCopy() *Iam_PolicyParameters { if in == nil { return nil } - out := new(IntegrationParameters) + out := new(Iam_PolicyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IntegrationSpec) DeepCopyInto(out *IntegrationSpec) { +func (in *Iam_PolicyScopeClusterGroupObservation) DeepCopyInto(out *Iam_PolicyScopeClusterGroupObservation) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationSpec. -func (in *IntegrationSpec) DeepCopy() *IntegrationSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyScopeClusterGroupObservation. +func (in *Iam_PolicyScopeClusterGroupObservation) DeepCopy() *Iam_PolicyScopeClusterGroupObservation { if in == nil { return nil } - out := new(IntegrationSpec) + out := new(Iam_PolicyScopeClusterGroupObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IntegrationSpecObservation) DeepCopyInto(out *IntegrationSpecObservation) { +func (in *Iam_PolicyScopeClusterGroupParameters) DeepCopyInto(out *Iam_PolicyScopeClusterGroupParameters) { *out = *in - if in.Configurations != nil { - in, out := &in.Configurations, &out.Configurations + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationSpecObservation. -func (in *IntegrationSpecObservation) DeepCopy() *IntegrationSpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyScopeClusterGroupParameters. +func (in *Iam_PolicyScopeClusterGroupParameters) DeepCopy() *Iam_PolicyScopeClusterGroupParameters { if in == nil { return nil } - out := new(IntegrationSpecObservation) + out := new(Iam_PolicyScopeClusterGroupParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IntegrationSpecParameters) DeepCopyInto(out *IntegrationSpecParameters) { +func (in *Iam_PolicyScopeClusterObservation) DeepCopyInto(out *Iam_PolicyScopeClusterObservation) { *out = *in - if in.Configurations != nil { - in, out := &in.Configurations, &out.Configurations + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationSpecParameters. -func (in *IntegrationSpecParameters) DeepCopy() *IntegrationSpecParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyScopeClusterObservation. +func (in *Iam_PolicyScopeClusterObservation) DeepCopy() *Iam_PolicyScopeClusterObservation { if in == nil { return nil } - out := new(IntegrationSpecParameters) + out := new(Iam_PolicyScopeClusterObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IntegrationStatus) DeepCopyInto(out *IntegrationStatus) { +func (in *Iam_PolicyScopeClusterParameters) DeepCopyInto(out *Iam_PolicyScopeClusterParameters) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationStatus. -func (in *IntegrationStatus) DeepCopy() *IntegrationStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyScopeClusterParameters. +func (in *Iam_PolicyScopeClusterParameters) DeepCopy() *Iam_PolicyScopeClusterParameters { if in == nil { return nil } - out := new(IntegrationStatus) + out := new(Iam_PolicyScopeClusterParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KeyValueObservation) DeepCopyInto(out *KeyValueObservation) { +func (in *Iam_PolicyScopeObservation) DeepCopyInto(out *Iam_PolicyScopeObservation) { *out = *in - if in.Data != nil { - in, out := &in.Data, &out.Data - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = make([]Iam_PolicyScopeClusterObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup + *out = make([]Iam_PolicyScopeClusterGroupObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Namespace != nil { + in, out := &in.Namespace, &out.Namespace + *out = make([]NamespaceObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Organization != nil { + in, out := &in.Organization, &out.Organization + *out = make([]ScopeOrganizationObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Workspace != nil { + in, out := &in.Workspace, &out.Workspace + *out = make([]Iam_PolicyScopeWorkspaceObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyValueObservation. -func (in *KeyValueObservation) DeepCopy() *KeyValueObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyScopeObservation. +func (in *Iam_PolicyScopeObservation) DeepCopy() *Iam_PolicyScopeObservation { if in == nil { return nil } - out := new(KeyValueObservation) + out := new(Iam_PolicyScopeObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KeyValueParameters) DeepCopyInto(out *KeyValueParameters) { +func (in *Iam_PolicyScopeParameters) DeepCopyInto(out *Iam_PolicyScopeParameters) { *out = *in - if in.Data != nil { - in, out := &in.Data, &out.Data - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = make([]Iam_PolicyScopeClusterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup + *out = make([]Iam_PolicyScopeClusterGroupParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Namespace != nil { + in, out := &in.Namespace, &out.Namespace + *out = make([]NamespaceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Organization != nil { + in, out := &in.Organization, &out.Organization + *out = make([]ScopeOrganizationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Workspace != nil { + in, out := &in.Workspace, &out.Workspace + *out = make([]Iam_PolicyScopeWorkspaceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyValueParameters. -func (in *KeyValueParameters) DeepCopy() *KeyValueParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyScopeParameters. +func (in *Iam_PolicyScopeParameters) DeepCopy() *Iam_PolicyScopeParameters { if in == nil { return nil } - out := new(KeyValueParameters) + out := new(Iam_PolicyScopeParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KubernetesNetworkConfigObservation) DeepCopyInto(out *KubernetesNetworkConfigObservation) { +func (in *Iam_PolicyScopeWorkspaceObservation) DeepCopyInto(out *Iam_PolicyScopeWorkspaceObservation) { *out = *in - if in.ServiceCidr != nil { - in, out := &in.ServiceCidr, &out.ServiceCidr + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesNetworkConfigObservation. -func (in *KubernetesNetworkConfigObservation) DeepCopy() *KubernetesNetworkConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyScopeWorkspaceObservation. +func (in *Iam_PolicyScopeWorkspaceObservation) DeepCopy() *Iam_PolicyScopeWorkspaceObservation { if in == nil { return nil } - out := new(KubernetesNetworkConfigObservation) + out := new(Iam_PolicyScopeWorkspaceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KubernetesNetworkConfigParameters) DeepCopyInto(out *KubernetesNetworkConfigParameters) { +func (in *Iam_PolicyScopeWorkspaceParameters) DeepCopyInto(out *Iam_PolicyScopeWorkspaceParameters) { *out = *in - if in.ServiceCidr != nil { - in, out := &in.ServiceCidr, &out.ServiceCidr + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesNetworkConfigParameters. -func (in *KubernetesNetworkConfigParameters) DeepCopy() *KubernetesNetworkConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyScopeWorkspaceParameters. +func (in *Iam_PolicyScopeWorkspaceParameters) DeepCopy() *Iam_PolicyScopeWorkspaceParameters { if in == nil { return nil } - out := new(KubernetesNetworkConfigParameters) + out := new(Iam_PolicyScopeWorkspaceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Kubernetes_Secret) DeepCopyInto(out *Kubernetes_Secret) { +func (in *Iam_PolicySpec) DeepCopyInto(out *Iam_PolicySpec) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_Secret. -func (in *Kubernetes_Secret) DeepCopy() *Kubernetes_Secret { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicySpec. +func (in *Iam_PolicySpec) DeepCopy() *Iam_PolicySpec { if in == nil { return nil } - out := new(Kubernetes_Secret) + out := new(Iam_PolicySpec) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Kubernetes_Secret) 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 *Kubernetes_SecretList) DeepCopyInto(out *Kubernetes_SecretList) { +func (in *Iam_PolicyStatus) DeepCopyInto(out *Iam_PolicyStatus) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyStatus. +func (in *Iam_PolicyStatus) DeepCopy() *Iam_PolicyStatus { + if in == nil { + return nil + } + out := new(Iam_PolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Image_Policy) DeepCopyInto(out *Image_Policy) { + *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 Image_Policy. +func (in *Image_Policy) DeepCopy() *Image_Policy { + if in == nil { + return nil + } + out := new(Image_Policy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Image_Policy) 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 *Image_PolicyList) DeepCopyInto(out *Image_PolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]Kubernetes_Secret, len(*in)) + *out = make([]Image_Policy, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretList. -func (in *Kubernetes_SecretList) DeepCopy() *Kubernetes_SecretList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyList. +func (in *Image_PolicyList) DeepCopy() *Image_PolicyList { if in == nil { return nil } - out := new(Kubernetes_SecretList) + out := new(Image_PolicyList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Kubernetes_SecretList) DeepCopyObject() runtime.Object { +func (in *Image_PolicyList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -6698,7 +6550,7 @@ func (in *Kubernetes_SecretList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Kubernetes_SecretMetaObservation) DeepCopyInto(out *Kubernetes_SecretMetaObservation) { +func (in *Image_PolicyMetaObservation) DeepCopyInto(out *Image_PolicyMetaObservation) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -6747,18 +6599,18 @@ func (in *Kubernetes_SecretMetaObservation) DeepCopyInto(out *Kubernetes_SecretM } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretMetaObservation. -func (in *Kubernetes_SecretMetaObservation) DeepCopy() *Kubernetes_SecretMetaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyMetaObservation. +func (in *Image_PolicyMetaObservation) DeepCopy() *Image_PolicyMetaObservation { if in == nil { return nil } - out := new(Kubernetes_SecretMetaObservation) + out := new(Image_PolicyMetaObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Kubernetes_SecretMetaParameters) DeepCopyInto(out *Kubernetes_SecretMetaParameters) { +func (in *Image_PolicyMetaParameters) DeepCopyInto(out *Image_PolicyMetaParameters) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -6797,24 +6649,19 @@ func (in *Kubernetes_SecretMetaParameters) DeepCopyInto(out *Kubernetes_SecretMe } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretMetaParameters. -func (in *Kubernetes_SecretMetaParameters) DeepCopy() *Kubernetes_SecretMetaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyMetaParameters. +func (in *Image_PolicyMetaParameters) DeepCopy() *Image_PolicyMetaParameters { if in == nil { return nil } - out := new(Kubernetes_SecretMetaParameters) + out := new(Image_PolicyMetaParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Kubernetes_SecretObservation) DeepCopyInto(out *Kubernetes_SecretObservation) { +func (in *Image_PolicyObservation) DeepCopyInto(out *Image_PolicyObservation) { *out = *in - if in.Export != nil { - in, out := &in.Export, &out.Export - *out = new(bool) - **out = **in - } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) @@ -6822,7 +6669,7 @@ func (in *Kubernetes_SecretObservation) DeepCopyInto(out *Kubernetes_SecretObser } if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Kubernetes_SecretMetaObservation, len(*in)) + *out = make([]Image_PolicyMetaObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -6832,68 +6679,38 @@ func (in *Kubernetes_SecretObservation) DeepCopyInto(out *Kubernetes_SecretObser *out = new(string) **out = **in } - if in.NamespaceName != nil { - in, out := &in.NamespaceName, &out.NamespaceName - *out = new(string) - **out = **in - } - if in.OrgID != nil { - in, out := &in.OrgID, &out.OrgID - *out = new(string) - **out = **in - } if in.Scope != nil { in, out := &in.Scope, &out.Scope - *out = make([]Kubernetes_SecretScopeObservation, len(*in)) + *out = make([]Image_PolicyScopeObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.Spec != nil { in, out := &in.Spec, &out.Spec - *out = make([]Kubernetes_SecretSpecObservation, len(*in)) + *out = make([]Image_PolicySpecObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Status != nil { - in, out := &in.Status, &out.Status - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretObservation. -func (in *Kubernetes_SecretObservation) DeepCopy() *Kubernetes_SecretObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyObservation. +func (in *Image_PolicyObservation) DeepCopy() *Image_PolicyObservation { if in == nil { return nil } - out := new(Kubernetes_SecretObservation) + out := new(Image_PolicyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Kubernetes_SecretParameters) DeepCopyInto(out *Kubernetes_SecretParameters) { +func (in *Image_PolicyParameters) DeepCopyInto(out *Image_PolicyParameters) { *out = *in - if in.Export != nil { - in, out := &in.Export, &out.Export - *out = new(bool) - **out = **in - } if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Kubernetes_SecretMetaParameters, len(*in)) + *out = make([]Image_PolicyMetaParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -6903,82 +6720,82 @@ func (in *Kubernetes_SecretParameters) DeepCopyInto(out *Kubernetes_SecretParame *out = new(string) **out = **in } - if in.NamespaceName != nil { - in, out := &in.NamespaceName, &out.NamespaceName - *out = new(string) - **out = **in - } - if in.OrgID != nil { - in, out := &in.OrgID, &out.OrgID - *out = new(string) - **out = **in - } if in.Scope != nil { in, out := &in.Scope, &out.Scope - *out = make([]Kubernetes_SecretScopeParameters, len(*in)) + *out = make([]Image_PolicyScopeParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.Spec != nil { in, out := &in.Spec, &out.Spec - *out = make([]Kubernetes_SecretSpecParameters, len(*in)) + *out = make([]Image_PolicySpecParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretParameters. -func (in *Kubernetes_SecretParameters) DeepCopy() *Kubernetes_SecretParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyParameters. +func (in *Image_PolicyParameters) DeepCopy() *Image_PolicyParameters { if in == nil { return nil } - out := new(Kubernetes_SecretParameters) + out := new(Image_PolicyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Kubernetes_SecretScopeClusterObservation) DeepCopyInto(out *Kubernetes_SecretScopeClusterObservation) { +func (in *Image_PolicyScopeClusterGroupObservation) DeepCopyInto(out *Image_PolicyScopeClusterGroupObservation) { *out = *in - if in.ClusterName != nil { - in, out := &in.ClusterName, &out.ClusterName + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup *out = new(string) **out = **in } - if in.ManagementClusterName != nil { - in, out := &in.ManagementClusterName, &out.ManagementClusterName - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyScopeClusterGroupObservation. +func (in *Image_PolicyScopeClusterGroupObservation) DeepCopy() *Image_PolicyScopeClusterGroupObservation { + if in == nil { + return nil } - if in.ProvisionerName != nil { - in, out := &in.ProvisionerName, &out.ProvisionerName + out := new(Image_PolicyScopeClusterGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Image_PolicyScopeClusterGroupParameters) DeepCopyInto(out *Image_PolicyScopeClusterGroupParameters) { + *out = *in + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretScopeClusterObservation. -func (in *Kubernetes_SecretScopeClusterObservation) DeepCopy() *Kubernetes_SecretScopeClusterObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyScopeClusterGroupParameters. +func (in *Image_PolicyScopeClusterGroupParameters) DeepCopy() *Image_PolicyScopeClusterGroupParameters { if in == nil { return nil } - out := new(Kubernetes_SecretScopeClusterObservation) + out := new(Image_PolicyScopeClusterGroupParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Kubernetes_SecretScopeClusterParameters) DeepCopyInto(out *Kubernetes_SecretScopeClusterParameters) { +func (in *Image_PolicyScopeClusterObservation) DeepCopyInto(out *Image_PolicyScopeClusterObservation) { *out = *in - if in.ClusterName != nil { - in, out := &in.ClusterName, &out.ClusterName + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName *out = new(string) **out = **in } - if in.ManagementClusterName != nil { - in, out := &in.ManagementClusterName, &out.ManagementClusterName + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } @@ -6989,422 +6806,352 @@ func (in *Kubernetes_SecretScopeClusterParameters) DeepCopyInto(out *Kubernetes_ } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretScopeClusterParameters. -func (in *Kubernetes_SecretScopeClusterParameters) DeepCopy() *Kubernetes_SecretScopeClusterParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyScopeClusterObservation. +func (in *Image_PolicyScopeClusterObservation) DeepCopy() *Image_PolicyScopeClusterObservation { if in == nil { return nil } - out := new(Kubernetes_SecretScopeClusterParameters) + out := new(Image_PolicyScopeClusterObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Kubernetes_SecretScopeObservation) DeepCopyInto(out *Kubernetes_SecretScopeObservation) { +func (in *Image_PolicyScopeClusterParameters) DeepCopyInto(out *Image_PolicyScopeClusterParameters) { *out = *in - if in.Cluster != nil { - in, out := &in.Cluster, &out.Cluster - *out = make([]Kubernetes_SecretScopeClusterObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretScopeObservation. -func (in *Kubernetes_SecretScopeObservation) DeepCopy() *Kubernetes_SecretScopeObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyScopeClusterParameters. +func (in *Image_PolicyScopeClusterParameters) DeepCopy() *Image_PolicyScopeClusterParameters { if in == nil { return nil } - out := new(Kubernetes_SecretScopeObservation) + out := new(Image_PolicyScopeClusterParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Kubernetes_SecretScopeParameters) DeepCopyInto(out *Kubernetes_SecretScopeParameters) { +func (in *Image_PolicyScopeObservation) DeepCopyInto(out *Image_PolicyScopeObservation) { *out = *in if in.Cluster != nil { in, out := &in.Cluster, &out.Cluster - *out = make([]Kubernetes_SecretScopeClusterParameters, len(*in)) + *out = make([]Image_PolicyScopeClusterObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup + *out = make([]Image_PolicyScopeClusterGroupObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Organization != nil { + in, out := &in.Organization, &out.Organization + *out = make([]Image_PolicyScopeOrganizationObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Workspace != nil { + in, out := &in.Workspace, &out.Workspace + *out = make([]Image_PolicyScopeWorkspaceObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretScopeParameters. -func (in *Kubernetes_SecretScopeParameters) DeepCopy() *Kubernetes_SecretScopeParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyScopeObservation. +func (in *Image_PolicyScopeObservation) DeepCopy() *Image_PolicyScopeObservation { if in == nil { return nil } - out := new(Kubernetes_SecretScopeParameters) + out := new(Image_PolicyScopeObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Kubernetes_SecretSpec) DeepCopyInto(out *Kubernetes_SecretSpec) { +func (in *Image_PolicyScopeOrganizationObservation) DeepCopyInto(out *Image_PolicyScopeOrganizationObservation) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) + if in.Organization != nil { + in, out := &in.Organization, &out.Organization + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretSpec. -func (in *Kubernetes_SecretSpec) DeepCopy() *Kubernetes_SecretSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyScopeOrganizationObservation. +func (in *Image_PolicyScopeOrganizationObservation) DeepCopy() *Image_PolicyScopeOrganizationObservation { if in == nil { return nil } - out := new(Kubernetes_SecretSpec) + out := new(Image_PolicyScopeOrganizationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Kubernetes_SecretSpecObservation) DeepCopyInto(out *Kubernetes_SecretSpecObservation) { +func (in *Image_PolicyScopeOrganizationParameters) DeepCopyInto(out *Image_PolicyScopeOrganizationParameters) { *out = *in - if in.DockerConfigJSON != nil { - in, out := &in.DockerConfigJSON, &out.DockerConfigJSON - *out = make([]DockerConfigJSONObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Organization != nil { + in, out := &in.Organization, &out.Organization + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretSpecObservation. -func (in *Kubernetes_SecretSpecObservation) DeepCopy() *Kubernetes_SecretSpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyScopeOrganizationParameters. +func (in *Image_PolicyScopeOrganizationParameters) DeepCopy() *Image_PolicyScopeOrganizationParameters { if in == nil { return nil } - out := new(Kubernetes_SecretSpecObservation) + out := new(Image_PolicyScopeOrganizationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Kubernetes_SecretSpecParameters) DeepCopyInto(out *Kubernetes_SecretSpecParameters) { +func (in *Image_PolicyScopeParameters) DeepCopyInto(out *Image_PolicyScopeParameters) { *out = *in - if in.DockerConfigJSON != nil { - in, out := &in.DockerConfigJSON, &out.DockerConfigJSON - *out = make([]DockerConfigJSONParameters, len(*in)) + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = make([]Image_PolicyScopeClusterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup + *out = make([]Image_PolicyScopeClusterGroupParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Organization != nil { + in, out := &in.Organization, &out.Organization + *out = make([]Image_PolicyScopeOrganizationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Workspace != nil { + in, out := &in.Workspace, &out.Workspace + *out = make([]Image_PolicyScopeWorkspaceParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretSpecParameters. -func (in *Kubernetes_SecretSpecParameters) DeepCopy() *Kubernetes_SecretSpecParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyScopeParameters. +func (in *Image_PolicyScopeParameters) DeepCopy() *Image_PolicyScopeParameters { if in == nil { return nil } - out := new(Kubernetes_SecretSpecParameters) + out := new(Image_PolicyScopeParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Kubernetes_SecretStatus) DeepCopyInto(out *Kubernetes_SecretStatus) { +func (in *Image_PolicyScopeWorkspaceObservation) DeepCopyInto(out *Image_PolicyScopeWorkspaceObservation) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.Workspace != nil { + in, out := &in.Workspace, &out.Workspace + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretStatus. -func (in *Kubernetes_SecretStatus) DeepCopy() *Kubernetes_SecretStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyScopeWorkspaceObservation. +func (in *Image_PolicyScopeWorkspaceObservation) DeepCopy() *Image_PolicyScopeWorkspaceObservation { if in == nil { return nil } - out := new(Kubernetes_SecretStatus) + out := new(Image_PolicyScopeWorkspaceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Kustomization) DeepCopyInto(out *Kustomization) { +func (in *Image_PolicyScopeWorkspaceParameters) DeepCopyInto(out *Image_PolicyScopeWorkspaceParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.Workspace != nil { + in, out := &in.Workspace, &out.Workspace + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kustomization. -func (in *Kustomization) DeepCopy() *Kustomization { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyScopeWorkspaceParameters. +func (in *Image_PolicyScopeWorkspaceParameters) DeepCopy() *Image_PolicyScopeWorkspaceParameters { if in == nil { return nil } - out := new(Kustomization) + out := new(Image_PolicyScopeWorkspaceParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Kustomization) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Image_PolicySpec) DeepCopyInto(out *Image_PolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicySpec. +func (in *Image_PolicySpec) DeepCopy() *Image_PolicySpec { + if in == nil { + return nil } - return nil + out := new(Image_PolicySpec) + in.DeepCopyInto(out) + return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KustomizationList) DeepCopyInto(out *KustomizationList) { +func (in *Image_PolicySpecObservation) DeepCopyInto(out *Image_PolicySpecObservation) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]Kustomization, len(*in)) + if in.Input != nil { + in, out := &in.Input, &out.Input + *out = make([]SpecInputObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NamespaceSelector != nil { + in, out := &in.NamespaceSelector, &out.NamespaceSelector + *out = make([]SpecNamespaceSelectorObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationList. -func (in *KustomizationList) DeepCopy() *KustomizationList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicySpecObservation. +func (in *Image_PolicySpecObservation) DeepCopy() *Image_PolicySpecObservation { if in == nil { return nil } - out := new(KustomizationList) + out := new(Image_PolicySpecObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *KustomizationList) 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 *KustomizationMetaObservation) DeepCopyInto(out *KustomizationMetaObservation) { +func (in *Image_PolicySpecParameters) DeepCopyInto(out *Image_PolicySpecParameters) { *out = *in - if in.Annotations != nil { - in, out := &in.Annotations, &out.Annotations - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal + if in.Input != nil { + in, out := &in.Input, &out.Input + *out = make([]SpecInputParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Labels != nil { - in, out := &in.Labels, &out.Labels - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal + if in.NamespaceSelector != nil { + in, out := &in.NamespaceSelector, &out.NamespaceSelector + *out = make([]SpecNamespaceSelectorParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.ResourceVersion != nil { - in, out := &in.ResourceVersion, &out.ResourceVersion - *out = new(string) - **out = **in - } - if in.UID != nil { - in, out := &in.UID, &out.UID - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationMetaObservation. -func (in *KustomizationMetaObservation) DeepCopy() *KustomizationMetaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicySpecParameters. +func (in *Image_PolicySpecParameters) DeepCopy() *Image_PolicySpecParameters { if in == nil { return nil } - out := new(KustomizationMetaObservation) + out := new(Image_PolicySpecParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KustomizationMetaParameters) DeepCopyInto(out *KustomizationMetaParameters) { +func (in *Image_PolicyStatus) DeepCopyInto(out *Image_PolicyStatus) { *out = *in - if in.Annotations != nil { - in, out := &in.Annotations, &out.Annotations - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in - } - if in.Labels != nil { - in, out := &in.Labels, &out.Labels - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationMetaParameters. -func (in *KustomizationMetaParameters) DeepCopy() *KustomizationMetaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyStatus. +func (in *Image_PolicyStatus) DeepCopy() *Image_PolicyStatus { if in == nil { return nil } - out := new(KustomizationMetaParameters) + out := new(Image_PolicyStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KustomizationObservation) DeepCopyInto(out *KustomizationObservation) { +func (in *ImgpkgBundleObservation) DeepCopyInto(out *ImgpkgBundleObservation) { *out = *in - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.Image != nil { + in, out := &in.Image, &out.Image *out = new(string) **out = **in } - if in.Meta != nil { - in, out := &in.Meta, &out.Meta - *out = make([]KustomizationMetaObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.NamespaceName != nil { - in, out := &in.NamespaceName, &out.NamespaceName - *out = new(string) - **out = **in - } - if in.Scope != nil { - in, out := &in.Scope, &out.Scope - *out = make([]KustomizationScopeObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Spec != nil { - in, out := &in.Spec, &out.Spec - *out = make([]KustomizationSpecObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Status != nil { - in, out := &in.Status, &out.Status - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationObservation. -func (in *KustomizationObservation) DeepCopy() *KustomizationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImgpkgBundleObservation. +func (in *ImgpkgBundleObservation) DeepCopy() *ImgpkgBundleObservation { if in == nil { return nil } - out := new(KustomizationObservation) + out := new(ImgpkgBundleObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KustomizationParameters) DeepCopyInto(out *KustomizationParameters) { +func (in *ImgpkgBundleParameters) DeepCopyInto(out *ImgpkgBundleParameters) { *out = *in - if in.Meta != nil { - in, out := &in.Meta, &out.Meta - *out = make([]KustomizationMetaParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.NamespaceName != nil { - in, out := &in.NamespaceName, &out.NamespaceName + if in.Image != nil { + in, out := &in.Image, &out.Image *out = new(string) **out = **in } - if in.Scope != nil { - in, out := &in.Scope, &out.Scope - *out = make([]KustomizationScopeParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Spec != nil { - in, out := &in.Spec, &out.Spec - *out = make([]KustomizationSpecParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationParameters. -func (in *KustomizationParameters) DeepCopy() *KustomizationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImgpkgBundleParameters. +func (in *ImgpkgBundleParameters) DeepCopy() *ImgpkgBundleParameters { if in == nil { return nil } - out := new(KustomizationParameters) + out := new(ImgpkgBundleParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KustomizationScopeClusterGroupObservation) DeepCopyInto(out *KustomizationScopeClusterGroupObservation) { +func (in *InfoObservation) DeepCopyInto(out *InfoObservation) { *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -7412,19 +7159,24 @@ func (in *KustomizationScopeClusterGroupObservation) DeepCopyInto(out *Kustomiza } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationScopeClusterGroupObservation. -func (in *KustomizationScopeClusterGroupObservation) DeepCopy() *KustomizationScopeClusterGroupObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfoObservation. +func (in *InfoObservation) DeepCopy() *InfoObservation { if in == nil { return nil } - out := new(KustomizationScopeClusterGroupObservation) + out := new(InfoObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KustomizationScopeClusterGroupParameters) DeepCopyInto(out *KustomizationScopeClusterGroupParameters) { +func (in *InfoParameters) DeepCopyInto(out *InfoParameters) { *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) @@ -7432,601 +7184,676 @@ func (in *KustomizationScopeClusterGroupParameters) DeepCopyInto(out *Kustomizat } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationScopeClusterGroupParameters. -func (in *KustomizationScopeClusterGroupParameters) DeepCopy() *KustomizationScopeClusterGroupParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfoParameters. +func (in *InfoParameters) DeepCopy() *InfoParameters { if in == nil { return nil } - out := new(KustomizationScopeClusterGroupParameters) + out := new(InfoParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KustomizationScopeClusterObservation) DeepCopyInto(out *KustomizationScopeClusterObservation) { +func (in *InputCustomObservation) DeepCopyInto(out *InputCustomObservation) { *out = *in - if in.ManagementClusterName != nil { - in, out := &in.ManagementClusterName, &out.ManagementClusterName + if in.LimitsCPU != nil { + in, out := &in.LimitsCPU, &out.LimitsCPU *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.LimitsMemory != nil { + in, out := &in.LimitsMemory, &out.LimitsMemory *out = new(string) **out = **in } - if in.ProvisionerName != nil { - in, out := &in.ProvisionerName, &out.ProvisionerName + if in.PersistentVolumeClaims != nil { + in, out := &in.PersistentVolumeClaims, &out.PersistentVolumeClaims + *out = new(float64) + **out = **in + } + if in.PersistentVolumeClaimsPerClass != nil { + in, out := &in.PersistentVolumeClaimsPerClass, &out.PersistentVolumeClaimsPerClass + *out = make(map[string]*float64, len(*in)) + for key, val := range *in { + var outVal *float64 + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(float64) + **out = **in + } + (*out)[key] = outVal + } + } + if in.RequestsCPU != nil { + in, out := &in.RequestsCPU, &out.RequestsCPU + *out = new(string) + **out = **in + } + if in.RequestsMemory != nil { + in, out := &in.RequestsMemory, &out.RequestsMemory + *out = new(string) + **out = **in + } + if in.RequestsStorage != nil { + in, out := &in.RequestsStorage, &out.RequestsStorage *out = new(string) **out = **in } + if in.RequestsStoragePerClass != nil { + in, out := &in.RequestsStoragePerClass, &out.RequestsStoragePerClass + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceCounts != nil { + in, out := &in.ResourceCounts, &out.ResourceCounts + *out = make(map[string]*float64, len(*in)) + for key, val := range *in { + var outVal *float64 + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(float64) + **out = **in + } + (*out)[key] = outVal + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationScopeClusterObservation. -func (in *KustomizationScopeClusterObservation) DeepCopy() *KustomizationScopeClusterObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputCustomObservation. +func (in *InputCustomObservation) DeepCopy() *InputCustomObservation { if in == nil { return nil } - out := new(KustomizationScopeClusterObservation) + out := new(InputCustomObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KustomizationScopeClusterParameters) DeepCopyInto(out *KustomizationScopeClusterParameters) { +func (in *InputCustomParameters) DeepCopyInto(out *InputCustomParameters) { *out = *in - if in.ManagementClusterName != nil { - in, out := &in.ManagementClusterName, &out.ManagementClusterName + if in.LimitsCPU != nil { + in, out := &in.LimitsCPU, &out.LimitsCPU *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.LimitsMemory != nil { + in, out := &in.LimitsMemory, &out.LimitsMemory *out = new(string) **out = **in } - if in.ProvisionerName != nil { - in, out := &in.ProvisionerName, &out.ProvisionerName + if in.PersistentVolumeClaims != nil { + in, out := &in.PersistentVolumeClaims, &out.PersistentVolumeClaims + *out = new(float64) + **out = **in + } + if in.PersistentVolumeClaimsPerClass != nil { + in, out := &in.PersistentVolumeClaimsPerClass, &out.PersistentVolumeClaimsPerClass + *out = make(map[string]*float64, len(*in)) + for key, val := range *in { + var outVal *float64 + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(float64) + **out = **in + } + (*out)[key] = outVal + } + } + if in.RequestsCPU != nil { + in, out := &in.RequestsCPU, &out.RequestsCPU + *out = new(string) + **out = **in + } + if in.RequestsMemory != nil { + in, out := &in.RequestsMemory, &out.RequestsMemory + *out = new(string) + **out = **in + } + if in.RequestsStorage != nil { + in, out := &in.RequestsStorage, &out.RequestsStorage *out = new(string) **out = **in } + if in.RequestsStoragePerClass != nil { + in, out := &in.RequestsStoragePerClass, &out.RequestsStoragePerClass + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceCounts != nil { + in, out := &in.ResourceCounts, &out.ResourceCounts + *out = make(map[string]*float64, len(*in)) + for key, val := range *in { + var outVal *float64 + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(float64) + **out = **in + } + (*out)[key] = outVal + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationScopeClusterParameters. -func (in *KustomizationScopeClusterParameters) DeepCopy() *KustomizationScopeClusterParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputCustomParameters. +func (in *InputCustomParameters) DeepCopy() *InputCustomParameters { if in == nil { return nil } - out := new(KustomizationScopeClusterParameters) + out := new(InputCustomParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KustomizationScopeObservation) DeepCopyInto(out *KustomizationScopeObservation) { +func (in *InputObservation) DeepCopyInto(out *InputObservation) { *out = *in - if in.Cluster != nil { - in, out := &in.Cluster, &out.Cluster - *out = make([]KustomizationScopeClusterObservation, len(*in)) + if in.TmcBlockNodeportService != nil { + in, out := &in.TmcBlockNodeportService, &out.TmcBlockNodeportService + *out = make([]TmcBlockNodeportServiceObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.ClusterGroup != nil { - in, out := &in.ClusterGroup, &out.ClusterGroup - *out = make([]KustomizationScopeClusterGroupObservation, len(*in)) + if in.TmcBlockResources != nil { + in, out := &in.TmcBlockResources, &out.TmcBlockResources + *out = make([]TmcBlockResourcesObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationScopeObservation. -func (in *KustomizationScopeObservation) DeepCopy() *KustomizationScopeObservation { - if in == nil { - return nil + if in.TmcBlockRolebindingSubjects != nil { + in, out := &in.TmcBlockRolebindingSubjects, &out.TmcBlockRolebindingSubjects + *out = make([]TmcBlockRolebindingSubjectsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - out := new(KustomizationScopeObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KustomizationScopeParameters) DeepCopyInto(out *KustomizationScopeParameters) { - *out = *in - if in.Cluster != nil { - in, out := &in.Cluster, &out.Cluster - *out = make([]KustomizationScopeClusterParameters, len(*in)) + if in.TmcExternalIps != nil { + in, out := &in.TmcExternalIps, &out.TmcExternalIps + *out = make([]TmcExternalIpsObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.ClusterGroup != nil { - in, out := &in.ClusterGroup, &out.ClusterGroup - *out = make([]KustomizationScopeClusterGroupParameters, len(*in)) + if in.TmcHTTPSIngress != nil { + in, out := &in.TmcHTTPSIngress, &out.TmcHTTPSIngress + *out = make([]TmcHTTPSIngressObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationScopeParameters. -func (in *KustomizationScopeParameters) DeepCopy() *KustomizationScopeParameters { - if in == nil { - return nil + if in.TmcRequireLabels != nil { + in, out := &in.TmcRequireLabels, &out.TmcRequireLabels + *out = make([]TmcRequireLabelsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - out := new(KustomizationScopeParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KustomizationSpec) DeepCopyInto(out *KustomizationSpec) { - *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationSpec. -func (in *KustomizationSpec) DeepCopy() *KustomizationSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputObservation. +func (in *InputObservation) DeepCopy() *InputObservation { if in == nil { return nil } - out := new(KustomizationSpec) + out := new(InputObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KustomizationSpecObservation) DeepCopyInto(out *KustomizationSpecObservation) { +func (in *InputParameters) DeepCopyInto(out *InputParameters) { *out = *in - if in.Interval != nil { - in, out := &in.Interval, &out.Interval - *out = new(string) - **out = **in - } - if in.Path != nil { - in, out := &in.Path, &out.Path - *out = new(string) - **out = **in - } - if in.Prune != nil { - in, out := &in.Prune, &out.Prune - *out = new(bool) - **out = **in - } - if in.Source != nil { - in, out := &in.Source, &out.Source - *out = make([]SourceObservation, len(*in)) + if in.TmcBlockNodeportService != nil { + in, out := &in.TmcBlockNodeportService, &out.TmcBlockNodeportService + *out = make([]TmcBlockNodeportServiceParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.TargetNamespace != nil { - in, out := &in.TargetNamespace, &out.TargetNamespace - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationSpecObservation. -func (in *KustomizationSpecObservation) DeepCopy() *KustomizationSpecObservation { - if in == nil { - return nil - } - out := new(KustomizationSpecObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KustomizationSpecParameters) DeepCopyInto(out *KustomizationSpecParameters) { - *out = *in - if in.Interval != nil { - in, out := &in.Interval, &out.Interval - *out = new(string) - **out = **in + if in.TmcBlockResources != nil { + in, out := &in.TmcBlockResources, &out.TmcBlockResources + *out = make([]TmcBlockResourcesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.Path != nil { - in, out := &in.Path, &out.Path - *out = new(string) - **out = **in + if in.TmcBlockRolebindingSubjects != nil { + in, out := &in.TmcBlockRolebindingSubjects, &out.TmcBlockRolebindingSubjects + *out = make([]TmcBlockRolebindingSubjectsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.Prune != nil { - in, out := &in.Prune, &out.Prune - *out = new(bool) - **out = **in + if in.TmcExternalIps != nil { + in, out := &in.TmcExternalIps, &out.TmcExternalIps + *out = make([]TmcExternalIpsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.Source != nil { - in, out := &in.Source, &out.Source - *out = make([]SourceParameters, len(*in)) + if in.TmcHTTPSIngress != nil { + in, out := &in.TmcHTTPSIngress, &out.TmcHTTPSIngress + *out = make([]TmcHTTPSIngressParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.TargetNamespace != nil { - in, out := &in.TargetNamespace, &out.TargetNamespace - *out = new(string) - **out = **in + if in.TmcRequireLabels != nil { + in, out := &in.TmcRequireLabels, &out.TmcRequireLabels + *out = make([]TmcRequireLabelsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationSpecParameters. -func (in *KustomizationSpecParameters) DeepCopy() *KustomizationSpecParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputParameters. +func (in *InputParameters) DeepCopy() *InputParameters { if in == nil { return nil } - out := new(KustomizationSpecParameters) + out := new(InputParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KustomizationStatus) DeepCopyInto(out *KustomizationStatus) { +func (in *Integration) DeepCopyInto(out *Integration) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + 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 KustomizationStatus. -func (in *KustomizationStatus) DeepCopy() *KustomizationStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Integration. +func (in *Integration) DeepCopy() *Integration { if in == nil { return nil } - out := new(KustomizationStatus) + out := new(Integration) in.DeepCopyInto(out) return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LabelsObservation) DeepCopyInto(out *LabelsObservation) { - *out = *in - if in.Key != nil { - in, out := &in.Key, &out.Key - *out = new(string) - **out = **in - } - if in.Value != nil { - in, out := &in.Value, &out.Value - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelsObservation. -func (in *LabelsObservation) DeepCopy() *LabelsObservation { - if in == nil { - return nil +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Integration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - out := new(LabelsObservation) - in.DeepCopyInto(out) - return out + return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LabelsParameters) DeepCopyInto(out *LabelsParameters) { +func (in *IntegrationList) DeepCopyInto(out *IntegrationList) { *out = *in - if in.Key != nil { - in, out := &in.Key, &out.Key - *out = new(string) - **out = **in - } - if in.Value != nil { - in, out := &in.Value, &out.Value - *out = new(string) - **out = **in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Integration, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelsParameters. -func (in *LabelsParameters) DeepCopy() *LabelsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationList. +func (in *IntegrationList) DeepCopy() *IntegrationList { if in == nil { return nil } - out := new(LabelsParameters) + out := new(IntegrationList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *IntegrationList) 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 *LaunchTemplateObservation) DeepCopyInto(out *LaunchTemplateObservation) { +func (in *IntegrationMetaObservation) DeepCopyInto(out *IntegrationMetaObservation) { *out = *in - if in.ID != nil { - in, out := &in.ID, &out.ID + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceVersion != nil { + in, out := &in.ResourceVersion, &out.ResourceVersion *out = new(string) **out = **in } - if in.Version != nil { - in, out := &in.Version, &out.Version + if in.UID != nil { + in, out := &in.UID, &out.UID *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateObservation. -func (in *LaunchTemplateObservation) DeepCopy() *LaunchTemplateObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationMetaObservation. +func (in *IntegrationMetaObservation) DeepCopy() *IntegrationMetaObservation { if in == nil { return nil } - out := new(LaunchTemplateObservation) + out := new(IntegrationMetaObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LaunchTemplateParameters) DeepCopyInto(out *LaunchTemplateParameters) { +func (in *IntegrationMetaParameters) DeepCopyInto(out *IntegrationMetaParameters) { *out = *in - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } - if in.Version != nil { - in, out := &in.Version, &out.Version + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateParameters. -func (in *LaunchTemplateParameters) DeepCopy() *LaunchTemplateParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationMetaParameters. +func (in *IntegrationMetaParameters) DeepCopy() *IntegrationMetaParameters { if in == nil { return nil } - out := new(LaunchTemplateParameters) + out := new(IntegrationMetaParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LinuxConfigObservation) DeepCopyInto(out *LinuxConfigObservation) { +func (in *IntegrationObservation) DeepCopyInto(out *IntegrationObservation) { *out = *in - if in.AdminUsername != nil { - in, out := &in.AdminUsername, &out.AdminUsername + if in.ClusterName != nil { + in, out := &in.ClusterName, &out.ClusterName *out = new(string) **out = **in } - if in.SSHKeys != nil { - in, out := &in.SSHKeys, &out.SSHKeys - *out = make([]*string, len(*in)) + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.IntegrationName != nil { + in, out := &in.IntegrationName, &out.IntegrationName + *out = new(string) + **out = **in + } + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName + *out = new(string) + **out = **in + } + if in.Meta != nil { + in, out := &in.Meta, &out.Meta + *out = make([]IntegrationMetaObservation, len(*in)) for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } + (*in)[i].DeepCopyInto(&(*out)[i]) } } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinuxConfigObservation. -func (in *LinuxConfigObservation) DeepCopy() *LinuxConfigObservation { - if in == nil { - return nil - } - out := new(LinuxConfigObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LinuxConfigParameters) DeepCopyInto(out *LinuxConfigParameters) { - *out = *in - if in.AdminUsername != nil { - in, out := &in.AdminUsername, &out.AdminUsername + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName *out = new(string) **out = **in } - if in.SSHKeys != nil { - in, out := &in.SSHKeys, &out.SSHKeys - *out = make([]*string, len(*in)) + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]IntegrationSpecObservation, len(*in)) for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal *out = new(string) **out = **in } + (*out)[key] = outVal } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinuxConfigParameters. -func (in *LinuxConfigParameters) DeepCopy() *LinuxConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationObservation. +func (in *IntegrationObservation) DeepCopy() *IntegrationObservation { if in == nil { return nil } - out := new(LinuxConfigParameters) + out := new(IntegrationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LoggingObservation) DeepCopyInto(out *LoggingObservation) { +func (in *IntegrationParameters) DeepCopyInto(out *IntegrationParameters) { *out = *in - if in.APIServer != nil { - in, out := &in.APIServer, &out.APIServer - *out = new(bool) + if in.ClusterName != nil { + in, out := &in.ClusterName, &out.ClusterName + *out = new(string) **out = **in } - if in.Audit != nil { - in, out := &in.Audit, &out.Audit - *out = new(bool) + if in.IntegrationName != nil { + in, out := &in.IntegrationName, &out.IntegrationName + *out = new(string) **out = **in } - if in.Authenticator != nil { - in, out := &in.Authenticator, &out.Authenticator - *out = new(bool) + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName + *out = new(string) **out = **in } - if in.ControllerManager != nil { - in, out := &in.ControllerManager, &out.ControllerManager - *out = new(bool) - **out = **in + if in.Meta != nil { + in, out := &in.Meta, &out.Meta + *out = make([]IntegrationMetaParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.Scheduler != nil { - in, out := &in.Scheduler, &out.Scheduler - *out = new(bool) + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) **out = **in } + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]IntegrationSpecParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingObservation. -func (in *LoggingObservation) DeepCopy() *LoggingObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationParameters. +func (in *IntegrationParameters) DeepCopy() *IntegrationParameters { if in == nil { return nil } - out := new(LoggingObservation) + out := new(IntegrationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LoggingParameters) DeepCopyInto(out *LoggingParameters) { +func (in *IntegrationSpec) DeepCopyInto(out *IntegrationSpec) { *out = *in - if in.APIServer != nil { - in, out := &in.APIServer, &out.APIServer - *out = new(bool) - **out = **in - } - if in.Audit != nil { - in, out := &in.Audit, &out.Audit - *out = new(bool) - **out = **in - } - if in.Authenticator != nil { - in, out := &in.Authenticator, &out.Authenticator - *out = new(bool) - **out = **in - } - if in.ControllerManager != nil { - in, out := &in.ControllerManager, &out.ControllerManager - *out = new(bool) - **out = **in - } - if in.Scheduler != nil { - in, out := &in.Scheduler, &out.Scheduler - *out = new(bool) - **out = **in - } + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingParameters. -func (in *LoggingParameters) DeepCopy() *LoggingParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationSpec. +func (in *IntegrationSpec) DeepCopy() *IntegrationSpec { if in == nil { return nil } - out := new(LoggingParameters) + out := new(IntegrationSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MatchExpressionsObservation) DeepCopyInto(out *MatchExpressionsObservation) { +func (in *IntegrationSpecObservation) DeepCopyInto(out *IntegrationSpecObservation) { *out = *in - if in.Key != nil { - in, out := &in.Key, &out.Key - *out = new(string) - **out = **in - } - if in.Operator != nil { - in, out := &in.Operator, &out.Operator + if in.Configurations != nil { + in, out := &in.Configurations, &out.Configurations *out = new(string) **out = **in } - if in.Values != nil { - in, out := &in.Values, &out.Values - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchExpressionsObservation. -func (in *MatchExpressionsObservation) DeepCopy() *MatchExpressionsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationSpecObservation. +func (in *IntegrationSpecObservation) DeepCopy() *IntegrationSpecObservation { if in == nil { return nil } - out := new(MatchExpressionsObservation) + out := new(IntegrationSpecObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MatchExpressionsParameters) DeepCopyInto(out *MatchExpressionsParameters) { +func (in *IntegrationSpecParameters) DeepCopyInto(out *IntegrationSpecParameters) { *out = *in - if in.Key != nil { - in, out := &in.Key, &out.Key - *out = new(string) - **out = **in - } - if in.Operator != nil { - in, out := &in.Operator, &out.Operator + if in.Configurations != nil { + in, out := &in.Configurations, &out.Configurations *out = new(string) **out = **in } - if in.Values != nil { - in, out := &in.Values, &out.Values - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchExpressionsParameters. -func (in *MatchExpressionsParameters) DeepCopy() *MatchExpressionsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationSpecParameters. +func (in *IntegrationSpecParameters) DeepCopy() *IntegrationSpecParameters { if in == nil { return nil } - out := new(MatchExpressionsParameters) + out := new(IntegrationSpecParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MetaObservation) DeepCopyInto(out *MetaObservation) { +func (in *IntegrationStatus) DeepCopyInto(out *IntegrationStatus) { *out = *in - if in.Annotations != nil { - in, out := &in.Annotations, &out.Annotations - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.Description != nil { - in, out := &in.Description, &out.Description - *out = new(string) - **out = **in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationStatus. +func (in *IntegrationStatus) DeepCopy() *IntegrationStatus { + if in == nil { + return nil } - if in.Labels != nil { - in, out := &in.Labels, &out.Labels + out := new(IntegrationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyValueObservation) DeepCopyInto(out *KeyValueObservation) { + *out = *in + if in.Data != nil { + in, out := &in.Data, &out.Data *out = make(map[string]*string, len(*in)) for key, val := range *in { var outVal *string @@ -8040,33 +7867,28 @@ func (in *MetaObservation) DeepCopyInto(out *MetaObservation) { (*out)[key] = outVal } } - if in.ResourceVersion != nil { - in, out := &in.ResourceVersion, &out.ResourceVersion - *out = new(string) - **out = **in - } - if in.UID != nil { - in, out := &in.UID, &out.UID + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetaObservation. -func (in *MetaObservation) DeepCopy() *MetaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyValueObservation. +func (in *KeyValueObservation) DeepCopy() *KeyValueObservation { if in == nil { return nil } - out := new(MetaObservation) + out := new(KeyValueObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MetaParameters) DeepCopyInto(out *MetaParameters) { +func (in *KeyValueParameters) DeepCopyInto(out *KeyValueParameters) { *out = *in - if in.Annotations != nil { - in, out := &in.Annotations, &out.Annotations + if in.Data != nil { + in, out := &in.Data, &out.Data *out = make(map[string]*string, len(*in)) for key, val := range *in { var outVal *string @@ -8080,90 +7902,65 @@ func (in *MetaParameters) DeepCopyInto(out *MetaParameters) { (*out)[key] = outVal } } - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } - if in.Labels != nil { - in, out := &in.Labels, &out.Labels - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetaParameters. -func (in *MetaParameters) DeepCopy() *MetaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyValueParameters. +func (in *KeyValueParameters) DeepCopy() *KeyValueParameters { if in == nil { return nil } - out := new(MetaParameters) + out := new(KeyValueParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MonitorAddonConfigObservation) DeepCopyInto(out *MonitorAddonConfigObservation) { +func (in *KubernetesNetworkConfigObservation) DeepCopyInto(out *KubernetesNetworkConfigObservation) { *out = *in - if in.Enable != nil { - in, out := &in.Enable, &out.Enable - *out = new(bool) - **out = **in - } - if in.LogAnalyticsWorkspaceID != nil { - in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + if in.ServiceCidr != nil { + in, out := &in.ServiceCidr, &out.ServiceCidr *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorAddonConfigObservation. -func (in *MonitorAddonConfigObservation) DeepCopy() *MonitorAddonConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesNetworkConfigObservation. +func (in *KubernetesNetworkConfigObservation) DeepCopy() *KubernetesNetworkConfigObservation { if in == nil { return nil } - out := new(MonitorAddonConfigObservation) + out := new(KubernetesNetworkConfigObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MonitorAddonConfigParameters) DeepCopyInto(out *MonitorAddonConfigParameters) { +func (in *KubernetesNetworkConfigParameters) DeepCopyInto(out *KubernetesNetworkConfigParameters) { *out = *in - if in.Enable != nil { - in, out := &in.Enable, &out.Enable - *out = new(bool) - **out = **in - } - if in.LogAnalyticsWorkspaceID != nil { - in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + if in.ServiceCidr != nil { + in, out := &in.ServiceCidr, &out.ServiceCidr *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorAddonConfigParameters. -func (in *MonitorAddonConfigParameters) DeepCopy() *MonitorAddonConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesNetworkConfigParameters. +func (in *KubernetesNetworkConfigParameters) DeepCopy() *KubernetesNetworkConfigParameters { if in == nil { return nil } - out := new(MonitorAddonConfigParameters) + out := new(KubernetesNetworkConfigParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Namespace) DeepCopyInto(out *Namespace) { +func (in *Kubernetes_Secret) DeepCopyInto(out *Kubernetes_Secret) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -8171,18 +7968,18 @@ func (in *Namespace) DeepCopyInto(out *Namespace) { in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace. -func (in *Namespace) DeepCopy() *Namespace { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_Secret. +func (in *Kubernetes_Secret) DeepCopy() *Kubernetes_Secret { if in == nil { return nil } - out := new(Namespace) + out := new(Kubernetes_Secret) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Namespace) DeepCopyObject() runtime.Object { +func (in *Kubernetes_Secret) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -8190,31 +7987,31 @@ func (in *Namespace) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NamespaceList) DeepCopyInto(out *NamespaceList) { +func (in *Kubernetes_SecretList) DeepCopyInto(out *Kubernetes_SecretList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]Namespace, len(*in)) + *out = make([]Kubernetes_Secret, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceList. -func (in *NamespaceList) DeepCopy() *NamespaceList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretList. +func (in *Kubernetes_SecretList) DeepCopy() *Kubernetes_SecretList { if in == nil { return nil } - out := new(NamespaceList) + out := new(Kubernetes_SecretList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *NamespaceList) DeepCopyObject() runtime.Object { +func (in *Kubernetes_SecretList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -8222,7 +8019,7 @@ func (in *NamespaceList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NamespaceMetaObservation) DeepCopyInto(out *NamespaceMetaObservation) { +func (in *Kubernetes_SecretMetaObservation) DeepCopyInto(out *Kubernetes_SecretMetaObservation) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -8271,18 +8068,18 @@ func (in *NamespaceMetaObservation) DeepCopyInto(out *NamespaceMetaObservation) } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceMetaObservation. -func (in *NamespaceMetaObservation) DeepCopy() *NamespaceMetaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretMetaObservation. +func (in *Kubernetes_SecretMetaObservation) DeepCopy() *Kubernetes_SecretMetaObservation { if in == nil { return nil } - out := new(NamespaceMetaObservation) + out := new(Kubernetes_SecretMetaObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NamespaceMetaParameters) DeepCopyInto(out *NamespaceMetaParameters) { +func (in *Kubernetes_SecretMetaParameters) DeepCopyInto(out *Kubernetes_SecretMetaParameters) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -8321,57 +8118,22 @@ func (in *NamespaceMetaParameters) DeepCopyInto(out *NamespaceMetaParameters) { } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceMetaParameters. -func (in *NamespaceMetaParameters) DeepCopy() *NamespaceMetaParameters { - if in == nil { - return nil - } - out := new(NamespaceMetaParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NamespaceObservation) DeepCopyInto(out *NamespaceObservation) { - *out = *in - if in.ClusterName != nil { - in, out := &in.ClusterName, &out.ClusterName - *out = new(string) - **out = **in - } - if in.ManagementClusterName != nil { - in, out := &in.ManagementClusterName, &out.ManagementClusterName - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.ProvisionerName != nil { - in, out := &in.ProvisionerName, &out.ProvisionerName - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceObservation. -func (in *NamespaceObservation) DeepCopy() *NamespaceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretMetaParameters. +func (in *Kubernetes_SecretMetaParameters) DeepCopy() *Kubernetes_SecretMetaParameters { if in == nil { return nil } - out := new(NamespaceObservation) + out := new(Kubernetes_SecretMetaParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NamespaceObservation_2) DeepCopyInto(out *NamespaceObservation_2) { +func (in *Kubernetes_SecretObservation) DeepCopyInto(out *Kubernetes_SecretObservation) { *out = *in - if in.ClusterName != nil { - in, out := &in.ClusterName, &out.ClusterName - *out = new(string) + if in.Export != nil { + in, out := &in.Export, &out.Export + *out = new(bool) **out = **in } if in.ID != nil { @@ -8379,14 +8141,9 @@ func (in *NamespaceObservation_2) DeepCopyInto(out *NamespaceObservation_2) { *out = new(string) **out = **in } - if in.ManagementClusterName != nil { - in, out := &in.ManagementClusterName, &out.ManagementClusterName - *out = new(string) - **out = **in - } if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]NamespaceMetaObservation, len(*in)) + *out = make([]Kubernetes_SecretMetaObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -8396,14 +8153,26 @@ func (in *NamespaceObservation_2) DeepCopyInto(out *NamespaceObservation_2) { *out = new(string) **out = **in } - if in.ProvisionerName != nil { - in, out := &in.ProvisionerName, &out.ProvisionerName + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } + if in.OrgID != nil { + in, out := &in.OrgID, &out.OrgID *out = new(string) **out = **in } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = make([]Kubernetes_SecretScopeObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } if in.Spec != nil { in, out := &in.Spec, &out.Spec - *out = make([]NamespaceSpecObservation, len(*in)) + *out = make([]Kubernetes_SecretSpecObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -8425,871 +8194,896 @@ func (in *NamespaceObservation_2) DeepCopyInto(out *NamespaceObservation_2) { } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceObservation_2. -func (in *NamespaceObservation_2) DeepCopy() *NamespaceObservation_2 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretObservation. +func (in *Kubernetes_SecretObservation) DeepCopy() *Kubernetes_SecretObservation { if in == nil { return nil } - out := new(NamespaceObservation_2) + out := new(Kubernetes_SecretObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NamespaceParameters) DeepCopyInto(out *NamespaceParameters) { +func (in *Kubernetes_SecretParameters) DeepCopyInto(out *Kubernetes_SecretParameters) { *out = *in - if in.ClusterName != nil { - in, out := &in.ClusterName, &out.ClusterName - *out = new(string) + if in.Export != nil { + in, out := &in.Export, &out.Export + *out = new(bool) **out = **in } - if in.ManagementClusterName != nil { - in, out := &in.ManagementClusterName, &out.ManagementClusterName - *out = new(string) - **out = **in + if in.Meta != nil { + in, out := &in.Meta, &out.Meta + *out = make([]Kubernetes_SecretMetaParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.ProvisionerName != nil { - in, out := &in.ProvisionerName, &out.ProvisionerName - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceParameters. -func (in *NamespaceParameters) DeepCopy() *NamespaceParameters { - if in == nil { - return nil - } - out := new(NamespaceParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NamespaceParameters_2) DeepCopyInto(out *NamespaceParameters_2) { - *out = *in - if in.ClusterName != nil { - in, out := &in.ClusterName, &out.ClusterName + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName *out = new(string) **out = **in } - if in.ManagementClusterName != nil { - in, out := &in.ManagementClusterName, &out.ManagementClusterName + if in.OrgID != nil { + in, out := &in.OrgID, &out.OrgID *out = new(string) **out = **in } - if in.Meta != nil { - in, out := &in.Meta, &out.Meta - *out = make([]NamespaceMetaParameters, len(*in)) + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = make([]Kubernetes_SecretScopeParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.ProvisionerName != nil { - in, out := &in.ProvisionerName, &out.ProvisionerName - *out = new(string) - **out = **in - } if in.Spec != nil { in, out := &in.Spec, &out.Spec - *out = make([]NamespaceSpecParameters, len(*in)) + *out = make([]Kubernetes_SecretSpecParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceParameters_2. -func (in *NamespaceParameters_2) DeepCopy() *NamespaceParameters_2 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretParameters. +func (in *Kubernetes_SecretParameters) DeepCopy() *Kubernetes_SecretParameters { if in == nil { return nil } - out := new(NamespaceParameters_2) + out := new(Kubernetes_SecretParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NamespaceSelectorMatchExpressionsObservation) DeepCopyInto(out *NamespaceSelectorMatchExpressionsObservation) { +func (in *Kubernetes_SecretScopeClusterObservation) DeepCopyInto(out *Kubernetes_SecretScopeClusterObservation) { *out = *in - if in.Key != nil { - in, out := &in.Key, &out.Key + if in.ClusterName != nil { + in, out := &in.ClusterName, &out.ClusterName *out = new(string) **out = **in } - if in.Operator != nil { - in, out := &in.Operator, &out.Operator + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName *out = new(string) **out = **in } - if in.Values != nil { - in, out := &in.Values, &out.Values - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSelectorMatchExpressionsObservation. -func (in *NamespaceSelectorMatchExpressionsObservation) DeepCopy() *NamespaceSelectorMatchExpressionsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretScopeClusterObservation. +func (in *Kubernetes_SecretScopeClusterObservation) DeepCopy() *Kubernetes_SecretScopeClusterObservation { if in == nil { return nil } - out := new(NamespaceSelectorMatchExpressionsObservation) + out := new(Kubernetes_SecretScopeClusterObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NamespaceSelectorMatchExpressionsParameters) DeepCopyInto(out *NamespaceSelectorMatchExpressionsParameters) { +func (in *Kubernetes_SecretScopeClusterParameters) DeepCopyInto(out *Kubernetes_SecretScopeClusterParameters) { *out = *in - if in.Key != nil { - in, out := &in.Key, &out.Key + if in.ClusterName != nil { + in, out := &in.ClusterName, &out.ClusterName *out = new(string) **out = **in } - if in.Operator != nil { - in, out := &in.Operator, &out.Operator + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName *out = new(string) **out = **in } - if in.Values != nil { - in, out := &in.Values, &out.Values - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSelectorMatchExpressionsParameters. -func (in *NamespaceSelectorMatchExpressionsParameters) DeepCopy() *NamespaceSelectorMatchExpressionsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretScopeClusterParameters. +func (in *Kubernetes_SecretScopeClusterParameters) DeepCopy() *Kubernetes_SecretScopeClusterParameters { if in == nil { return nil } - out := new(NamespaceSelectorMatchExpressionsParameters) + out := new(Kubernetes_SecretScopeClusterParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NamespaceSelectorObservation) DeepCopyInto(out *NamespaceSelectorObservation) { +func (in *Kubernetes_SecretScopeObservation) DeepCopyInto(out *Kubernetes_SecretScopeObservation) { *out = *in - if in.MatchExpressions != nil { - in, out := &in.MatchExpressions, &out.MatchExpressions - *out = make([]MatchExpressionsObservation, len(*in)) + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = make([]Kubernetes_SecretScopeClusterObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSelectorObservation. -func (in *NamespaceSelectorObservation) DeepCopy() *NamespaceSelectorObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretScopeObservation. +func (in *Kubernetes_SecretScopeObservation) DeepCopy() *Kubernetes_SecretScopeObservation { if in == nil { return nil } - out := new(NamespaceSelectorObservation) + out := new(Kubernetes_SecretScopeObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NamespaceSelectorParameters) DeepCopyInto(out *NamespaceSelectorParameters) { +func (in *Kubernetes_SecretScopeParameters) DeepCopyInto(out *Kubernetes_SecretScopeParameters) { *out = *in - if in.MatchExpressions != nil { - in, out := &in.MatchExpressions, &out.MatchExpressions - *out = make([]MatchExpressionsParameters, len(*in)) + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = make([]Kubernetes_SecretScopeClusterParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSelectorParameters. -func (in *NamespaceSelectorParameters) DeepCopy() *NamespaceSelectorParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretScopeParameters. +func (in *Kubernetes_SecretScopeParameters) DeepCopy() *Kubernetes_SecretScopeParameters { if in == nil { return nil } - out := new(NamespaceSelectorParameters) + out := new(Kubernetes_SecretScopeParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NamespaceSpec) DeepCopyInto(out *NamespaceSpec) { +func (in *Kubernetes_SecretSpec) DeepCopyInto(out *Kubernetes_SecretSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSpec. -func (in *NamespaceSpec) DeepCopy() *NamespaceSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretSpec. +func (in *Kubernetes_SecretSpec) DeepCopy() *Kubernetes_SecretSpec { if in == nil { return nil } - out := new(NamespaceSpec) + out := new(Kubernetes_SecretSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NamespaceSpecObservation) DeepCopyInto(out *NamespaceSpecObservation) { +func (in *Kubernetes_SecretSpecObservation) DeepCopyInto(out *Kubernetes_SecretSpecObservation) { *out = *in - if in.Attach != nil { - in, out := &in.Attach, &out.Attach - *out = new(bool) - **out = **in - } - if in.WorkspaceName != nil { - in, out := &in.WorkspaceName, &out.WorkspaceName - *out = new(string) - **out = **in + if in.DockerConfigJSON != nil { + in, out := &in.DockerConfigJSON, &out.DockerConfigJSON + *out = make([]DockerConfigJSONObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSpecObservation. -func (in *NamespaceSpecObservation) DeepCopy() *NamespaceSpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretSpecObservation. +func (in *Kubernetes_SecretSpecObservation) DeepCopy() *Kubernetes_SecretSpecObservation { if in == nil { return nil } - out := new(NamespaceSpecObservation) + out := new(Kubernetes_SecretSpecObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NamespaceSpecParameters) DeepCopyInto(out *NamespaceSpecParameters) { +func (in *Kubernetes_SecretSpecParameters) DeepCopyInto(out *Kubernetes_SecretSpecParameters) { *out = *in - if in.Attach != nil { - in, out := &in.Attach, &out.Attach - *out = new(bool) - **out = **in - } - if in.WorkspaceName != nil { - in, out := &in.WorkspaceName, &out.WorkspaceName - *out = new(string) - **out = **in + if in.DockerConfigJSON != nil { + in, out := &in.DockerConfigJSON, &out.DockerConfigJSON + *out = make([]DockerConfigJSONParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSpecParameters. -func (in *NamespaceSpecParameters) DeepCopy() *NamespaceSpecParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretSpecParameters. +func (in *Kubernetes_SecretSpecParameters) DeepCopy() *Kubernetes_SecretSpecParameters { if in == nil { return nil } - out := new(NamespaceSpecParameters) + out := new(Kubernetes_SecretSpecParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NamespaceStatus) DeepCopyInto(out *NamespaceStatus) { +func (in *Kubernetes_SecretStatus) DeepCopyInto(out *Kubernetes_SecretStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceStatus. -func (in *NamespaceStatus) DeepCopy() *NamespaceStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes_SecretStatus. +func (in *Kubernetes_SecretStatus) DeepCopy() *Kubernetes_SecretStatus { if in == nil { return nil } - out := new(NamespaceStatus) + out := new(Kubernetes_SecretStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkClusterObservation) DeepCopyInto(out *NetworkClusterObservation) { +func (in *Kustomization) DeepCopyInto(out *Kustomization) { *out = *in - if in.APIServerPort != nil { - in, out := &in.APIServerPort, &out.APIServerPort - *out = new(float64) - **out = **in - } - if in.Pods != nil { - in, out := &in.Pods, &out.Pods - *out = make([]PodsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Services != nil { - in, out := &in.Services, &out.Services - *out = make([]ServicesObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } + 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 NetworkClusterObservation. -func (in *NetworkClusterObservation) DeepCopy() *NetworkClusterObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kustomization. +func (in *Kustomization) DeepCopy() *Kustomization { if in == nil { return nil } - out := new(NetworkClusterObservation) + out := new(Kustomization) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Kustomization) 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 *NetworkClusterParameters) DeepCopyInto(out *NetworkClusterParameters) { +func (in *KustomizationList) DeepCopyInto(out *KustomizationList) { *out = *in - if in.APIServerPort != nil { - in, out := &in.APIServerPort, &out.APIServerPort - *out = new(float64) - **out = **in - } - if in.Pods != nil { - in, out := &in.Pods, &out.Pods - *out = make([]PodsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Services != nil { - in, out := &in.Services, &out.Services - *out = make([]ServicesParameters, len(*in)) + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Kustomization, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkClusterParameters. -func (in *NetworkClusterParameters) DeepCopy() *NetworkClusterParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationList. +func (in *KustomizationList) DeepCopy() *KustomizationList { if in == nil { return nil } - out := new(NetworkClusterParameters) + out := new(KustomizationList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *KustomizationList) 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 *NetworkConfigObservation) DeepCopyInto(out *NetworkConfigObservation) { +func (in *KustomizationMetaObservation) DeepCopyInto(out *KustomizationMetaObservation) { *out = *in - if in.DNSPrefix != nil { - in, out := &in.DNSPrefix, &out.DNSPrefix - *out = new(string) - **out = **in + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } - if in.DNSServiceIP != nil { - in, out := &in.DNSServiceIP, &out.DNSServiceIP + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.DockerBridgeCidr != nil { - in, out := &in.DockerBridgeCidr, &out.DockerBridgeCidr - *out = new(string) - **out = **in + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } - if in.LoadBalancerSku != nil { - in, out := &in.LoadBalancerSku, &out.LoadBalancerSku + if in.ResourceVersion != nil { + in, out := &in.ResourceVersion, &out.ResourceVersion *out = new(string) **out = **in } - if in.NetworkPlugin != nil { - in, out := &in.NetworkPlugin, &out.NetworkPlugin + if in.UID != nil { + in, out := &in.UID, &out.UID *out = new(string) **out = **in } - if in.NetworkPolicy != nil { - in, out := &in.NetworkPolicy, &out.NetworkPolicy - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationMetaObservation. +func (in *KustomizationMetaObservation) DeepCopy() *KustomizationMetaObservation { + if in == nil { + return nil } - if in.PodCidr != nil { - in, out := &in.PodCidr, &out.PodCidr - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] + out := new(KustomizationMetaObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KustomizationMetaParameters) DeepCopyInto(out *KustomizationMetaParameters) { + *out = *in + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal *out = new(string) **out = **in } + (*out)[key] = outVal } } - if in.ServiceCidr != nil { - in, out := &in.ServiceCidr, &out.ServiceCidr - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal *out = new(string) **out = **in } + (*out)[key] = outVal } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigObservation. -func (in *NetworkConfigObservation) DeepCopy() *NetworkConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationMetaParameters. +func (in *KustomizationMetaParameters) DeepCopy() *KustomizationMetaParameters { if in == nil { return nil } - out := new(NetworkConfigObservation) + out := new(KustomizationMetaParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkConfigParameters) DeepCopyInto(out *NetworkConfigParameters) { +func (in *KustomizationObservation) DeepCopyInto(out *KustomizationObservation) { *out = *in - if in.DNSPrefix != nil { - in, out := &in.DNSPrefix, &out.DNSPrefix - *out = new(string) - **out = **in - } - if in.DNSServiceIP != nil { - in, out := &in.DNSServiceIP, &out.DNSServiceIP - *out = new(string) - **out = **in - } - if in.DockerBridgeCidr != nil { - in, out := &in.DockerBridgeCidr, &out.DockerBridgeCidr + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.LoadBalancerSku != nil { - in, out := &in.LoadBalancerSku, &out.LoadBalancerSku - *out = new(string) - **out = **in + if in.Meta != nil { + in, out := &in.Meta, &out.Meta + *out = make([]KustomizationMetaObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.NetworkPlugin != nil { - in, out := &in.NetworkPlugin, &out.NetworkPlugin + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.NetworkPolicy != nil { - in, out := &in.NetworkPolicy, &out.NetworkPolicy + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName *out = new(string) **out = **in } - if in.PodCidr != nil { - in, out := &in.PodCidr, &out.PodCidr - *out = make([]*string, len(*in)) + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = make([]KustomizationScopeObservation, len(*in)) for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } + (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.ServiceCidr != nil { - in, out := &in.ServiceCidr, &out.ServiceCidr - *out = make([]*string, len(*in)) + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]KustomizationSpecObservation, len(*in)) for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal *out = new(string) **out = **in } + (*out)[key] = outVal } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigParameters. -func (in *NetworkConfigParameters) DeepCopy() *NetworkConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationObservation. +func (in *KustomizationObservation) DeepCopy() *KustomizationObservation { if in == nil { return nil } - out := new(NetworkConfigParameters) + out := new(KustomizationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkObservation) DeepCopyInto(out *NetworkObservation) { +func (in *KustomizationParameters) DeepCopyInto(out *KustomizationParameters) { *out = *in - if in.Cluster != nil { - in, out := &in.Cluster, &out.Cluster - *out = make([]NetworkClusterObservation, len(*in)) + if in.Meta != nil { + in, out := &in.Meta, &out.Meta + *out = make([]KustomizationMetaParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Provider != nil { - in, out := &in.Provider, &out.Provider - *out = make([]ProviderObservation, len(*in)) + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = make([]KustomizationScopeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]KustomizationSpecParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkObservation. -func (in *NetworkObservation) DeepCopy() *NetworkObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationParameters. +func (in *KustomizationParameters) DeepCopy() *KustomizationParameters { if in == nil { return nil } - out := new(NetworkObservation) + out := new(KustomizationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkParameters) DeepCopyInto(out *NetworkParameters) { +func (in *KustomizationScopeClusterGroupObservation) DeepCopyInto(out *KustomizationScopeClusterGroupObservation) { *out = *in - if in.Cluster != nil { - in, out := &in.Cluster, &out.Cluster - *out = make([]NetworkClusterParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Provider != nil { - in, out := &in.Provider, &out.Provider - *out = make([]ProviderParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkParameters. -func (in *NetworkParameters) DeepCopy() *NetworkParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationScopeClusterGroupObservation. +func (in *KustomizationScopeClusterGroupObservation) DeepCopy() *KustomizationScopeClusterGroupObservation { if in == nil { return nil } - out := new(NetworkParameters) + out := new(KustomizationScopeClusterGroupObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkPodsObservation) DeepCopyInto(out *NetworkPodsObservation) { +func (in *KustomizationScopeClusterGroupParameters) DeepCopyInto(out *KustomizationScopeClusterGroupParameters) { *out = *in - if in.CidrBlocks != nil { - in, out := &in.CidrBlocks, &out.CidrBlocks - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPodsObservation. -func (in *NetworkPodsObservation) DeepCopy() *NetworkPodsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationScopeClusterGroupParameters. +func (in *KustomizationScopeClusterGroupParameters) DeepCopy() *KustomizationScopeClusterGroupParameters { if in == nil { return nil } - out := new(NetworkPodsObservation) + out := new(KustomizationScopeClusterGroupParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkPodsParameters) DeepCopyInto(out *NetworkPodsParameters) { +func (in *KustomizationScopeClusterObservation) DeepCopyInto(out *KustomizationScopeClusterObservation) { *out = *in - if in.CidrBlocks != nil { - in, out := &in.CidrBlocks, &out.CidrBlocks - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPodsParameters. -func (in *NetworkPodsParameters) DeepCopy() *NetworkPodsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationScopeClusterObservation. +func (in *KustomizationScopeClusterObservation) DeepCopy() *KustomizationScopeClusterObservation { if in == nil { return nil } - out := new(NetworkPodsParameters) + out := new(KustomizationScopeClusterObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkServicesObservation) DeepCopyInto(out *NetworkServicesObservation) { +func (in *KustomizationScopeClusterParameters) DeepCopyInto(out *KustomizationScopeClusterParameters) { *out = *in - if in.CidrBlocks != nil { - in, out := &in.CidrBlocks, &out.CidrBlocks - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesObservation. -func (in *NetworkServicesObservation) DeepCopy() *NetworkServicesObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationScopeClusterParameters. +func (in *KustomizationScopeClusterParameters) DeepCopy() *KustomizationScopeClusterParameters { if in == nil { return nil } - out := new(NetworkServicesObservation) + out := new(KustomizationScopeClusterParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkServicesParameters) DeepCopyInto(out *NetworkServicesParameters) { +func (in *KustomizationScopeObservation) DeepCopyInto(out *KustomizationScopeObservation) { *out = *in - if in.CidrBlocks != nil { - in, out := &in.CidrBlocks, &out.CidrBlocks - *out = make([]*string, len(*in)) + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = make([]KustomizationScopeClusterObservation, len(*in)) for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup + *out = make([]KustomizationScopeClusterGroupObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesParameters. -func (in *NetworkServicesParameters) DeepCopy() *NetworkServicesParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationScopeObservation. +func (in *KustomizationScopeObservation) DeepCopy() *KustomizationScopeObservation { if in == nil { return nil } - out := new(NetworkServicesParameters) + out := new(KustomizationScopeObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NodePlacementObservation) DeepCopyInto(out *NodePlacementObservation) { +func (in *KustomizationScopeParameters) DeepCopyInto(out *KustomizationScopeParameters) { *out = *in - if in.AwsAvailabilityZone != nil { - in, out := &in.AwsAvailabilityZone, &out.AwsAvailabilityZone - *out = new(string) - **out = **in + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = make([]KustomizationScopeClusterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup + *out = make([]KustomizationScopeClusterGroupParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePlacementObservation. -func (in *NodePlacementObservation) DeepCopy() *NodePlacementObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationScopeParameters. +func (in *KustomizationScopeParameters) DeepCopy() *KustomizationScopeParameters { if in == nil { return nil } - out := new(NodePlacementObservation) + out := new(KustomizationScopeParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NodePlacementParameters) DeepCopyInto(out *NodePlacementParameters) { +func (in *KustomizationSpec) DeepCopyInto(out *KustomizationSpec) { *out = *in - if in.AwsAvailabilityZone != nil { - in, out := &in.AwsAvailabilityZone, &out.AwsAvailabilityZone - *out = new(string) - **out = **in - } + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePlacementParameters. -func (in *NodePlacementParameters) DeepCopy() *NodePlacementParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationSpec. +func (in *KustomizationSpec) DeepCopy() *KustomizationSpec { if in == nil { return nil } - out := new(NodePlacementParameters) + out := new(KustomizationSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NodePoolsInfoObservation) DeepCopyInto(out *NodePoolsInfoObservation) { +func (in *KustomizationSpecObservation) DeepCopyInto(out *KustomizationSpecObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.Interval != nil { + in, out := &in.Interval, &out.Interval *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } + if in.Prune != nil { + in, out := &in.Prune, &out.Prune + *out = new(bool) + **out = **in + } + if in.Source != nil { + in, out := &in.Source, &out.Source + *out = make([]SourceObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TargetNamespace != nil { + in, out := &in.TargetNamespace, &out.TargetNamespace *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolsInfoObservation. -func (in *NodePoolsInfoObservation) DeepCopy() *NodePoolsInfoObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationSpecObservation. +func (in *KustomizationSpecObservation) DeepCopy() *KustomizationSpecObservation { if in == nil { return nil } - out := new(NodePoolsInfoObservation) + out := new(KustomizationSpecObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NodePoolsInfoParameters) DeepCopyInto(out *NodePoolsInfoParameters) { +func (in *KustomizationSpecParameters) DeepCopyInto(out *KustomizationSpecParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.Interval != nil { + in, out := &in.Interval, &out.Interval *out = new(string) **out = **in } - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } + if in.Prune != nil { + in, out := &in.Prune, &out.Prune + *out = new(bool) + **out = **in + } + if in.Source != nil { + in, out := &in.Source, &out.Source + *out = make([]SourceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TargetNamespace != nil { + in, out := &in.TargetNamespace, &out.TargetNamespace *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolsInfoParameters. -func (in *NodePoolsInfoParameters) DeepCopy() *NodePoolsInfoParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationSpecParameters. +func (in *KustomizationSpecParameters) DeepCopy() *KustomizationSpecParameters { if in == nil { return nil } - out := new(NodePoolsInfoParameters) + out := new(KustomizationSpecParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NodePoolsObservation) DeepCopyInto(out *NodePoolsObservation) { +func (in *KustomizationStatus) DeepCopyInto(out *KustomizationStatus) { *out = *in - if in.Info != nil { - in, out := &in.Info, &out.Info - *out = make([]InfoObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Spec != nil { - in, out := &in.Spec, &out.Spec - *out = make([]NodePoolsSpecObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolsObservation. -func (in *NodePoolsObservation) DeepCopy() *NodePoolsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationStatus. +func (in *KustomizationStatus) DeepCopy() *KustomizationStatus { if in == nil { return nil } - out := new(NodePoolsObservation) + out := new(KustomizationStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NodePoolsParameters) DeepCopyInto(out *NodePoolsParameters) { +func (in *LabelsObservation) DeepCopyInto(out *LabelsObservation) { *out = *in - if in.Info != nil { - in, out := &in.Info, &out.Info - *out = make([]InfoParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in } - if in.Spec != nil { - in, out := &in.Spec, &out.Spec - *out = make([]NodePoolsSpecParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolsParameters. -func (in *NodePoolsParameters) DeepCopy() *NodePoolsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelsObservation. +func (in *LabelsObservation) DeepCopy() *LabelsObservation { if in == nil { return nil } - out := new(NodePoolsParameters) + out := new(LabelsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NodePoolsSpecObservation) DeepCopyInto(out *NodePoolsSpecObservation) { +func (in *LabelsParameters) DeepCopyInto(out *LabelsParameters) { *out = *in - if in.TkgAws != nil { - in, out := &in.TkgAws, &out.TkgAws - *out = make([]SpecTkgAwsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in } - if in.WorkerNodeCount != nil { - in, out := &in.WorkerNodeCount, &out.WorkerNodeCount + if in.Value != nil { + in, out := &in.Value, &out.Value *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolsSpecObservation. -func (in *NodePoolsSpecObservation) DeepCopy() *NodePoolsSpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelsParameters. +func (in *LabelsParameters) DeepCopy() *LabelsParameters { if in == nil { return nil } - out := new(NodePoolsSpecObservation) + out := new(LabelsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NodePoolsSpecParameters) DeepCopyInto(out *NodePoolsSpecParameters) { +func (in *LargeObservation) DeepCopyInto(out *LargeObservation) { *out = *in - if in.TkgAws != nil { - in, out := &in.TkgAws, &out.TkgAws - *out = make([]SpecTkgAwsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.WorkerNodeCount != nil { - in, out := &in.WorkerNodeCount, &out.WorkerNodeCount - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LargeObservation. +func (in *LargeObservation) DeepCopy() *LargeObservation { + if in == nil { + return nil } + out := new(LargeObservation) + in.DeepCopyInto(out) + return out } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolsSpecParameters. -func (in *NodePoolsSpecParameters) DeepCopy() *NodePoolsSpecParameters { +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LargeParameters) DeepCopyInto(out *LargeParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LargeParameters. +func (in *LargeParameters) DeepCopy() *LargeParameters { if in == nil { return nil } - out := new(NodePoolsSpecParameters) + out := new(LargeParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NodepoolInfoObservation) DeepCopyInto(out *NodepoolInfoObservation) { +func (in *LaunchTemplateObservation) DeepCopyInto(out *LaunchTemplateObservation) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } @@ -9298,23 +9092,28 @@ func (in *NodepoolInfoObservation) DeepCopyInto(out *NodepoolInfoObservation) { *out = new(string) **out = **in } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodepoolInfoObservation. -func (in *NodepoolInfoObservation) DeepCopy() *NodepoolInfoObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateObservation. +func (in *LaunchTemplateObservation) DeepCopy() *LaunchTemplateObservation { if in == nil { return nil } - out := new(NodepoolInfoObservation) + out := new(LaunchTemplateObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NodepoolInfoParameters) DeepCopyInto(out *NodepoolInfoParameters) { +func (in *LaunchTemplateParameters) DeepCopyInto(out *LaunchTemplateParameters) { *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } @@ -9323,84 +9122,107 @@ func (in *NodepoolInfoParameters) DeepCopyInto(out *NodepoolInfoParameters) { *out = new(string) **out = **in } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodepoolInfoParameters. -func (in *NodepoolInfoParameters) DeepCopy() *NodepoolInfoParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateParameters. +func (in *LaunchTemplateParameters) DeepCopy() *LaunchTemplateParameters { if in == nil { return nil } - out := new(NodepoolInfoParameters) + out := new(LaunchTemplateParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NodepoolObservation) DeepCopyInto(out *NodepoolObservation) { +func (in *LinuxCapabilitiesObservation) DeepCopyInto(out *LinuxCapabilitiesObservation) { *out = *in - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in + if in.AllowedCapabilities != nil { + in, out := &in.AllowedCapabilities, &out.AllowedCapabilities + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.Spec != nil { - in, out := &in.Spec, &out.Spec - *out = make([]NodepoolSpecObservation, len(*in)) + if in.RequiredDropCapabilities != nil { + in, out := &in.RequiredDropCapabilities, &out.RequiredDropCapabilities + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodepoolObservation. -func (in *NodepoolObservation) DeepCopy() *NodepoolObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinuxCapabilitiesObservation. +func (in *LinuxCapabilitiesObservation) DeepCopy() *LinuxCapabilitiesObservation { if in == nil { return nil } - out := new(NodepoolObservation) + out := new(LinuxCapabilitiesObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NodepoolParameters) DeepCopyInto(out *NodepoolParameters) { +func (in *LinuxCapabilitiesParameters) DeepCopyInto(out *LinuxCapabilitiesParameters) { *out = *in - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in + if in.AllowedCapabilities != nil { + in, out := &in.AllowedCapabilities, &out.AllowedCapabilities + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.Spec != nil { - in, out := &in.Spec, &out.Spec - *out = make([]NodepoolSpecParameters, len(*in)) + if in.RequiredDropCapabilities != nil { + in, out := &in.RequiredDropCapabilities, &out.RequiredDropCapabilities + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodepoolParameters. -func (in *NodepoolParameters) DeepCopy() *NodepoolParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinuxCapabilitiesParameters. +func (in *LinuxCapabilitiesParameters) DeepCopy() *LinuxCapabilitiesParameters { if in == nil { return nil } - out := new(NodepoolParameters) + out := new(LinuxCapabilitiesParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NodepoolSpecObservation) DeepCopyInto(out *NodepoolSpecObservation) { +func (in *LinuxConfigObservation) DeepCopyInto(out *LinuxConfigObservation) { *out = *in - if in.AutoScalingConfig != nil { - in, out := &in.AutoScalingConfig, &out.AutoScalingConfig - *out = make([]AutoScalingConfigObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.AdminUsername != nil { + in, out := &in.AdminUsername, &out.AdminUsername + *out = new(string) + **out = **in } - if in.AvailabilityZones != nil { - in, out := &in.AvailabilityZones, &out.AvailabilityZones + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -9410,144 +9232,144 @@ func (in *NodepoolSpecObservation) DeepCopyInto(out *NodepoolSpecObservation) { } } } - if in.Count != nil { - in, out := &in.Count, &out.Count - *out = new(float64) - **out = **in - } - if in.EnableNodePublicIP != nil { - in, out := &in.EnableNodePublicIP, &out.EnableNodePublicIP - *out = new(bool) - **out = **in - } - if in.MaxPods != nil { - in, out := &in.MaxPods, &out.MaxPods - *out = new(float64) - **out = **in - } - if in.Mode != nil { - in, out := &in.Mode, &out.Mode - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinuxConfigObservation. +func (in *LinuxConfigObservation) DeepCopy() *LinuxConfigObservation { + if in == nil { + return nil } - if in.NodeImageVersion != nil { - in, out := &in.NodeImageVersion, &out.NodeImageVersion + out := new(LinuxConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinuxConfigParameters) DeepCopyInto(out *LinuxConfigParameters) { + *out = *in + if in.AdminUsername != nil { + in, out := &in.AdminUsername, &out.AdminUsername *out = new(string) **out = **in } - if in.NodeLabels != nil { - in, out := &in.NodeLabels, &out.NodeLabels - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } - (*out)[key] = outVal } } - if in.OsDiskSizeGb != nil { - in, out := &in.OsDiskSizeGb, &out.OsDiskSizeGb - *out = new(float64) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinuxConfigParameters. +func (in *LinuxConfigParameters) DeepCopy() *LinuxConfigParameters { + if in == nil { + return nil + } + out := new(LinuxConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LoggingObservation) DeepCopyInto(out *LoggingObservation) { + *out = *in + if in.APIServer != nil { + in, out := &in.APIServer, &out.APIServer + *out = new(bool) **out = **in } - if in.OsDiskType != nil { - in, out := &in.OsDiskType, &out.OsDiskType - *out = new(string) + if in.Audit != nil { + in, out := &in.Audit, &out.Audit + *out = new(bool) **out = **in } - if in.OsType != nil { - in, out := &in.OsType, &out.OsType - *out = new(string) - **out = **in - } - if in.ScaleSetEvictionPolicy != nil { - in, out := &in.ScaleSetEvictionPolicy, &out.ScaleSetEvictionPolicy - *out = new(string) + if in.Authenticator != nil { + in, out := &in.Authenticator, &out.Authenticator + *out = new(bool) **out = **in } - if in.ScaleSetPriority != nil { - in, out := &in.ScaleSetPriority, &out.ScaleSetPriority - *out = new(string) + if in.ControllerManager != nil { + in, out := &in.ControllerManager, &out.ControllerManager + *out = new(bool) **out = **in } - if in.SpotMaxPrice != nil { - in, out := &in.SpotMaxPrice, &out.SpotMaxPrice - *out = new(float64) + if in.Scheduler != nil { + in, out := &in.Scheduler, &out.Scheduler + *out = new(bool) **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingObservation. +func (in *LoggingObservation) DeepCopy() *LoggingObservation { + if in == nil { + return nil } - if in.Taints != nil { - in, out := &in.Taints, &out.Taints - *out = make([]TaintsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + out := new(LoggingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LoggingParameters) DeepCopyInto(out *LoggingParameters) { + *out = *in + if in.APIServer != nil { + in, out := &in.APIServer, &out.APIServer + *out = new(bool) + **out = **in } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) + if in.Audit != nil { + in, out := &in.Audit, &out.Audit + *out = new(bool) **out = **in } - if in.UpgradeConfig != nil { - in, out := &in.UpgradeConfig, &out.UpgradeConfig - *out = make([]UpgradeConfigObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Authenticator != nil { + in, out := &in.Authenticator, &out.Authenticator + *out = new(bool) + **out = **in } - if in.VMSize != nil { - in, out := &in.VMSize, &out.VMSize - *out = new(string) + if in.ControllerManager != nil { + in, out := &in.ControllerManager, &out.ControllerManager + *out = new(bool) **out = **in } - if in.VnetSubnetID != nil { - in, out := &in.VnetSubnetID, &out.VnetSubnetID - *out = new(string) + if in.Scheduler != nil { + in, out := &in.Scheduler, &out.Scheduler + *out = new(bool) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodepoolSpecObservation. -func (in *NodepoolSpecObservation) DeepCopy() *NodepoolSpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingParameters. +func (in *LoggingParameters) DeepCopy() *LoggingParameters { if in == nil { return nil } - out := new(NodepoolSpecObservation) + out := new(LoggingParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NodepoolSpecParameters) DeepCopyInto(out *NodepoolSpecParameters) { +func (in *MatchExpressionsObservation) DeepCopyInto(out *MatchExpressionsObservation) { *out = *in - if in.AutoScalingConfig != nil { - in, out := &in.AutoScalingConfig, &out.AutoScalingConfig - *out = make([]AutoScalingConfigParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in } - if in.AvailabilityZones != nil { - in, out := &in.AvailabilityZones, &out.AvailabilityZones + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -9557,33 +9379,89 @@ func (in *NodepoolSpecParameters) DeepCopyInto(out *NodepoolSpecParameters) { } } } - if in.Count != nil { - in, out := &in.Count, &out.Count - *out = new(float64) - **out = **in - } - if in.EnableNodePublicIP != nil { - in, out := &in.EnableNodePublicIP, &out.EnableNodePublicIP - *out = new(bool) - **out = **in - } - if in.MaxPods != nil { - in, out := &in.MaxPods, &out.MaxPods - *out = new(float64) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchExpressionsObservation. +func (in *MatchExpressionsObservation) DeepCopy() *MatchExpressionsObservation { + if in == nil { + return nil } - if in.Mode != nil { - in, out := &in.Mode, &out.Mode + out := new(MatchExpressionsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MatchExpressionsParameters) DeepCopyInto(out *MatchExpressionsParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key *out = new(string) **out = **in } - if in.NodeImageVersion != nil { - in, out := &in.NodeImageVersion, &out.NodeImageVersion + if in.Operator != nil { + in, out := &in.Operator, &out.Operator *out = new(string) **out = **in } - if in.NodeLabels != nil { - in, out := &in.NodeLabels, &out.NodeLabels + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchExpressionsParameters. +func (in *MatchExpressionsParameters) DeepCopy() *MatchExpressionsParameters { + if in == nil { + return nil + } + out := new(MatchExpressionsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MediumObservation) DeepCopyInto(out *MediumObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MediumObservation. +func (in *MediumObservation) DeepCopy() *MediumObservation { + if in == nil { + return nil + } + out := new(MediumObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MediumParameters) DeepCopyInto(out *MediumParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MediumParameters. +func (in *MediumParameters) DeepCopy() *MediumParameters { + if in == nil { + return nil + } + out := new(MediumParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetaObservation) DeepCopyInto(out *MetaObservation) { + *out = *in + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations *out = make(map[string]*string, len(*in)) for key, val := range *in { var outVal *string @@ -9597,38 +9475,13 @@ func (in *NodepoolSpecParameters) DeepCopyInto(out *NodepoolSpecParameters) { (*out)[key] = outVal } } - if in.OsDiskSizeGb != nil { - in, out := &in.OsDiskSizeGb, &out.OsDiskSizeGb - *out = new(float64) - **out = **in - } - if in.OsDiskType != nil { - in, out := &in.OsDiskType, &out.OsDiskType - *out = new(string) - **out = **in - } - if in.OsType != nil { - in, out := &in.OsType, &out.OsType - *out = new(string) - **out = **in - } - if in.ScaleSetEvictionPolicy != nil { - in, out := &in.ScaleSetEvictionPolicy, &out.ScaleSetEvictionPolicy - *out = new(string) - **out = **in - } - if in.ScaleSetPriority != nil { - in, out := &in.ScaleSetPriority, &out.ScaleSetPriority + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.SpotMaxPrice != nil { - in, out := &in.SpotMaxPrice, &out.SpotMaxPrice - *out = new(float64) - **out = **in - } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags + if in.Labels != nil { + in, out := &in.Labels, &out.Labels *out = make(map[string]*string, len(*in)) for key, val := range *in { var outVal *string @@ -9642,921 +9495,7121 @@ func (in *NodepoolSpecParameters) DeepCopyInto(out *NodepoolSpecParameters) { (*out)[key] = outVal } } - if in.Taints != nil { - in, out := &in.Taints, &out.Taints - *out = make([]TaintsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.ResourceVersion != nil { + in, out := &in.ResourceVersion, &out.ResourceVersion *out = new(string) **out = **in } - if in.UpgradeConfig != nil { - in, out := &in.UpgradeConfig, &out.UpgradeConfig - *out = make([]UpgradeConfigParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.UID != nil { + in, out := &in.UID, &out.UID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetaObservation. +func (in *MetaObservation) DeepCopy() *MetaObservation { + if in == nil { + return nil + } + out := new(MetaObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetaParameters) DeepCopyInto(out *MetaParameters) { + *out = *in + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetaParameters. +func (in *MetaParameters) DeepCopy() *MetaParameters { + if in == nil { + return nil + } + out := new(MetaParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MonitorAddonConfigObservation) DeepCopyInto(out *MonitorAddonConfigObservation) { + *out = *in + if in.Enable != nil { + in, out := &in.Enable, &out.Enable + *out = new(bool) + **out = **in + } + if in.LogAnalyticsWorkspaceID != nil { + in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorAddonConfigObservation. +func (in *MonitorAddonConfigObservation) DeepCopy() *MonitorAddonConfigObservation { + if in == nil { + return nil + } + out := new(MonitorAddonConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MonitorAddonConfigParameters) DeepCopyInto(out *MonitorAddonConfigParameters) { + *out = *in + if in.Enable != nil { + in, out := &in.Enable, &out.Enable + *out = new(bool) + **out = **in + } + if in.LogAnalyticsWorkspaceID != nil { + in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorAddonConfigParameters. +func (in *MonitorAddonConfigParameters) DeepCopy() *MonitorAddonConfigParameters { + if in == nil { + return nil + } + out := new(MonitorAddonConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace) DeepCopyInto(out *Namespace) { + *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 Namespace. +func (in *Namespace) DeepCopy() *Namespace { + if in == nil { + return nil + } + out := new(Namespace) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Namespace) 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 *NamespaceList) DeepCopyInto(out *NamespaceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Namespace, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceList. +func (in *NamespaceList) DeepCopy() *NamespaceList { + if in == nil { + return nil + } + out := new(NamespaceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NamespaceList) 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 *NamespaceMetaObservation) DeepCopyInto(out *NamespaceMetaObservation) { + *out = *in + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceVersion != nil { + in, out := &in.ResourceVersion, &out.ResourceVersion + *out = new(string) + **out = **in + } + if in.UID != nil { + in, out := &in.UID, &out.UID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceMetaObservation. +func (in *NamespaceMetaObservation) DeepCopy() *NamespaceMetaObservation { + if in == nil { + return nil + } + out := new(NamespaceMetaObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceMetaParameters) DeepCopyInto(out *NamespaceMetaParameters) { + *out = *in + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceMetaParameters. +func (in *NamespaceMetaParameters) DeepCopy() *NamespaceMetaParameters { + if in == nil { + return nil + } + out := new(NamespaceMetaParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceObservation) DeepCopyInto(out *NamespaceObservation) { + *out = *in + if in.ClusterName != nil { + in, out := &in.ClusterName, &out.ClusterName + *out = new(string) + **out = **in + } + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceObservation. +func (in *NamespaceObservation) DeepCopy() *NamespaceObservation { + if in == nil { + return nil + } + out := new(NamespaceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceObservation_2) DeepCopyInto(out *NamespaceObservation_2) { + *out = *in + if in.ClusterName != nil { + in, out := &in.ClusterName, &out.ClusterName + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName + *out = new(string) + **out = **in + } + if in.Meta != nil { + in, out := &in.Meta, &out.Meta + *out = make([]NamespaceMetaObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) + **out = **in + } + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]NamespaceSpecObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceObservation_2. +func (in *NamespaceObservation_2) DeepCopy() *NamespaceObservation_2 { + if in == nil { + return nil + } + out := new(NamespaceObservation_2) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceParameters) DeepCopyInto(out *NamespaceParameters) { + *out = *in + if in.ClusterName != nil { + in, out := &in.ClusterName, &out.ClusterName + *out = new(string) + **out = **in + } + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceParameters. +func (in *NamespaceParameters) DeepCopy() *NamespaceParameters { + if in == nil { + return nil + } + out := new(NamespaceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceParameters_2) DeepCopyInto(out *NamespaceParameters_2) { + *out = *in + if in.ClusterName != nil { + in, out := &in.ClusterName, &out.ClusterName + *out = new(string) + **out = **in + } + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName + *out = new(string) + **out = **in + } + if in.Meta != nil { + in, out := &in.Meta, &out.Meta + *out = make([]NamespaceMetaParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) + **out = **in + } + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]NamespaceSpecParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceParameters_2. +func (in *NamespaceParameters_2) DeepCopy() *NamespaceParameters_2 { + if in == nil { + return nil + } + out := new(NamespaceParameters_2) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceSelectorMatchExpressionsObservation) DeepCopyInto(out *NamespaceSelectorMatchExpressionsObservation) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSelectorMatchExpressionsObservation. +func (in *NamespaceSelectorMatchExpressionsObservation) DeepCopy() *NamespaceSelectorMatchExpressionsObservation { + if in == nil { + return nil + } + out := new(NamespaceSelectorMatchExpressionsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceSelectorMatchExpressionsParameters) DeepCopyInto(out *NamespaceSelectorMatchExpressionsParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSelectorMatchExpressionsParameters. +func (in *NamespaceSelectorMatchExpressionsParameters) DeepCopy() *NamespaceSelectorMatchExpressionsParameters { + if in == nil { + return nil + } + out := new(NamespaceSelectorMatchExpressionsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceSelectorObservation) DeepCopyInto(out *NamespaceSelectorObservation) { + *out = *in + if in.MatchExpressions != nil { + in, out := &in.MatchExpressions, &out.MatchExpressions + *out = make([]MatchExpressionsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSelectorObservation. +func (in *NamespaceSelectorObservation) DeepCopy() *NamespaceSelectorObservation { + if in == nil { + return nil + } + out := new(NamespaceSelectorObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceSelectorParameters) DeepCopyInto(out *NamespaceSelectorParameters) { + *out = *in + if in.MatchExpressions != nil { + in, out := &in.MatchExpressions, &out.MatchExpressions + *out = make([]MatchExpressionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSelectorParameters. +func (in *NamespaceSelectorParameters) DeepCopy() *NamespaceSelectorParameters { + if in == nil { + return nil + } + out := new(NamespaceSelectorParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceSpec) DeepCopyInto(out *NamespaceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSpec. +func (in *NamespaceSpec) DeepCopy() *NamespaceSpec { + if in == nil { + return nil + } + out := new(NamespaceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceSpecObservation) DeepCopyInto(out *NamespaceSpecObservation) { + *out = *in + if in.Attach != nil { + in, out := &in.Attach, &out.Attach + *out = new(bool) + **out = **in + } + if in.WorkspaceName != nil { + in, out := &in.WorkspaceName, &out.WorkspaceName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSpecObservation. +func (in *NamespaceSpecObservation) DeepCopy() *NamespaceSpecObservation { + if in == nil { + return nil + } + out := new(NamespaceSpecObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceSpecParameters) DeepCopyInto(out *NamespaceSpecParameters) { + *out = *in + if in.Attach != nil { + in, out := &in.Attach, &out.Attach + *out = new(bool) + **out = **in + } + if in.WorkspaceName != nil { + in, out := &in.WorkspaceName, &out.WorkspaceName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSpecParameters. +func (in *NamespaceSpecParameters) DeepCopy() *NamespaceSpecParameters { + if in == nil { + return nil + } + out := new(NamespaceSpecParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceStatus) DeepCopyInto(out *NamespaceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceStatus. +func (in *NamespaceStatus) DeepCopy() *NamespaceStatus { + if in == nil { + return nil + } + out := new(NamespaceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace_Quota_Policy) DeepCopyInto(out *Namespace_Quota_Policy) { + *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 Namespace_Quota_Policy. +func (in *Namespace_Quota_Policy) DeepCopy() *Namespace_Quota_Policy { + if in == nil { + return nil + } + out := new(Namespace_Quota_Policy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Namespace_Quota_Policy) 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 *Namespace_Quota_PolicyList) DeepCopyInto(out *Namespace_Quota_PolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Namespace_Quota_Policy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyList. +func (in *Namespace_Quota_PolicyList) DeepCopy() *Namespace_Quota_PolicyList { + if in == nil { + return nil + } + out := new(Namespace_Quota_PolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Namespace_Quota_PolicyList) 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 *Namespace_Quota_PolicyMetaObservation) DeepCopyInto(out *Namespace_Quota_PolicyMetaObservation) { + *out = *in + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceVersion != nil { + in, out := &in.ResourceVersion, &out.ResourceVersion + *out = new(string) + **out = **in + } + if in.UID != nil { + in, out := &in.UID, &out.UID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyMetaObservation. +func (in *Namespace_Quota_PolicyMetaObservation) DeepCopy() *Namespace_Quota_PolicyMetaObservation { + if in == nil { + return nil + } + out := new(Namespace_Quota_PolicyMetaObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace_Quota_PolicyMetaParameters) DeepCopyInto(out *Namespace_Quota_PolicyMetaParameters) { + *out = *in + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyMetaParameters. +func (in *Namespace_Quota_PolicyMetaParameters) DeepCopy() *Namespace_Quota_PolicyMetaParameters { + if in == nil { + return nil + } + out := new(Namespace_Quota_PolicyMetaParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace_Quota_PolicyObservation) DeepCopyInto(out *Namespace_Quota_PolicyObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Meta != nil { + in, out := &in.Meta, &out.Meta + *out = make([]Namespace_Quota_PolicyMetaObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = make([]Namespace_Quota_PolicyScopeObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]Namespace_Quota_PolicySpecObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyObservation. +func (in *Namespace_Quota_PolicyObservation) DeepCopy() *Namespace_Quota_PolicyObservation { + if in == nil { + return nil + } + out := new(Namespace_Quota_PolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace_Quota_PolicyParameters) DeepCopyInto(out *Namespace_Quota_PolicyParameters) { + *out = *in + if in.Meta != nil { + in, out := &in.Meta, &out.Meta + *out = make([]Namespace_Quota_PolicyMetaParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = make([]Namespace_Quota_PolicyScopeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]Namespace_Quota_PolicySpecParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyParameters. +func (in *Namespace_Quota_PolicyParameters) DeepCopy() *Namespace_Quota_PolicyParameters { + if in == nil { + return nil + } + out := new(Namespace_Quota_PolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace_Quota_PolicyScopeClusterGroupObservation) DeepCopyInto(out *Namespace_Quota_PolicyScopeClusterGroupObservation) { + *out = *in + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyScopeClusterGroupObservation. +func (in *Namespace_Quota_PolicyScopeClusterGroupObservation) DeepCopy() *Namespace_Quota_PolicyScopeClusterGroupObservation { + if in == nil { + return nil + } + out := new(Namespace_Quota_PolicyScopeClusterGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace_Quota_PolicyScopeClusterGroupParameters) DeepCopyInto(out *Namespace_Quota_PolicyScopeClusterGroupParameters) { + *out = *in + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyScopeClusterGroupParameters. +func (in *Namespace_Quota_PolicyScopeClusterGroupParameters) DeepCopy() *Namespace_Quota_PolicyScopeClusterGroupParameters { + if in == nil { + return nil + } + out := new(Namespace_Quota_PolicyScopeClusterGroupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace_Quota_PolicyScopeClusterObservation) DeepCopyInto(out *Namespace_Quota_PolicyScopeClusterObservation) { + *out = *in + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyScopeClusterObservation. +func (in *Namespace_Quota_PolicyScopeClusterObservation) DeepCopy() *Namespace_Quota_PolicyScopeClusterObservation { + if in == nil { + return nil + } + out := new(Namespace_Quota_PolicyScopeClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace_Quota_PolicyScopeClusterParameters) DeepCopyInto(out *Namespace_Quota_PolicyScopeClusterParameters) { + *out = *in + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyScopeClusterParameters. +func (in *Namespace_Quota_PolicyScopeClusterParameters) DeepCopy() *Namespace_Quota_PolicyScopeClusterParameters { + if in == nil { + return nil + } + out := new(Namespace_Quota_PolicyScopeClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace_Quota_PolicyScopeObservation) DeepCopyInto(out *Namespace_Quota_PolicyScopeObservation) { + *out = *in + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = make([]Namespace_Quota_PolicyScopeClusterObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup + *out = make([]Namespace_Quota_PolicyScopeClusterGroupObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Organization != nil { + in, out := &in.Organization, &out.Organization + *out = make([]Namespace_Quota_PolicyScopeOrganizationObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Workspace != nil { + in, out := &in.Workspace, &out.Workspace + *out = make([]Namespace_Quota_PolicyScopeWorkspaceObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyScopeObservation. +func (in *Namespace_Quota_PolicyScopeObservation) DeepCopy() *Namespace_Quota_PolicyScopeObservation { + if in == nil { + return nil + } + out := new(Namespace_Quota_PolicyScopeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace_Quota_PolicyScopeOrganizationObservation) DeepCopyInto(out *Namespace_Quota_PolicyScopeOrganizationObservation) { + *out = *in + if in.Organization != nil { + in, out := &in.Organization, &out.Organization + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyScopeOrganizationObservation. +func (in *Namespace_Quota_PolicyScopeOrganizationObservation) DeepCopy() *Namespace_Quota_PolicyScopeOrganizationObservation { + if in == nil { + return nil + } + out := new(Namespace_Quota_PolicyScopeOrganizationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace_Quota_PolicyScopeOrganizationParameters) DeepCopyInto(out *Namespace_Quota_PolicyScopeOrganizationParameters) { + *out = *in + if in.Organization != nil { + in, out := &in.Organization, &out.Organization + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyScopeOrganizationParameters. +func (in *Namespace_Quota_PolicyScopeOrganizationParameters) DeepCopy() *Namespace_Quota_PolicyScopeOrganizationParameters { + if in == nil { + return nil + } + out := new(Namespace_Quota_PolicyScopeOrganizationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace_Quota_PolicyScopeParameters) DeepCopyInto(out *Namespace_Quota_PolicyScopeParameters) { + *out = *in + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = make([]Namespace_Quota_PolicyScopeClusterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup + *out = make([]Namespace_Quota_PolicyScopeClusterGroupParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Organization != nil { + in, out := &in.Organization, &out.Organization + *out = make([]Namespace_Quota_PolicyScopeOrganizationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Workspace != nil { + in, out := &in.Workspace, &out.Workspace + *out = make([]Namespace_Quota_PolicyScopeWorkspaceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyScopeParameters. +func (in *Namespace_Quota_PolicyScopeParameters) DeepCopy() *Namespace_Quota_PolicyScopeParameters { + if in == nil { + return nil + } + out := new(Namespace_Quota_PolicyScopeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace_Quota_PolicyScopeWorkspaceObservation) DeepCopyInto(out *Namespace_Quota_PolicyScopeWorkspaceObservation) { + *out = *in + if in.Workspace != nil { + in, out := &in.Workspace, &out.Workspace + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyScopeWorkspaceObservation. +func (in *Namespace_Quota_PolicyScopeWorkspaceObservation) DeepCopy() *Namespace_Quota_PolicyScopeWorkspaceObservation { + if in == nil { + return nil + } + out := new(Namespace_Quota_PolicyScopeWorkspaceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace_Quota_PolicyScopeWorkspaceParameters) DeepCopyInto(out *Namespace_Quota_PolicyScopeWorkspaceParameters) { + *out = *in + if in.Workspace != nil { + in, out := &in.Workspace, &out.Workspace + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyScopeWorkspaceParameters. +func (in *Namespace_Quota_PolicyScopeWorkspaceParameters) DeepCopy() *Namespace_Quota_PolicyScopeWorkspaceParameters { + if in == nil { + return nil + } + out := new(Namespace_Quota_PolicyScopeWorkspaceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace_Quota_PolicySpec) DeepCopyInto(out *Namespace_Quota_PolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicySpec. +func (in *Namespace_Quota_PolicySpec) DeepCopy() *Namespace_Quota_PolicySpec { + if in == nil { + return nil + } + out := new(Namespace_Quota_PolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace_Quota_PolicySpecInputObservation) DeepCopyInto(out *Namespace_Quota_PolicySpecInputObservation) { + *out = *in + if in.Custom != nil { + in, out := &in.Custom, &out.Custom + *out = make([]InputCustomObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Large != nil { + in, out := &in.Large, &out.Large + *out = make([]LargeParameters, len(*in)) + copy(*out, *in) + } + if in.Medium != nil { + in, out := &in.Medium, &out.Medium + *out = make([]MediumParameters, len(*in)) + copy(*out, *in) + } + if in.Small != nil { + in, out := &in.Small, &out.Small + *out = make([]SmallParameters, len(*in)) + copy(*out, *in) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicySpecInputObservation. +func (in *Namespace_Quota_PolicySpecInputObservation) DeepCopy() *Namespace_Quota_PolicySpecInputObservation { + if in == nil { + return nil + } + out := new(Namespace_Quota_PolicySpecInputObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace_Quota_PolicySpecInputParameters) DeepCopyInto(out *Namespace_Quota_PolicySpecInputParameters) { + *out = *in + if in.Custom != nil { + in, out := &in.Custom, &out.Custom + *out = make([]InputCustomParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Large != nil { + in, out := &in.Large, &out.Large + *out = make([]LargeParameters, len(*in)) + copy(*out, *in) + } + if in.Medium != nil { + in, out := &in.Medium, &out.Medium + *out = make([]MediumParameters, len(*in)) + copy(*out, *in) + } + if in.Small != nil { + in, out := &in.Small, &out.Small + *out = make([]SmallParameters, len(*in)) + copy(*out, *in) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicySpecInputParameters. +func (in *Namespace_Quota_PolicySpecInputParameters) DeepCopy() *Namespace_Quota_PolicySpecInputParameters { + if in == nil { + return nil + } + out := new(Namespace_Quota_PolicySpecInputParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace_Quota_PolicySpecNamespaceSelectorObservation) DeepCopyInto(out *Namespace_Quota_PolicySpecNamespaceSelectorObservation) { + *out = *in + if in.MatchExpressions != nil { + in, out := &in.MatchExpressions, &out.MatchExpressions + *out = make([]SpecNamespaceSelectorMatchExpressionsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicySpecNamespaceSelectorObservation. +func (in *Namespace_Quota_PolicySpecNamespaceSelectorObservation) DeepCopy() *Namespace_Quota_PolicySpecNamespaceSelectorObservation { + if in == nil { + return nil + } + out := new(Namespace_Quota_PolicySpecNamespaceSelectorObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace_Quota_PolicySpecNamespaceSelectorParameters) DeepCopyInto(out *Namespace_Quota_PolicySpecNamespaceSelectorParameters) { + *out = *in + if in.MatchExpressions != nil { + in, out := &in.MatchExpressions, &out.MatchExpressions + *out = make([]SpecNamespaceSelectorMatchExpressionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicySpecNamespaceSelectorParameters. +func (in *Namespace_Quota_PolicySpecNamespaceSelectorParameters) DeepCopy() *Namespace_Quota_PolicySpecNamespaceSelectorParameters { + if in == nil { + return nil + } + out := new(Namespace_Quota_PolicySpecNamespaceSelectorParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace_Quota_PolicySpecObservation) DeepCopyInto(out *Namespace_Quota_PolicySpecObservation) { + *out = *in + if in.Input != nil { + in, out := &in.Input, &out.Input + *out = make([]Namespace_Quota_PolicySpecInputObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NamespaceSelector != nil { + in, out := &in.NamespaceSelector, &out.NamespaceSelector + *out = make([]Namespace_Quota_PolicySpecNamespaceSelectorObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicySpecObservation. +func (in *Namespace_Quota_PolicySpecObservation) DeepCopy() *Namespace_Quota_PolicySpecObservation { + if in == nil { + return nil + } + out := new(Namespace_Quota_PolicySpecObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace_Quota_PolicySpecParameters) DeepCopyInto(out *Namespace_Quota_PolicySpecParameters) { + *out = *in + if in.Input != nil { + in, out := &in.Input, &out.Input + *out = make([]Namespace_Quota_PolicySpecInputParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NamespaceSelector != nil { + in, out := &in.NamespaceSelector, &out.NamespaceSelector + *out = make([]Namespace_Quota_PolicySpecNamespaceSelectorParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicySpecParameters. +func (in *Namespace_Quota_PolicySpecParameters) DeepCopy() *Namespace_Quota_PolicySpecParameters { + if in == nil { + return nil + } + out := new(Namespace_Quota_PolicySpecParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace_Quota_PolicyStatus) DeepCopyInto(out *Namespace_Quota_PolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyStatus. +func (in *Namespace_Quota_PolicyStatus) DeepCopy() *Namespace_Quota_PolicyStatus { + if in == nil { + return nil + } + out := new(Namespace_Quota_PolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkClusterObservation) DeepCopyInto(out *NetworkClusterObservation) { + *out = *in + if in.APIServerPort != nil { + in, out := &in.APIServerPort, &out.APIServerPort + *out = new(float64) + **out = **in + } + if in.Pods != nil { + in, out := &in.Pods, &out.Pods + *out = make([]PodsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Services != nil { + in, out := &in.Services, &out.Services + *out = make([]ServicesObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkClusterObservation. +func (in *NetworkClusterObservation) DeepCopy() *NetworkClusterObservation { + if in == nil { + return nil + } + out := new(NetworkClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkClusterParameters) DeepCopyInto(out *NetworkClusterParameters) { + *out = *in + if in.APIServerPort != nil { + in, out := &in.APIServerPort, &out.APIServerPort + *out = new(float64) + **out = **in + } + if in.Pods != nil { + in, out := &in.Pods, &out.Pods + *out = make([]PodsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Services != nil { + in, out := &in.Services, &out.Services + *out = make([]ServicesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkClusterParameters. +func (in *NetworkClusterParameters) DeepCopy() *NetworkClusterParameters { + if in == nil { + return nil + } + out := new(NetworkClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkConfigObservation) DeepCopyInto(out *NetworkConfigObservation) { + *out = *in + if in.DNSPrefix != nil { + in, out := &in.DNSPrefix, &out.DNSPrefix + *out = new(string) + **out = **in + } + if in.DNSServiceIP != nil { + in, out := &in.DNSServiceIP, &out.DNSServiceIP + *out = new(string) + **out = **in + } + if in.DockerBridgeCidr != nil { + in, out := &in.DockerBridgeCidr, &out.DockerBridgeCidr + *out = new(string) + **out = **in + } + if in.LoadBalancerSku != nil { + in, out := &in.LoadBalancerSku, &out.LoadBalancerSku + *out = new(string) + **out = **in + } + if in.NetworkPlugin != nil { + in, out := &in.NetworkPlugin, &out.NetworkPlugin + *out = new(string) + **out = **in + } + if in.NetworkPolicy != nil { + in, out := &in.NetworkPolicy, &out.NetworkPolicy + *out = new(string) + **out = **in + } + if in.PodCidr != nil { + in, out := &in.PodCidr, &out.PodCidr + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ServiceCidr != nil { + in, out := &in.ServiceCidr, &out.ServiceCidr + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigObservation. +func (in *NetworkConfigObservation) DeepCopy() *NetworkConfigObservation { + if in == nil { + return nil + } + out := new(NetworkConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkConfigParameters) DeepCopyInto(out *NetworkConfigParameters) { + *out = *in + if in.DNSPrefix != nil { + in, out := &in.DNSPrefix, &out.DNSPrefix + *out = new(string) + **out = **in + } + if in.DNSServiceIP != nil { + in, out := &in.DNSServiceIP, &out.DNSServiceIP + *out = new(string) + **out = **in + } + if in.DockerBridgeCidr != nil { + in, out := &in.DockerBridgeCidr, &out.DockerBridgeCidr + *out = new(string) + **out = **in + } + if in.LoadBalancerSku != nil { + in, out := &in.LoadBalancerSku, &out.LoadBalancerSku + *out = new(string) + **out = **in + } + if in.NetworkPlugin != nil { + in, out := &in.NetworkPlugin, &out.NetworkPlugin + *out = new(string) + **out = **in + } + if in.NetworkPolicy != nil { + in, out := &in.NetworkPolicy, &out.NetworkPolicy + *out = new(string) + **out = **in + } + if in.PodCidr != nil { + in, out := &in.PodCidr, &out.PodCidr + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ServiceCidr != nil { + in, out := &in.ServiceCidr, &out.ServiceCidr + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigParameters. +func (in *NetworkConfigParameters) DeepCopy() *NetworkConfigParameters { + if in == nil { + return nil + } + out := new(NetworkConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkObservation) DeepCopyInto(out *NetworkObservation) { + *out = *in + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = make([]NetworkClusterObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Provider != nil { + in, out := &in.Provider, &out.Provider + *out = make([]ProviderObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkObservation. +func (in *NetworkObservation) DeepCopy() *NetworkObservation { + if in == nil { + return nil + } + out := new(NetworkObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkParameters) DeepCopyInto(out *NetworkParameters) { + *out = *in + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = make([]NetworkClusterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Provider != nil { + in, out := &in.Provider, &out.Provider + *out = make([]ProviderParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkParameters. +func (in *NetworkParameters) DeepCopy() *NetworkParameters { + if in == nil { + return nil + } + out := new(NetworkParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkPodsObservation) DeepCopyInto(out *NetworkPodsObservation) { + *out = *in + if in.CidrBlocks != nil { + in, out := &in.CidrBlocks, &out.CidrBlocks + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPodsObservation. +func (in *NetworkPodsObservation) DeepCopy() *NetworkPodsObservation { + if in == nil { + return nil + } + out := new(NetworkPodsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkPodsParameters) DeepCopyInto(out *NetworkPodsParameters) { + *out = *in + if in.CidrBlocks != nil { + in, out := &in.CidrBlocks, &out.CidrBlocks + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPodsParameters. +func (in *NetworkPodsParameters) DeepCopy() *NetworkPodsParameters { + if in == nil { + return nil + } + out := new(NetworkPodsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkServicesObservation) DeepCopyInto(out *NetworkServicesObservation) { + *out = *in + if in.CidrBlocks != nil { + in, out := &in.CidrBlocks, &out.CidrBlocks + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesObservation. +func (in *NetworkServicesObservation) DeepCopy() *NetworkServicesObservation { + if in == nil { + return nil + } + out := new(NetworkServicesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkServicesParameters) DeepCopyInto(out *NetworkServicesParameters) { + *out = *in + if in.CidrBlocks != nil { + in, out := &in.CidrBlocks, &out.CidrBlocks + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkServicesParameters. +func (in *NetworkServicesParameters) DeepCopy() *NetworkServicesParameters { + if in == nil { + return nil + } + out := new(NetworkServicesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Network_Policy) DeepCopyInto(out *Network_Policy) { + *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 Network_Policy. +func (in *Network_Policy) DeepCopy() *Network_Policy { + if in == nil { + return nil + } + out := new(Network_Policy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Network_Policy) 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 *Network_PolicyList) DeepCopyInto(out *Network_PolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Network_Policy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyList. +func (in *Network_PolicyList) DeepCopy() *Network_PolicyList { + if in == nil { + return nil + } + out := new(Network_PolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Network_PolicyList) 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 *Network_PolicyMetaObservation) DeepCopyInto(out *Network_PolicyMetaObservation) { + *out = *in + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceVersion != nil { + in, out := &in.ResourceVersion, &out.ResourceVersion + *out = new(string) + **out = **in + } + if in.UID != nil { + in, out := &in.UID, &out.UID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyMetaObservation. +func (in *Network_PolicyMetaObservation) DeepCopy() *Network_PolicyMetaObservation { + if in == nil { + return nil + } + out := new(Network_PolicyMetaObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Network_PolicyMetaParameters) DeepCopyInto(out *Network_PolicyMetaParameters) { + *out = *in + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyMetaParameters. +func (in *Network_PolicyMetaParameters) DeepCopy() *Network_PolicyMetaParameters { + if in == nil { + return nil + } + out := new(Network_PolicyMetaParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Network_PolicyObservation) DeepCopyInto(out *Network_PolicyObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Meta != nil { + in, out := &in.Meta, &out.Meta + *out = make([]Network_PolicyMetaObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = make([]Network_PolicyScopeObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]Network_PolicySpecObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyObservation. +func (in *Network_PolicyObservation) DeepCopy() *Network_PolicyObservation { + if in == nil { + return nil + } + out := new(Network_PolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Network_PolicyParameters) DeepCopyInto(out *Network_PolicyParameters) { + *out = *in + if in.Meta != nil { + in, out := &in.Meta, &out.Meta + *out = make([]Network_PolicyMetaParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = make([]Network_PolicyScopeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]Network_PolicySpecParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyParameters. +func (in *Network_PolicyParameters) DeepCopy() *Network_PolicyParameters { + if in == nil { + return nil + } + out := new(Network_PolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Network_PolicyScopeClusterGroupObservation) DeepCopyInto(out *Network_PolicyScopeClusterGroupObservation) { + *out = *in + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyScopeClusterGroupObservation. +func (in *Network_PolicyScopeClusterGroupObservation) DeepCopy() *Network_PolicyScopeClusterGroupObservation { + if in == nil { + return nil + } + out := new(Network_PolicyScopeClusterGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Network_PolicyScopeClusterGroupParameters) DeepCopyInto(out *Network_PolicyScopeClusterGroupParameters) { + *out = *in + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyScopeClusterGroupParameters. +func (in *Network_PolicyScopeClusterGroupParameters) DeepCopy() *Network_PolicyScopeClusterGroupParameters { + if in == nil { + return nil + } + out := new(Network_PolicyScopeClusterGroupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Network_PolicyScopeClusterObservation) DeepCopyInto(out *Network_PolicyScopeClusterObservation) { + *out = *in + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyScopeClusterObservation. +func (in *Network_PolicyScopeClusterObservation) DeepCopy() *Network_PolicyScopeClusterObservation { + if in == nil { + return nil + } + out := new(Network_PolicyScopeClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Network_PolicyScopeClusterParameters) DeepCopyInto(out *Network_PolicyScopeClusterParameters) { + *out = *in + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyScopeClusterParameters. +func (in *Network_PolicyScopeClusterParameters) DeepCopy() *Network_PolicyScopeClusterParameters { + if in == nil { + return nil + } + out := new(Network_PolicyScopeClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Network_PolicyScopeObservation) DeepCopyInto(out *Network_PolicyScopeObservation) { + *out = *in + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = make([]Network_PolicyScopeClusterObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup + *out = make([]Network_PolicyScopeClusterGroupObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Organization != nil { + in, out := &in.Organization, &out.Organization + *out = make([]Network_PolicyScopeOrganizationObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Workspace != nil { + in, out := &in.Workspace, &out.Workspace + *out = make([]Network_PolicyScopeWorkspaceObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyScopeObservation. +func (in *Network_PolicyScopeObservation) DeepCopy() *Network_PolicyScopeObservation { + if in == nil { + return nil + } + out := new(Network_PolicyScopeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Network_PolicyScopeOrganizationObservation) DeepCopyInto(out *Network_PolicyScopeOrganizationObservation) { + *out = *in + if in.Organization != nil { + in, out := &in.Organization, &out.Organization + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyScopeOrganizationObservation. +func (in *Network_PolicyScopeOrganizationObservation) DeepCopy() *Network_PolicyScopeOrganizationObservation { + if in == nil { + return nil + } + out := new(Network_PolicyScopeOrganizationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Network_PolicyScopeOrganizationParameters) DeepCopyInto(out *Network_PolicyScopeOrganizationParameters) { + *out = *in + if in.Organization != nil { + in, out := &in.Organization, &out.Organization + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyScopeOrganizationParameters. +func (in *Network_PolicyScopeOrganizationParameters) DeepCopy() *Network_PolicyScopeOrganizationParameters { + if in == nil { + return nil + } + out := new(Network_PolicyScopeOrganizationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Network_PolicyScopeParameters) DeepCopyInto(out *Network_PolicyScopeParameters) { + *out = *in + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = make([]Network_PolicyScopeClusterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup + *out = make([]Network_PolicyScopeClusterGroupParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Organization != nil { + in, out := &in.Organization, &out.Organization + *out = make([]Network_PolicyScopeOrganizationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Workspace != nil { + in, out := &in.Workspace, &out.Workspace + *out = make([]Network_PolicyScopeWorkspaceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyScopeParameters. +func (in *Network_PolicyScopeParameters) DeepCopy() *Network_PolicyScopeParameters { + if in == nil { + return nil + } + out := new(Network_PolicyScopeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Network_PolicyScopeWorkspaceObservation) DeepCopyInto(out *Network_PolicyScopeWorkspaceObservation) { + *out = *in + if in.Workspace != nil { + in, out := &in.Workspace, &out.Workspace + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyScopeWorkspaceObservation. +func (in *Network_PolicyScopeWorkspaceObservation) DeepCopy() *Network_PolicyScopeWorkspaceObservation { + if in == nil { + return nil + } + out := new(Network_PolicyScopeWorkspaceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Network_PolicyScopeWorkspaceParameters) DeepCopyInto(out *Network_PolicyScopeWorkspaceParameters) { + *out = *in + if in.Workspace != nil { + in, out := &in.Workspace, &out.Workspace + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyScopeWorkspaceParameters. +func (in *Network_PolicyScopeWorkspaceParameters) DeepCopy() *Network_PolicyScopeWorkspaceParameters { + if in == nil { + return nil + } + out := new(Network_PolicyScopeWorkspaceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Network_PolicySpec) DeepCopyInto(out *Network_PolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicySpec. +func (in *Network_PolicySpec) DeepCopy() *Network_PolicySpec { + if in == nil { + return nil + } + out := new(Network_PolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Network_PolicySpecInputObservation) DeepCopyInto(out *Network_PolicySpecInputObservation) { + *out = *in + if in.AllowAll != nil { + in, out := &in.AllowAll, &out.AllowAll + *out = make([]AllowAllObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AllowAllEgress != nil { + in, out := &in.AllowAllEgress, &out.AllowAllEgress + *out = make([]AllowAllEgressParameters, len(*in)) + copy(*out, *in) + } + if in.AllowAllToPods != nil { + in, out := &in.AllowAllToPods, &out.AllowAllToPods + *out = make([]AllowAllToPodsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomEgress != nil { + in, out := &in.CustomEgress, &out.CustomEgress + *out = make([]CustomEgressObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomIngress != nil { + in, out := &in.CustomIngress, &out.CustomIngress + *out = make([]CustomIngressObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DenyAll != nil { + in, out := &in.DenyAll, &out.DenyAll + *out = make([]DenyAllParameters, len(*in)) + copy(*out, *in) + } + if in.DenyAllEgress != nil { + in, out := &in.DenyAllEgress, &out.DenyAllEgress + *out = make([]DenyAllEgressParameters, len(*in)) + copy(*out, *in) + } + if in.DenyAllToPods != nil { + in, out := &in.DenyAllToPods, &out.DenyAllToPods + *out = make([]DenyAllToPodsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicySpecInputObservation. +func (in *Network_PolicySpecInputObservation) DeepCopy() *Network_PolicySpecInputObservation { + if in == nil { + return nil + } + out := new(Network_PolicySpecInputObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Network_PolicySpecInputParameters) DeepCopyInto(out *Network_PolicySpecInputParameters) { + *out = *in + if in.AllowAll != nil { + in, out := &in.AllowAll, &out.AllowAll + *out = make([]AllowAllParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AllowAllEgress != nil { + in, out := &in.AllowAllEgress, &out.AllowAllEgress + *out = make([]AllowAllEgressParameters, len(*in)) + copy(*out, *in) + } + if in.AllowAllToPods != nil { + in, out := &in.AllowAllToPods, &out.AllowAllToPods + *out = make([]AllowAllToPodsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomEgress != nil { + in, out := &in.CustomEgress, &out.CustomEgress + *out = make([]CustomEgressParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomIngress != nil { + in, out := &in.CustomIngress, &out.CustomIngress + *out = make([]CustomIngressParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DenyAll != nil { + in, out := &in.DenyAll, &out.DenyAll + *out = make([]DenyAllParameters, len(*in)) + copy(*out, *in) + } + if in.DenyAllEgress != nil { + in, out := &in.DenyAllEgress, &out.DenyAllEgress + *out = make([]DenyAllEgressParameters, len(*in)) + copy(*out, *in) + } + if in.DenyAllToPods != nil { + in, out := &in.DenyAllToPods, &out.DenyAllToPods + *out = make([]DenyAllToPodsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicySpecInputParameters. +func (in *Network_PolicySpecInputParameters) DeepCopy() *Network_PolicySpecInputParameters { + if in == nil { + return nil + } + out := new(Network_PolicySpecInputParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Network_PolicySpecNamespaceSelectorMatchExpressionsObservation) DeepCopyInto(out *Network_PolicySpecNamespaceSelectorMatchExpressionsObservation) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicySpecNamespaceSelectorMatchExpressionsObservation. +func (in *Network_PolicySpecNamespaceSelectorMatchExpressionsObservation) DeepCopy() *Network_PolicySpecNamespaceSelectorMatchExpressionsObservation { + if in == nil { + return nil + } + out := new(Network_PolicySpecNamespaceSelectorMatchExpressionsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Network_PolicySpecNamespaceSelectorMatchExpressionsParameters) DeepCopyInto(out *Network_PolicySpecNamespaceSelectorMatchExpressionsParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicySpecNamespaceSelectorMatchExpressionsParameters. +func (in *Network_PolicySpecNamespaceSelectorMatchExpressionsParameters) DeepCopy() *Network_PolicySpecNamespaceSelectorMatchExpressionsParameters { + if in == nil { + return nil + } + out := new(Network_PolicySpecNamespaceSelectorMatchExpressionsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Network_PolicySpecNamespaceSelectorObservation) DeepCopyInto(out *Network_PolicySpecNamespaceSelectorObservation) { + *out = *in + if in.MatchExpressions != nil { + in, out := &in.MatchExpressions, &out.MatchExpressions + *out = make([]Network_PolicySpecNamespaceSelectorMatchExpressionsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicySpecNamespaceSelectorObservation. +func (in *Network_PolicySpecNamespaceSelectorObservation) DeepCopy() *Network_PolicySpecNamespaceSelectorObservation { + if in == nil { + return nil + } + out := new(Network_PolicySpecNamespaceSelectorObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Network_PolicySpecNamespaceSelectorParameters) DeepCopyInto(out *Network_PolicySpecNamespaceSelectorParameters) { + *out = *in + if in.MatchExpressions != nil { + in, out := &in.MatchExpressions, &out.MatchExpressions + *out = make([]Network_PolicySpecNamespaceSelectorMatchExpressionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicySpecNamespaceSelectorParameters. +func (in *Network_PolicySpecNamespaceSelectorParameters) DeepCopy() *Network_PolicySpecNamespaceSelectorParameters { + if in == nil { + return nil + } + out := new(Network_PolicySpecNamespaceSelectorParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Network_PolicySpecObservation) DeepCopyInto(out *Network_PolicySpecObservation) { + *out = *in + if in.Input != nil { + in, out := &in.Input, &out.Input + *out = make([]Network_PolicySpecInputObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NamespaceSelector != nil { + in, out := &in.NamespaceSelector, &out.NamespaceSelector + *out = make([]Network_PolicySpecNamespaceSelectorObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicySpecObservation. +func (in *Network_PolicySpecObservation) DeepCopy() *Network_PolicySpecObservation { + if in == nil { + return nil + } + out := new(Network_PolicySpecObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Network_PolicySpecParameters) DeepCopyInto(out *Network_PolicySpecParameters) { + *out = *in + if in.Input != nil { + in, out := &in.Input, &out.Input + *out = make([]Network_PolicySpecInputParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NamespaceSelector != nil { + in, out := &in.NamespaceSelector, &out.NamespaceSelector + *out = make([]Network_PolicySpecNamespaceSelectorParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicySpecParameters. +func (in *Network_PolicySpecParameters) DeepCopy() *Network_PolicySpecParameters { + if in == nil { + return nil + } + out := new(Network_PolicySpecParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Network_PolicyStatus) DeepCopyInto(out *Network_PolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyStatus. +func (in *Network_PolicyStatus) DeepCopy() *Network_PolicyStatus { + if in == nil { + return nil + } + out := new(Network_PolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NodePlacementObservation) DeepCopyInto(out *NodePlacementObservation) { + *out = *in + if in.AwsAvailabilityZone != nil { + in, out := &in.AwsAvailabilityZone, &out.AwsAvailabilityZone + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePlacementObservation. +func (in *NodePlacementObservation) DeepCopy() *NodePlacementObservation { + if in == nil { + return nil + } + out := new(NodePlacementObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NodePlacementParameters) DeepCopyInto(out *NodePlacementParameters) { + *out = *in + if in.AwsAvailabilityZone != nil { + in, out := &in.AwsAvailabilityZone, &out.AwsAvailabilityZone + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePlacementParameters. +func (in *NodePlacementParameters) DeepCopy() *NodePlacementParameters { + if in == nil { + return nil + } + out := new(NodePlacementParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NodePoolsInfoObservation) DeepCopyInto(out *NodePoolsInfoObservation) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolsInfoObservation. +func (in *NodePoolsInfoObservation) DeepCopy() *NodePoolsInfoObservation { + if in == nil { + return nil + } + out := new(NodePoolsInfoObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NodePoolsInfoParameters) DeepCopyInto(out *NodePoolsInfoParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolsInfoParameters. +func (in *NodePoolsInfoParameters) DeepCopy() *NodePoolsInfoParameters { + if in == nil { + return nil + } + out := new(NodePoolsInfoParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NodePoolsObservation) DeepCopyInto(out *NodePoolsObservation) { + *out = *in + if in.Info != nil { + in, out := &in.Info, &out.Info + *out = make([]InfoObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]NodePoolsSpecObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolsObservation. +func (in *NodePoolsObservation) DeepCopy() *NodePoolsObservation { + if in == nil { + return nil + } + out := new(NodePoolsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NodePoolsParameters) DeepCopyInto(out *NodePoolsParameters) { + *out = *in + if in.Info != nil { + in, out := &in.Info, &out.Info + *out = make([]InfoParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]NodePoolsSpecParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolsParameters. +func (in *NodePoolsParameters) DeepCopy() *NodePoolsParameters { + if in == nil { + return nil + } + out := new(NodePoolsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NodePoolsSpecObservation) DeepCopyInto(out *NodePoolsSpecObservation) { + *out = *in + if in.TkgAws != nil { + in, out := &in.TkgAws, &out.TkgAws + *out = make([]SpecTkgAwsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkerNodeCount != nil { + in, out := &in.WorkerNodeCount, &out.WorkerNodeCount + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolsSpecObservation. +func (in *NodePoolsSpecObservation) DeepCopy() *NodePoolsSpecObservation { + if in == nil { + return nil + } + out := new(NodePoolsSpecObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NodePoolsSpecParameters) DeepCopyInto(out *NodePoolsSpecParameters) { + *out = *in + if in.TkgAws != nil { + in, out := &in.TkgAws, &out.TkgAws + *out = make([]SpecTkgAwsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkerNodeCount != nil { + in, out := &in.WorkerNodeCount, &out.WorkerNodeCount + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolsSpecParameters. +func (in *NodePoolsSpecParameters) DeepCopy() *NodePoolsSpecParameters { + if in == nil { + return nil + } + out := new(NodePoolsSpecParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NodepoolInfoObservation) DeepCopyInto(out *NodepoolInfoObservation) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodepoolInfoObservation. +func (in *NodepoolInfoObservation) DeepCopy() *NodepoolInfoObservation { + if in == nil { + return nil + } + out := new(NodepoolInfoObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NodepoolInfoParameters) DeepCopyInto(out *NodepoolInfoParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodepoolInfoParameters. +func (in *NodepoolInfoParameters) DeepCopy() *NodepoolInfoParameters { + if in == nil { + return nil + } + out := new(NodepoolInfoParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NodepoolObservation) DeepCopyInto(out *NodepoolObservation) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]NodepoolSpecObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodepoolObservation. +func (in *NodepoolObservation) DeepCopy() *NodepoolObservation { + if in == nil { + return nil + } + out := new(NodepoolObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NodepoolParameters) DeepCopyInto(out *NodepoolParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]NodepoolSpecParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodepoolParameters. +func (in *NodepoolParameters) DeepCopy() *NodepoolParameters { + if in == nil { + return nil + } + out := new(NodepoolParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NodepoolSpecObservation) DeepCopyInto(out *NodepoolSpecObservation) { + *out = *in + if in.AutoScalingConfig != nil { + in, out := &in.AutoScalingConfig, &out.AutoScalingConfig + *out = make([]AutoScalingConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AvailabilityZones != nil { + in, out := &in.AvailabilityZones, &out.AvailabilityZones + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Count != nil { + in, out := &in.Count, &out.Count + *out = new(float64) + **out = **in + } + if in.EnableNodePublicIP != nil { + in, out := &in.EnableNodePublicIP, &out.EnableNodePublicIP + *out = new(bool) + **out = **in + } + if in.MaxPods != nil { + in, out := &in.MaxPods, &out.MaxPods + *out = new(float64) + **out = **in + } + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.NodeImageVersion != nil { + in, out := &in.NodeImageVersion, &out.NodeImageVersion + *out = new(string) + **out = **in + } + if in.NodeLabels != nil { + in, out := &in.NodeLabels, &out.NodeLabels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.OsDiskSizeGb != nil { + in, out := &in.OsDiskSizeGb, &out.OsDiskSizeGb + *out = new(float64) + **out = **in + } + if in.OsDiskType != nil { + in, out := &in.OsDiskType, &out.OsDiskType + *out = new(string) + **out = **in + } + if in.OsType != nil { + in, out := &in.OsType, &out.OsType + *out = new(string) + **out = **in + } + if in.ScaleSetEvictionPolicy != nil { + in, out := &in.ScaleSetEvictionPolicy, &out.ScaleSetEvictionPolicy + *out = new(string) + **out = **in + } + if in.ScaleSetPriority != nil { + in, out := &in.ScaleSetPriority, &out.ScaleSetPriority + *out = new(string) + **out = **in + } + if in.SpotMaxPrice != nil { + in, out := &in.SpotMaxPrice, &out.SpotMaxPrice + *out = new(float64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Taints != nil { + in, out := &in.Taints, &out.Taints + *out = make([]TaintsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.UpgradeConfig != nil { + in, out := &in.UpgradeConfig, &out.UpgradeConfig + *out = make([]UpgradeConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VnetSubnetID != nil { + in, out := &in.VnetSubnetID, &out.VnetSubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodepoolSpecObservation. +func (in *NodepoolSpecObservation) DeepCopy() *NodepoolSpecObservation { + if in == nil { + return nil + } + out := new(NodepoolSpecObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NodepoolSpecParameters) DeepCopyInto(out *NodepoolSpecParameters) { + *out = *in + if in.AutoScalingConfig != nil { + in, out := &in.AutoScalingConfig, &out.AutoScalingConfig + *out = make([]AutoScalingConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AvailabilityZones != nil { + in, out := &in.AvailabilityZones, &out.AvailabilityZones + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Count != nil { + in, out := &in.Count, &out.Count + *out = new(float64) + **out = **in + } + if in.EnableNodePublicIP != nil { + in, out := &in.EnableNodePublicIP, &out.EnableNodePublicIP + *out = new(bool) + **out = **in + } + if in.MaxPods != nil { + in, out := &in.MaxPods, &out.MaxPods + *out = new(float64) + **out = **in + } + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.NodeImageVersion != nil { + in, out := &in.NodeImageVersion, &out.NodeImageVersion + *out = new(string) + **out = **in + } + if in.NodeLabels != nil { + in, out := &in.NodeLabels, &out.NodeLabels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.OsDiskSizeGb != nil { + in, out := &in.OsDiskSizeGb, &out.OsDiskSizeGb + *out = new(float64) + **out = **in + } + if in.OsDiskType != nil { + in, out := &in.OsDiskType, &out.OsDiskType + *out = new(string) + **out = **in + } + if in.OsType != nil { + in, out := &in.OsType, &out.OsType + *out = new(string) + **out = **in + } + if in.ScaleSetEvictionPolicy != nil { + in, out := &in.ScaleSetEvictionPolicy, &out.ScaleSetEvictionPolicy + *out = new(string) + **out = **in + } + if in.ScaleSetPriority != nil { + in, out := &in.ScaleSetPriority, &out.ScaleSetPriority + *out = new(string) + **out = **in + } + if in.SpotMaxPrice != nil { + in, out := &in.SpotMaxPrice, &out.SpotMaxPrice + *out = new(float64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Taints != nil { + in, out := &in.Taints, &out.Taints + *out = make([]TaintsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.UpgradeConfig != nil { + in, out := &in.UpgradeConfig, &out.UpgradeConfig + *out = make([]UpgradeConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.VMSize != nil { in, out := &in.VMSize, &out.VMSize *out = new(string) **out = **in } - if in.VnetSubnetID != nil { - in, out := &in.VnetSubnetID, &out.VnetSubnetID + if in.VnetSubnetID != nil { + in, out := &in.VnetSubnetID, &out.VnetSubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodepoolSpecParameters. +func (in *NodepoolSpecParameters) DeepCopy() *NodepoolSpecParameters { + if in == nil { + return nil + } + out := new(NodepoolSpecParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OrganizationObservation) DeepCopyInto(out *OrganizationObservation) { + *out = *in + if in.Organization != nil { + in, out := &in.Organization, &out.Organization + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationObservation. +func (in *OrganizationObservation) DeepCopy() *OrganizationObservation { + if in == nil { + return nil + } + out := new(OrganizationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OrganizationParameters) DeepCopyInto(out *OrganizationParameters) { + *out = *in + if in.Organization != nil { + in, out := &in.Organization, &out.Organization + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationParameters. +func (in *OrganizationParameters) DeepCopy() *OrganizationParameters { + if in == nil { + return nil + } + out := new(OrganizationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PackageRefObservation) DeepCopyInto(out *PackageRefObservation) { + *out = *in + if in.PackageMetadataName != nil { + in, out := &in.PackageMetadataName, &out.PackageMetadataName + *out = new(string) + **out = **in + } + if in.VersionSelection != nil { + in, out := &in.VersionSelection, &out.VersionSelection + *out = make([]VersionSelectionObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRefObservation. +func (in *PackageRefObservation) DeepCopy() *PackageRefObservation { + if in == nil { + return nil + } + out := new(PackageRefObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PackageRefParameters) DeepCopyInto(out *PackageRefParameters) { + *out = *in + if in.PackageMetadataName != nil { + in, out := &in.PackageMetadataName, &out.PackageMetadataName + *out = new(string) + **out = **in + } + if in.VersionSelection != nil { + in, out := &in.VersionSelection, &out.VersionSelection + *out = make([]VersionSelectionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRefParameters. +func (in *PackageRefParameters) DeepCopy() *PackageRefParameters { + if in == nil { + return nil + } + out := new(PackageRefParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Package_Install) DeepCopyInto(out *Package_Install) { + *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 Package_Install. +func (in *Package_Install) DeepCopy() *Package_Install { + if in == nil { + return nil + } + out := new(Package_Install) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Package_Install) 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 *Package_InstallList) DeepCopyInto(out *Package_InstallList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Package_Install, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_InstallList. +func (in *Package_InstallList) DeepCopy() *Package_InstallList { + if in == nil { + return nil + } + out := new(Package_InstallList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Package_InstallList) 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 *Package_InstallMetaObservation) DeepCopyInto(out *Package_InstallMetaObservation) { + *out = *in + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceVersion != nil { + in, out := &in.ResourceVersion, &out.ResourceVersion + *out = new(string) + **out = **in + } + if in.UID != nil { + in, out := &in.UID, &out.UID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_InstallMetaObservation. +func (in *Package_InstallMetaObservation) DeepCopy() *Package_InstallMetaObservation { + if in == nil { + return nil + } + out := new(Package_InstallMetaObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Package_InstallMetaParameters) DeepCopyInto(out *Package_InstallMetaParameters) { + *out = *in + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_InstallMetaParameters. +func (in *Package_InstallMetaParameters) DeepCopy() *Package_InstallMetaParameters { + if in == nil { + return nil + } + out := new(Package_InstallMetaParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Package_InstallObservation) DeepCopyInto(out *Package_InstallObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Meta != nil { + in, out := &in.Meta, &out.Meta + *out = make([]Package_InstallMetaObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Namespace != nil { + in, out := &in.Namespace, &out.Namespace + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = make([]Package_InstallScopeObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]Package_InstallSpecObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = make([]StatusObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_InstallObservation. +func (in *Package_InstallObservation) DeepCopy() *Package_InstallObservation { + if in == nil { + return nil + } + out := new(Package_InstallObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Package_InstallParameters) DeepCopyInto(out *Package_InstallParameters) { + *out = *in + if in.Meta != nil { + in, out := &in.Meta, &out.Meta + *out = make([]Package_InstallMetaParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Namespace != nil { + in, out := &in.Namespace, &out.Namespace + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = make([]Package_InstallScopeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]Package_InstallSpecParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_InstallParameters. +func (in *Package_InstallParameters) DeepCopy() *Package_InstallParameters { + if in == nil { + return nil + } + out := new(Package_InstallParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Package_InstallScopeClusterObservation) DeepCopyInto(out *Package_InstallScopeClusterObservation) { + *out = *in + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_InstallScopeClusterObservation. +func (in *Package_InstallScopeClusterObservation) DeepCopy() *Package_InstallScopeClusterObservation { + if in == nil { + return nil + } + out := new(Package_InstallScopeClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Package_InstallScopeClusterParameters) DeepCopyInto(out *Package_InstallScopeClusterParameters) { + *out = *in + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_InstallScopeClusterParameters. +func (in *Package_InstallScopeClusterParameters) DeepCopy() *Package_InstallScopeClusterParameters { + if in == nil { + return nil + } + out := new(Package_InstallScopeClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Package_InstallScopeObservation) DeepCopyInto(out *Package_InstallScopeObservation) { + *out = *in + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = make([]Package_InstallScopeClusterObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_InstallScopeObservation. +func (in *Package_InstallScopeObservation) DeepCopy() *Package_InstallScopeObservation { + if in == nil { + return nil + } + out := new(Package_InstallScopeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Package_InstallScopeParameters) DeepCopyInto(out *Package_InstallScopeParameters) { + *out = *in + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = make([]Package_InstallScopeClusterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_InstallScopeParameters. +func (in *Package_InstallScopeParameters) DeepCopy() *Package_InstallScopeParameters { + if in == nil { + return nil + } + out := new(Package_InstallScopeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Package_InstallSpec) DeepCopyInto(out *Package_InstallSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_InstallSpec. +func (in *Package_InstallSpec) DeepCopy() *Package_InstallSpec { + if in == nil { + return nil + } + out := new(Package_InstallSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Package_InstallSpecObservation) DeepCopyInto(out *Package_InstallSpecObservation) { + *out = *in + if in.PackageRef != nil { + in, out := &in.PackageRef, &out.PackageRef + *out = make([]PackageRefObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RoleBindingScope != nil { + in, out := &in.RoleBindingScope, &out.RoleBindingScope + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_InstallSpecObservation. +func (in *Package_InstallSpecObservation) DeepCopy() *Package_InstallSpecObservation { + if in == nil { + return nil + } + out := new(Package_InstallSpecObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Package_InstallSpecParameters) DeepCopyInto(out *Package_InstallSpecParameters) { + *out = *in + if in.InlineValuesSecretRef != nil { + in, out := &in.InlineValuesSecretRef, &out.InlineValuesSecretRef + *out = new(v1.SecretReference) + **out = **in + } + if in.PackageRef != nil { + in, out := &in.PackageRef, &out.PackageRef + *out = make([]PackageRefParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_InstallSpecParameters. +func (in *Package_InstallSpecParameters) DeepCopy() *Package_InstallSpecParameters { + if in == nil { + return nil + } + out := new(Package_InstallSpecParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Package_InstallStatus) DeepCopyInto(out *Package_InstallStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_InstallStatus. +func (in *Package_InstallStatus) DeepCopy() *Package_InstallStatus { + if in == nil { + return nil + } + out := new(Package_InstallStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Package_Repository) DeepCopyInto(out *Package_Repository) { + *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 Package_Repository. +func (in *Package_Repository) DeepCopy() *Package_Repository { + if in == nil { + return nil + } + out := new(Package_Repository) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Package_Repository) 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 *Package_RepositoryList) DeepCopyInto(out *Package_RepositoryList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Package_Repository, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_RepositoryList. +func (in *Package_RepositoryList) DeepCopy() *Package_RepositoryList { + if in == nil { + return nil + } + out := new(Package_RepositoryList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Package_RepositoryList) 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 *Package_RepositoryMetaObservation) DeepCopyInto(out *Package_RepositoryMetaObservation) { + *out = *in + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceVersion != nil { + in, out := &in.ResourceVersion, &out.ResourceVersion + *out = new(string) + **out = **in + } + if in.UID != nil { + in, out := &in.UID, &out.UID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_RepositoryMetaObservation. +func (in *Package_RepositoryMetaObservation) DeepCopy() *Package_RepositoryMetaObservation { + if in == nil { + return nil + } + out := new(Package_RepositoryMetaObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Package_RepositoryMetaParameters) DeepCopyInto(out *Package_RepositoryMetaParameters) { + *out = *in + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_RepositoryMetaParameters. +func (in *Package_RepositoryMetaParameters) DeepCopy() *Package_RepositoryMetaParameters { + if in == nil { + return nil + } + out := new(Package_RepositoryMetaParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Package_RepositoryObservation) DeepCopyInto(out *Package_RepositoryObservation) { + *out = *in + if in.Disabled != nil { + in, out := &in.Disabled, &out.Disabled + *out = new(bool) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Meta != nil { + in, out := &in.Meta, &out.Meta + *out = make([]Package_RepositoryMetaObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = make([]Package_RepositoryScopeObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]Package_RepositorySpecObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.State != nil { + in, out := &in.State, &out.State + *out = make([]StateObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_RepositoryObservation. +func (in *Package_RepositoryObservation) DeepCopy() *Package_RepositoryObservation { + if in == nil { + return nil + } + out := new(Package_RepositoryObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Package_RepositoryParameters) DeepCopyInto(out *Package_RepositoryParameters) { + *out = *in + if in.Disabled != nil { + in, out := &in.Disabled, &out.Disabled + *out = new(bool) + **out = **in + } + if in.Meta != nil { + in, out := &in.Meta, &out.Meta + *out = make([]Package_RepositoryMetaParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = make([]Package_RepositoryScopeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]Package_RepositorySpecParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_RepositoryParameters. +func (in *Package_RepositoryParameters) DeepCopy() *Package_RepositoryParameters { + if in == nil { + return nil + } + out := new(Package_RepositoryParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Package_RepositoryScopeClusterObservation) DeepCopyInto(out *Package_RepositoryScopeClusterObservation) { + *out = *in + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_RepositoryScopeClusterObservation. +func (in *Package_RepositoryScopeClusterObservation) DeepCopy() *Package_RepositoryScopeClusterObservation { + if in == nil { + return nil + } + out := new(Package_RepositoryScopeClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Package_RepositoryScopeClusterParameters) DeepCopyInto(out *Package_RepositoryScopeClusterParameters) { + *out = *in + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_RepositoryScopeClusterParameters. +func (in *Package_RepositoryScopeClusterParameters) DeepCopy() *Package_RepositoryScopeClusterParameters { + if in == nil { + return nil + } + out := new(Package_RepositoryScopeClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Package_RepositoryScopeObservation) DeepCopyInto(out *Package_RepositoryScopeObservation) { + *out = *in + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = make([]Package_RepositoryScopeClusterObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_RepositoryScopeObservation. +func (in *Package_RepositoryScopeObservation) DeepCopy() *Package_RepositoryScopeObservation { + if in == nil { + return nil + } + out := new(Package_RepositoryScopeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Package_RepositoryScopeParameters) DeepCopyInto(out *Package_RepositoryScopeParameters) { + *out = *in + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = make([]Package_RepositoryScopeClusterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_RepositoryScopeParameters. +func (in *Package_RepositoryScopeParameters) DeepCopy() *Package_RepositoryScopeParameters { + if in == nil { + return nil + } + out := new(Package_RepositoryScopeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Package_RepositorySpec) DeepCopyInto(out *Package_RepositorySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_RepositorySpec. +func (in *Package_RepositorySpec) DeepCopy() *Package_RepositorySpec { + if in == nil { + return nil + } + out := new(Package_RepositorySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Package_RepositorySpecObservation) DeepCopyInto(out *Package_RepositorySpecObservation) { + *out = *in + if in.ImgpkgBundle != nil { + in, out := &in.ImgpkgBundle, &out.ImgpkgBundle + *out = make([]ImgpkgBundleObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_RepositorySpecObservation. +func (in *Package_RepositorySpecObservation) DeepCopy() *Package_RepositorySpecObservation { + if in == nil { + return nil + } + out := new(Package_RepositorySpecObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Package_RepositorySpecParameters) DeepCopyInto(out *Package_RepositorySpecParameters) { + *out = *in + if in.ImgpkgBundle != nil { + in, out := &in.ImgpkgBundle, &out.ImgpkgBundle + *out = make([]ImgpkgBundleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_RepositorySpecParameters. +func (in *Package_RepositorySpecParameters) DeepCopy() *Package_RepositorySpecParameters { + if in == nil { + return nil + } + out := new(Package_RepositorySpecParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Package_RepositoryStatus) DeepCopyInto(out *Package_RepositoryStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_RepositoryStatus. +func (in *Package_RepositoryStatus) DeepCopy() *Package_RepositoryStatus { + if in == nil { + return nil + } + out := new(Package_RepositoryStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ParametersObservation) DeepCopyInto(out *ParametersObservation) { + *out = *in + if in.DisallowedSubjects != nil { + in, out := &in.DisallowedSubjects, &out.DisallowedSubjects + *out = make([]DisallowedSubjectsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParametersObservation. +func (in *ParametersObservation) DeepCopy() *ParametersObservation { + if in == nil { + return nil + } + out := new(ParametersObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ParametersParameters) DeepCopyInto(out *ParametersParameters) { + *out = *in + if in.DisallowedSubjects != nil { + in, out := &in.DisallowedSubjects, &out.DisallowedSubjects + *out = make([]DisallowedSubjectsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParametersParameters. +func (in *ParametersParameters) DeepCopy() *ParametersParameters { + if in == nil { + return nil + } + out := new(ParametersParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PodsObservation) DeepCopyInto(out *PodsObservation) { + *out = *in + if in.CidrBlocks != nil { + in, out := &in.CidrBlocks, &out.CidrBlocks + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsObservation. +func (in *PodsObservation) DeepCopy() *PodsObservation { + if in == nil { + return nil + } + out := new(PodsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PodsParameters) DeepCopyInto(out *PodsParameters) { + *out = *in + if in.CidrBlocks != nil { + in, out := &in.CidrBlocks, &out.CidrBlocks + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsParameters. +func (in *PodsParameters) DeepCopy() *PodsParameters { + if in == nil { + return nil + } + out := new(PodsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PortsObservation) DeepCopyInto(out *PortsObservation) { + *out = *in + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(string) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortsObservation. +func (in *PortsObservation) DeepCopy() *PortsObservation { + if in == nil { + return nil + } + out := new(PortsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PortsParameters) DeepCopyInto(out *PortsParameters) { + *out = *in + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(string) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortsParameters. +func (in *PortsParameters) DeepCopy() *PortsParameters { + if in == nil { + return nil + } + out := new(PortsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProviderObservation) DeepCopyInto(out *ProviderObservation) { + *out = *in + if in.Subnets != nil { + in, out := &in.Subnets, &out.Subnets + *out = make([]SubnetsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VPC != nil { + in, out := &in.VPC, &out.VPC + *out = make([]VPCObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderObservation. +func (in *ProviderObservation) DeepCopy() *ProviderObservation { + if in == nil { + return nil + } + out := new(ProviderObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProviderParameters) DeepCopyInto(out *ProviderParameters) { + *out = *in + if in.Subnets != nil { + in, out := &in.Subnets, &out.Subnets + *out = make([]SubnetsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VPC != nil { + in, out := &in.VPC, &out.VPC + *out = make([]VPCParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderParameters. +func (in *ProviderParameters) DeepCopy() *ProviderParameters { + if in == nil { + return nil + } + out := new(ProviderParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RangesObservation) DeepCopyInto(out *RangesObservation) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RangesObservation. +func (in *RangesObservation) DeepCopy() *RangesObservation { + if in == nil { + return nil + } + out := new(RangesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RangesParameters) DeepCopyInto(out *RangesParameters) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RangesParameters. +func (in *RangesParameters) DeepCopy() *RangesParameters { + if in == nil { + return nil + } + out := new(RangesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RefObservation) DeepCopyInto(out *RefObservation) { + *out = *in + if in.Branch != nil { + in, out := &in.Branch, &out.Branch + *out = new(string) + **out = **in + } + if in.Commit != nil { + in, out := &in.Commit, &out.Commit + *out = new(string) + **out = **in + } + if in.Semver != nil { + in, out := &in.Semver, &out.Semver + *out = new(string) + **out = **in + } + if in.Tag != nil { + in, out := &in.Tag, &out.Tag + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RefObservation. +func (in *RefObservation) DeepCopy() *RefObservation { + if in == nil { + return nil + } + out := new(RefObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RefParameters) DeepCopyInto(out *RefParameters) { + *out = *in + if in.Branch != nil { + in, out := &in.Branch, &out.Branch + *out = new(string) + **out = **in + } + if in.Commit != nil { + in, out := &in.Commit, &out.Commit + *out = new(string) + **out = **in + } + if in.Semver != nil { + in, out := &in.Semver, &out.Semver + *out = new(string) + **out = **in + } + if in.Tag != nil { + in, out := &in.Tag, &out.Tag + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RefParameters. +func (in *RefParameters) DeepCopy() *RefParameters { + if in == nil { + return nil + } + out := new(RefParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RemoteAccessObservation) DeepCopyInto(out *RemoteAccessObservation) { + *out = *in + if in.SSHKey != nil { + in, out := &in.SSHKey, &out.SSHKey + *out = new(string) + **out = **in + } + if in.SecurityGroups != nil { + in, out := &in.SecurityGroups, &out.SecurityGroups + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteAccessObservation. +func (in *RemoteAccessObservation) DeepCopy() *RemoteAccessObservation { + if in == nil { + return nil + } + out := new(RemoteAccessObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RemoteAccessParameters) DeepCopyInto(out *RemoteAccessParameters) { + *out = *in + if in.SSHKey != nil { + in, out := &in.SSHKey, &out.SSHKey + *out = new(string) + **out = **in + } + if in.SecurityGroups != nil { + in, out := &in.SecurityGroups, &out.SecurityGroups + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteAccessParameters. +func (in *RemoteAccessParameters) DeepCopy() *RemoteAccessParameters { + if in == nil { + return nil + } + out := new(RemoteAccessParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Repository_Credential) DeepCopyInto(out *Repository_Credential) { + *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 Repository_Credential. +func (in *Repository_Credential) DeepCopy() *Repository_Credential { + if in == nil { + return nil + } + out := new(Repository_Credential) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Repository_Credential) 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 *Repository_CredentialList) DeepCopyInto(out *Repository_CredentialList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Repository_Credential, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_CredentialList. +func (in *Repository_CredentialList) DeepCopy() *Repository_CredentialList { + if in == nil { + return nil + } + out := new(Repository_CredentialList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Repository_CredentialList) 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 *Repository_CredentialMetaObservation) DeepCopyInto(out *Repository_CredentialMetaObservation) { + *out = *in + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceVersion != nil { + in, out := &in.ResourceVersion, &out.ResourceVersion + *out = new(string) + **out = **in + } + if in.UID != nil { + in, out := &in.UID, &out.UID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_CredentialMetaObservation. +func (in *Repository_CredentialMetaObservation) DeepCopy() *Repository_CredentialMetaObservation { + if in == nil { + return nil + } + out := new(Repository_CredentialMetaObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Repository_CredentialMetaParameters) DeepCopyInto(out *Repository_CredentialMetaParameters) { + *out = *in + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_CredentialMetaParameters. +func (in *Repository_CredentialMetaParameters) DeepCopy() *Repository_CredentialMetaParameters { + if in == nil { + return nil + } + out := new(Repository_CredentialMetaParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Repository_CredentialObservation) DeepCopyInto(out *Repository_CredentialObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Meta != nil { + in, out := &in.Meta, &out.Meta + *out = make([]Repository_CredentialMetaObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.OrgID != nil { + in, out := &in.OrgID, &out.OrgID + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = make([]Repository_CredentialScopeObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]Repository_CredentialSpecObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_CredentialObservation. +func (in *Repository_CredentialObservation) DeepCopy() *Repository_CredentialObservation { + if in == nil { + return nil + } + out := new(Repository_CredentialObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Repository_CredentialParameters) DeepCopyInto(out *Repository_CredentialParameters) { + *out = *in + if in.Meta != nil { + in, out := &in.Meta, &out.Meta + *out = make([]Repository_CredentialMetaParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.OrgID != nil { + in, out := &in.OrgID, &out.OrgID + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = make([]Repository_CredentialScopeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]Repository_CredentialSpecParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_CredentialParameters. +func (in *Repository_CredentialParameters) DeepCopy() *Repository_CredentialParameters { + if in == nil { + return nil + } + out := new(Repository_CredentialParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Repository_CredentialScopeClusterGroupObservation) DeepCopyInto(out *Repository_CredentialScopeClusterGroupObservation) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_CredentialScopeClusterGroupObservation. +func (in *Repository_CredentialScopeClusterGroupObservation) DeepCopy() *Repository_CredentialScopeClusterGroupObservation { + if in == nil { + return nil + } + out := new(Repository_CredentialScopeClusterGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Repository_CredentialScopeClusterGroupParameters) DeepCopyInto(out *Repository_CredentialScopeClusterGroupParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_CredentialScopeClusterGroupParameters. +func (in *Repository_CredentialScopeClusterGroupParameters) DeepCopy() *Repository_CredentialScopeClusterGroupParameters { + if in == nil { + return nil + } + out := new(Repository_CredentialScopeClusterGroupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Repository_CredentialScopeClusterObservation) DeepCopyInto(out *Repository_CredentialScopeClusterObservation) { + *out = *in + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_CredentialScopeClusterObservation. +func (in *Repository_CredentialScopeClusterObservation) DeepCopy() *Repository_CredentialScopeClusterObservation { + if in == nil { + return nil + } + out := new(Repository_CredentialScopeClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Repository_CredentialScopeClusterParameters) DeepCopyInto(out *Repository_CredentialScopeClusterParameters) { + *out = *in + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_CredentialScopeClusterParameters. +func (in *Repository_CredentialScopeClusterParameters) DeepCopy() *Repository_CredentialScopeClusterParameters { + if in == nil { + return nil + } + out := new(Repository_CredentialScopeClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Repository_CredentialScopeObservation) DeepCopyInto(out *Repository_CredentialScopeObservation) { + *out = *in + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = make([]Repository_CredentialScopeClusterObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup + *out = make([]Repository_CredentialScopeClusterGroupObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_CredentialScopeObservation. +func (in *Repository_CredentialScopeObservation) DeepCopy() *Repository_CredentialScopeObservation { + if in == nil { + return nil + } + out := new(Repository_CredentialScopeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Repository_CredentialScopeParameters) DeepCopyInto(out *Repository_CredentialScopeParameters) { + *out = *in + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = make([]Repository_CredentialScopeClusterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup + *out = make([]Repository_CredentialScopeClusterGroupParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_CredentialScopeParameters. +func (in *Repository_CredentialScopeParameters) DeepCopy() *Repository_CredentialScopeParameters { + if in == nil { + return nil + } + out := new(Repository_CredentialScopeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Repository_CredentialSpec) DeepCopyInto(out *Repository_CredentialSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_CredentialSpec. +func (in *Repository_CredentialSpec) DeepCopy() *Repository_CredentialSpec { + if in == nil { + return nil + } + out := new(Repository_CredentialSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Repository_CredentialSpecObservation) DeepCopyInto(out *Repository_CredentialSpecObservation) { + *out = *in + if in.Data != nil { + in, out := &in.Data, &out.Data + *out = make([]SpecDataObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_CredentialSpecObservation. +func (in *Repository_CredentialSpecObservation) DeepCopy() *Repository_CredentialSpecObservation { + if in == nil { + return nil + } + out := new(Repository_CredentialSpecObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Repository_CredentialSpecParameters) DeepCopyInto(out *Repository_CredentialSpecParameters) { + *out = *in + if in.Data != nil { + in, out := &in.Data, &out.Data + *out = make([]SpecDataParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_CredentialSpecParameters. +func (in *Repository_CredentialSpecParameters) DeepCopy() *Repository_CredentialSpecParameters { + if in == nil { + return nil + } + out := new(Repository_CredentialSpecParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Repository_CredentialStatus) DeepCopyInto(out *Repository_CredentialStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_CredentialStatus. +func (in *Repository_CredentialStatus) DeepCopy() *Repository_CredentialStatus { + if in == nil { + return nil + } + out := new(Repository_CredentialStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequireDigestObservation) DeepCopyInto(out *RequireDigestObservation) { + *out = *in + if in.Audit != nil { + in, out := &in.Audit, &out.Audit + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequireDigestObservation. +func (in *RequireDigestObservation) DeepCopy() *RequireDigestObservation { + if in == nil { + return nil + } + out := new(RequireDigestObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequireDigestParameters) DeepCopyInto(out *RequireDigestParameters) { + *out = *in + if in.Audit != nil { + in, out := &in.Audit, &out.Audit + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequireDigestParameters. +func (in *RequireDigestParameters) DeepCopy() *RequireDigestParameters { + if in == nil { + return nil + } + out := new(RequireDigestParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RoleBindingsObservation) DeepCopyInto(out *RoleBindingsObservation) { + *out = *in + if in.Role != nil { + in, out := &in.Role, &out.Role + *out = new(string) + **out = **in + } + if in.Subjects != nil { + in, out := &in.Subjects, &out.Subjects + *out = make([]SubjectsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingsObservation. +func (in *RoleBindingsObservation) DeepCopy() *RoleBindingsObservation { + if in == nil { + return nil + } + out := new(RoleBindingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RoleBindingsParameters) DeepCopyInto(out *RoleBindingsParameters) { + *out = *in + if in.Role != nil { + in, out := &in.Role, &out.Role + *out = new(string) + **out = **in + } + if in.Subjects != nil { + in, out := &in.Subjects, &out.Subjects + *out = make([]SubjectsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingsParameters. +func (in *RoleBindingsParameters) DeepCopy() *RoleBindingsParameters { + if in == nil { + return nil + } + out := new(RoleBindingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RuleSpecCustomIPObservation) DeepCopyInto(out *RuleSpecCustomIPObservation) { + *out = *in + if in.IPBlock != nil { + in, out := &in.IPBlock, &out.IPBlock + *out = make([]CustomIPIPBlockObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleSpecCustomIPObservation. +func (in *RuleSpecCustomIPObservation) DeepCopy() *RuleSpecCustomIPObservation { + if in == nil { + return nil + } + out := new(RuleSpecCustomIPObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RuleSpecCustomIPParameters) DeepCopyInto(out *RuleSpecCustomIPParameters) { + *out = *in + if in.IPBlock != nil { + in, out := &in.IPBlock, &out.IPBlock + *out = make([]CustomIPIPBlockParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleSpecCustomIPParameters. +func (in *RuleSpecCustomIPParameters) DeepCopy() *RuleSpecCustomIPParameters { + if in == nil { + return nil + } + out := new(RuleSpecCustomIPParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RuleSpecCustomSelectorObservation) DeepCopyInto(out *RuleSpecCustomSelectorObservation) { + *out = *in + if in.NamespaceSelector != nil { + in, out := &in.NamespaceSelector, &out.NamespaceSelector + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.PodSelector != nil { + in, out := &in.PodSelector, &out.PodSelector + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleSpecCustomSelectorObservation. +func (in *RuleSpecCustomSelectorObservation) DeepCopy() *RuleSpecCustomSelectorObservation { + if in == nil { + return nil + } + out := new(RuleSpecCustomSelectorObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RuleSpecCustomSelectorParameters) DeepCopyInto(out *RuleSpecCustomSelectorParameters) { + *out = *in + if in.NamespaceSelector != nil { + in, out := &in.NamespaceSelector, &out.NamespaceSelector + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.PodSelector != nil { + in, out := &in.PodSelector, &out.PodSelector + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleSpecCustomSelectorParameters. +func (in *RuleSpecCustomSelectorParameters) DeepCopy() *RuleSpecCustomSelectorParameters { + if in == nil { + return nil + } + out := new(RuleSpecCustomSelectorParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RuleSpecObservation) DeepCopyInto(out *RuleSpecObservation) { + *out = *in + if in.CustomIP != nil { + in, out := &in.CustomIP, &out.CustomIP + *out = make([]CustomIPObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomSelector != nil { + in, out := &in.CustomSelector, &out.CustomSelector + *out = make([]CustomSelectorObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleSpecObservation. +func (in *RuleSpecObservation) DeepCopy() *RuleSpecObservation { + if in == nil { + return nil + } + out := new(RuleSpecObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RuleSpecParameters) DeepCopyInto(out *RuleSpecParameters) { + *out = *in + if in.CustomIP != nil { + in, out := &in.CustomIP, &out.CustomIP + *out = make([]CustomIPParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomSelector != nil { + in, out := &in.CustomSelector, &out.CustomSelector + *out = make([]CustomSelectorParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleSpecParameters. +func (in *RuleSpecParameters) DeepCopy() *RuleSpecParameters { + if in == nil { + return nil + } + out := new(RuleSpecParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RulesObservation) DeepCopyInto(out *RulesObservation) { + *out = *in + if in.Imagename != nil { + in, out := &in.Imagename, &out.Imagename + *out = new(string) + **out = **in + } + if in.Tag != nil { + in, out := &in.Tag, &out.Tag + *out = make([]TagObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesObservation. +func (in *RulesObservation) DeepCopy() *RulesObservation { + if in == nil { + return nil + } + out := new(RulesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RulesParameters) DeepCopyInto(out *RulesParameters) { + *out = *in + if in.Imagename != nil { + in, out := &in.Imagename, &out.Imagename + *out = new(string) + **out = **in + } + if in.Tag != nil { + in, out := &in.Tag, &out.Tag + *out = make([]TagParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesParameters. +func (in *RulesParameters) DeepCopy() *RulesParameters { + if in == nil { + return nil + } + out := new(RulesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RulesPortsObservation) DeepCopyInto(out *RulesPortsObservation) { + *out = *in + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(string) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesPortsObservation. +func (in *RulesPortsObservation) DeepCopy() *RulesPortsObservation { + if in == nil { + return nil + } + out := new(RulesPortsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RulesPortsParameters) DeepCopyInto(out *RulesPortsParameters) { + *out = *in + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(string) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesPortsParameters. +func (in *RulesPortsParameters) DeepCopy() *RulesPortsParameters { + if in == nil { + return nil + } + out := new(RulesPortsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RulesRuleSpecObservation) DeepCopyInto(out *RulesRuleSpecObservation) { + *out = *in + if in.CustomIP != nil { + in, out := &in.CustomIP, &out.CustomIP + *out = make([]RuleSpecCustomIPObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomSelector != nil { + in, out := &in.CustomSelector, &out.CustomSelector + *out = make([]RuleSpecCustomSelectorObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesRuleSpecObservation. +func (in *RulesRuleSpecObservation) DeepCopy() *RulesRuleSpecObservation { + if in == nil { + return nil + } + out := new(RulesRuleSpecObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RulesRuleSpecParameters) DeepCopyInto(out *RulesRuleSpecParameters) { + *out = *in + if in.CustomIP != nil { + in, out := &in.CustomIP, &out.CustomIP + *out = make([]RuleSpecCustomIPParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomSelector != nil { + in, out := &in.CustomSelector, &out.CustomSelector + *out = make([]RuleSpecCustomSelectorParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesRuleSpecParameters. +func (in *RulesRuleSpecParameters) DeepCopy() *RulesRuleSpecParameters { + if in == nil { + return nil + } + out := new(RulesRuleSpecParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RulesTagObservation) DeepCopyInto(out *RulesTagObservation) { + *out = *in + if in.Negate != nil { + in, out := &in.Negate, &out.Negate + *out = new(bool) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesTagObservation. +func (in *RulesTagObservation) DeepCopy() *RulesTagObservation { + if in == nil { + return nil + } + out := new(RulesTagObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RulesTagParameters) DeepCopyInto(out *RulesTagParameters) { + *out = *in + if in.Negate != nil { + in, out := &in.Negate, &out.Negate + *out = new(bool) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesTagParameters. +func (in *RulesTagParameters) DeepCopy() *RulesTagParameters { + if in == nil { + return nil + } + out := new(RulesTagParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RunAsGroupObservation) DeepCopyInto(out *RunAsGroupObservation) { + *out = *in + if in.Ranges != nil { + in, out := &in.Ranges, &out.Ranges + *out = make([]RunAsGroupRangesObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunAsGroupObservation. +func (in *RunAsGroupObservation) DeepCopy() *RunAsGroupObservation { + if in == nil { + return nil + } + out := new(RunAsGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RunAsGroupParameters) DeepCopyInto(out *RunAsGroupParameters) { + *out = *in + if in.Ranges != nil { + in, out := &in.Ranges, &out.Ranges + *out = make([]RunAsGroupRangesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunAsGroupParameters. +func (in *RunAsGroupParameters) DeepCopy() *RunAsGroupParameters { + if in == nil { + return nil + } + out := new(RunAsGroupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RunAsGroupRangesObservation) DeepCopyInto(out *RunAsGroupRangesObservation) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunAsGroupRangesObservation. +func (in *RunAsGroupRangesObservation) DeepCopy() *RunAsGroupRangesObservation { + if in == nil { + return nil + } + out := new(RunAsGroupRangesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RunAsGroupRangesParameters) DeepCopyInto(out *RunAsGroupRangesParameters) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunAsGroupRangesParameters. +func (in *RunAsGroupRangesParameters) DeepCopy() *RunAsGroupRangesParameters { + if in == nil { + return nil + } + out := new(RunAsGroupRangesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RunAsUserObservation) DeepCopyInto(out *RunAsUserObservation) { + *out = *in + if in.Ranges != nil { + in, out := &in.Ranges, &out.Ranges + *out = make([]RunAsUserRangesObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunAsUserObservation. +func (in *RunAsUserObservation) DeepCopy() *RunAsUserObservation { + if in == nil { + return nil + } + out := new(RunAsUserObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RunAsUserParameters) DeepCopyInto(out *RunAsUserParameters) { + *out = *in + if in.Ranges != nil { + in, out := &in.Ranges, &out.Ranges + *out = make([]RunAsUserRangesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunAsUserParameters. +func (in *RunAsUserParameters) DeepCopy() *RunAsUserParameters { + if in == nil { + return nil + } + out := new(RunAsUserParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RunAsUserRangesObservation) DeepCopyInto(out *RunAsUserRangesObservation) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunAsUserRangesObservation. +func (in *RunAsUserRangesObservation) DeepCopy() *RunAsUserRangesObservation { + if in == nil { + return nil + } + out := new(RunAsUserRangesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RunAsUserRangesParameters) DeepCopyInto(out *RunAsUserRangesParameters) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunAsUserRangesParameters. +func (in *RunAsUserRangesParameters) DeepCopy() *RunAsUserRangesParameters { + if in == nil { + return nil + } + out := new(RunAsUserRangesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SSHKeyObservation) DeepCopyInto(out *SSHKeyObservation) { + *out = *in + if in.KnownHosts != nil { + in, out := &in.KnownHosts, &out.KnownHosts + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHKeyObservation. +func (in *SSHKeyObservation) DeepCopy() *SSHKeyObservation { + if in == nil { + return nil + } + out := new(SSHKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SSHKeyParameters) DeepCopyInto(out *SSHKeyParameters) { + *out = *in + out.IdentitySecretRef = in.IdentitySecretRef + if in.KnownHosts != nil { + in, out := &in.KnownHosts, &out.KnownHosts + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHKeyParameters. +func (in *SSHKeyParameters) DeepCopy() *SSHKeyParameters { + if in == nil { + return nil + } + out := new(SSHKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScalingConfigObservation) DeepCopyInto(out *ScalingConfigObservation) { + *out = *in + if in.DesiredSize != nil { + in, out := &in.DesiredSize, &out.DesiredSize + *out = new(float64) + **out = **in + } + if in.MaxSize != nil { + in, out := &in.MaxSize, &out.MaxSize + *out = new(float64) + **out = **in + } + if in.MinSize != nil { + in, out := &in.MinSize, &out.MinSize + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScalingConfigObservation. +func (in *ScalingConfigObservation) DeepCopy() *ScalingConfigObservation { + if in == nil { + return nil + } + out := new(ScalingConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScalingConfigParameters) DeepCopyInto(out *ScalingConfigParameters) { + *out = *in + if in.DesiredSize != nil { + in, out := &in.DesiredSize, &out.DesiredSize + *out = new(float64) + **out = **in + } + if in.MaxSize != nil { + in, out := &in.MaxSize, &out.MaxSize + *out = new(float64) + **out = **in + } + if in.MinSize != nil { + in, out := &in.MinSize, &out.MinSize + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScalingConfigParameters. +func (in *ScalingConfigParameters) DeepCopy() *ScalingConfigParameters { + if in == nil { + return nil + } + out := new(ScalingConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScopeClusterGroupObservation) DeepCopyInto(out *ScopeClusterGroupObservation) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeClusterGroupObservation. +func (in *ScopeClusterGroupObservation) DeepCopy() *ScopeClusterGroupObservation { + if in == nil { + return nil + } + out := new(ScopeClusterGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScopeClusterGroupParameters) DeepCopyInto(out *ScopeClusterGroupParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodepoolSpecParameters. -func (in *NodepoolSpecParameters) DeepCopy() *NodepoolSpecParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeClusterGroupParameters. +func (in *ScopeClusterGroupParameters) DeepCopy() *ScopeClusterGroupParameters { + if in == nil { + return nil + } + out := new(ScopeClusterGroupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScopeClusterObservation) DeepCopyInto(out *ScopeClusterObservation) { + *out = *in + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeClusterObservation. +func (in *ScopeClusterObservation) DeepCopy() *ScopeClusterObservation { + if in == nil { + return nil + } + out := new(ScopeClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScopeClusterParameters) DeepCopyInto(out *ScopeClusterParameters) { + *out = *in + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeClusterParameters. +func (in *ScopeClusterParameters) DeepCopy() *ScopeClusterParameters { + if in == nil { + return nil + } + out := new(ScopeClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScopeObservation) DeepCopyInto(out *ScopeObservation) { + *out = *in + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = make([]ScopeClusterObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup + *out = make([]ClusterGroupObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Organization != nil { + in, out := &in.Organization, &out.Organization + *out = make([]OrganizationObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Workspace != nil { + in, out := &in.Workspace, &out.Workspace + *out = make([]ScopeWorkspaceObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeObservation. +func (in *ScopeObservation) DeepCopy() *ScopeObservation { + if in == nil { + return nil + } + out := new(ScopeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScopeOrganizationObservation) DeepCopyInto(out *ScopeOrganizationObservation) { + *out = *in + if in.OrgID != nil { + in, out := &in.OrgID, &out.OrgID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeOrganizationObservation. +func (in *ScopeOrganizationObservation) DeepCopy() *ScopeOrganizationObservation { + if in == nil { + return nil + } + out := new(ScopeOrganizationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScopeOrganizationParameters) DeepCopyInto(out *ScopeOrganizationParameters) { + *out = *in + if in.OrgID != nil { + in, out := &in.OrgID, &out.OrgID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeOrganizationParameters. +func (in *ScopeOrganizationParameters) DeepCopy() *ScopeOrganizationParameters { + if in == nil { + return nil + } + out := new(ScopeOrganizationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScopeParameters) DeepCopyInto(out *ScopeParameters) { + *out = *in + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = make([]ScopeClusterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup + *out = make([]ClusterGroupParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Organization != nil { + in, out := &in.Organization, &out.Organization + *out = make([]OrganizationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Workspace != nil { + in, out := &in.Workspace, &out.Workspace + *out = make([]ScopeWorkspaceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeParameters. +func (in *ScopeParameters) DeepCopy() *ScopeParameters { if in == nil { return nil } - out := new(NodepoolSpecParameters) + out := new(ScopeParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OrganizationObservation) DeepCopyInto(out *OrganizationObservation) { +func (in *ScopeWorkspaceObservation) DeepCopyInto(out *ScopeWorkspaceObservation) { *out = *in - if in.Organization != nil { - in, out := &in.Organization, &out.Organization + if in.Workspace != nil { + in, out := &in.Workspace, &out.Workspace *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationObservation. -func (in *OrganizationObservation) DeepCopy() *OrganizationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeWorkspaceObservation. +func (in *ScopeWorkspaceObservation) DeepCopy() *ScopeWorkspaceObservation { if in == nil { return nil } - out := new(OrganizationObservation) + out := new(ScopeWorkspaceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OrganizationParameters) DeepCopyInto(out *OrganizationParameters) { +func (in *ScopeWorkspaceParameters) DeepCopyInto(out *ScopeWorkspaceParameters) { *out = *in - if in.Organization != nil { - in, out := &in.Organization, &out.Organization + if in.Workspace != nil { + in, out := &in.Workspace, &out.Workspace *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationParameters. -func (in *OrganizationParameters) DeepCopy() *OrganizationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeWorkspaceParameters. +func (in *ScopeWorkspaceParameters) DeepCopy() *ScopeWorkspaceParameters { if in == nil { return nil } - out := new(OrganizationParameters) + out := new(ScopeWorkspaceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ParametersObservation) DeepCopyInto(out *ParametersObservation) { +func (in *SeccompObservation) DeepCopyInto(out *SeccompObservation) { *out = *in - if in.DisallowedSubjects != nil { - in, out := &in.DisallowedSubjects, &out.DisallowedSubjects - *out = make([]DisallowedSubjectsObservation, len(*in)) + if in.AllowedLocalhostFiles != nil { + in, out := &in.AllowedLocalhostFiles, &out.AllowedLocalhostFiles + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.AllowedProfiles != nil { + in, out := &in.AllowedProfiles, &out.AllowedProfiles + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParametersObservation. -func (in *ParametersObservation) DeepCopy() *ParametersObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeccompObservation. +func (in *SeccompObservation) DeepCopy() *SeccompObservation { if in == nil { return nil } - out := new(ParametersObservation) + out := new(SeccompObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ParametersParameters) DeepCopyInto(out *ParametersParameters) { +func (in *SeccompParameters) DeepCopyInto(out *SeccompParameters) { *out = *in - if in.DisallowedSubjects != nil { - in, out := &in.DisallowedSubjects, &out.DisallowedSubjects - *out = make([]DisallowedSubjectsParameters, len(*in)) + if in.AllowedLocalhostFiles != nil { + in, out := &in.AllowedLocalhostFiles, &out.AllowedLocalhostFiles + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.AllowedProfiles != nil { + in, out := &in.AllowedProfiles, &out.AllowedProfiles + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParametersParameters. -func (in *ParametersParameters) DeepCopy() *ParametersParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeccompParameters. +func (in *SeccompParameters) DeepCopy() *SeccompParameters { if in == nil { return nil } - out := new(ParametersParameters) + out := new(SeccompParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PodsObservation) DeepCopyInto(out *PodsObservation) { +func (in *SecurityObservation) DeepCopyInto(out *SecurityObservation) { *out = *in - if in.CidrBlocks != nil { - in, out := &in.CidrBlocks, &out.CidrBlocks + if in.SSHKey != nil { + in, out := &in.SSHKey, &out.SSHKey *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsObservation. -func (in *PodsObservation) DeepCopy() *PodsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityObservation. +func (in *SecurityObservation) DeepCopy() *SecurityObservation { if in == nil { return nil } - out := new(PodsObservation) + out := new(SecurityObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PodsParameters) DeepCopyInto(out *PodsParameters) { +func (in *SecurityParameters) DeepCopyInto(out *SecurityParameters) { *out = *in - if in.CidrBlocks != nil { - in, out := &in.CidrBlocks, &out.CidrBlocks + if in.SSHKey != nil { + in, out := &in.SSHKey, &out.SSHKey *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsParameters. -func (in *PodsParameters) DeepCopy() *PodsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityParameters. +func (in *SecurityParameters) DeepCopy() *SecurityParameters { if in == nil { return nil } - out := new(PodsParameters) + out := new(SecurityParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ProviderObservation) DeepCopyInto(out *ProviderObservation) { +func (in *Security_Policy) DeepCopyInto(out *Security_Policy) { *out = *in - if in.Subnets != nil { - in, out := &in.Subnets, &out.Subnets - *out = make([]SubnetsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.VPC != nil { - in, out := &in.VPC, &out.VPC - *out = make([]VPCObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } + 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 ProviderObservation. -func (in *ProviderObservation) DeepCopy() *ProviderObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_Policy. +func (in *Security_Policy) DeepCopy() *Security_Policy { if in == nil { return nil } - out := new(ProviderObservation) + out := new(Security_Policy) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Security_Policy) 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 *ProviderParameters) DeepCopyInto(out *ProviderParameters) { +func (in *Security_PolicyList) DeepCopyInto(out *Security_PolicyList) { *out = *in - if in.Subnets != nil { - in, out := &in.Subnets, &out.Subnets - *out = make([]SubnetsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.VPC != nil { - in, out := &in.VPC, &out.VPC - *out = make([]VPCParameters, len(*in)) + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Security_Policy, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderParameters. -func (in *ProviderParameters) DeepCopy() *ProviderParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyList. +func (in *Security_PolicyList) DeepCopy() *Security_PolicyList { if in == nil { return nil } - out := new(ProviderParameters) + out := new(Security_PolicyList) in.DeepCopyInto(out) return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RefObservation) DeepCopyInto(out *RefObservation) { - *out = *in - if in.Branch != nil { - in, out := &in.Branch, &out.Branch - *out = new(string) - **out = **in - } - if in.Commit != nil { - in, out := &in.Commit, &out.Commit - *out = new(string) - **out = **in - } - if in.Semver != nil { - in, out := &in.Semver, &out.Semver - *out = new(string) - **out = **in - } - if in.Tag != nil { - in, out := &in.Tag, &out.Tag - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RefObservation. -func (in *RefObservation) DeepCopy() *RefObservation { - if in == nil { - return nil +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Security_PolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - out := new(RefObservation) - in.DeepCopyInto(out) - return out + return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RefParameters) DeepCopyInto(out *RefParameters) { +func (in *Security_PolicyMetaObservation) DeepCopyInto(out *Security_PolicyMetaObservation) { *out = *in - if in.Branch != nil { - in, out := &in.Branch, &out.Branch - *out = new(string) - **out = **in + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } - if in.Commit != nil { - in, out := &in.Commit, &out.Commit + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.Semver != nil { - in, out := &in.Semver, &out.Semver + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceVersion != nil { + in, out := &in.ResourceVersion, &out.ResourceVersion *out = new(string) **out = **in } - if in.Tag != nil { - in, out := &in.Tag, &out.Tag + if in.UID != nil { + in, out := &in.UID, &out.UID *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RefParameters. -func (in *RefParameters) DeepCopy() *RefParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyMetaObservation. +func (in *Security_PolicyMetaObservation) DeepCopy() *Security_PolicyMetaObservation { if in == nil { return nil } - out := new(RefParameters) + out := new(Security_PolicyMetaObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RemoteAccessObservation) DeepCopyInto(out *RemoteAccessObservation) { +func (in *Security_PolicyMetaParameters) DeepCopyInto(out *Security_PolicyMetaParameters) { *out = *in - if in.SSHKey != nil { - in, out := &in.SSHKey, &out.SSHKey + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.SecurityGroups != nil { - in, out := &in.SecurityGroups, &out.SecurityGroups - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal *out = new(string) **out = **in } + (*out)[key] = outVal } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteAccessObservation. -func (in *RemoteAccessObservation) DeepCopy() *RemoteAccessObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyMetaParameters. +func (in *Security_PolicyMetaParameters) DeepCopy() *Security_PolicyMetaParameters { if in == nil { return nil } - out := new(RemoteAccessObservation) + out := new(Security_PolicyMetaParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RemoteAccessParameters) DeepCopyInto(out *RemoteAccessParameters) { +func (in *Security_PolicyObservation) DeepCopyInto(out *Security_PolicyObservation) { *out = *in - if in.SSHKey != nil { - in, out := &in.SSHKey, &out.SSHKey + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.SecurityGroups != nil { - in, out := &in.SecurityGroups, &out.SecurityGroups - *out = make([]*string, len(*in)) + if in.Meta != nil { + in, out := &in.Meta, &out.Meta + *out = make([]Security_PolicyMetaObservation, len(*in)) for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = make([]Security_PolicyScopeObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]Security_PolicySpecObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteAccessParameters. -func (in *RemoteAccessParameters) DeepCopy() *RemoteAccessParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyObservation. +func (in *Security_PolicyObservation) DeepCopy() *Security_PolicyObservation { if in == nil { return nil } - out := new(RemoteAccessParameters) + out := new(Security_PolicyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RequireDigestObservation) DeepCopyInto(out *RequireDigestObservation) { +func (in *Security_PolicyParameters) DeepCopyInto(out *Security_PolicyParameters) { *out = *in - if in.Audit != nil { - in, out := &in.Audit, &out.Audit - *out = new(bool) + if in.Meta != nil { + in, out := &in.Meta, &out.Meta + *out = make([]Security_PolicyMetaParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) **out = **in } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = make([]Security_PolicyScopeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]Security_PolicySpecParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequireDigestObservation. -func (in *RequireDigestObservation) DeepCopy() *RequireDigestObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyParameters. +func (in *Security_PolicyParameters) DeepCopy() *Security_PolicyParameters { if in == nil { return nil } - out := new(RequireDigestObservation) + out := new(Security_PolicyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RequireDigestParameters) DeepCopyInto(out *RequireDigestParameters) { +func (in *Security_PolicyScopeClusterGroupObservation) DeepCopyInto(out *Security_PolicyScopeClusterGroupObservation) { *out = *in - if in.Audit != nil { - in, out := &in.Audit, &out.Audit - *out = new(bool) + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequireDigestParameters. -func (in *RequireDigestParameters) DeepCopy() *RequireDigestParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyScopeClusterGroupObservation. +func (in *Security_PolicyScopeClusterGroupObservation) DeepCopy() *Security_PolicyScopeClusterGroupObservation { if in == nil { return nil } - out := new(RequireDigestParameters) + out := new(Security_PolicyScopeClusterGroupObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RoleBindingsObservation) DeepCopyInto(out *RoleBindingsObservation) { +func (in *Security_PolicyScopeClusterGroupParameters) DeepCopyInto(out *Security_PolicyScopeClusterGroupParameters) { *out = *in - if in.Role != nil { - in, out := &in.Role, &out.Role + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup *out = new(string) **out = **in } - if in.Subjects != nil { - in, out := &in.Subjects, &out.Subjects - *out = make([]SubjectsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingsObservation. -func (in *RoleBindingsObservation) DeepCopy() *RoleBindingsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyScopeClusterGroupParameters. +func (in *Security_PolicyScopeClusterGroupParameters) DeepCopy() *Security_PolicyScopeClusterGroupParameters { if in == nil { return nil } - out := new(RoleBindingsObservation) + out := new(Security_PolicyScopeClusterGroupParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RoleBindingsParameters) DeepCopyInto(out *RoleBindingsParameters) { +func (in *Security_PolicyScopeClusterObservation) DeepCopyInto(out *Security_PolicyScopeClusterObservation) { *out = *in - if in.Role != nil { - in, out := &in.Role, &out.Role + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName *out = new(string) **out = **in } - if in.Subjects != nil { - in, out := &in.Subjects, &out.Subjects - *out = make([]SubjectsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingsParameters. -func (in *RoleBindingsParameters) DeepCopy() *RoleBindingsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyScopeClusterObservation. +func (in *Security_PolicyScopeClusterObservation) DeepCopy() *Security_PolicyScopeClusterObservation { if in == nil { return nil } - out := new(RoleBindingsParameters) + out := new(Security_PolicyScopeClusterObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RulesObservation) DeepCopyInto(out *RulesObservation) { +func (in *Security_PolicyScopeClusterParameters) DeepCopyInto(out *Security_PolicyScopeClusterParameters) { *out = *in - if in.Imagename != nil { - in, out := &in.Imagename, &out.Imagename + if in.ManagementClusterName != nil { + in, out := &in.ManagementClusterName, &out.ManagementClusterName *out = new(string) **out = **in } - if in.Tag != nil { - in, out := &in.Tag, &out.Tag - *out = make([]TagObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProvisionerName != nil { + in, out := &in.ProvisionerName, &out.ProvisionerName + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesObservation. -func (in *RulesObservation) DeepCopy() *RulesObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyScopeClusterParameters. +func (in *Security_PolicyScopeClusterParameters) DeepCopy() *Security_PolicyScopeClusterParameters { if in == nil { return nil } - out := new(RulesObservation) + out := new(Security_PolicyScopeClusterParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RulesParameters) DeepCopyInto(out *RulesParameters) { +func (in *Security_PolicyScopeObservation) DeepCopyInto(out *Security_PolicyScopeObservation) { *out = *in - if in.Imagename != nil { - in, out := &in.Imagename, &out.Imagename - *out = new(string) - **out = **in - } - if in.Tag != nil { - in, out := &in.Tag, &out.Tag - *out = make([]TagParameters, len(*in)) + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = make([]Security_PolicyScopeClusterObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesParameters. -func (in *RulesParameters) DeepCopy() *RulesParameters { - if in == nil { - return nil + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup + *out = make([]Security_PolicyScopeClusterGroupObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - out := new(RulesParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RulesTagObservation) DeepCopyInto(out *RulesTagObservation) { - *out = *in - if in.Negate != nil { - in, out := &in.Negate, &out.Negate - *out = new(bool) - **out = **in + if in.Organization != nil { + in, out := &in.Organization, &out.Organization + *out = make([]Security_PolicyScopeOrganizationObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.Value != nil { - in, out := &in.Value, &out.Value - *out = new(string) - **out = **in + if in.Workspace != nil { + in, out := &in.Workspace, &out.Workspace + *out = make([]Security_PolicyScopeWorkspaceObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesTagObservation. -func (in *RulesTagObservation) DeepCopy() *RulesTagObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyScopeObservation. +func (in *Security_PolicyScopeObservation) DeepCopy() *Security_PolicyScopeObservation { if in == nil { return nil } - out := new(RulesTagObservation) + out := new(Security_PolicyScopeObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RulesTagParameters) DeepCopyInto(out *RulesTagParameters) { +func (in *Security_PolicyScopeOrganizationObservation) DeepCopyInto(out *Security_PolicyScopeOrganizationObservation) { *out = *in - if in.Negate != nil { - in, out := &in.Negate, &out.Negate - *out = new(bool) - **out = **in - } - if in.Value != nil { - in, out := &in.Value, &out.Value + if in.Organization != nil { + in, out := &in.Organization, &out.Organization *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesTagParameters. -func (in *RulesTagParameters) DeepCopy() *RulesTagParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyScopeOrganizationObservation. +func (in *Security_PolicyScopeOrganizationObservation) DeepCopy() *Security_PolicyScopeOrganizationObservation { if in == nil { return nil } - out := new(RulesTagParameters) + out := new(Security_PolicyScopeOrganizationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ScalingConfigObservation) DeepCopyInto(out *ScalingConfigObservation) { +func (in *Security_PolicyScopeOrganizationParameters) DeepCopyInto(out *Security_PolicyScopeOrganizationParameters) { *out = *in - if in.DesiredSize != nil { - in, out := &in.DesiredSize, &out.DesiredSize - *out = new(float64) - **out = **in - } - if in.MaxSize != nil { - in, out := &in.MaxSize, &out.MaxSize - *out = new(float64) - **out = **in - } - if in.MinSize != nil { - in, out := &in.MinSize, &out.MinSize - *out = new(float64) + if in.Organization != nil { + in, out := &in.Organization, &out.Organization + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScalingConfigObservation. -func (in *ScalingConfigObservation) DeepCopy() *ScalingConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyScopeOrganizationParameters. +func (in *Security_PolicyScopeOrganizationParameters) DeepCopy() *Security_PolicyScopeOrganizationParameters { if in == nil { return nil } - out := new(ScalingConfigObservation) + out := new(Security_PolicyScopeOrganizationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ScalingConfigParameters) DeepCopyInto(out *ScalingConfigParameters) { +func (in *Security_PolicyScopeParameters) DeepCopyInto(out *Security_PolicyScopeParameters) { *out = *in - if in.DesiredSize != nil { - in, out := &in.DesiredSize, &out.DesiredSize - *out = new(float64) - **out = **in + if in.Cluster != nil { + in, out := &in.Cluster, &out.Cluster + *out = make([]Security_PolicyScopeClusterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.MaxSize != nil { - in, out := &in.MaxSize, &out.MaxSize - *out = new(float64) - **out = **in + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup + *out = make([]Security_PolicyScopeClusterGroupParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Organization != nil { + in, out := &in.Organization, &out.Organization + *out = make([]Security_PolicyScopeOrganizationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.MinSize != nil { - in, out := &in.MinSize, &out.MinSize - *out = new(float64) - **out = **in + if in.Workspace != nil { + in, out := &in.Workspace, &out.Workspace + *out = make([]Security_PolicyScopeWorkspaceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScalingConfigParameters. -func (in *ScalingConfigParameters) DeepCopy() *ScalingConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyScopeParameters. +func (in *Security_PolicyScopeParameters) DeepCopy() *Security_PolicyScopeParameters { if in == nil { return nil } - out := new(ScalingConfigParameters) + out := new(Security_PolicyScopeParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ScopeClusterGroupObservation) DeepCopyInto(out *ScopeClusterGroupObservation) { +func (in *Security_PolicyScopeWorkspaceObservation) DeepCopyInto(out *Security_PolicyScopeWorkspaceObservation) { *out = *in - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.Workspace != nil { + in, out := &in.Workspace, &out.Workspace *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeClusterGroupObservation. -func (in *ScopeClusterGroupObservation) DeepCopy() *ScopeClusterGroupObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyScopeWorkspaceObservation. +func (in *Security_PolicyScopeWorkspaceObservation) DeepCopy() *Security_PolicyScopeWorkspaceObservation { if in == nil { return nil } - out := new(ScopeClusterGroupObservation) + out := new(Security_PolicyScopeWorkspaceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ScopeClusterGroupParameters) DeepCopyInto(out *ScopeClusterGroupParameters) { +func (in *Security_PolicyScopeWorkspaceParameters) DeepCopyInto(out *Security_PolicyScopeWorkspaceParameters) { *out = *in - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.Workspace != nil { + in, out := &in.Workspace, &out.Workspace *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeClusterGroupParameters. -func (in *ScopeClusterGroupParameters) DeepCopy() *ScopeClusterGroupParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyScopeWorkspaceParameters. +func (in *Security_PolicyScopeWorkspaceParameters) DeepCopy() *Security_PolicyScopeWorkspaceParameters { if in == nil { return nil } - out := new(ScopeClusterGroupParameters) + out := new(Security_PolicyScopeWorkspaceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ScopeClusterObservation) DeepCopyInto(out *ScopeClusterObservation) { +func (in *Security_PolicySpec) DeepCopyInto(out *Security_PolicySpec) { *out = *in - if in.ManagementClusterName != nil { - in, out := &in.ManagementClusterName, &out.ManagementClusterName - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.ProvisionerName != nil { - in, out := &in.ProvisionerName, &out.ProvisionerName - *out = new(string) - **out = **in - } + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeClusterObservation. -func (in *ScopeClusterObservation) DeepCopy() *ScopeClusterObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicySpec. +func (in *Security_PolicySpec) DeepCopy() *Security_PolicySpec { if in == nil { return nil } - out := new(ScopeClusterObservation) + out := new(Security_PolicySpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ScopeClusterParameters) DeepCopyInto(out *ScopeClusterParameters) { +func (in *Security_PolicySpecInputObservation) DeepCopyInto(out *Security_PolicySpecInputObservation) { *out = *in - if in.ManagementClusterName != nil { - in, out := &in.ManagementClusterName, &out.ManagementClusterName - *out = new(string) - **out = **in + if in.Baseline != nil { + in, out := &in.Baseline, &out.Baseline + *out = make([]BaselineObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in + if in.Custom != nil { + in, out := &in.Custom, &out.Custom + *out = make([]SpecInputCustomObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.ProvisionerName != nil { - in, out := &in.ProvisionerName, &out.ProvisionerName - *out = new(string) - **out = **in + if in.Strict != nil { + in, out := &in.Strict, &out.Strict + *out = make([]StrictObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeClusterParameters. -func (in *ScopeClusterParameters) DeepCopy() *ScopeClusterParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicySpecInputObservation. +func (in *Security_PolicySpecInputObservation) DeepCopy() *Security_PolicySpecInputObservation { if in == nil { return nil } - out := new(ScopeClusterParameters) + out := new(Security_PolicySpecInputObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ScopeObservation) DeepCopyInto(out *ScopeObservation) { +func (in *Security_PolicySpecInputParameters) DeepCopyInto(out *Security_PolicySpecInputParameters) { *out = *in - if in.Cluster != nil { - in, out := &in.Cluster, &out.Cluster - *out = make([]ScopeClusterObservation, len(*in)) + if in.Baseline != nil { + in, out := &in.Baseline, &out.Baseline + *out = make([]BaselineParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.ClusterGroup != nil { - in, out := &in.ClusterGroup, &out.ClusterGroup - *out = make([]ClusterGroupObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Organization != nil { - in, out := &in.Organization, &out.Organization - *out = make([]OrganizationObservation, len(*in)) + if in.Custom != nil { + in, out := &in.Custom, &out.Custom + *out = make([]SpecInputCustomParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Workspace != nil { - in, out := &in.Workspace, &out.Workspace - *out = make([]ScopeWorkspaceObservation, len(*in)) + if in.Strict != nil { + in, out := &in.Strict, &out.Strict + *out = make([]StrictParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeObservation. -func (in *ScopeObservation) DeepCopy() *ScopeObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicySpecInputParameters. +func (in *Security_PolicySpecInputParameters) DeepCopy() *Security_PolicySpecInputParameters { if in == nil { return nil } - out := new(ScopeObservation) + out := new(Security_PolicySpecInputParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ScopeOrganizationObservation) DeepCopyInto(out *ScopeOrganizationObservation) { +func (in *Security_PolicySpecNamespaceSelectorMatchExpressionsObservation) DeepCopyInto(out *Security_PolicySpecNamespaceSelectorMatchExpressionsObservation) { *out = *in - if in.OrgID != nil { - in, out := &in.OrgID, &out.OrgID + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator *out = new(string) **out = **in } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeOrganizationObservation. -func (in *ScopeOrganizationObservation) DeepCopy() *ScopeOrganizationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicySpecNamespaceSelectorMatchExpressionsObservation. +func (in *Security_PolicySpecNamespaceSelectorMatchExpressionsObservation) DeepCopy() *Security_PolicySpecNamespaceSelectorMatchExpressionsObservation { if in == nil { return nil } - out := new(ScopeOrganizationObservation) + out := new(Security_PolicySpecNamespaceSelectorMatchExpressionsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ScopeOrganizationParameters) DeepCopyInto(out *ScopeOrganizationParameters) { +func (in *Security_PolicySpecNamespaceSelectorMatchExpressionsParameters) DeepCopyInto(out *Security_PolicySpecNamespaceSelectorMatchExpressionsParameters) { *out = *in - if in.OrgID != nil { - in, out := &in.OrgID, &out.OrgID + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator *out = new(string) **out = **in } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeOrganizationParameters. -func (in *ScopeOrganizationParameters) DeepCopy() *ScopeOrganizationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicySpecNamespaceSelectorMatchExpressionsParameters. +func (in *Security_PolicySpecNamespaceSelectorMatchExpressionsParameters) DeepCopy() *Security_PolicySpecNamespaceSelectorMatchExpressionsParameters { if in == nil { return nil } - out := new(ScopeOrganizationParameters) + out := new(Security_PolicySpecNamespaceSelectorMatchExpressionsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ScopeParameters) DeepCopyInto(out *ScopeParameters) { +func (in *Security_PolicySpecNamespaceSelectorObservation) DeepCopyInto(out *Security_PolicySpecNamespaceSelectorObservation) { *out = *in - if in.Cluster != nil { - in, out := &in.Cluster, &out.Cluster - *out = make([]ScopeClusterParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.ClusterGroup != nil { - in, out := &in.ClusterGroup, &out.ClusterGroup - *out = make([]ClusterGroupParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Organization != nil { - in, out := &in.Organization, &out.Organization - *out = make([]OrganizationParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Workspace != nil { - in, out := &in.Workspace, &out.Workspace - *out = make([]ScopeWorkspaceParameters, len(*in)) + if in.MatchExpressions != nil { + in, out := &in.MatchExpressions, &out.MatchExpressions + *out = make([]Security_PolicySpecNamespaceSelectorMatchExpressionsObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeParameters. -func (in *ScopeParameters) DeepCopy() *ScopeParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicySpecNamespaceSelectorObservation. +func (in *Security_PolicySpecNamespaceSelectorObservation) DeepCopy() *Security_PolicySpecNamespaceSelectorObservation { if in == nil { return nil } - out := new(ScopeParameters) + out := new(Security_PolicySpecNamespaceSelectorObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ScopeWorkspaceObservation) DeepCopyInto(out *ScopeWorkspaceObservation) { +func (in *Security_PolicySpecNamespaceSelectorParameters) DeepCopyInto(out *Security_PolicySpecNamespaceSelectorParameters) { *out = *in - if in.Workspace != nil { - in, out := &in.Workspace, &out.Workspace - *out = new(string) - **out = **in + if in.MatchExpressions != nil { + in, out := &in.MatchExpressions, &out.MatchExpressions + *out = make([]Security_PolicySpecNamespaceSelectorMatchExpressionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeWorkspaceObservation. -func (in *ScopeWorkspaceObservation) DeepCopy() *ScopeWorkspaceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicySpecNamespaceSelectorParameters. +func (in *Security_PolicySpecNamespaceSelectorParameters) DeepCopy() *Security_PolicySpecNamespaceSelectorParameters { if in == nil { return nil } - out := new(ScopeWorkspaceObservation) + out := new(Security_PolicySpecNamespaceSelectorParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ScopeWorkspaceParameters) DeepCopyInto(out *ScopeWorkspaceParameters) { +func (in *Security_PolicySpecObservation) DeepCopyInto(out *Security_PolicySpecObservation) { *out = *in - if in.Workspace != nil { - in, out := &in.Workspace, &out.Workspace - *out = new(string) - **out = **in + if in.Input != nil { + in, out := &in.Input, &out.Input + *out = make([]Security_PolicySpecInputObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NamespaceSelector != nil { + in, out := &in.NamespaceSelector, &out.NamespaceSelector + *out = make([]Security_PolicySpecNamespaceSelectorObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeWorkspaceParameters. -func (in *ScopeWorkspaceParameters) DeepCopy() *ScopeWorkspaceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicySpecObservation. +func (in *Security_PolicySpecObservation) DeepCopy() *Security_PolicySpecObservation { if in == nil { return nil } - out := new(ScopeWorkspaceParameters) + out := new(Security_PolicySpecObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityObservation) DeepCopyInto(out *SecurityObservation) { +func (in *Security_PolicySpecParameters) DeepCopyInto(out *Security_PolicySpecParameters) { *out = *in - if in.SSHKey != nil { - in, out := &in.SSHKey, &out.SSHKey - *out = new(string) - **out = **in + if in.Input != nil { + in, out := &in.Input, &out.Input + *out = make([]Security_PolicySpecInputParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NamespaceSelector != nil { + in, out := &in.NamespaceSelector, &out.NamespaceSelector + *out = make([]Security_PolicySpecNamespaceSelectorParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityObservation. -func (in *SecurityObservation) DeepCopy() *SecurityObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicySpecParameters. +func (in *Security_PolicySpecParameters) DeepCopy() *Security_PolicySpecParameters { if in == nil { return nil } - out := new(SecurityObservation) + out := new(Security_PolicySpecParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SecurityParameters) DeepCopyInto(out *SecurityParameters) { +func (in *Security_PolicyStatus) DeepCopyInto(out *Security_PolicyStatus) { *out = *in - if in.SSHKey != nil { - in, out := &in.SSHKey, &out.SSHKey - *out = new(string) - **out = **in - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityParameters. -func (in *SecurityParameters) DeepCopy() *SecurityParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyStatus. +func (in *Security_PolicyStatus) DeepCopy() *Security_PolicyStatus { if in == nil { return nil } - out := new(SecurityParameters) + out := new(Security_PolicyStatus) in.DeepCopyInto(out) return out } @@ -10901,12 +16954,42 @@ func (in *SkuParameters) DeepCopyInto(out *SkuParameters) { } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkuParameters. -func (in *SkuParameters) DeepCopy() *SkuParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkuParameters. +func (in *SkuParameters) DeepCopy() *SkuParameters { + if in == nil { + return nil + } + out := new(SkuParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SmallObservation) DeepCopyInto(out *SmallObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SmallObservation. +func (in *SmallObservation) DeepCopy() *SmallObservation { + if in == nil { + return nil + } + out := new(SmallObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SmallParameters) DeepCopyInto(out *SmallParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SmallParameters. +func (in *SmallParameters) DeepCopy() *SmallParameters { if in == nil { return nil } - out := new(SkuParameters) + out := new(SmallParameters) in.DeepCopyInto(out) return out } @@ -11003,82 +17086,402 @@ func (in *SpecConfigObservation) DeepCopyInto(out *SpecConfigObservation) { (*out)[key] = outVal } } - if in.VPC != nil { - in, out := &in.VPC, &out.VPC - *out = make([]ConfigVPCObservation, len(*in)) + if in.VPC != nil { + in, out := &in.VPC, &out.VPC + *out = make([]ConfigVPCObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecConfigObservation. +func (in *SpecConfigObservation) DeepCopy() *SpecConfigObservation { + if in == nil { + return nil + } + out := new(SpecConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpecConfigParameters) DeepCopyInto(out *SpecConfigParameters) { + *out = *in + if in.KubernetesNetworkConfig != nil { + in, out := &in.KubernetesNetworkConfig, &out.KubernetesNetworkConfig + *out = make([]KubernetesNetworkConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KubernetesVersion != nil { + in, out := &in.KubernetesVersion, &out.KubernetesVersion + *out = new(string) + **out = **in + } + if in.Logging != nil { + in, out := &in.Logging, &out.Logging + *out = make([]LoggingParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RoleArn != nil { + in, out := &in.RoleArn, &out.RoleArn + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VPC != nil { + in, out := &in.VPC, &out.VPC + *out = make([]ConfigVPCParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecConfigParameters. +func (in *SpecConfigParameters) DeepCopy() *SpecConfigParameters { + if in == nil { + return nil + } + out := new(SpecConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpecDataObservation) DeepCopyInto(out *SpecDataObservation) { + *out = *in + if in.SSHKey != nil { + in, out := &in.SSHKey, &out.SSHKey + *out = make([]SSHKeyObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.UsernamePassword != nil { + in, out := &in.UsernamePassword, &out.UsernamePassword + *out = make([]UsernamePasswordObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecDataObservation. +func (in *SpecDataObservation) DeepCopy() *SpecDataObservation { + if in == nil { + return nil + } + out := new(SpecDataObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpecDataParameters) DeepCopyInto(out *SpecDataParameters) { + *out = *in + if in.SSHKey != nil { + in, out := &in.SSHKey, &out.SSHKey + *out = make([]SSHKeyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.UsernamePassword != nil { + in, out := &in.UsernamePassword, &out.UsernamePassword + *out = make([]UsernamePasswordParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecDataParameters. +func (in *SpecDataParameters) DeepCopy() *SpecDataParameters { + if in == nil { + return nil + } + out := new(SpecDataParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpecInputCustomObservation) DeepCopyInto(out *SpecInputCustomObservation) { + *out = *in + if in.AllowHostNamespaceSharing != nil { + in, out := &in.AllowHostNamespaceSharing, &out.AllowHostNamespaceSharing + *out = new(bool) + **out = **in + } + if in.AllowHostNetwork != nil { + in, out := &in.AllowHostNetwork, &out.AllowHostNetwork + *out = new(bool) + **out = **in + } + if in.AllowPrivilegeEscalation != nil { + in, out := &in.AllowPrivilegeEscalation, &out.AllowPrivilegeEscalation + *out = new(bool) + **out = **in + } + if in.AllowPrivilegedContainers != nil { + in, out := &in.AllowPrivilegedContainers, &out.AllowPrivilegedContainers + *out = new(bool) + **out = **in + } + if in.AllowedHostPaths != nil { + in, out := &in.AllowedHostPaths, &out.AllowedHostPaths + *out = make([]AllowedHostPathsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AllowedHostPortRange != nil { + in, out := &in.AllowedHostPortRange, &out.AllowedHostPortRange + *out = make([]AllowedHostPortRangeObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AllowedSeLinuxOptions != nil { + in, out := &in.AllowedSeLinuxOptions, &out.AllowedSeLinuxOptions + *out = make([]AllowedSeLinuxOptionsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AllowedVolumes != nil { + in, out := &in.AllowedVolumes, &out.AllowedVolumes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Audit != nil { + in, out := &in.Audit, &out.Audit + *out = new(bool) + **out = **in + } + if in.DisableNativePsp != nil { + in, out := &in.DisableNativePsp, &out.DisableNativePsp + *out = new(bool) + **out = **in + } + if in.FsGroup != nil { + in, out := &in.FsGroup, &out.FsGroup + *out = make([]FsGroupObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LinuxCapabilities != nil { + in, out := &in.LinuxCapabilities, &out.LinuxCapabilities + *out = make([]LinuxCapabilitiesObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ReadOnlyRootFileSystem != nil { + in, out := &in.ReadOnlyRootFileSystem, &out.ReadOnlyRootFileSystem + *out = new(bool) + **out = **in + } + if in.RunAsGroup != nil { + in, out := &in.RunAsGroup, &out.RunAsGroup + *out = make([]RunAsGroupObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RunAsUser != nil { + in, out := &in.RunAsUser, &out.RunAsUser + *out = make([]RunAsUserObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Seccomp != nil { + in, out := &in.Seccomp, &out.Seccomp + *out = make([]SeccompObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SupplementalGroups != nil { + in, out := &in.SupplementalGroups, &out.SupplementalGroups + *out = make([]SupplementalGroupsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Sysctls != nil { + in, out := &in.Sysctls, &out.Sysctls + *out = make([]SysctlsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecInputCustomObservation. +func (in *SpecInputCustomObservation) DeepCopy() *SpecInputCustomObservation { + if in == nil { + return nil + } + out := new(SpecInputCustomObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpecInputCustomParameters) DeepCopyInto(out *SpecInputCustomParameters) { + *out = *in + if in.AllowHostNamespaceSharing != nil { + in, out := &in.AllowHostNamespaceSharing, &out.AllowHostNamespaceSharing + *out = new(bool) + **out = **in + } + if in.AllowHostNetwork != nil { + in, out := &in.AllowHostNetwork, &out.AllowHostNetwork + *out = new(bool) + **out = **in + } + if in.AllowPrivilegeEscalation != nil { + in, out := &in.AllowPrivilegeEscalation, &out.AllowPrivilegeEscalation + *out = new(bool) + **out = **in + } + if in.AllowPrivilegedContainers != nil { + in, out := &in.AllowPrivilegedContainers, &out.AllowPrivilegedContainers + *out = new(bool) + **out = **in + } + if in.AllowedHostPaths != nil { + in, out := &in.AllowedHostPaths, &out.AllowedHostPaths + *out = make([]AllowedHostPathsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AllowedHostPortRange != nil { + in, out := &in.AllowedHostPortRange, &out.AllowedHostPortRange + *out = make([]AllowedHostPortRangeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AllowedSeLinuxOptions != nil { + in, out := &in.AllowedSeLinuxOptions, &out.AllowedSeLinuxOptions + *out = make([]AllowedSeLinuxOptionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AllowedVolumes != nil { + in, out := &in.AllowedVolumes, &out.AllowedVolumes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Audit != nil { + in, out := &in.Audit, &out.Audit + *out = new(bool) + **out = **in + } + if in.DisableNativePsp != nil { + in, out := &in.DisableNativePsp, &out.DisableNativePsp + *out = new(bool) + **out = **in + } + if in.FsGroup != nil { + in, out := &in.FsGroup, &out.FsGroup + *out = make([]FsGroupParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecConfigObservation. -func (in *SpecConfigObservation) DeepCopy() *SpecConfigObservation { - if in == nil { - return nil - } - out := new(SpecConfigObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpecConfigParameters) DeepCopyInto(out *SpecConfigParameters) { - *out = *in - if in.KubernetesNetworkConfig != nil { - in, out := &in.KubernetesNetworkConfig, &out.KubernetesNetworkConfig - *out = make([]KubernetesNetworkConfigParameters, len(*in)) + if in.LinuxCapabilities != nil { + in, out := &in.LinuxCapabilities, &out.LinuxCapabilities + *out = make([]LinuxCapabilitiesParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.KubernetesVersion != nil { - in, out := &in.KubernetesVersion, &out.KubernetesVersion - *out = new(string) + if in.ReadOnlyRootFileSystem != nil { + in, out := &in.ReadOnlyRootFileSystem, &out.ReadOnlyRootFileSystem + *out = new(bool) **out = **in } - if in.Logging != nil { - in, out := &in.Logging, &out.Logging - *out = make([]LoggingParameters, len(*in)) + if in.RunAsGroup != nil { + in, out := &in.RunAsGroup, &out.RunAsGroup + *out = make([]RunAsGroupParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.RoleArn != nil { - in, out := &in.RoleArn, &out.RoleArn - *out = new(string) - **out = **in + if in.RunAsUser != nil { + in, out := &in.RunAsUser, &out.RunAsUser + *out = make([]RunAsUserParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal + if in.Seccomp != nil { + in, out := &in.Seccomp, &out.Seccomp + *out = make([]SeccompParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.VPC != nil { - in, out := &in.VPC, &out.VPC - *out = make([]ConfigVPCParameters, len(*in)) + if in.SupplementalGroups != nil { + in, out := &in.SupplementalGroups, &out.SupplementalGroups + *out = make([]SupplementalGroupsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Sysctls != nil { + in, out := &in.Sysctls, &out.Sysctls + *out = make([]SysctlsParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecConfigParameters. -func (in *SpecConfigParameters) DeepCopy() *SpecConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecInputCustomParameters. +func (in *SpecInputCustomParameters) DeepCopy() *SpecInputCustomParameters { if in == nil { return nil } - out := new(SpecConfigParameters) + out := new(SpecInputCustomParameters) in.DeepCopyInto(out) return out } @@ -11169,6 +17572,78 @@ func (in *SpecInputParameters) DeepCopy() *SpecInputParameters { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpecNamespaceSelectorMatchExpressionsObservation) DeepCopyInto(out *SpecNamespaceSelectorMatchExpressionsObservation) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecNamespaceSelectorMatchExpressionsObservation. +func (in *SpecNamespaceSelectorMatchExpressionsObservation) DeepCopy() *SpecNamespaceSelectorMatchExpressionsObservation { + if in == nil { + return nil + } + out := new(SpecNamespaceSelectorMatchExpressionsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpecNamespaceSelectorMatchExpressionsParameters) DeepCopyInto(out *SpecNamespaceSelectorMatchExpressionsParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecNamespaceSelectorMatchExpressionsParameters. +func (in *SpecNamespaceSelectorMatchExpressionsParameters) DeepCopy() *SpecNamespaceSelectorMatchExpressionsParameters { + if in == nil { + return nil + } + out := new(SpecNamespaceSelectorMatchExpressionsParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SpecNamespaceSelectorObservation) DeepCopyInto(out *SpecNamespaceSelectorObservation) { *out = *in @@ -11905,111 +18380,224 @@ func (in *SpecTkgServiceVsphereVolumesParameters) DeepCopy() *SpecTkgServiceVsph if in == nil { return nil } - out := new(SpecTkgServiceVsphereVolumesParameters) + out := new(SpecTkgServiceVsphereVolumesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpecTkgVsphereObservation) DeepCopyInto(out *SpecTkgVsphereObservation) { + *out = *in + if in.VMConfig != nil { + in, out := &in.VMConfig, &out.VMConfig + *out = make([]TkgVsphereVMConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecTkgVsphereObservation. +func (in *SpecTkgVsphereObservation) DeepCopy() *SpecTkgVsphereObservation { + if in == nil { + return nil + } + out := new(SpecTkgVsphereObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpecTkgVsphereParameters) DeepCopyInto(out *SpecTkgVsphereParameters) { + *out = *in + if in.VMConfig != nil { + in, out := &in.VMConfig, &out.VMConfig + *out = make([]TkgVsphereVMConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecTkgVsphereParameters. +func (in *SpecTkgVsphereParameters) DeepCopy() *SpecTkgVsphereParameters { + if in == nil { + return nil + } + out := new(SpecTkgVsphereParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpecTkgVsphereVMConfigObservation) DeepCopyInto(out *SpecTkgVsphereVMConfigObservation) { + *out = *in + if in.CPU != nil { + in, out := &in.CPU, &out.CPU + *out = new(string) + **out = **in + } + if in.DiskSize != nil { + in, out := &in.DiskSize, &out.DiskSize + *out = new(string) + **out = **in + } + if in.Memory != nil { + in, out := &in.Memory, &out.Memory + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecTkgVsphereVMConfigObservation. +func (in *SpecTkgVsphereVMConfigObservation) DeepCopy() *SpecTkgVsphereVMConfigObservation { + if in == nil { + return nil + } + out := new(SpecTkgVsphereVMConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SpecTkgVsphereVMConfigParameters) DeepCopyInto(out *SpecTkgVsphereVMConfigParameters) { + *out = *in + if in.CPU != nil { + in, out := &in.CPU, &out.CPU + *out = new(string) + **out = **in + } + if in.DiskSize != nil { + in, out := &in.DiskSize, &out.DiskSize + *out = new(string) + **out = **in + } + if in.Memory != nil { + in, out := &in.Memory, &out.Memory + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecTkgVsphereVMConfigParameters. +func (in *SpecTkgVsphereVMConfigParameters) DeepCopy() *SpecTkgVsphereVMConfigParameters { + if in == nil { + return nil + } + out := new(SpecTkgVsphereVMConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StateObservation) DeepCopyInto(out *StateObservation) { + *out = *in + if in.Disabled != nil { + in, out := &in.Disabled, &out.Disabled + *out = new(bool) + **out = **in + } + if in.Managed != nil { + in, out := &in.Managed, &out.Managed + *out = new(bool) + **out = **in + } + if in.PackageRepositoryPhase != nil { + in, out := &in.PackageRepositoryPhase, &out.PackageRepositoryPhase + *out = new(string) + **out = **in + } + if in.Subscribed != nil { + in, out := &in.Subscribed, &out.Subscribed + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StateObservation. +func (in *StateObservation) DeepCopy() *StateObservation { + if in == nil { + return nil + } + out := new(StateObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpecTkgVsphereObservation) DeepCopyInto(out *SpecTkgVsphereObservation) { +func (in *StateParameters) DeepCopyInto(out *StateParameters) { *out = *in - if in.VMConfig != nil { - in, out := &in.VMConfig, &out.VMConfig - *out = make([]TkgVsphereVMConfigObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecTkgVsphereObservation. -func (in *SpecTkgVsphereObservation) DeepCopy() *SpecTkgVsphereObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StateParameters. +func (in *StateParameters) DeepCopy() *StateParameters { if in == nil { return nil } - out := new(SpecTkgVsphereObservation) + out := new(StateParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpecTkgVsphereParameters) DeepCopyInto(out *SpecTkgVsphereParameters) { +func (in *StatusObservation) DeepCopyInto(out *StatusObservation) { *out = *in - if in.VMConfig != nil { - in, out := &in.VMConfig, &out.VMConfig - *out = make([]TkgVsphereVMConfigParameters, len(*in)) + if in.GeneratedResources != nil { + in, out := &in.GeneratedResources, &out.GeneratedResources + *out = make([]GeneratedResourcesObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecTkgVsphereParameters. -func (in *SpecTkgVsphereParameters) DeepCopy() *SpecTkgVsphereParameters { - if in == nil { - return nil - } - out := new(SpecTkgVsphereParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpecTkgVsphereVMConfigObservation) DeepCopyInto(out *SpecTkgVsphereVMConfigObservation) { - *out = *in - if in.CPU != nil { - in, out := &in.CPU, &out.CPU - *out = new(string) + if in.Managed != nil { + in, out := &in.Managed, &out.Managed + *out = new(bool) **out = **in } - if in.DiskSize != nil { - in, out := &in.DiskSize, &out.DiskSize + if in.PackageInstallPhase != nil { + in, out := &in.PackageInstallPhase, &out.PackageInstallPhase *out = new(string) **out = **in } - if in.Memory != nil { - in, out := &in.Memory, &out.Memory + if in.ReferredBy != nil { + in, out := &in.ReferredBy, &out.ReferredBy + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ResolvedVersion != nil { + in, out := &in.ResolvedVersion, &out.ResolvedVersion *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecTkgVsphereVMConfigObservation. -func (in *SpecTkgVsphereVMConfigObservation) DeepCopy() *SpecTkgVsphereVMConfigObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusObservation. +func (in *StatusObservation) DeepCopy() *StatusObservation { if in == nil { return nil } - out := new(SpecTkgVsphereVMConfigObservation) + out := new(StatusObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SpecTkgVsphereVMConfigParameters) DeepCopyInto(out *SpecTkgVsphereVMConfigParameters) { +func (in *StatusParameters) DeepCopyInto(out *StatusParameters) { *out = *in - if in.CPU != nil { - in, out := &in.CPU, &out.CPU - *out = new(string) - **out = **in - } - if in.DiskSize != nil { - in, out := &in.DiskSize, &out.DiskSize - *out = new(string) - **out = **in - } - if in.Memory != nil { - in, out := &in.Memory, &out.Memory - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecTkgVsphereVMConfigParameters. -func (in *SpecTkgVsphereVMConfigParameters) DeepCopy() *SpecTkgVsphereVMConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusParameters. +func (in *StatusParameters) DeepCopy() *StatusParameters { if in == nil { return nil } - out := new(SpecTkgVsphereVMConfigParameters) + out := new(StatusParameters) in.DeepCopyInto(out) return out } @@ -12136,6 +18724,56 @@ func (in *StorageParameters) DeepCopy() *StorageParameters { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StrictObservation) DeepCopyInto(out *StrictObservation) { + *out = *in + if in.Audit != nil { + in, out := &in.Audit, &out.Audit + *out = new(bool) + **out = **in + } + if in.DisableNativePsp != nil { + in, out := &in.DisableNativePsp, &out.DisableNativePsp + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrictObservation. +func (in *StrictObservation) DeepCopy() *StrictObservation { + if in == nil { + return nil + } + out := new(StrictObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StrictParameters) DeepCopyInto(out *StrictParameters) { + *out = *in + if in.Audit != nil { + in, out := &in.Audit, &out.Audit + *out = new(bool) + **out = **in + } + if in.DisableNativePsp != nil { + in, out := &in.DisableNativePsp, &out.DisableNativePsp + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrictParameters. +func (in *StrictParameters) DeepCopy() *StrictParameters { + if in == nil { + return nil + } + out := new(StrictParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SubjectsObservation) DeepCopyInto(out *SubjectsObservation) { *out = *in @@ -12256,6 +18894,162 @@ func (in *SubnetsParameters) DeepCopy() *SubnetsParameters { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SupplementalGroupsObservation) DeepCopyInto(out *SupplementalGroupsObservation) { + *out = *in + if in.Ranges != nil { + in, out := &in.Ranges, &out.Ranges + *out = make([]SupplementalGroupsRangesObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupplementalGroupsObservation. +func (in *SupplementalGroupsObservation) DeepCopy() *SupplementalGroupsObservation { + if in == nil { + return nil + } + out := new(SupplementalGroupsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SupplementalGroupsParameters) DeepCopyInto(out *SupplementalGroupsParameters) { + *out = *in + if in.Ranges != nil { + in, out := &in.Ranges, &out.Ranges + *out = make([]SupplementalGroupsRangesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupplementalGroupsParameters. +func (in *SupplementalGroupsParameters) DeepCopy() *SupplementalGroupsParameters { + if in == nil { + return nil + } + out := new(SupplementalGroupsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SupplementalGroupsRangesObservation) DeepCopyInto(out *SupplementalGroupsRangesObservation) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupplementalGroupsRangesObservation. +func (in *SupplementalGroupsRangesObservation) DeepCopy() *SupplementalGroupsRangesObservation { + if in == nil { + return nil + } + out := new(SupplementalGroupsRangesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SupplementalGroupsRangesParameters) DeepCopyInto(out *SupplementalGroupsRangesParameters) { + *out = *in + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(float64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupplementalGroupsRangesParameters. +func (in *SupplementalGroupsRangesParameters) DeepCopy() *SupplementalGroupsRangesParameters { + if in == nil { + return nil + } + out := new(SupplementalGroupsRangesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SysctlsObservation) DeepCopyInto(out *SysctlsObservation) { + *out = *in + if in.ForbiddenSysctls != nil { + in, out := &in.ForbiddenSysctls, &out.ForbiddenSysctls + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SysctlsObservation. +func (in *SysctlsObservation) DeepCopy() *SysctlsObservation { + if in == nil { + return nil + } + out := new(SysctlsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SysctlsParameters) DeepCopyInto(out *SysctlsParameters) { + *out = *in + if in.ForbiddenSysctls != nil { + in, out := &in.ForbiddenSysctls, &out.ForbiddenSysctls + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SysctlsParameters. +func (in *SysctlsParameters) DeepCopy() *SysctlsParameters { + if in == nil { + return nil + } + out := new(SysctlsParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TagObservation) DeepCopyInto(out *TagObservation) { *out = *in @@ -14760,12 +21554,53 @@ func (in *UpgradeConfigParameters) DeepCopyInto(out *UpgradeConfigParameters) { } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeConfigParameters. -func (in *UpgradeConfigParameters) DeepCopy() *UpgradeConfigParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeConfigParameters. +func (in *UpgradeConfigParameters) DeepCopy() *UpgradeConfigParameters { + if in == nil { + return nil + } + out := new(UpgradeConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *UsernamePasswordObservation) DeepCopyInto(out *UsernamePasswordObservation) { + *out = *in + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UsernamePasswordObservation. +func (in *UsernamePasswordObservation) DeepCopy() *UsernamePasswordObservation { + if in == nil { + return nil + } + out := new(UsernamePasswordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *UsernamePasswordParameters) DeepCopyInto(out *UsernamePasswordParameters) { + *out = *in + out.PasswordSecretRef = in.PasswordSecretRef + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UsernamePasswordParameters. +func (in *UsernamePasswordParameters) DeepCopy() *UsernamePasswordParameters { if in == nil { return nil } - out := new(UpgradeConfigParameters) + out := new(UsernamePasswordParameters) in.DeepCopyInto(out) return out } @@ -14880,6 +21715,46 @@ func (in *VPCParameters) DeepCopy() *VPCParameters { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VersionSelectionObservation) DeepCopyInto(out *VersionSelectionObservation) { + *out = *in + if in.Constraints != nil { + in, out := &in.Constraints, &out.Constraints + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionSelectionObservation. +func (in *VersionSelectionObservation) DeepCopy() *VersionSelectionObservation { + if in == nil { + return nil + } + out := new(VersionSelectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VersionSelectionParameters) DeepCopyInto(out *VersionSelectionParameters) { + *out = *in + if in.Constraints != nil { + in, out := &in.Constraints, &out.Constraints + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionSelectionParameters. +func (in *VersionSelectionParameters) DeepCopy() *VersionSelectionParameters { + if in == nil { + return nil + } + out := new(VersionSelectionParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VolumesObservation) DeepCopyInto(out *VolumesObservation) { *out = *in @@ -14950,6 +21825,175 @@ func (in *VolumesParameters) DeepCopy() *VolumesParameters { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Workspace) DeepCopyInto(out *Workspace) { + *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 Workspace. +func (in *Workspace) DeepCopy() *Workspace { + if in == nil { + return nil + } + out := new(Workspace) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Workspace) 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 *WorkspaceList) DeepCopyInto(out *WorkspaceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Workspace, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceList. +func (in *WorkspaceList) DeepCopy() *WorkspaceList { + if in == nil { + return nil + } + out := new(WorkspaceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *WorkspaceList) 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 *WorkspaceMetaObservation) DeepCopyInto(out *WorkspaceMetaObservation) { + *out = *in + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceVersion != nil { + in, out := &in.ResourceVersion, &out.ResourceVersion + *out = new(string) + **out = **in + } + if in.UID != nil { + in, out := &in.UID, &out.UID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceMetaObservation. +func (in *WorkspaceMetaObservation) DeepCopy() *WorkspaceMetaObservation { + if in == nil { + return nil + } + out := new(WorkspaceMetaObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceMetaParameters) DeepCopyInto(out *WorkspaceMetaParameters) { + *out = *in + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceMetaParameters. +func (in *WorkspaceMetaParameters) DeepCopy() *WorkspaceMetaParameters { + if in == nil { + return nil + } + out := new(WorkspaceMetaParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *WorkspaceObservation) DeepCopyInto(out *WorkspaceObservation) { *out = *in @@ -14990,6 +22034,38 @@ func (in *WorkspaceObservation) DeepCopy() *WorkspaceObservation { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceObservation_2) DeepCopyInto(out *WorkspaceObservation_2) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Meta != nil { + in, out := &in.Meta, &out.Meta + *out = make([]WorkspaceMetaObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceObservation_2. +func (in *WorkspaceObservation_2) DeepCopy() *WorkspaceObservation_2 { + if in == nil { + return nil + } + out := new(WorkspaceObservation_2) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *WorkspaceParameters) DeepCopyInto(out *WorkspaceParameters) { *out = *in @@ -15029,3 +22105,64 @@ func (in *WorkspaceParameters) DeepCopy() *WorkspaceParameters { in.DeepCopyInto(out) return out } + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceParameters_2) DeepCopyInto(out *WorkspaceParameters_2) { + *out = *in + if in.Meta != nil { + in, out := &in.Meta, &out.Meta + *out = make([]WorkspaceMetaParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceParameters_2. +func (in *WorkspaceParameters_2) DeepCopy() *WorkspaceParameters_2 { + if in == nil { + return nil + } + out := new(WorkspaceParameters_2) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceSpec) DeepCopyInto(out *WorkspaceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSpec. +func (in *WorkspaceSpec) DeepCopy() *WorkspaceSpec { + if in == nil { + return nil + } + out := new(WorkspaceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceStatus) DeepCopyInto(out *WorkspaceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceStatus. +func (in *WorkspaceStatus) DeepCopy() *WorkspaceStatus { + if in == nil { + return nil + } + out := new(WorkspaceStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/tmc/v1alpha1/zz_generated.managed.go b/apis/tmc/v1alpha1/zz_generated.managed.go index 0e161c3..f902395 100644 --- a/apis/tmc/v1alpha1/zz_generated.managed.go +++ b/apis/tmc/v1alpha1/zz_generated.managed.go @@ -1070,3 +1070,535 @@ func (mg *Namespace) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDeta func (mg *Namespace) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r } + +// GetCondition of this Namespace_Quota_Policy. +func (mg *Namespace_Quota_Policy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Namespace_Quota_Policy. +func (mg *Namespace_Quota_Policy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetManagementPolicy of this Namespace_Quota_Policy. +func (mg *Namespace_Quota_Policy) GetManagementPolicy() xpv1.ManagementPolicy { + return mg.Spec.ManagementPolicy +} + +// GetProviderConfigReference of this Namespace_Quota_Policy. +func (mg *Namespace_Quota_Policy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Namespace_Quota_Policy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Namespace_Quota_Policy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetPublishConnectionDetailsTo of this Namespace_Quota_Policy. +func (mg *Namespace_Quota_Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + +// GetWriteConnectionSecretToReference of this Namespace_Quota_Policy. +func (mg *Namespace_Quota_Policy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Namespace_Quota_Policy. +func (mg *Namespace_Quota_Policy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Namespace_Quota_Policy. +func (mg *Namespace_Quota_Policy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetManagementPolicy of this Namespace_Quota_Policy. +func (mg *Namespace_Quota_Policy) SetManagementPolicy(r xpv1.ManagementPolicy) { + mg.Spec.ManagementPolicy = r +} + +// SetProviderConfigReference of this Namespace_Quota_Policy. +func (mg *Namespace_Quota_Policy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Namespace_Quota_Policy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Namespace_Quota_Policy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetPublishConnectionDetailsTo of this Namespace_Quota_Policy. +func (mg *Namespace_Quota_Policy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + +// SetWriteConnectionSecretToReference of this Namespace_Quota_Policy. +func (mg *Namespace_Quota_Policy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Network_Policy. +func (mg *Network_Policy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Network_Policy. +func (mg *Network_Policy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetManagementPolicy of this Network_Policy. +func (mg *Network_Policy) GetManagementPolicy() xpv1.ManagementPolicy { + return mg.Spec.ManagementPolicy +} + +// GetProviderConfigReference of this Network_Policy. +func (mg *Network_Policy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Network_Policy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Network_Policy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetPublishConnectionDetailsTo of this Network_Policy. +func (mg *Network_Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + +// GetWriteConnectionSecretToReference of this Network_Policy. +func (mg *Network_Policy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Network_Policy. +func (mg *Network_Policy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Network_Policy. +func (mg *Network_Policy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetManagementPolicy of this Network_Policy. +func (mg *Network_Policy) SetManagementPolicy(r xpv1.ManagementPolicy) { + mg.Spec.ManagementPolicy = r +} + +// SetProviderConfigReference of this Network_Policy. +func (mg *Network_Policy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Network_Policy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Network_Policy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetPublishConnectionDetailsTo of this Network_Policy. +func (mg *Network_Policy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + +// SetWriteConnectionSecretToReference of this Network_Policy. +func (mg *Network_Policy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Package_Install. +func (mg *Package_Install) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Package_Install. +func (mg *Package_Install) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetManagementPolicy of this Package_Install. +func (mg *Package_Install) GetManagementPolicy() xpv1.ManagementPolicy { + return mg.Spec.ManagementPolicy +} + +// GetProviderConfigReference of this Package_Install. +func (mg *Package_Install) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Package_Install. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Package_Install) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetPublishConnectionDetailsTo of this Package_Install. +func (mg *Package_Install) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + +// GetWriteConnectionSecretToReference of this Package_Install. +func (mg *Package_Install) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Package_Install. +func (mg *Package_Install) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Package_Install. +func (mg *Package_Install) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetManagementPolicy of this Package_Install. +func (mg *Package_Install) SetManagementPolicy(r xpv1.ManagementPolicy) { + mg.Spec.ManagementPolicy = r +} + +// SetProviderConfigReference of this Package_Install. +func (mg *Package_Install) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Package_Install. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Package_Install) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetPublishConnectionDetailsTo of this Package_Install. +func (mg *Package_Install) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + +// SetWriteConnectionSecretToReference of this Package_Install. +func (mg *Package_Install) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Package_Repository. +func (mg *Package_Repository) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Package_Repository. +func (mg *Package_Repository) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetManagementPolicy of this Package_Repository. +func (mg *Package_Repository) GetManagementPolicy() xpv1.ManagementPolicy { + return mg.Spec.ManagementPolicy +} + +// GetProviderConfigReference of this Package_Repository. +func (mg *Package_Repository) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Package_Repository. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Package_Repository) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetPublishConnectionDetailsTo of this Package_Repository. +func (mg *Package_Repository) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + +// GetWriteConnectionSecretToReference of this Package_Repository. +func (mg *Package_Repository) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Package_Repository. +func (mg *Package_Repository) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Package_Repository. +func (mg *Package_Repository) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetManagementPolicy of this Package_Repository. +func (mg *Package_Repository) SetManagementPolicy(r xpv1.ManagementPolicy) { + mg.Spec.ManagementPolicy = r +} + +// SetProviderConfigReference of this Package_Repository. +func (mg *Package_Repository) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Package_Repository. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Package_Repository) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetPublishConnectionDetailsTo of this Package_Repository. +func (mg *Package_Repository) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + +// SetWriteConnectionSecretToReference of this Package_Repository. +func (mg *Package_Repository) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Repository_Credential. +func (mg *Repository_Credential) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Repository_Credential. +func (mg *Repository_Credential) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetManagementPolicy of this Repository_Credential. +func (mg *Repository_Credential) GetManagementPolicy() xpv1.ManagementPolicy { + return mg.Spec.ManagementPolicy +} + +// GetProviderConfigReference of this Repository_Credential. +func (mg *Repository_Credential) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Repository_Credential. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Repository_Credential) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetPublishConnectionDetailsTo of this Repository_Credential. +func (mg *Repository_Credential) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + +// GetWriteConnectionSecretToReference of this Repository_Credential. +func (mg *Repository_Credential) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Repository_Credential. +func (mg *Repository_Credential) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Repository_Credential. +func (mg *Repository_Credential) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetManagementPolicy of this Repository_Credential. +func (mg *Repository_Credential) SetManagementPolicy(r xpv1.ManagementPolicy) { + mg.Spec.ManagementPolicy = r +} + +// SetProviderConfigReference of this Repository_Credential. +func (mg *Repository_Credential) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Repository_Credential. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Repository_Credential) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetPublishConnectionDetailsTo of this Repository_Credential. +func (mg *Repository_Credential) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + +// SetWriteConnectionSecretToReference of this Repository_Credential. +func (mg *Repository_Credential) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Security_Policy. +func (mg *Security_Policy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Security_Policy. +func (mg *Security_Policy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetManagementPolicy of this Security_Policy. +func (mg *Security_Policy) GetManagementPolicy() xpv1.ManagementPolicy { + return mg.Spec.ManagementPolicy +} + +// GetProviderConfigReference of this Security_Policy. +func (mg *Security_Policy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Security_Policy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Security_Policy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetPublishConnectionDetailsTo of this Security_Policy. +func (mg *Security_Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + +// GetWriteConnectionSecretToReference of this Security_Policy. +func (mg *Security_Policy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Security_Policy. +func (mg *Security_Policy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Security_Policy. +func (mg *Security_Policy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetManagementPolicy of this Security_Policy. +func (mg *Security_Policy) SetManagementPolicy(r xpv1.ManagementPolicy) { + mg.Spec.ManagementPolicy = r +} + +// SetProviderConfigReference of this Security_Policy. +func (mg *Security_Policy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Security_Policy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Security_Policy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetPublishConnectionDetailsTo of this Security_Policy. +func (mg *Security_Policy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + +// SetWriteConnectionSecretToReference of this Security_Policy. +func (mg *Security_Policy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Workspace. +func (mg *Workspace) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Workspace. +func (mg *Workspace) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetManagementPolicy of this Workspace. +func (mg *Workspace) GetManagementPolicy() xpv1.ManagementPolicy { + return mg.Spec.ManagementPolicy +} + +// GetProviderConfigReference of this Workspace. +func (mg *Workspace) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Workspace. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Workspace) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetPublishConnectionDetailsTo of this Workspace. +func (mg *Workspace) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { + return mg.Spec.PublishConnectionDetailsTo +} + +// GetWriteConnectionSecretToReference of this Workspace. +func (mg *Workspace) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Workspace. +func (mg *Workspace) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Workspace. +func (mg *Workspace) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetManagementPolicy of this Workspace. +func (mg *Workspace) SetManagementPolicy(r xpv1.ManagementPolicy) { + mg.Spec.ManagementPolicy = r +} + +// SetProviderConfigReference of this Workspace. +func (mg *Workspace) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Workspace. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Workspace) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetPublishConnectionDetailsTo of this Workspace. +func (mg *Workspace) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { + mg.Spec.PublishConnectionDetailsTo = r +} + +// SetWriteConnectionSecretToReference of this Workspace. +func (mg *Workspace) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/tmc/v1alpha1/zz_generated.managedlist.go b/apis/tmc/v1alpha1/zz_generated.managedlist.go index f18fcab..b670c27 100644 --- a/apis/tmc/v1alpha1/zz_generated.managedlist.go +++ b/apis/tmc/v1alpha1/zz_generated.managedlist.go @@ -132,3 +132,66 @@ func (l *NamespaceList) GetItems() []resource.Managed { } return items } + +// GetItems of this Namespace_Quota_PolicyList. +func (l *Namespace_Quota_PolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this Network_PolicyList. +func (l *Network_PolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this Package_InstallList. +func (l *Package_InstallList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this Package_RepositoryList. +func (l *Package_RepositoryList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this Repository_CredentialList. +func (l *Repository_CredentialList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this Security_PolicyList. +func (l *Security_PolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this WorkspaceList. +func (l *WorkspaceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/tmc/v1alpha1/zz_generated_terraformed.go b/apis/tmc/v1alpha1/zz_generated_terraformed.go index e9fb684..e612c33 100755 --- a/apis/tmc/v1alpha1/zz_generated_terraformed.go +++ b/apis/tmc/v1alpha1/zz_generated_terraformed.go @@ -1048,3 +1048,521 @@ func (tr *Namespace) LateInitialize(attrs []byte) (bool, error) { func (tr *Namespace) GetTerraformSchemaVersion() int { return 0 } + +// GetTerraformResourceType returns Terraform resource type for this Namespace_Quota_Policy +func (mg *Namespace_Quota_Policy) GetTerraformResourceType() string { + return "tanzu-mission-control_namespace_quota_policy" +} + +// GetConnectionDetailsMapping for this Namespace_Quota_Policy +func (tr *Namespace_Quota_Policy) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Namespace_Quota_Policy +func (tr *Namespace_Quota_Policy) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Namespace_Quota_Policy +func (tr *Namespace_Quota_Policy) SetObservation(obs map[string]any) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this Namespace_Quota_Policy +func (tr *Namespace_Quota_Policy) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this Namespace_Quota_Policy +func (tr *Namespace_Quota_Policy) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Namespace_Quota_Policy +func (tr *Namespace_Quota_Policy) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Namespace_Quota_Policy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Namespace_Quota_Policy) LateInitialize(attrs []byte) (bool, error) { + params := &Namespace_Quota_PolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Namespace_Quota_Policy) GetTerraformSchemaVersion() int { + return 0 +} + +// GetTerraformResourceType returns Terraform resource type for this Network_Policy +func (mg *Network_Policy) GetTerraformResourceType() string { + return "tanzu-mission-control_network_policy" +} + +// GetConnectionDetailsMapping for this Network_Policy +func (tr *Network_Policy) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Network_Policy +func (tr *Network_Policy) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Network_Policy +func (tr *Network_Policy) SetObservation(obs map[string]any) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this Network_Policy +func (tr *Network_Policy) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this Network_Policy +func (tr *Network_Policy) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Network_Policy +func (tr *Network_Policy) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Network_Policy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Network_Policy) LateInitialize(attrs []byte) (bool, error) { + params := &Network_PolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Network_Policy) GetTerraformSchemaVersion() int { + return 0 +} + +// GetTerraformResourceType returns Terraform resource type for this Package_Install +func (mg *Package_Install) GetTerraformResourceType() string { + return "tanzu-mission-control_package_install" +} + +// GetConnectionDetailsMapping for this Package_Install +func (tr *Package_Install) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"spec[*].inline_values": "spec.forProvider.spec[*].inlineValuesSecretRef"} +} + +// GetObservation of this Package_Install +func (tr *Package_Install) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Package_Install +func (tr *Package_Install) SetObservation(obs map[string]any) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this Package_Install +func (tr *Package_Install) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this Package_Install +func (tr *Package_Install) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Package_Install +func (tr *Package_Install) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Package_Install using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Package_Install) LateInitialize(attrs []byte) (bool, error) { + params := &Package_InstallParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Package_Install) GetTerraformSchemaVersion() int { + return 0 +} + +// GetTerraformResourceType returns Terraform resource type for this Package_Repository +func (mg *Package_Repository) GetTerraformResourceType() string { + return "tanzu-mission-control_package_repository" +} + +// GetConnectionDetailsMapping for this Package_Repository +func (tr *Package_Repository) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Package_Repository +func (tr *Package_Repository) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Package_Repository +func (tr *Package_Repository) SetObservation(obs map[string]any) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this Package_Repository +func (tr *Package_Repository) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this Package_Repository +func (tr *Package_Repository) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Package_Repository +func (tr *Package_Repository) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Package_Repository using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Package_Repository) LateInitialize(attrs []byte) (bool, error) { + params := &Package_RepositoryParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Package_Repository) GetTerraformSchemaVersion() int { + return 0 +} + +// GetTerraformResourceType returns Terraform resource type for this Repository_Credential +func (mg *Repository_Credential) GetTerraformResourceType() string { + return "tanzu-mission-control_repository_credential" +} + +// GetConnectionDetailsMapping for this Repository_Credential +func (tr *Repository_Credential) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"spec[*].data[*].ssh_key[*].identity": "spec.forProvider.spec[*].data[*].sshKey[*].identitySecretRef", "spec[*].data[*].username_password[*].password": "spec.forProvider.spec[*].data[*].usernamePassword[*].passwordSecretRef"} +} + +// GetObservation of this Repository_Credential +func (tr *Repository_Credential) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Repository_Credential +func (tr *Repository_Credential) SetObservation(obs map[string]any) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this Repository_Credential +func (tr *Repository_Credential) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this Repository_Credential +func (tr *Repository_Credential) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Repository_Credential +func (tr *Repository_Credential) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Repository_Credential using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Repository_Credential) LateInitialize(attrs []byte) (bool, error) { + params := &Repository_CredentialParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Repository_Credential) GetTerraformSchemaVersion() int { + return 0 +} + +// GetTerraformResourceType returns Terraform resource type for this Security_Policy +func (mg *Security_Policy) GetTerraformResourceType() string { + return "tanzu-mission-control_security_policy" +} + +// GetConnectionDetailsMapping for this Security_Policy +func (tr *Security_Policy) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Security_Policy +func (tr *Security_Policy) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Security_Policy +func (tr *Security_Policy) SetObservation(obs map[string]any) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this Security_Policy +func (tr *Security_Policy) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this Security_Policy +func (tr *Security_Policy) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Security_Policy +func (tr *Security_Policy) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Security_Policy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Security_Policy) LateInitialize(attrs []byte) (bool, error) { + params := &Security_PolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Security_Policy) GetTerraformSchemaVersion() int { + return 0 +} + +// GetTerraformResourceType returns Terraform resource type for this Workspace +func (mg *Workspace) GetTerraformResourceType() string { + return "tanzu-mission-control_workspace" +} + +// GetConnectionDetailsMapping for this Workspace +func (tr *Workspace) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Workspace +func (tr *Workspace) GetObservation() (map[string]any, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Workspace +func (tr *Workspace) SetObservation(obs map[string]any) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetID returns ID of underlying Terraform resource of this Workspace +func (tr *Workspace) GetID() string { + if tr.Status.AtProvider.ID == nil { + return "" + } + return *tr.Status.AtProvider.ID +} + +// GetParameters of this Workspace +func (tr *Workspace) GetParameters() (map[string]any, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]any{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Workspace +func (tr *Workspace) SetParameters(params map[string]any) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Workspace using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Workspace) LateInitialize(attrs []byte) (bool, error) { + params := &WorkspaceParameters_2{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Workspace) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/tmc/v1alpha1/zz_namespace_quota_policy_types.go b/apis/tmc/v1alpha1/zz_namespace_quota_policy_types.go new file mode 100755 index 0000000..3c2c243 --- /dev/null +++ b/apis/tmc/v1alpha1/zz_namespace_quota_policy_types.go @@ -0,0 +1,415 @@ +/* +Copyright 2022 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type InputCustomObservation struct { + + // The sum of CPU limits across all pods in a non-terminal state cannot exceed this value + LimitsCPU *string `json:"limitsCpu,omitempty" tf:"limits_cpu,omitempty"` + + // The sum of memory limits across all pods in a non-terminal state cannot exceed this value + LimitsMemory *string `json:"limitsMemory,omitempty" tf:"limits_memory,omitempty"` + + // The total number of PersistentVolumeClaims that can exist in a namespace + PersistentVolumeClaims *float64 `json:"persistentVolumeClaims,omitempty" tf:"persistent_volume_claims,omitempty"` + + // Across all persistent volume claims associated with each storage class, the total number of persistent volume claims that can exist in the namespace + PersistentVolumeClaimsPerClass map[string]*float64 `json:"persistentVolumeClaimsPerClass,omitempty" tf:"persistent_volume_claims_per_class,omitempty"` + + // The sum of CPU requests across all pods in a non-terminal state cannot exceed this value + RequestsCPU *string `json:"requestsCpu,omitempty" tf:"requests_cpu,omitempty"` + + // The sum of memory requests across all pods in a non-terminal state cannot exceed this value + RequestsMemory *string `json:"requestsMemory,omitempty" tf:"requests_memory,omitempty"` + + // The sum of storage requests across all persistent volume claims cannot exceed this value + RequestsStorage *string `json:"requestsStorage,omitempty" tf:"requests_storage,omitempty"` + + // Across all persistent volume claims associated with each storage class, the sum of storage requests cannot exceed this value + RequestsStoragePerClass map[string]*string `json:"requestsStoragePerClass,omitempty" tf:"requests_storage_per_class,omitempty"` + + // The total number of Services of the given type that can exist in a namespace + ResourceCounts map[string]*float64 `json:"resourceCounts,omitempty" tf:"resource_counts,omitempty"` +} + +type InputCustomParameters struct { + + // The sum of CPU limits across all pods in a non-terminal state cannot exceed this value + // +kubebuilder:validation:Optional + LimitsCPU *string `json:"limitsCpu,omitempty" tf:"limits_cpu,omitempty"` + + // The sum of memory limits across all pods in a non-terminal state cannot exceed this value + // +kubebuilder:validation:Optional + LimitsMemory *string `json:"limitsMemory,omitempty" tf:"limits_memory,omitempty"` + + // The total number of PersistentVolumeClaims that can exist in a namespace + // +kubebuilder:validation:Optional + PersistentVolumeClaims *float64 `json:"persistentVolumeClaims,omitempty" tf:"persistent_volume_claims,omitempty"` + + // Across all persistent volume claims associated with each storage class, the total number of persistent volume claims that can exist in the namespace + // +kubebuilder:validation:Optional + PersistentVolumeClaimsPerClass map[string]*float64 `json:"persistentVolumeClaimsPerClass,omitempty" tf:"persistent_volume_claims_per_class,omitempty"` + + // The sum of CPU requests across all pods in a non-terminal state cannot exceed this value + // +kubebuilder:validation:Optional + RequestsCPU *string `json:"requestsCpu,omitempty" tf:"requests_cpu,omitempty"` + + // The sum of memory requests across all pods in a non-terminal state cannot exceed this value + // +kubebuilder:validation:Optional + RequestsMemory *string `json:"requestsMemory,omitempty" tf:"requests_memory,omitempty"` + + // The sum of storage requests across all persistent volume claims cannot exceed this value + // +kubebuilder:validation:Optional + RequestsStorage *string `json:"requestsStorage,omitempty" tf:"requests_storage,omitempty"` + + // Across all persistent volume claims associated with each storage class, the sum of storage requests cannot exceed this value + // +kubebuilder:validation:Optional + RequestsStoragePerClass map[string]*string `json:"requestsStoragePerClass,omitempty" tf:"requests_storage_per_class,omitempty"` + + // The total number of Services of the given type that can exist in a namespace + // +kubebuilder:validation:Optional + ResourceCounts map[string]*float64 `json:"resourceCounts,omitempty" tf:"resource_counts,omitempty"` +} + +type LargeObservation struct { +} + +type LargeParameters struct { +} + +type MediumObservation struct { +} + +type MediumParameters struct { +} + +type Namespace_Quota_PolicyMetaObservation struct { + + // Annotations for the resource + Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // Description of the resource + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Labels for the resource + Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` + + // Resource version of the resource + ResourceVersion *string `json:"resourceVersion,omitempty" tf:"resource_version,omitempty"` + + // UID of the resource + UID *string `json:"uid,omitempty" tf:"uid,omitempty"` +} + +type Namespace_Quota_PolicyMetaParameters struct { + + // Annotations for the resource + // +kubebuilder:validation:Optional + Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // Description of the resource + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Labels for the resource + // +kubebuilder:validation:Optional + Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` +} + +type Namespace_Quota_PolicyObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // Metadata for the resource + Meta []Namespace_Quota_PolicyMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` + + // Name of the namespace quota policy + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Scope for the custom, security, image, network and namespace quota policy, having one of the valid scopes for custom, security and namespace quota policy: cluster, cluster_group or organization and valid scopes for image and network policy: workspace or organization. + Scope []Namespace_Quota_PolicyScopeObservation `json:"scope,omitempty" tf:"scope,omitempty"` + + // Spec for the namespace namespace quota policy + Spec []Namespace_Quota_PolicySpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` +} + +type Namespace_Quota_PolicyParameters struct { + + // Metadata for the resource + // +kubebuilder:validation:Optional + Meta []Namespace_Quota_PolicyMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` + + // Name of the namespace quota policy + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Scope for the custom, security, image, network and namespace quota policy, having one of the valid scopes for custom, security and namespace quota policy: cluster, cluster_group or organization and valid scopes for image and network policy: workspace or organization. + // +kubebuilder:validation:Optional + Scope []Namespace_Quota_PolicyScopeParameters `json:"scope,omitempty" tf:"scope,omitempty"` + + // Spec for the namespace namespace quota policy + // +kubebuilder:validation:Optional + Spec []Namespace_Quota_PolicySpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` +} + +type Namespace_Quota_PolicyScopeClusterGroupObservation struct { + + // Name of this cluster group + ClusterGroup *string `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` +} + +type Namespace_Quota_PolicyScopeClusterGroupParameters struct { + + // Name of this cluster group + // +kubebuilder:validation:Required + ClusterGroup *string `json:"clusterGroup" tf:"cluster_group,omitempty"` +} + +type Namespace_Quota_PolicyScopeClusterObservation struct { + + // Name of the management cluster + ManagementClusterName *string `json:"managementClusterName,omitempty" tf:"management_cluster_name,omitempty"` + + // Name of this cluster + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Provisioner of the cluster + ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` +} + +type Namespace_Quota_PolicyScopeClusterParameters struct { + + // Name of the management cluster + // +kubebuilder:validation:Optional + ManagementClusterName *string `json:"managementClusterName,omitempty" tf:"management_cluster_name,omitempty"` + + // Name of this cluster + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // Provisioner of the cluster + // +kubebuilder:validation:Optional + ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` +} + +type Namespace_Quota_PolicyScopeObservation struct { + + // The schema for cluster policy full name + Cluster []Namespace_Quota_PolicyScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` + + // The schema for cluster group policy full name + ClusterGroup []Namespace_Quota_PolicyScopeClusterGroupObservation `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` + + // The schema for organization policy full name + Organization []Namespace_Quota_PolicyScopeOrganizationObservation `json:"organization,omitempty" tf:"organization,omitempty"` + + // The schema for workspace policy full name + Workspace []Namespace_Quota_PolicyScopeWorkspaceObservation `json:"workspace,omitempty" tf:"workspace,omitempty"` +} + +type Namespace_Quota_PolicyScopeOrganizationObservation struct { + + // ID of this organization + Organization *string `json:"organization,omitempty" tf:"organization,omitempty"` +} + +type Namespace_Quota_PolicyScopeOrganizationParameters struct { + + // ID of this organization + // +kubebuilder:validation:Required + Organization *string `json:"organization" tf:"organization,omitempty"` +} + +type Namespace_Quota_PolicyScopeParameters struct { + + // The schema for cluster policy full name + // +kubebuilder:validation:Optional + Cluster []Namespace_Quota_PolicyScopeClusterParameters `json:"cluster,omitempty" tf:"cluster,omitempty"` + + // The schema for cluster group policy full name + // +kubebuilder:validation:Optional + ClusterGroup []Namespace_Quota_PolicyScopeClusterGroupParameters `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` + + // The schema for organization policy full name + // +kubebuilder:validation:Optional + Organization []Namespace_Quota_PolicyScopeOrganizationParameters `json:"organization,omitempty" tf:"organization,omitempty"` + + // The schema for workspace policy full name + // +kubebuilder:validation:Optional + Workspace []Namespace_Quota_PolicyScopeWorkspaceParameters `json:"workspace,omitempty" tf:"workspace,omitempty"` +} + +type Namespace_Quota_PolicyScopeWorkspaceObservation struct { + + // Name of this workspace + Workspace *string `json:"workspace,omitempty" tf:"workspace,omitempty"` +} + +type Namespace_Quota_PolicyScopeWorkspaceParameters struct { + + // Name of this workspace + // +kubebuilder:validation:Required + Workspace *string `json:"workspace" tf:"workspace,omitempty"` +} + +type Namespace_Quota_PolicySpecInputObservation struct { + + // The input schema for namespace quota policy custom recipe version v1 + Custom []InputCustomObservation `json:"custom,omitempty" tf:"custom,omitempty"` + + // The input schema for namespace quota policy large recipe version v1 + Large []LargeParameters `json:"large,omitempty" tf:"large,omitempty"` + + // The input schema for namespace quota policy medium recipe version v1 + Medium []MediumParameters `json:"medium,omitempty" tf:"medium,omitempty"` + + // The input schema for namespace quota policy small recipe version v1 + Small []SmallParameters `json:"small,omitempty" tf:"small,omitempty"` +} + +type Namespace_Quota_PolicySpecInputParameters struct { + + // The input schema for namespace quota policy custom recipe version v1 + // +kubebuilder:validation:Optional + Custom []InputCustomParameters `json:"custom,omitempty" tf:"custom,omitempty"` + + // The input schema for namespace quota policy large recipe version v1 + // +kubebuilder:validation:Optional + Large []LargeParameters `json:"large,omitempty" tf:"large,omitempty"` + + // The input schema for namespace quota policy medium recipe version v1 + // +kubebuilder:validation:Optional + Medium []MediumParameters `json:"medium,omitempty" tf:"medium,omitempty"` + + // The input schema for namespace quota policy small recipe version v1 + // +kubebuilder:validation:Optional + Small []SmallParameters `json:"small,omitempty" tf:"small,omitempty"` +} + +type Namespace_Quota_PolicySpecNamespaceSelectorObservation struct { + + // Match expressions is a list of label selector requirements, the requirements are ANDed + MatchExpressions []SpecNamespaceSelectorMatchExpressionsObservation `json:"matchExpressions,omitempty" tf:"match_expressions,omitempty"` +} + +type Namespace_Quota_PolicySpecNamespaceSelectorParameters struct { + + // Match expressions is a list of label selector requirements, the requirements are ANDed + // +kubebuilder:validation:Required + MatchExpressions []SpecNamespaceSelectorMatchExpressionsParameters `json:"matchExpressions" tf:"match_expressions,omitempty"` +} + +type Namespace_Quota_PolicySpecObservation struct { + + // Input for the namespace quota policy, having one of the valid recipes: small, medium, large or custom. + Input []Namespace_Quota_PolicySpecInputObservation `json:"input,omitempty" tf:"input,omitempty"` + + // Label based Namespace Selector for the policy + NamespaceSelector []Namespace_Quota_PolicySpecNamespaceSelectorObservation `json:"namespaceSelector,omitempty" tf:"namespace_selector,omitempty"` +} + +type Namespace_Quota_PolicySpecParameters struct { + + // Input for the namespace quota policy, having one of the valid recipes: small, medium, large or custom. + // +kubebuilder:validation:Required + Input []Namespace_Quota_PolicySpecInputParameters `json:"input" tf:"input,omitempty"` + + // Label based Namespace Selector for the policy + // +kubebuilder:validation:Optional + NamespaceSelector []Namespace_Quota_PolicySpecNamespaceSelectorParameters `json:"namespaceSelector,omitempty" tf:"namespace_selector,omitempty"` +} + +type SmallObservation struct { +} + +type SmallParameters struct { +} + +type SpecNamespaceSelectorMatchExpressionsObservation struct { + + // Key is the label key that the selector applies to + Key *string `json:"key,omitempty" tf:"key,omitempty"` + + // Operator represents a key's relationship to a set of values + Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` + + // Values is an array of string values + Values []*string `json:"values,omitempty" tf:"values,omitempty"` +} + +type SpecNamespaceSelectorMatchExpressionsParameters struct { + + // Key is the label key that the selector applies to + // +kubebuilder:validation:Optional + Key *string `json:"key,omitempty" tf:"key,omitempty"` + + // Operator represents a key's relationship to a set of values + // +kubebuilder:validation:Optional + Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` + + // Values is an array of string values + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +// Namespace_Quota_PolicySpec defines the desired state of Namespace_Quota_Policy +type Namespace_Quota_PolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider Namespace_Quota_PolicyParameters `json:"forProvider"` +} + +// Namespace_Quota_PolicyStatus defines the observed state of Namespace_Quota_Policy. +type Namespace_Quota_PolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider Namespace_Quota_PolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Namespace_Quota_Policy is the Schema for the Namespace_Quota_Policys API. +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +// +kubebuilder:subresource:status +// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tmc} +type Namespace_Quota_Policy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.scope)",message="scope is a required parameter" + // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.spec)",message="spec is a required parameter" + Spec Namespace_Quota_PolicySpec `json:"spec"` + Status Namespace_Quota_PolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// Namespace_Quota_PolicyList contains a list of Namespace_Quota_Policys +type Namespace_Quota_PolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Namespace_Quota_Policy `json:"items"` +} + +// Repository type metadata. +var ( + Namespace_Quota_Policy_Kind = "Namespace_Quota_Policy" + Namespace_Quota_Policy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Namespace_Quota_Policy_Kind}.String() + Namespace_Quota_Policy_KindAPIVersion = Namespace_Quota_Policy_Kind + "." + CRDGroupVersion.String() + Namespace_Quota_Policy_GroupVersionKind = CRDGroupVersion.WithKind(Namespace_Quota_Policy_Kind) +) + +func init() { + SchemeBuilder.Register(&Namespace_Quota_Policy{}, &Namespace_Quota_PolicyList{}) +} diff --git a/apis/tmc/v1alpha1/zz_network_policy_types.go b/apis/tmc/v1alpha1/zz_network_policy_types.go new file mode 100755 index 0000000..c70c163 --- /dev/null +++ b/apis/tmc/v1alpha1/zz_network_policy_types.go @@ -0,0 +1,686 @@ +/* +Copyright 2022 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AllowAllEgressObservation struct { +} + +type AllowAllEgressParameters struct { +} + +type AllowAllObservation struct { + + // Allow traffic only from own namespace. Allow traffic only from pods in the same namespace as the destination pod. + FromOwnNamespace *bool `json:"fromOwnNamespace,omitempty" tf:"from_own_namespace,omitempty"` +} + +type AllowAllParameters struct { + + // Allow traffic only from own namespace. Allow traffic only from pods in the same namespace as the destination pod. + // +kubebuilder:validation:Optional + FromOwnNamespace *bool `json:"fromOwnNamespace,omitempty" tf:"from_own_namespace,omitempty"` +} + +type AllowAllToPodsObservation struct { + + // Allow traffic only from own namespace. Allow traffic only from pods in the same namespace as the destination pod. + FromOwnNamespace *bool `json:"fromOwnNamespace,omitempty" tf:"from_own_namespace,omitempty"` + + // Pod Labels on which traffic should be allowed/denied. Use a label selector to identify the pods to which the policy applies. + ToPodLabels map[string]*string `json:"toPodLabels,omitempty" tf:"to_pod_labels,omitempty"` +} + +type AllowAllToPodsParameters struct { + + // Allow traffic only from own namespace. Allow traffic only from pods in the same namespace as the destination pod. + // +kubebuilder:validation:Optional + FromOwnNamespace *bool `json:"fromOwnNamespace,omitempty" tf:"from_own_namespace,omitempty"` + + // Pod Labels on which traffic should be allowed/denied. Use a label selector to identify the pods to which the policy applies. + // +kubebuilder:validation:Optional + ToPodLabels map[string]*string `json:"toPodLabels,omitempty" tf:"to_pod_labels,omitempty"` +} + +type CustomEgressObservation struct { + + // This specifies list of egress rules to be applied to the selected pods. + Rules []CustomEgressRulesObservation `json:"rules,omitempty" tf:"rules,omitempty"` + + // Pod Labels on which traffic should be allowed/denied. Use a label selector to identify the pods to which the policy applies. + ToPodLabels map[string]*string `json:"toPodLabels,omitempty" tf:"to_pod_labels,omitempty"` +} + +type CustomEgressParameters struct { + + // This specifies list of egress rules to be applied to the selected pods. + // +kubebuilder:validation:Required + Rules []CustomEgressRulesParameters `json:"rules" tf:"rules,omitempty"` + + // Pod Labels on which traffic should be allowed/denied. Use a label selector to identify the pods to which the policy applies. + // +kubebuilder:validation:Optional + ToPodLabels map[string]*string `json:"toPodLabels,omitempty" tf:"to_pod_labels,omitempty"` +} + +type CustomEgressRulesObservation struct { + + // List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. Default is this rule matches all ports (traffic not restricted by port). + Ports []PortsObservation `json:"ports,omitempty" tf:"ports,omitempty"` + + // List of destinations for outgoing traffic of pods selected for this rule. Default is the rule matches all destinations (traffic not restricted by destinations). + RuleSpec []RuleSpecObservation `json:"ruleSpec,omitempty" tf:"rule_spec,omitempty"` +} + +type CustomEgressRulesParameters struct { + + // List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. Default is this rule matches all ports (traffic not restricted by port). + // +kubebuilder:validation:Required + Ports []PortsParameters `json:"ports" tf:"ports,omitempty"` + + // List of destinations for outgoing traffic of pods selected for this rule. Default is the rule matches all destinations (traffic not restricted by destinations). + // +kubebuilder:validation:Required + RuleSpec []RuleSpecParameters `json:"ruleSpec" tf:"rule_spec,omitempty"` +} + +type CustomIPIPBlockObservation struct { + + // CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64" + Cidr *string `json:"cidr,omitempty" tf:"cidr,omitempty"` + + // Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64" Except values will be rejected if they are outside the CIDR range + Except []*string `json:"except,omitempty" tf:"except,omitempty"` +} + +type CustomIPIPBlockParameters struct { + + // CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64" + // +kubebuilder:validation:Required + Cidr *string `json:"cidr" tf:"cidr,omitempty"` + + // Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64" Except values will be rejected if they are outside the CIDR range + // +kubebuilder:validation:Optional + Except []*string `json:"except,omitempty" tf:"except,omitempty"` +} + +type CustomIPObservation struct { + + // IPBlock defines policy on a particular IPBlock. If this field is set then neither of the namespaceSelector and PodSelector can be set. + IPBlock []IPBlockObservation `json:"ipBlock,omitempty" tf:"ip_block,omitempty"` +} + +type CustomIPParameters struct { + + // IPBlock defines policy on a particular IPBlock. If this field is set then neither of the namespaceSelector and PodSelector can be set. + // +kubebuilder:validation:Optional + IPBlock []IPBlockParameters `json:"ipBlock,omitempty" tf:"ip_block,omitempty"` +} + +type CustomIngressObservation struct { + + // This specifies list of ingress rules to be applied to the selected pods. + Rules []CustomIngressRulesObservation `json:"rules,omitempty" tf:"rules,omitempty"` + + // Pod Labels on which traffic should be allowed/denied. Use a label selector to identify the pods to which the policy applies. + ToPodLabels map[string]*string `json:"toPodLabels,omitempty" tf:"to_pod_labels,omitempty"` +} + +type CustomIngressParameters struct { + + // This specifies list of ingress rules to be applied to the selected pods. + // +kubebuilder:validation:Required + Rules []CustomIngressRulesParameters `json:"rules" tf:"rules,omitempty"` + + // Pod Labels on which traffic should be allowed/denied. Use a label selector to identify the pods to which the policy applies. + // +kubebuilder:validation:Optional + ToPodLabels map[string]*string `json:"toPodLabels,omitempty" tf:"to_pod_labels,omitempty"` +} + +type CustomIngressRulesObservation struct { + + // List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. Default is this rule matches all ports (traffic not restricted by port). + Ports []RulesPortsObservation `json:"ports,omitempty" tf:"ports,omitempty"` + + // List of sources which should be able to access the pods selected for this rule. Default is the rule matches all sources (traffic not restricted by source). List of items of type V1alpha1CommonPolicySpecNetworkV1CustomIngressRulesRuleSpec0 OR V1alpha1CommonPolicySpecNetworkV1CustomIngressRulesRuleSpec1. + RuleSpec []RulesRuleSpecObservation `json:"ruleSpec,omitempty" tf:"rule_spec,omitempty"` +} + +type CustomIngressRulesParameters struct { + + // List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. Default is this rule matches all ports (traffic not restricted by port). + // +kubebuilder:validation:Required + Ports []RulesPortsParameters `json:"ports" tf:"ports,omitempty"` + + // List of sources which should be able to access the pods selected for this rule. Default is the rule matches all sources (traffic not restricted by source). List of items of type V1alpha1CommonPolicySpecNetworkV1CustomIngressRulesRuleSpec0 OR V1alpha1CommonPolicySpecNetworkV1CustomIngressRulesRuleSpec1. + // +kubebuilder:validation:Required + RuleSpec []RulesRuleSpecParameters `json:"ruleSpec" tf:"rule_spec,omitempty"` +} + +type CustomSelectorObservation struct { + + // Use a label selector to identify the namespaces to allow as egress destinations. + NamespaceSelector map[string]*string `json:"namespaceSelector,omitempty" tf:"namespace_selector,omitempty"` + + // Use a label selector to identify the pods to allow as egress destinations. + PodSelector map[string]*string `json:"podSelector,omitempty" tf:"pod_selector,omitempty"` +} + +type CustomSelectorParameters struct { + + // Use a label selector to identify the namespaces to allow as egress destinations. + // +kubebuilder:validation:Optional + NamespaceSelector map[string]*string `json:"namespaceSelector,omitempty" tf:"namespace_selector,omitempty"` + + // Use a label selector to identify the pods to allow as egress destinations. + // +kubebuilder:validation:Optional + PodSelector map[string]*string `json:"podSelector,omitempty" tf:"pod_selector,omitempty"` +} + +type DenyAllEgressObservation struct { +} + +type DenyAllEgressParameters struct { +} + +type DenyAllObservation struct { +} + +type DenyAllParameters struct { +} + +type DenyAllToPodsObservation struct { + + // Pod Labels on which traffic should be allowed/denied. Use a label selector to identify the pods to which the policy applies. + ToPodLabels map[string]*string `json:"toPodLabels,omitempty" tf:"to_pod_labels,omitempty"` +} + +type DenyAllToPodsParameters struct { + + // Pod Labels on which traffic should be allowed/denied. Use a label selector to identify the pods to which the policy applies. + // +kubebuilder:validation:Optional + ToPodLabels map[string]*string `json:"toPodLabels,omitempty" tf:"to_pod_labels,omitempty"` +} + +type IPBlockObservation struct { + + // CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64" + Cidr *string `json:"cidr,omitempty" tf:"cidr,omitempty"` + + // Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64" Except values will be rejected if they are outside the CIDR range + Except []*string `json:"except,omitempty" tf:"except,omitempty"` +} + +type IPBlockParameters struct { + + // CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64" + // +kubebuilder:validation:Required + Cidr *string `json:"cidr" tf:"cidr,omitempty"` + + // Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64" Except values will be rejected if they are outside the CIDR range + // +kubebuilder:validation:Optional + Except []*string `json:"except,omitempty" tf:"except,omitempty"` +} + +type Network_PolicyMetaObservation struct { + + // Annotations for the resource + Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // Description of the resource + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Labels for the resource + Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` + + // Resource version of the resource + ResourceVersion *string `json:"resourceVersion,omitempty" tf:"resource_version,omitempty"` + + // UID of the resource + UID *string `json:"uid,omitempty" tf:"uid,omitempty"` +} + +type Network_PolicyMetaParameters struct { + + // Annotations for the resource + // +kubebuilder:validation:Optional + Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // Description of the resource + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Labels for the resource + // +kubebuilder:validation:Optional + Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` +} + +type Network_PolicyObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // Metadata for the resource + Meta []Network_PolicyMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` + + // Name of the network policy + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Scope for the custom, security, image, network and namespace quota policy, having one of the valid scopes for custom, security and namespace quota policy: cluster, cluster_group or organization and valid scopes for image and network policy: workspace or organization. + Scope []Network_PolicyScopeObservation `json:"scope,omitempty" tf:"scope,omitempty"` + + // Spec for the network policy + Spec []Network_PolicySpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` +} + +type Network_PolicyParameters struct { + + // Metadata for the resource + // +kubebuilder:validation:Optional + Meta []Network_PolicyMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` + + // Name of the network policy + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Scope for the custom, security, image, network and namespace quota policy, having one of the valid scopes for custom, security and namespace quota policy: cluster, cluster_group or organization and valid scopes for image and network policy: workspace or organization. + // +kubebuilder:validation:Optional + Scope []Network_PolicyScopeParameters `json:"scope,omitempty" tf:"scope,omitempty"` + + // Spec for the network policy + // +kubebuilder:validation:Optional + Spec []Network_PolicySpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` +} + +type Network_PolicyScopeClusterGroupObservation struct { + + // Name of this cluster group + ClusterGroup *string `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` +} + +type Network_PolicyScopeClusterGroupParameters struct { + + // Name of this cluster group + // +kubebuilder:validation:Required + ClusterGroup *string `json:"clusterGroup" tf:"cluster_group,omitempty"` +} + +type Network_PolicyScopeClusterObservation struct { + + // Name of the management cluster + ManagementClusterName *string `json:"managementClusterName,omitempty" tf:"management_cluster_name,omitempty"` + + // Name of this cluster + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Provisioner of the cluster + ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` +} + +type Network_PolicyScopeClusterParameters struct { + + // Name of the management cluster + // +kubebuilder:validation:Optional + ManagementClusterName *string `json:"managementClusterName,omitempty" tf:"management_cluster_name,omitempty"` + + // Name of this cluster + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // Provisioner of the cluster + // +kubebuilder:validation:Optional + ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` +} + +type Network_PolicyScopeObservation struct { + + // The schema for cluster policy full name + Cluster []Network_PolicyScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` + + // The schema for cluster group policy full name + ClusterGroup []Network_PolicyScopeClusterGroupObservation `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` + + // The schema for organization policy full name + Organization []Network_PolicyScopeOrganizationObservation `json:"organization,omitempty" tf:"organization,omitempty"` + + // The schema for workspace policy full name + Workspace []Network_PolicyScopeWorkspaceObservation `json:"workspace,omitempty" tf:"workspace,omitempty"` +} + +type Network_PolicyScopeOrganizationObservation struct { + + // ID of this organization + Organization *string `json:"organization,omitempty" tf:"organization,omitempty"` +} + +type Network_PolicyScopeOrganizationParameters struct { + + // ID of this organization + // +kubebuilder:validation:Required + Organization *string `json:"organization" tf:"organization,omitempty"` +} + +type Network_PolicyScopeParameters struct { + + // The schema for cluster policy full name + // +kubebuilder:validation:Optional + Cluster []Network_PolicyScopeClusterParameters `json:"cluster,omitempty" tf:"cluster,omitempty"` + + // The schema for cluster group policy full name + // +kubebuilder:validation:Optional + ClusterGroup []Network_PolicyScopeClusterGroupParameters `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` + + // The schema for organization policy full name + // +kubebuilder:validation:Optional + Organization []Network_PolicyScopeOrganizationParameters `json:"organization,omitempty" tf:"organization,omitempty"` + + // The schema for workspace policy full name + // +kubebuilder:validation:Optional + Workspace []Network_PolicyScopeWorkspaceParameters `json:"workspace,omitempty" tf:"workspace,omitempty"` +} + +type Network_PolicyScopeWorkspaceObservation struct { + + // Name of this workspace + Workspace *string `json:"workspace,omitempty" tf:"workspace,omitempty"` +} + +type Network_PolicyScopeWorkspaceParameters struct { + + // Name of this workspace + // +kubebuilder:validation:Required + Workspace *string `json:"workspace" tf:"workspace,omitempty"` +} + +type Network_PolicySpecInputObservation struct { + + // The input schema for network policy allow-all recipe version v1 + AllowAll []AllowAllObservation `json:"allowAll,omitempty" tf:"allow_all,omitempty"` + + // The input schema for network policy allow-all-egress recipe version v1 + AllowAllEgress []AllowAllEgressParameters `json:"allowAllEgress,omitempty" tf:"allow_all_egress,omitempty"` + + // The input schema for network policy allow-all-to-pods recipe version v1 + AllowAllToPods []AllowAllToPodsObservation `json:"allowAllToPods,omitempty" tf:"allow_all_to_pods,omitempty"` + + // The input schema for network policy custom egress recipe version v1 + CustomEgress []CustomEgressObservation `json:"customEgress,omitempty" tf:"custom_egress,omitempty"` + + // The input schema for network policy custom ingress recipe version v1 + CustomIngress []CustomIngressObservation `json:"customIngress,omitempty" tf:"custom_ingress,omitempty"` + + // The input schema for network policy deny-all recipe version v1 + DenyAll []DenyAllParameters `json:"denyAll,omitempty" tf:"deny_all,omitempty"` + + // The input schema for network policy deny-all-egress recipe version v1 + DenyAllEgress []DenyAllEgressParameters `json:"denyAllEgress,omitempty" tf:"deny_all_egress,omitempty"` + + // The input schema for network policy deny-all-to-pods recipe version v1 + DenyAllToPods []DenyAllToPodsObservation `json:"denyAllToPods,omitempty" tf:"deny_all_to_pods,omitempty"` +} + +type Network_PolicySpecInputParameters struct { + + // The input schema for network policy allow-all recipe version v1 + // +kubebuilder:validation:Optional + AllowAll []AllowAllParameters `json:"allowAll,omitempty" tf:"allow_all,omitempty"` + + // The input schema for network policy allow-all-egress recipe version v1 + // +kubebuilder:validation:Optional + AllowAllEgress []AllowAllEgressParameters `json:"allowAllEgress,omitempty" tf:"allow_all_egress,omitempty"` + + // The input schema for network policy allow-all-to-pods recipe version v1 + // +kubebuilder:validation:Optional + AllowAllToPods []AllowAllToPodsParameters `json:"allowAllToPods,omitempty" tf:"allow_all_to_pods,omitempty"` + + // The input schema for network policy custom egress recipe version v1 + // +kubebuilder:validation:Optional + CustomEgress []CustomEgressParameters `json:"customEgress,omitempty" tf:"custom_egress,omitempty"` + + // The input schema for network policy custom ingress recipe version v1 + // +kubebuilder:validation:Optional + CustomIngress []CustomIngressParameters `json:"customIngress,omitempty" tf:"custom_ingress,omitempty"` + + // The input schema for network policy deny-all recipe version v1 + // +kubebuilder:validation:Optional + DenyAll []DenyAllParameters `json:"denyAll,omitempty" tf:"deny_all,omitempty"` + + // The input schema for network policy deny-all-egress recipe version v1 + // +kubebuilder:validation:Optional + DenyAllEgress []DenyAllEgressParameters `json:"denyAllEgress,omitempty" tf:"deny_all_egress,omitempty"` + + // The input schema for network policy deny-all-to-pods recipe version v1 + // +kubebuilder:validation:Optional + DenyAllToPods []DenyAllToPodsParameters `json:"denyAllToPods,omitempty" tf:"deny_all_to_pods,omitempty"` +} + +type Network_PolicySpecNamespaceSelectorMatchExpressionsObservation struct { + + // Key is the label key that the selector applies to + Key *string `json:"key,omitempty" tf:"key,omitempty"` + + // Operator represents a key's relationship to a set of values + Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` + + // Values is an array of string values + Values []*string `json:"values,omitempty" tf:"values,omitempty"` +} + +type Network_PolicySpecNamespaceSelectorMatchExpressionsParameters struct { + + // Key is the label key that the selector applies to + // +kubebuilder:validation:Optional + Key *string `json:"key,omitempty" tf:"key,omitempty"` + + // Operator represents a key's relationship to a set of values + // +kubebuilder:validation:Optional + Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` + + // Values is an array of string values + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type Network_PolicySpecNamespaceSelectorObservation struct { + + // Match expressions is a list of label selector requirements, the requirements are ANDed + MatchExpressions []Network_PolicySpecNamespaceSelectorMatchExpressionsObservation `json:"matchExpressions,omitempty" tf:"match_expressions,omitempty"` +} + +type Network_PolicySpecNamespaceSelectorParameters struct { + + // Match expressions is a list of label selector requirements, the requirements are ANDed + // +kubebuilder:validation:Required + MatchExpressions []Network_PolicySpecNamespaceSelectorMatchExpressionsParameters `json:"matchExpressions" tf:"match_expressions,omitempty"` +} + +type Network_PolicySpecObservation struct { + + // Input for the network policy, having one of the valid recipes: allow-all, allow-all-to-pods, allow-all-egress, deny-all, deny-all-to-pods, deny-all-egress, custom-egress or custom-ingress. + Input []Network_PolicySpecInputObservation `json:"input,omitempty" tf:"input,omitempty"` + + // Label based Namespace Selector for the policy + NamespaceSelector []Network_PolicySpecNamespaceSelectorObservation `json:"namespaceSelector,omitempty" tf:"namespace_selector,omitempty"` +} + +type Network_PolicySpecParameters struct { + + // Input for the network policy, having one of the valid recipes: allow-all, allow-all-to-pods, allow-all-egress, deny-all, deny-all-to-pods, deny-all-egress, custom-egress or custom-ingress. + // +kubebuilder:validation:Required + Input []Network_PolicySpecInputParameters `json:"input" tf:"input,omitempty"` + + // Label based Namespace Selector for the policy + // +kubebuilder:validation:Optional + NamespaceSelector []Network_PolicySpecNamespaceSelectorParameters `json:"namespaceSelector,omitempty" tf:"namespace_selector,omitempty"` +} + +type PortsObservation struct { + + // The port on the given protocol. This can either be a numerical or named port on a pod. + Port *string `json:"port,omitempty" tf:"port,omitempty"` + + // The protocol (TCP or UDP) which traffic must match. + Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` +} + +type PortsParameters struct { + + // The port on the given protocol. This can either be a numerical or named port on a pod. + // +kubebuilder:validation:Optional + Port *string `json:"port,omitempty" tf:"port,omitempty"` + + // The protocol (TCP or UDP) which traffic must match. + // +kubebuilder:validation:Optional + Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` +} + +type RuleSpecCustomIPObservation struct { + + // IPBlock defines policy on a particular IPBlock. If this field is set then neither of the namespaceSelector and PodSelector can be set. + IPBlock []CustomIPIPBlockObservation `json:"ipBlock,omitempty" tf:"ip_block,omitempty"` +} + +type RuleSpecCustomIPParameters struct { + + // IPBlock defines policy on a particular IPBlock. If this field is set then neither of the namespaceSelector and PodSelector can be set. + // +kubebuilder:validation:Optional + IPBlock []CustomIPIPBlockParameters `json:"ipBlock,omitempty" tf:"ip_block,omitempty"` +} + +type RuleSpecCustomSelectorObservation struct { + + // Use a label selector to identify the namespaces to allow as egress destinations. + NamespaceSelector map[string]*string `json:"namespaceSelector,omitempty" tf:"namespace_selector,omitempty"` + + // Use a label selector to identify the pods to allow as egress destinations. + PodSelector map[string]*string `json:"podSelector,omitempty" tf:"pod_selector,omitempty"` +} + +type RuleSpecCustomSelectorParameters struct { + + // Use a label selector to identify the namespaces to allow as egress destinations. + // +kubebuilder:validation:Optional + NamespaceSelector map[string]*string `json:"namespaceSelector,omitempty" tf:"namespace_selector,omitempty"` + + // Use a label selector to identify the pods to allow as egress destinations. + // +kubebuilder:validation:Optional + PodSelector map[string]*string `json:"podSelector,omitempty" tf:"pod_selector,omitempty"` +} + +type RuleSpecObservation struct { + + // The rule Spec (destination) for IP Block. + CustomIP []CustomIPObservation `json:"customIp,omitempty" tf:"custom_ip,omitempty"` + + // The rule Spec (destination) for Selectors. + CustomSelector []CustomSelectorObservation `json:"customSelector,omitempty" tf:"custom_selector,omitempty"` +} + +type RuleSpecParameters struct { + + // The rule Spec (destination) for IP Block. + // +kubebuilder:validation:Optional + CustomIP []CustomIPParameters `json:"customIp,omitempty" tf:"custom_ip,omitempty"` + + // The rule Spec (destination) for Selectors. + // +kubebuilder:validation:Optional + CustomSelector []CustomSelectorParameters `json:"customSelector,omitempty" tf:"custom_selector,omitempty"` +} + +type RulesPortsObservation struct { + + // The port on the given protocol. This can either be a numerical or named port on a pod. + Port *string `json:"port,omitempty" tf:"port,omitempty"` + + // The protocol (TCP or UDP) which traffic must match. + Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` +} + +type RulesPortsParameters struct { + + // The port on the given protocol. This can either be a numerical or named port on a pod. + // +kubebuilder:validation:Optional + Port *string `json:"port,omitempty" tf:"port,omitempty"` + + // The protocol (TCP or UDP) which traffic must match. + // +kubebuilder:validation:Optional + Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` +} + +type RulesRuleSpecObservation struct { + + // The rule Spec (source) for IP Block. + CustomIP []RuleSpecCustomIPObservation `json:"customIp,omitempty" tf:"custom_ip,omitempty"` + + // The rule Spec (source) for Selectors. + CustomSelector []RuleSpecCustomSelectorObservation `json:"customSelector,omitempty" tf:"custom_selector,omitempty"` +} + +type RulesRuleSpecParameters struct { + + // The rule Spec (source) for IP Block. + // +kubebuilder:validation:Optional + CustomIP []RuleSpecCustomIPParameters `json:"customIp,omitempty" tf:"custom_ip,omitempty"` + + // The rule Spec (source) for Selectors. + // +kubebuilder:validation:Optional + CustomSelector []RuleSpecCustomSelectorParameters `json:"customSelector,omitempty" tf:"custom_selector,omitempty"` +} + +// Network_PolicySpec defines the desired state of Network_Policy +type Network_PolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider Network_PolicyParameters `json:"forProvider"` +} + +// Network_PolicyStatus defines the observed state of Network_Policy. +type Network_PolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider Network_PolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Network_Policy is the Schema for the Network_Policys API. +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +// +kubebuilder:subresource:status +// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tmc} +type Network_Policy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.scope)",message="scope is a required parameter" + // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.spec)",message="spec is a required parameter" + Spec Network_PolicySpec `json:"spec"` + Status Network_PolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// Network_PolicyList contains a list of Network_Policys +type Network_PolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Network_Policy `json:"items"` +} + +// Repository type metadata. +var ( + Network_Policy_Kind = "Network_Policy" + Network_Policy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Network_Policy_Kind}.String() + Network_Policy_KindAPIVersion = Network_Policy_Kind + "." + CRDGroupVersion.String() + Network_Policy_GroupVersionKind = CRDGroupVersion.WithKind(Network_Policy_Kind) +) + +func init() { + SchemeBuilder.Register(&Network_Policy{}, &Network_PolicyList{}) +} diff --git a/apis/tmc/v1alpha1/zz_package_install_types.go b/apis/tmc/v1alpha1/zz_package_install_types.go new file mode 100755 index 0000000..6211fef --- /dev/null +++ b/apis/tmc/v1alpha1/zz_package_install_types.go @@ -0,0 +1,264 @@ +/* +Copyright 2022 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type GeneratedResourcesObservation struct { + ClusterRoleName *string `json:"clusterRoleName,omitempty" tf:"cluster_role_name,omitempty"` + + RoleBindingName *string `json:"roleBindingName,omitempty" tf:"role_binding_name,omitempty"` + + ServiceAccountName *string `json:"serviceAccountName,omitempty" tf:"service_account_name,omitempty"` +} + +type GeneratedResourcesParameters struct { +} + +type PackageRefObservation struct { + + // Name of the Package Metadata. + PackageMetadataName *string `json:"packageMetadataName,omitempty" tf:"package_metadata_name,omitempty"` + + // Version Selection of the Package. + VersionSelection []VersionSelectionObservation `json:"versionSelection,omitempty" tf:"version_selection,omitempty"` +} + +type PackageRefParameters struct { + + // Name of the Package Metadata. + // +kubebuilder:validation:Required + PackageMetadataName *string `json:"packageMetadataName" tf:"package_metadata_name,omitempty"` + + // Version Selection of the Package. + // +kubebuilder:validation:Required + VersionSelection []VersionSelectionParameters `json:"versionSelection" tf:"version_selection,omitempty"` +} + +type Package_InstallMetaObservation struct { + + // Annotations for the resource + Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // Description of the resource + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Labels for the resource + Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` + + // Resource version of the resource + ResourceVersion *string `json:"resourceVersion,omitempty" tf:"resource_version,omitempty"` + + // UID of the resource + UID *string `json:"uid,omitempty" tf:"uid,omitempty"` +} + +type Package_InstallMetaParameters struct { + + // Annotations for the resource + // +kubebuilder:validation:Optional + Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // Description of the resource + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Labels for the resource + // +kubebuilder:validation:Optional + Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` +} + +type Package_InstallObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // Metadata for the resource + Meta []Package_InstallMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` + + // Name of the package install resource. + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Name of Namespace where package install will be created. + Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` + + // Scope for the package install, having one of the valid scopes: cluster. + Scope []Package_InstallScopeObservation `json:"scope,omitempty" tf:"scope,omitempty"` + + // spec for package install. + Spec []Package_InstallSpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` + + // status for package install. + Status []StatusObservation `json:"status,omitempty" tf:"status,omitempty"` +} + +type Package_InstallParameters struct { + + // Metadata for the resource + // +kubebuilder:validation:Optional + Meta []Package_InstallMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` + + // Name of the package install resource. + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Name of Namespace where package install will be created. + // +kubebuilder:validation:Optional + Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` + + // Scope for the package install, having one of the valid scopes: cluster. + // +kubebuilder:validation:Optional + Scope []Package_InstallScopeParameters `json:"scope,omitempty" tf:"scope,omitempty"` + + // spec for package install. + // +kubebuilder:validation:Optional + Spec []Package_InstallSpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` +} + +type Package_InstallScopeClusterObservation struct { + + // Name of the management cluster + ManagementClusterName *string `json:"managementClusterName,omitempty" tf:"management_cluster_name,omitempty"` + + // Name of this cluster + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Provisioner of the cluster + ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` +} + +type Package_InstallScopeClusterParameters struct { + + // Name of the management cluster + // +kubebuilder:validation:Optional + ManagementClusterName *string `json:"managementClusterName,omitempty" tf:"management_cluster_name,omitempty"` + + // Name of this cluster + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // Provisioner of the cluster + // +kubebuilder:validation:Optional + ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` +} + +type Package_InstallScopeObservation struct { + + // The schema for cluster full name + Cluster []Package_InstallScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` +} + +type Package_InstallScopeParameters struct { + + // The schema for cluster full name + // +kubebuilder:validation:Optional + Cluster []Package_InstallScopeClusterParameters `json:"cluster,omitempty" tf:"cluster,omitempty"` +} + +type Package_InstallSpecObservation struct { + + // Reference to the Package which will be installed. + PackageRef []PackageRefObservation `json:"packageRef,omitempty" tf:"package_ref,omitempty"` + + // Role binding scope for service account which will be used by Package Install. + RoleBindingScope *string `json:"roleBindingScope,omitempty" tf:"role_binding_scope,omitempty"` +} + +type Package_InstallSpecParameters struct { + + // Inline values to configure the Package Install. + // +kubebuilder:validation:Optional + InlineValuesSecretRef *v1.SecretReference `json:"inlineValuesSecretRef,omitempty" tf:"-"` + + // Reference to the Package which will be installed. + // +kubebuilder:validation:Required + PackageRef []PackageRefParameters `json:"packageRef" tf:"package_ref,omitempty"` +} + +type StatusObservation struct { + GeneratedResources []GeneratedResourcesObservation `json:"generatedResources,omitempty" tf:"generated_resources,omitempty"` + + Managed *bool `json:"managed,omitempty" tf:"managed,omitempty"` + + PackageInstallPhase *string `json:"packageInstallPhase,omitempty" tf:"package_install_phase,omitempty"` + + ReferredBy []*string `json:"referredBy,omitempty" tf:"referred_by,omitempty"` + + ResolvedVersion *string `json:"resolvedVersion,omitempty" tf:"resolved_version,omitempty"` +} + +type StatusParameters struct { +} + +type VersionSelectionObservation struct { + + // Constraints to select Package. Example: constraints: 'v1.2.3', constraints: ' +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +// +kubebuilder:subresource:status +// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tmc} +type Package_Install struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.namespace)",message="namespace is a required parameter" + // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.scope)",message="scope is a required parameter" + // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.spec)",message="spec is a required parameter" + Spec Package_InstallSpec `json:"spec"` + Status Package_InstallStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// Package_InstallList contains a list of Package_Installs +type Package_InstallList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Package_Install `json:"items"` +} + +// Repository type metadata. +var ( + Package_Install_Kind = "Package_Install" + Package_Install_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Package_Install_Kind}.String() + Package_Install_KindAPIVersion = Package_Install_Kind + "." + CRDGroupVersion.String() + Package_Install_GroupVersionKind = CRDGroupVersion.WithKind(Package_Install_Kind) +) + +func init() { + SchemeBuilder.Register(&Package_Install{}, &Package_InstallList{}) +} diff --git a/apis/tmc/v1alpha1/zz_package_repository_types.go b/apis/tmc/v1alpha1/zz_package_repository_types.go new file mode 100755 index 0000000..b1f2e6a --- /dev/null +++ b/apis/tmc/v1alpha1/zz_package_repository_types.go @@ -0,0 +1,227 @@ +/* +Copyright 2022 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ImgpkgBundleObservation struct { + + // image url string. + Image *string `json:"image,omitempty" tf:"image,omitempty"` +} + +type ImgpkgBundleParameters struct { + + // image url string. + // +kubebuilder:validation:Required + Image *string `json:"image" tf:"image,omitempty"` +} + +type Package_RepositoryMetaObservation struct { + + // Annotations for the resource + Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // Description of the resource + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Labels for the resource + Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` + + // Resource version of the resource + ResourceVersion *string `json:"resourceVersion,omitempty" tf:"resource_version,omitempty"` + + // UID of the resource + UID *string `json:"uid,omitempty" tf:"uid,omitempty"` +} + +type Package_RepositoryMetaParameters struct { + + // Annotations for the resource + // +kubebuilder:validation:Optional + Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // Description of the resource + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Labels for the resource + // +kubebuilder:validation:Optional + Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` +} + +type Package_RepositoryObservation struct { + + // If true, Package Repository is disabled for cluster. + Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"` + + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // Metadata for the resource + Meta []Package_RepositoryMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` + + // Name of the package repository resource. + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Name of Namespace where package repository will be created. + NamespaceName *string `json:"namespaceName,omitempty" tf:"namespace_name,omitempty"` + + // Scope for the package repository, having one of the valid scopes: cluster. + Scope []Package_RepositoryScopeObservation `json:"scope,omitempty" tf:"scope,omitempty"` + + // spec for package repository. + Spec []Package_RepositorySpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` + + // status for package repository. + State []StateObservation `json:"state,omitempty" tf:"state,omitempty"` +} + +type Package_RepositoryParameters struct { + + // If true, Package Repository is disabled for cluster. + // +kubebuilder:validation:Optional + Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"` + + // Metadata for the resource + // +kubebuilder:validation:Optional + Meta []Package_RepositoryMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` + + // Name of the package repository resource. + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Scope for the package repository, having one of the valid scopes: cluster. + // +kubebuilder:validation:Optional + Scope []Package_RepositoryScopeParameters `json:"scope,omitempty" tf:"scope,omitempty"` + + // spec for package repository. + // +kubebuilder:validation:Optional + Spec []Package_RepositorySpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` +} + +type Package_RepositoryScopeClusterObservation struct { + + // Name of the management cluster + ManagementClusterName *string `json:"managementClusterName,omitempty" tf:"management_cluster_name,omitempty"` + + // Name of this cluster + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Provisioner of the cluster + ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` +} + +type Package_RepositoryScopeClusterParameters struct { + + // Name of the management cluster + // +kubebuilder:validation:Optional + ManagementClusterName *string `json:"managementClusterName,omitempty" tf:"management_cluster_name,omitempty"` + + // Name of this cluster + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // Provisioner of the cluster + // +kubebuilder:validation:Optional + ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` +} + +type Package_RepositoryScopeObservation struct { + + // The schema for cluster full name + Cluster []Package_RepositoryScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` +} + +type Package_RepositoryScopeParameters struct { + + // The schema for cluster full name + // +kubebuilder:validation:Optional + Cluster []Package_RepositoryScopeClusterParameters `json:"cluster,omitempty" tf:"cluster,omitempty"` +} + +type Package_RepositorySpecObservation struct { + + // Docker image url; unqualified, tagged, or digest references supported. + ImgpkgBundle []ImgpkgBundleObservation `json:"imgpkgBundle,omitempty" tf:"imgpkg_bundle,omitempty"` +} + +type Package_RepositorySpecParameters struct { + + // Docker image url; unqualified, tagged, or digest references supported. + // +kubebuilder:validation:Optional + ImgpkgBundle []ImgpkgBundleParameters `json:"imgpkgBundle,omitempty" tf:"imgpkg_bundle,omitempty"` +} + +type StateObservation struct { + Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"` + + Managed *bool `json:"managed,omitempty" tf:"managed,omitempty"` + + PackageRepositoryPhase *string `json:"packageRepositoryPhase,omitempty" tf:"package_repository_phase,omitempty"` + + Subscribed *bool `json:"subscribed,omitempty" tf:"subscribed,omitempty"` +} + +type StateParameters struct { +} + +// Package_RepositorySpec defines the desired state of Package_Repository +type Package_RepositorySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider Package_RepositoryParameters `json:"forProvider"` +} + +// Package_RepositoryStatus defines the observed state of Package_Repository. +type Package_RepositoryStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider Package_RepositoryObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Package_Repository is the Schema for the Package_Repositorys API. +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +// +kubebuilder:subresource:status +// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tmc} +type Package_Repository struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.scope)",message="scope is a required parameter" + // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.spec)",message="spec is a required parameter" + Spec Package_RepositorySpec `json:"spec"` + Status Package_RepositoryStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// Package_RepositoryList contains a list of Package_Repositorys +type Package_RepositoryList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Package_Repository `json:"items"` +} + +// Repository type metadata. +var ( + Package_Repository_Kind = "Package_Repository" + Package_Repository_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Package_Repository_Kind}.String() + Package_Repository_KindAPIVersion = Package_Repository_Kind + "." + CRDGroupVersion.String() + Package_Repository_GroupVersionKind = CRDGroupVersion.WithKind(Package_Repository_Kind) +) + +func init() { + SchemeBuilder.Register(&Package_Repository{}, &Package_RepositoryList{}) +} diff --git a/apis/tmc/v1alpha1/zz_repository_credential_types.go b/apis/tmc/v1alpha1/zz_repository_credential_types.go new file mode 100755 index 0000000..c5b663e --- /dev/null +++ b/apis/tmc/v1alpha1/zz_repository_credential_types.go @@ -0,0 +1,268 @@ +/* +Copyright 2022 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type Repository_CredentialMetaObservation struct { + + // Annotations for the resource + Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // Description of the resource + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Labels for the resource + Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` + + // Resource version of the resource + ResourceVersion *string `json:"resourceVersion,omitempty" tf:"resource_version,omitempty"` + + // UID of the resource + UID *string `json:"uid,omitempty" tf:"uid,omitempty"` +} + +type Repository_CredentialMetaParameters struct { + + // Annotations for the resource + // +kubebuilder:validation:Optional + Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // Description of the resource + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Labels for the resource + // +kubebuilder:validation:Optional + Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` +} + +type Repository_CredentialObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // Metadata for the resource + Meta []Repository_CredentialMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` + + // Name of the source secret. + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // ID of Organization. + OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` + + // Scope for the source secret, having one of the valid scopes: cluster, cluster_group. + Scope []Repository_CredentialScopeObservation `json:"scope,omitempty" tf:"scope,omitempty"` + + // Spec for source secret. + Spec []Repository_CredentialSpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` +} + +type Repository_CredentialParameters struct { + + // Metadata for the resource + // +kubebuilder:validation:Optional + Meta []Repository_CredentialMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` + + // Name of the source secret. + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // ID of Organization. + // +kubebuilder:validation:Optional + OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` + + // Scope for the source secret, having one of the valid scopes: cluster, cluster_group. + // +kubebuilder:validation:Optional + Scope []Repository_CredentialScopeParameters `json:"scope,omitempty" tf:"scope,omitempty"` + + // Spec for source secret. + // +kubebuilder:validation:Optional + Spec []Repository_CredentialSpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` +} + +type Repository_CredentialScopeClusterGroupObservation struct { + + // Name of the cluster group + Name *string `json:"name,omitempty" tf:"name,omitempty"` +} + +type Repository_CredentialScopeClusterGroupParameters struct { + + // Name of the cluster group + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type Repository_CredentialScopeClusterObservation struct { + + // Name of the management cluster + ManagementClusterName *string `json:"managementClusterName,omitempty" tf:"management_cluster_name,omitempty"` + + // Name of this cluster + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Provisioner of the cluster + ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` +} + +type Repository_CredentialScopeClusterParameters struct { + + // Name of the management cluster + // +kubebuilder:validation:Optional + ManagementClusterName *string `json:"managementClusterName,omitempty" tf:"management_cluster_name,omitempty"` + + // Name of this cluster + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // Provisioner of the cluster + // +kubebuilder:validation:Optional + ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` +} + +type Repository_CredentialScopeObservation struct { + + // The schema for cluster full name + Cluster []Repository_CredentialScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` + + // The schema for cluster group full name + ClusterGroup []Repository_CredentialScopeClusterGroupObservation `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` +} + +type Repository_CredentialScopeParameters struct { + + // The schema for cluster full name + // +kubebuilder:validation:Optional + Cluster []Repository_CredentialScopeClusterParameters `json:"cluster,omitempty" tf:"cluster,omitempty"` + + // The schema for cluster group full name + // +kubebuilder:validation:Optional + ClusterGroup []Repository_CredentialScopeClusterGroupParameters `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` +} + +type Repository_CredentialSpecObservation struct { + + // The schema for spec credential type. + Data []SpecDataObservation `json:"data,omitempty" tf:"data,omitempty"` +} + +type Repository_CredentialSpecParameters struct { + + // The schema for spec credential type. + // +kubebuilder:validation:Required + Data []SpecDataParameters `json:"data" tf:"data,omitempty"` +} + +type SSHKeyObservation struct { + + // Known Hosts file path. + KnownHosts *string `json:"knownHosts,omitempty" tf:"known_hosts,omitempty"` +} + +type SSHKeyParameters struct { + + // SSH Identity file. + // +kubebuilder:validation:Required + IdentitySecretRef v1.SecretKeySelector `json:"identitySecretRef" tf:"-"` + + // Known Hosts file path. + // +kubebuilder:validation:Required + KnownHosts *string `json:"knownHosts" tf:"known_hosts,omitempty"` +} + +type SpecDataObservation struct { + + // The schema for SSH credential type spec. + SSHKey []SSHKeyObservation `json:"sshKey,omitempty" tf:"ssh_key,omitempty"` + + // The schema for Username/Password credential type spec. + UsernamePassword []UsernamePasswordObservation `json:"usernamePassword,omitempty" tf:"username_password,omitempty"` +} + +type SpecDataParameters struct { + + // The schema for SSH credential type spec. + // +kubebuilder:validation:Optional + SSHKey []SSHKeyParameters `json:"sshKey,omitempty" tf:"ssh_key,omitempty"` + + // The schema for Username/Password credential type spec. + // +kubebuilder:validation:Optional + UsernamePassword []UsernamePasswordParameters `json:"usernamePassword,omitempty" tf:"username_password,omitempty"` +} + +type UsernamePasswordObservation struct { + + // Username for the basic authorization. + Username *string `json:"username,omitempty" tf:"username,omitempty"` +} + +type UsernamePasswordParameters struct { + + // Password for the basic authorization. + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // Username for the basic authorization. + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +// Repository_CredentialSpec defines the desired state of Repository_Credential +type Repository_CredentialSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider Repository_CredentialParameters `json:"forProvider"` +} + +// Repository_CredentialStatus defines the observed state of Repository_Credential. +type Repository_CredentialStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider Repository_CredentialObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Repository_Credential is the Schema for the Repository_Credentials API. +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +// +kubebuilder:subresource:status +// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tmc} +type Repository_Credential struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.scope)",message="scope is a required parameter" + // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.spec)",message="spec is a required parameter" + Spec Repository_CredentialSpec `json:"spec"` + Status Repository_CredentialStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// Repository_CredentialList contains a list of Repository_Credentials +type Repository_CredentialList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Repository_Credential `json:"items"` +} + +// Repository type metadata. +var ( + Repository_Credential_Kind = "Repository_Credential" + Repository_Credential_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Repository_Credential_Kind}.String() + Repository_Credential_KindAPIVersion = Repository_Credential_Kind + "." + CRDGroupVersion.String() + Repository_Credential_GroupVersionKind = CRDGroupVersion.WithKind(Repository_Credential_Kind) +) + +func init() { + SchemeBuilder.Register(&Repository_Credential{}, &Repository_CredentialList{}) +} diff --git a/apis/tmc/v1alpha1/zz_security_policy_types.go b/apis/tmc/v1alpha1/zz_security_policy_types.go new file mode 100755 index 0000000..a4159a5 --- /dev/null +++ b/apis/tmc/v1alpha1/zz_security_policy_types.go @@ -0,0 +1,780 @@ +/* +Copyright 2022 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AllowedHostPathsObservation struct { + + // Path prefix + PathPrefix *string `json:"pathPrefix,omitempty" tf:"path_prefix,omitempty"` + + // Read only flag + ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only,omitempty"` +} + +type AllowedHostPathsParameters struct { + + // Path prefix + // +kubebuilder:validation:Optional + PathPrefix *string `json:"pathPrefix,omitempty" tf:"path_prefix,omitempty"` + + // Read only flag + // +kubebuilder:validation:Optional + ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only,omitempty"` +} + +type AllowedHostPortRangeObservation struct { + + // Maximum allowed port + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // Minimum allowed port + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type AllowedHostPortRangeParameters struct { + + // Maximum allowed port + // +kubebuilder:validation:Optional + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // Minimum allowed port + // +kubebuilder:validation:Optional + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type AllowedSeLinuxOptionsObservation struct { + + // SELinux level + Level *string `json:"level,omitempty" tf:"level,omitempty"` + + // SELinux role + Role *string `json:"role,omitempty" tf:"role,omitempty"` + + // SELinux type + Type *string `json:"type,omitempty" tf:"type,omitempty"` + + // SELinux user + User *string `json:"user,omitempty" tf:"user,omitempty"` +} + +type AllowedSeLinuxOptionsParameters struct { + + // SELinux level + // +kubebuilder:validation:Optional + Level *string `json:"level,omitempty" tf:"level,omitempty"` + + // SELinux role + // +kubebuilder:validation:Optional + Role *string `json:"role,omitempty" tf:"role,omitempty"` + + // SELinux type + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` + + // SELinux user + // +kubebuilder:validation:Optional + User *string `json:"user,omitempty" tf:"user,omitempty"` +} + +type BaselineObservation struct { + + // Audit (dry-run) + Audit *bool `json:"audit,omitempty" tf:"audit,omitempty"` + + // Disable native pod security policy + DisableNativePsp *bool `json:"disableNativePsp,omitempty" tf:"disable_native_psp,omitempty"` +} + +type BaselineParameters struct { + + // Audit (dry-run) + // +kubebuilder:validation:Optional + Audit *bool `json:"audit,omitempty" tf:"audit,omitempty"` + + // Disable native pod security policy + // +kubebuilder:validation:Optional + DisableNativePsp *bool `json:"disableNativePsp,omitempty" tf:"disable_native_psp,omitempty"` +} + +type FsGroupObservation struct { + + // Allowed group id ranges + Ranges []RangesObservation `json:"ranges,omitempty" tf:"ranges,omitempty"` + + // Rule + Rule *string `json:"rule,omitempty" tf:"rule,omitempty"` +} + +type FsGroupParameters struct { + + // Allowed group id ranges + // +kubebuilder:validation:Optional + Ranges []RangesParameters `json:"ranges,omitempty" tf:"ranges,omitempty"` + + // Rule + // +kubebuilder:validation:Optional + Rule *string `json:"rule,omitempty" tf:"rule,omitempty"` +} + +type LinuxCapabilitiesObservation struct { + + // Allowed capabilities + AllowedCapabilities []*string `json:"allowedCapabilities,omitempty" tf:"allowed_capabilities,omitempty"` + + // Required drop capabilities + RequiredDropCapabilities []*string `json:"requiredDropCapabilities,omitempty" tf:"required_drop_capabilities,omitempty"` +} + +type LinuxCapabilitiesParameters struct { + + // Allowed capabilities + // +kubebuilder:validation:Optional + AllowedCapabilities []*string `json:"allowedCapabilities,omitempty" tf:"allowed_capabilities,omitempty"` + + // Required drop capabilities + // +kubebuilder:validation:Optional + RequiredDropCapabilities []*string `json:"requiredDropCapabilities,omitempty" tf:"required_drop_capabilities,omitempty"` +} + +type RangesObservation struct { + + // Maximum group ID + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // Minimum group ID + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type RangesParameters struct { + + // Maximum group ID + // +kubebuilder:validation:Optional + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // Minimum group ID + // +kubebuilder:validation:Optional + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type RunAsGroupObservation struct { + + // Allowed group id ranges + Ranges []RunAsGroupRangesObservation `json:"ranges,omitempty" tf:"ranges,omitempty"` + + // Rule + Rule *string `json:"rule,omitempty" tf:"rule,omitempty"` +} + +type RunAsGroupParameters struct { + + // Allowed group id ranges + // +kubebuilder:validation:Optional + Ranges []RunAsGroupRangesParameters `json:"ranges,omitempty" tf:"ranges,omitempty"` + + // Rule + // +kubebuilder:validation:Optional + Rule *string `json:"rule,omitempty" tf:"rule,omitempty"` +} + +type RunAsGroupRangesObservation struct { + + // Maximum group ID + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // Minimum group ID + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type RunAsGroupRangesParameters struct { + + // Maximum group ID + // +kubebuilder:validation:Optional + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // Minimum group ID + // +kubebuilder:validation:Optional + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type RunAsUserObservation struct { + + // Allowed user id ranges + Ranges []RunAsUserRangesObservation `json:"ranges,omitempty" tf:"ranges,omitempty"` + + // Rule + Rule *string `json:"rule,omitempty" tf:"rule,omitempty"` +} + +type RunAsUserParameters struct { + + // Allowed user id ranges + // +kubebuilder:validation:Optional + Ranges []RunAsUserRangesParameters `json:"ranges,omitempty" tf:"ranges,omitempty"` + + // Rule + // +kubebuilder:validation:Optional + Rule *string `json:"rule,omitempty" tf:"rule,omitempty"` +} + +type RunAsUserRangesObservation struct { + + // Maximum user ID + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // Minimum user ID + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type RunAsUserRangesParameters struct { + + // Maximum user ID + // +kubebuilder:validation:Optional + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // Minimum user ID + // +kubebuilder:validation:Optional + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type SeccompObservation struct { + + // Allowed local host files + AllowedLocalhostFiles []*string `json:"allowedLocalhostFiles,omitempty" tf:"allowed_localhost_files,omitempty"` + + // Allowed profiles + AllowedProfiles []*string `json:"allowedProfiles,omitempty" tf:"allowed_profiles,omitempty"` +} + +type SeccompParameters struct { + + // Allowed local host files + // +kubebuilder:validation:Optional + AllowedLocalhostFiles []*string `json:"allowedLocalhostFiles,omitempty" tf:"allowed_localhost_files,omitempty"` + + // Allowed profiles + // +kubebuilder:validation:Optional + AllowedProfiles []*string `json:"allowedProfiles,omitempty" tf:"allowed_profiles,omitempty"` +} + +type Security_PolicyMetaObservation struct { + + // Annotations for the resource + Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // Description of the resource + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Labels for the resource + Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` + + // Resource version of the resource + ResourceVersion *string `json:"resourceVersion,omitempty" tf:"resource_version,omitempty"` + + // UID of the resource + UID *string `json:"uid,omitempty" tf:"uid,omitempty"` +} + +type Security_PolicyMetaParameters struct { + + // Annotations for the resource + // +kubebuilder:validation:Optional + Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // Description of the resource + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Labels for the resource + // +kubebuilder:validation:Optional + Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` +} + +type Security_PolicyObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // Metadata for the resource + Meta []Security_PolicyMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` + + // Name of the security policy + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Scope for the custom, security, image, network and namespace quota policy, having one of the valid scopes for custom, security and namespace quota policy: cluster, cluster_group or organization and valid scopes for image and network policy: workspace or organization. + Scope []Security_PolicyScopeObservation `json:"scope,omitempty" tf:"scope,omitempty"` + + // Spec for the security policy + Spec []Security_PolicySpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` +} + +type Security_PolicyParameters struct { + + // Metadata for the resource + // +kubebuilder:validation:Optional + Meta []Security_PolicyMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` + + // Name of the security policy + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Scope for the custom, security, image, network and namespace quota policy, having one of the valid scopes for custom, security and namespace quota policy: cluster, cluster_group or organization and valid scopes for image and network policy: workspace or organization. + // +kubebuilder:validation:Optional + Scope []Security_PolicyScopeParameters `json:"scope,omitempty" tf:"scope,omitempty"` + + // Spec for the security policy + // +kubebuilder:validation:Optional + Spec []Security_PolicySpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` +} + +type Security_PolicyScopeClusterGroupObservation struct { + + // Name of this cluster group + ClusterGroup *string `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` +} + +type Security_PolicyScopeClusterGroupParameters struct { + + // Name of this cluster group + // +kubebuilder:validation:Required + ClusterGroup *string `json:"clusterGroup" tf:"cluster_group,omitempty"` +} + +type Security_PolicyScopeClusterObservation struct { + + // Name of the management cluster + ManagementClusterName *string `json:"managementClusterName,omitempty" tf:"management_cluster_name,omitempty"` + + // Name of this cluster + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // Provisioner of the cluster + ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` +} + +type Security_PolicyScopeClusterParameters struct { + + // Name of the management cluster + // +kubebuilder:validation:Optional + ManagementClusterName *string `json:"managementClusterName,omitempty" tf:"management_cluster_name,omitempty"` + + // Name of this cluster + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // Provisioner of the cluster + // +kubebuilder:validation:Optional + ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` +} + +type Security_PolicyScopeObservation struct { + + // The schema for cluster policy full name + Cluster []Security_PolicyScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` + + // The schema for cluster group policy full name + ClusterGroup []Security_PolicyScopeClusterGroupObservation `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` + + // The schema for organization policy full name + Organization []Security_PolicyScopeOrganizationObservation `json:"organization,omitempty" tf:"organization,omitempty"` + + // The schema for workspace policy full name + Workspace []Security_PolicyScopeWorkspaceObservation `json:"workspace,omitempty" tf:"workspace,omitempty"` +} + +type Security_PolicyScopeOrganizationObservation struct { + + // ID of this organization + Organization *string `json:"organization,omitempty" tf:"organization,omitempty"` +} + +type Security_PolicyScopeOrganizationParameters struct { + + // ID of this organization + // +kubebuilder:validation:Required + Organization *string `json:"organization" tf:"organization,omitempty"` +} + +type Security_PolicyScopeParameters struct { + + // The schema for cluster policy full name + // +kubebuilder:validation:Optional + Cluster []Security_PolicyScopeClusterParameters `json:"cluster,omitempty" tf:"cluster,omitempty"` + + // The schema for cluster group policy full name + // +kubebuilder:validation:Optional + ClusterGroup []Security_PolicyScopeClusterGroupParameters `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` + + // The schema for organization policy full name + // +kubebuilder:validation:Optional + Organization []Security_PolicyScopeOrganizationParameters `json:"organization,omitempty" tf:"organization,omitempty"` + + // The schema for workspace policy full name + // +kubebuilder:validation:Optional + Workspace []Security_PolicyScopeWorkspaceParameters `json:"workspace,omitempty" tf:"workspace,omitempty"` +} + +type Security_PolicyScopeWorkspaceObservation struct { + + // Name of this workspace + Workspace *string `json:"workspace,omitempty" tf:"workspace,omitempty"` +} + +type Security_PolicyScopeWorkspaceParameters struct { + + // Name of this workspace + // +kubebuilder:validation:Required + Workspace *string `json:"workspace" tf:"workspace,omitempty"` +} + +type Security_PolicySpecInputObservation struct { + + // The input schema for security policy baseline recipe version v1 + Baseline []BaselineObservation `json:"baseline,omitempty" tf:"baseline,omitempty"` + + // The input schema for security policy custom recipe version v1 + Custom []SpecInputCustomObservation `json:"custom,omitempty" tf:"custom,omitempty"` + + // The input schema for security policy strict recipe version v1 + Strict []StrictObservation `json:"strict,omitempty" tf:"strict,omitempty"` +} + +type Security_PolicySpecInputParameters struct { + + // The input schema for security policy baseline recipe version v1 + // +kubebuilder:validation:Optional + Baseline []BaselineParameters `json:"baseline,omitempty" tf:"baseline,omitempty"` + + // The input schema for security policy custom recipe version v1 + // +kubebuilder:validation:Optional + Custom []SpecInputCustomParameters `json:"custom,omitempty" tf:"custom,omitempty"` + + // The input schema for security policy strict recipe version v1 + // +kubebuilder:validation:Optional + Strict []StrictParameters `json:"strict,omitempty" tf:"strict,omitempty"` +} + +type Security_PolicySpecNamespaceSelectorMatchExpressionsObservation struct { + + // Key is the label key that the selector applies to + Key *string `json:"key,omitempty" tf:"key,omitempty"` + + // Operator represents a key's relationship to a set of values + Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` + + // Values is an array of string values + Values []*string `json:"values,omitempty" tf:"values,omitempty"` +} + +type Security_PolicySpecNamespaceSelectorMatchExpressionsParameters struct { + + // Key is the label key that the selector applies to + // +kubebuilder:validation:Optional + Key *string `json:"key,omitempty" tf:"key,omitempty"` + + // Operator represents a key's relationship to a set of values + // +kubebuilder:validation:Optional + Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` + + // Values is an array of string values + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type Security_PolicySpecNamespaceSelectorObservation struct { + + // Match expressions is a list of label selector requirements, the requirements are ANDed + MatchExpressions []Security_PolicySpecNamespaceSelectorMatchExpressionsObservation `json:"matchExpressions,omitempty" tf:"match_expressions,omitempty"` +} + +type Security_PolicySpecNamespaceSelectorParameters struct { + + // Match expressions is a list of label selector requirements, the requirements are ANDed + // +kubebuilder:validation:Required + MatchExpressions []Security_PolicySpecNamespaceSelectorMatchExpressionsParameters `json:"matchExpressions" tf:"match_expressions,omitempty"` +} + +type Security_PolicySpecObservation struct { + + // Input for the security policy, having one of the valid recipes: baseline, custom or strict. + Input []Security_PolicySpecInputObservation `json:"input,omitempty" tf:"input,omitempty"` + + // Label based Namespace Selector for the policy + NamespaceSelector []Security_PolicySpecNamespaceSelectorObservation `json:"namespaceSelector,omitempty" tf:"namespace_selector,omitempty"` +} + +type Security_PolicySpecParameters struct { + + // Input for the security policy, having one of the valid recipes: baseline, custom or strict. + // +kubebuilder:validation:Required + Input []Security_PolicySpecInputParameters `json:"input" tf:"input,omitempty"` + + // Label based Namespace Selector for the policy + // +kubebuilder:validation:Optional + NamespaceSelector []Security_PolicySpecNamespaceSelectorParameters `json:"namespaceSelector,omitempty" tf:"namespace_selector,omitempty"` +} + +type SpecInputCustomObservation struct { + + // Allow host namespace sharing + AllowHostNamespaceSharing *bool `json:"allowHostNamespaceSharing,omitempty" tf:"allow_host_namespace_sharing,omitempty"` + + // Allow host network + AllowHostNetwork *bool `json:"allowHostNetwork,omitempty" tf:"allow_host_network,omitempty"` + + // Allow privilege escalation + AllowPrivilegeEscalation *bool `json:"allowPrivilegeEscalation,omitempty" tf:"allow_privilege_escalation,omitempty"` + + // Allow privileged containers + AllowPrivilegedContainers *bool `json:"allowPrivilegedContainers,omitempty" tf:"allow_privileged_containers,omitempty"` + + // Allowed host paths + AllowedHostPaths []AllowedHostPathsObservation `json:"allowedHostPaths,omitempty" tf:"allowed_host_paths,omitempty"` + + // Allowed host port range + AllowedHostPortRange []AllowedHostPortRangeObservation `json:"allowedHostPortRange,omitempty" tf:"allowed_host_port_range,omitempty"` + + // Allowed selinux options + AllowedSeLinuxOptions []AllowedSeLinuxOptionsObservation `json:"allowedSeLinuxOptions,omitempty" tf:"allowed_se_linux_options,omitempty"` + + // Allowed volumes + AllowedVolumes []*string `json:"allowedVolumes,omitempty" tf:"allowed_volumes,omitempty"` + + // Audit (dry-run) + Audit *bool `json:"audit,omitempty" tf:"audit,omitempty"` + + // Disable native pod security policy + DisableNativePsp *bool `json:"disableNativePsp,omitempty" tf:"disable_native_psp,omitempty"` + + // fsGroup + FsGroup []FsGroupObservation `json:"fsGroup,omitempty" tf:"fs_group,omitempty"` + + // Linux capabilities + LinuxCapabilities []LinuxCapabilitiesObservation `json:"linuxCapabilities,omitempty" tf:"linux_capabilities,omitempty"` + + // Read only root file system + ReadOnlyRootFileSystem *bool `json:"readOnlyRootFileSystem,omitempty" tf:"read_only_root_file_system,omitempty"` + + // Run as group + RunAsGroup []RunAsGroupObservation `json:"runAsGroup,omitempty" tf:"run_as_group,omitempty"` + + // Run as user + RunAsUser []RunAsUserObservation `json:"runAsUser,omitempty" tf:"run_as_user,omitempty"` + + // Seccomp + Seccomp []SeccompObservation `json:"seccomp,omitempty" tf:"seccomp,omitempty"` + + // supplemental groups + SupplementalGroups []SupplementalGroupsObservation `json:"supplementalGroups,omitempty" tf:"supplemental_groups,omitempty"` + + // Sysctls + Sysctls []SysctlsObservation `json:"sysctls,omitempty" tf:"sysctls,omitempty"` +} + +type SpecInputCustomParameters struct { + + // Allow host namespace sharing + // +kubebuilder:validation:Optional + AllowHostNamespaceSharing *bool `json:"allowHostNamespaceSharing,omitempty" tf:"allow_host_namespace_sharing,omitempty"` + + // Allow host network + // +kubebuilder:validation:Optional + AllowHostNetwork *bool `json:"allowHostNetwork,omitempty" tf:"allow_host_network,omitempty"` + + // Allow privilege escalation + // +kubebuilder:validation:Optional + AllowPrivilegeEscalation *bool `json:"allowPrivilegeEscalation,omitempty" tf:"allow_privilege_escalation,omitempty"` + + // Allow privileged containers + // +kubebuilder:validation:Optional + AllowPrivilegedContainers *bool `json:"allowPrivilegedContainers,omitempty" tf:"allow_privileged_containers,omitempty"` + + // Allowed host paths + // +kubebuilder:validation:Optional + AllowedHostPaths []AllowedHostPathsParameters `json:"allowedHostPaths,omitempty" tf:"allowed_host_paths,omitempty"` + + // Allowed host port range + // +kubebuilder:validation:Optional + AllowedHostPortRange []AllowedHostPortRangeParameters `json:"allowedHostPortRange,omitempty" tf:"allowed_host_port_range,omitempty"` + + // Allowed selinux options + // +kubebuilder:validation:Optional + AllowedSeLinuxOptions []AllowedSeLinuxOptionsParameters `json:"allowedSeLinuxOptions,omitempty" tf:"allowed_se_linux_options,omitempty"` + + // Allowed volumes + // +kubebuilder:validation:Optional + AllowedVolumes []*string `json:"allowedVolumes,omitempty" tf:"allowed_volumes,omitempty"` + + // Audit (dry-run) + // +kubebuilder:validation:Optional + Audit *bool `json:"audit,omitempty" tf:"audit,omitempty"` + + // Disable native pod security policy + // +kubebuilder:validation:Optional + DisableNativePsp *bool `json:"disableNativePsp,omitempty" tf:"disable_native_psp,omitempty"` + + // fsGroup + // +kubebuilder:validation:Optional + FsGroup []FsGroupParameters `json:"fsGroup,omitempty" tf:"fs_group,omitempty"` + + // Linux capabilities + // +kubebuilder:validation:Optional + LinuxCapabilities []LinuxCapabilitiesParameters `json:"linuxCapabilities,omitempty" tf:"linux_capabilities,omitempty"` + + // Read only root file system + // +kubebuilder:validation:Optional + ReadOnlyRootFileSystem *bool `json:"readOnlyRootFileSystem,omitempty" tf:"read_only_root_file_system,omitempty"` + + // Run as group + // +kubebuilder:validation:Optional + RunAsGroup []RunAsGroupParameters `json:"runAsGroup,omitempty" tf:"run_as_group,omitempty"` + + // Run as user + // +kubebuilder:validation:Optional + RunAsUser []RunAsUserParameters `json:"runAsUser,omitempty" tf:"run_as_user,omitempty"` + + // Seccomp + // +kubebuilder:validation:Optional + Seccomp []SeccompParameters `json:"seccomp,omitempty" tf:"seccomp,omitempty"` + + // supplemental groups + // +kubebuilder:validation:Optional + SupplementalGroups []SupplementalGroupsParameters `json:"supplementalGroups,omitempty" tf:"supplemental_groups,omitempty"` + + // Sysctls + // +kubebuilder:validation:Optional + Sysctls []SysctlsParameters `json:"sysctls,omitempty" tf:"sysctls,omitempty"` +} + +type StrictObservation struct { + + // Audit (dry-run) + Audit *bool `json:"audit,omitempty" tf:"audit,omitempty"` + + // Disable native pod security policy + DisableNativePsp *bool `json:"disableNativePsp,omitempty" tf:"disable_native_psp,omitempty"` +} + +type StrictParameters struct { + + // Audit (dry-run) + // +kubebuilder:validation:Optional + Audit *bool `json:"audit,omitempty" tf:"audit,omitempty"` + + // Disable native pod security policy + // +kubebuilder:validation:Optional + DisableNativePsp *bool `json:"disableNativePsp,omitempty" tf:"disable_native_psp,omitempty"` +} + +type SupplementalGroupsObservation struct { + + // Allowed group id ranges + Ranges []SupplementalGroupsRangesObservation `json:"ranges,omitempty" tf:"ranges,omitempty"` + + // Rule + Rule *string `json:"rule,omitempty" tf:"rule,omitempty"` +} + +type SupplementalGroupsParameters struct { + + // Allowed group id ranges + // +kubebuilder:validation:Optional + Ranges []SupplementalGroupsRangesParameters `json:"ranges,omitempty" tf:"ranges,omitempty"` + + // Rule + // +kubebuilder:validation:Optional + Rule *string `json:"rule,omitempty" tf:"rule,omitempty"` +} + +type SupplementalGroupsRangesObservation struct { + + // Maximum group ID + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // Minimum group ID + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type SupplementalGroupsRangesParameters struct { + + // Maximum group ID + // +kubebuilder:validation:Optional + Max *float64 `json:"max,omitempty" tf:"max,omitempty"` + + // Minimum group ID + // +kubebuilder:validation:Optional + Min *float64 `json:"min,omitempty" tf:"min,omitempty"` +} + +type SysctlsObservation struct { + + // Forbidden sysctls + ForbiddenSysctls []*string `json:"forbiddenSysctls,omitempty" tf:"forbidden_sysctls,omitempty"` +} + +type SysctlsParameters struct { + + // Forbidden sysctls + // +kubebuilder:validation:Optional + ForbiddenSysctls []*string `json:"forbiddenSysctls,omitempty" tf:"forbidden_sysctls,omitempty"` +} + +// Security_PolicySpec defines the desired state of Security_Policy +type Security_PolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider Security_PolicyParameters `json:"forProvider"` +} + +// Security_PolicyStatus defines the observed state of Security_Policy. +type Security_PolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider Security_PolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Security_Policy is the Schema for the Security_Policys API. +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +// +kubebuilder:subresource:status +// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tmc} +type Security_Policy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.scope)",message="scope is a required parameter" + // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.spec)",message="spec is a required parameter" + Spec Security_PolicySpec `json:"spec"` + Status Security_PolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// Security_PolicyList contains a list of Security_Policys +type Security_PolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Security_Policy `json:"items"` +} + +// Repository type metadata. +var ( + Security_Policy_Kind = "Security_Policy" + Security_Policy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Security_Policy_Kind}.String() + Security_Policy_KindAPIVersion = Security_Policy_Kind + "." + CRDGroupVersion.String() + Security_Policy_GroupVersionKind = CRDGroupVersion.WithKind(Security_Policy_Kind) +) + +func init() { + SchemeBuilder.Register(&Security_Policy{}, &Security_PolicyList{}) +} diff --git a/apis/tmc/v1alpha1/zz_workspace_types.go b/apis/tmc/v1alpha1/zz_workspace_types.go new file mode 100755 index 0000000..8002591 --- /dev/null +++ b/apis/tmc/v1alpha1/zz_workspace_types.go @@ -0,0 +1,116 @@ +/* +Copyright 2022 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type WorkspaceMetaObservation struct { + + // Annotations for the resource + Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // Description of the resource + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Labels for the resource + Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` + + // Resource version of the resource + ResourceVersion *string `json:"resourceVersion,omitempty" tf:"resource_version,omitempty"` + + // UID of the resource + UID *string `json:"uid,omitempty" tf:"uid,omitempty"` +} + +type WorkspaceMetaParameters struct { + + // Annotations for the resource + // +kubebuilder:validation:Optional + Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // Description of the resource + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // Labels for the resource + // +kubebuilder:validation:Optional + Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` +} + +type WorkspaceObservation_2 struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // Metadata for the resource + Meta []WorkspaceMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` + + Name *string `json:"name,omitempty" tf:"name,omitempty"` +} + +type WorkspaceParameters_2 struct { + + // Metadata for the resource + // +kubebuilder:validation:Optional + Meta []WorkspaceMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` + + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` +} + +// WorkspaceSpec defines the desired state of Workspace +type WorkspaceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider WorkspaceParameters_2 `json:"forProvider"` +} + +// WorkspaceStatus defines the observed state of Workspace. +type WorkspaceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider WorkspaceObservation_2 `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Workspace is the Schema for the Workspaces API. +// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +// +kubebuilder:subresource:status +// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tmc} +type Workspace struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter" + Spec WorkspaceSpec `json:"spec"` + Status WorkspaceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// WorkspaceList contains a list of Workspaces +type WorkspaceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Workspace `json:"items"` +} + +// Repository type metadata. +var ( + Workspace_Kind = "Workspace" + Workspace_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Workspace_Kind}.String() + Workspace_KindAPIVersion = Workspace_Kind + "." + CRDGroupVersion.String() + Workspace_GroupVersionKind = CRDGroupVersion.WithKind(Workspace_Kind) +) + +func init() { + SchemeBuilder.Register(&Workspace{}, &WorkspaceList{}) +} diff --git a/internal/controller/tmc/namespace_quota_policy/zz_controller.go b/internal/controller/tmc/namespace_quota_policy/zz_controller.go new file mode 100755 index 0000000..ff8aa47 --- /dev/null +++ b/internal/controller/tmc/namespace_quota_policy/zz_controller.go @@ -0,0 +1,55 @@ +/* +Copyright 2022 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package namespace_quota_policy + +import ( + "time" + + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + tjcontroller "github.com/upbound/upjet/pkg/controller" + "github.com/upbound/upjet/pkg/terraform" + ctrl "sigs.k8s.io/controller-runtime" + + v1alpha1 "github.com/ankasoftco/provider-tmc/apis/tmc/v1alpha1" + features "github.com/ankasoftco/provider-tmc/internal/features" +) + +// Setup adds a controller that reconciles Namespace_Quota_Policy managed resources. +func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { + name := managed.ControllerName(v1alpha1.Namespace_Quota_Policy_GroupVersionKind.String()) + var initializers managed.InitializerChain + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.SecretStoreConfigGVK != nil { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), *o.SecretStoreConfigGVK)) + } + opts := []managed.ReconcilerOption{ + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), o.WorkspaceStore, o.SetupFn, o.Provider.Resources["tanzu-mission-control_namespace_quota_policy"], tjcontroller.WithLogger(o.Logger), + tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.Namespace_Quota_Policy_GroupVersionKind))), + )), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(o.WorkspaceStore, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3 * time.Minute), + managed.WithInitializers(initializers), + managed.WithConnectionPublishers(cps...), + managed.WithPollInterval(o.PollInterval), + } + if o.Features.Enabled(features.EnableAlphaManagementPolicies) { + opts = append(opts, managed.WithManagementPolicies()) + } + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Namespace_Quota_Policy_GroupVersionKind), opts...) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(o.ForControllerRuntime()). + For(&v1alpha1.Namespace_Quota_Policy{}). + Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) +} diff --git a/internal/controller/tmc/network_policy/zz_controller.go b/internal/controller/tmc/network_policy/zz_controller.go new file mode 100755 index 0000000..70c05d0 --- /dev/null +++ b/internal/controller/tmc/network_policy/zz_controller.go @@ -0,0 +1,55 @@ +/* +Copyright 2022 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package network_policy + +import ( + "time" + + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + tjcontroller "github.com/upbound/upjet/pkg/controller" + "github.com/upbound/upjet/pkg/terraform" + ctrl "sigs.k8s.io/controller-runtime" + + v1alpha1 "github.com/ankasoftco/provider-tmc/apis/tmc/v1alpha1" + features "github.com/ankasoftco/provider-tmc/internal/features" +) + +// Setup adds a controller that reconciles Network_Policy managed resources. +func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { + name := managed.ControllerName(v1alpha1.Network_Policy_GroupVersionKind.String()) + var initializers managed.InitializerChain + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.SecretStoreConfigGVK != nil { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), *o.SecretStoreConfigGVK)) + } + opts := []managed.ReconcilerOption{ + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), o.WorkspaceStore, o.SetupFn, o.Provider.Resources["tanzu-mission-control_network_policy"], tjcontroller.WithLogger(o.Logger), + tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.Network_Policy_GroupVersionKind))), + )), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(o.WorkspaceStore, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3 * time.Minute), + managed.WithInitializers(initializers), + managed.WithConnectionPublishers(cps...), + managed.WithPollInterval(o.PollInterval), + } + if o.Features.Enabled(features.EnableAlphaManagementPolicies) { + opts = append(opts, managed.WithManagementPolicies()) + } + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Network_Policy_GroupVersionKind), opts...) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(o.ForControllerRuntime()). + For(&v1alpha1.Network_Policy{}). + Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) +} diff --git a/internal/controller/tmc/package_install/zz_controller.go b/internal/controller/tmc/package_install/zz_controller.go new file mode 100755 index 0000000..ec17c48 --- /dev/null +++ b/internal/controller/tmc/package_install/zz_controller.go @@ -0,0 +1,55 @@ +/* +Copyright 2022 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package package_install + +import ( + "time" + + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + tjcontroller "github.com/upbound/upjet/pkg/controller" + "github.com/upbound/upjet/pkg/terraform" + ctrl "sigs.k8s.io/controller-runtime" + + v1alpha1 "github.com/ankasoftco/provider-tmc/apis/tmc/v1alpha1" + features "github.com/ankasoftco/provider-tmc/internal/features" +) + +// Setup adds a controller that reconciles Package_Install managed resources. +func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { + name := managed.ControllerName(v1alpha1.Package_Install_GroupVersionKind.String()) + var initializers managed.InitializerChain + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.SecretStoreConfigGVK != nil { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), *o.SecretStoreConfigGVK)) + } + opts := []managed.ReconcilerOption{ + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), o.WorkspaceStore, o.SetupFn, o.Provider.Resources["tanzu-mission-control_package_install"], tjcontroller.WithLogger(o.Logger), + tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.Package_Install_GroupVersionKind))), + )), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(o.WorkspaceStore, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3 * time.Minute), + managed.WithInitializers(initializers), + managed.WithConnectionPublishers(cps...), + managed.WithPollInterval(o.PollInterval), + } + if o.Features.Enabled(features.EnableAlphaManagementPolicies) { + opts = append(opts, managed.WithManagementPolicies()) + } + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Package_Install_GroupVersionKind), opts...) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(o.ForControllerRuntime()). + For(&v1alpha1.Package_Install{}). + Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) +} diff --git a/internal/controller/tmc/package_repository/zz_controller.go b/internal/controller/tmc/package_repository/zz_controller.go new file mode 100755 index 0000000..4e8fe25 --- /dev/null +++ b/internal/controller/tmc/package_repository/zz_controller.go @@ -0,0 +1,55 @@ +/* +Copyright 2022 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package package_repository + +import ( + "time" + + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + tjcontroller "github.com/upbound/upjet/pkg/controller" + "github.com/upbound/upjet/pkg/terraform" + ctrl "sigs.k8s.io/controller-runtime" + + v1alpha1 "github.com/ankasoftco/provider-tmc/apis/tmc/v1alpha1" + features "github.com/ankasoftco/provider-tmc/internal/features" +) + +// Setup adds a controller that reconciles Package_Repository managed resources. +func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { + name := managed.ControllerName(v1alpha1.Package_Repository_GroupVersionKind.String()) + var initializers managed.InitializerChain + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.SecretStoreConfigGVK != nil { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), *o.SecretStoreConfigGVK)) + } + opts := []managed.ReconcilerOption{ + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), o.WorkspaceStore, o.SetupFn, o.Provider.Resources["tanzu-mission-control_package_repository"], tjcontroller.WithLogger(o.Logger), + tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.Package_Repository_GroupVersionKind))), + )), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(o.WorkspaceStore, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3 * time.Minute), + managed.WithInitializers(initializers), + managed.WithConnectionPublishers(cps...), + managed.WithPollInterval(o.PollInterval), + } + if o.Features.Enabled(features.EnableAlphaManagementPolicies) { + opts = append(opts, managed.WithManagementPolicies()) + } + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Package_Repository_GroupVersionKind), opts...) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(o.ForControllerRuntime()). + For(&v1alpha1.Package_Repository{}). + Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) +} diff --git a/internal/controller/tmc/repository_credential/zz_controller.go b/internal/controller/tmc/repository_credential/zz_controller.go new file mode 100755 index 0000000..672626a --- /dev/null +++ b/internal/controller/tmc/repository_credential/zz_controller.go @@ -0,0 +1,55 @@ +/* +Copyright 2022 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package repository_credential + +import ( + "time" + + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + tjcontroller "github.com/upbound/upjet/pkg/controller" + "github.com/upbound/upjet/pkg/terraform" + ctrl "sigs.k8s.io/controller-runtime" + + v1alpha1 "github.com/ankasoftco/provider-tmc/apis/tmc/v1alpha1" + features "github.com/ankasoftco/provider-tmc/internal/features" +) + +// Setup adds a controller that reconciles Repository_Credential managed resources. +func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { + name := managed.ControllerName(v1alpha1.Repository_Credential_GroupVersionKind.String()) + var initializers managed.InitializerChain + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.SecretStoreConfigGVK != nil { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), *o.SecretStoreConfigGVK)) + } + opts := []managed.ReconcilerOption{ + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), o.WorkspaceStore, o.SetupFn, o.Provider.Resources["tanzu-mission-control_repository_credential"], tjcontroller.WithLogger(o.Logger), + tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.Repository_Credential_GroupVersionKind))), + )), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(o.WorkspaceStore, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3 * time.Minute), + managed.WithInitializers(initializers), + managed.WithConnectionPublishers(cps...), + managed.WithPollInterval(o.PollInterval), + } + if o.Features.Enabled(features.EnableAlphaManagementPolicies) { + opts = append(opts, managed.WithManagementPolicies()) + } + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Repository_Credential_GroupVersionKind), opts...) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(o.ForControllerRuntime()). + For(&v1alpha1.Repository_Credential{}). + Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) +} diff --git a/internal/controller/tmc/security_policy/zz_controller.go b/internal/controller/tmc/security_policy/zz_controller.go new file mode 100755 index 0000000..4d0265a --- /dev/null +++ b/internal/controller/tmc/security_policy/zz_controller.go @@ -0,0 +1,55 @@ +/* +Copyright 2022 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package security_policy + +import ( + "time" + + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + tjcontroller "github.com/upbound/upjet/pkg/controller" + "github.com/upbound/upjet/pkg/terraform" + ctrl "sigs.k8s.io/controller-runtime" + + v1alpha1 "github.com/ankasoftco/provider-tmc/apis/tmc/v1alpha1" + features "github.com/ankasoftco/provider-tmc/internal/features" +) + +// Setup adds a controller that reconciles Security_Policy managed resources. +func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { + name := managed.ControllerName(v1alpha1.Security_Policy_GroupVersionKind.String()) + var initializers managed.InitializerChain + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.SecretStoreConfigGVK != nil { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), *o.SecretStoreConfigGVK)) + } + opts := []managed.ReconcilerOption{ + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), o.WorkspaceStore, o.SetupFn, o.Provider.Resources["tanzu-mission-control_security_policy"], tjcontroller.WithLogger(o.Logger), + tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.Security_Policy_GroupVersionKind))), + )), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(o.WorkspaceStore, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3 * time.Minute), + managed.WithInitializers(initializers), + managed.WithConnectionPublishers(cps...), + managed.WithPollInterval(o.PollInterval), + } + if o.Features.Enabled(features.EnableAlphaManagementPolicies) { + opts = append(opts, managed.WithManagementPolicies()) + } + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Security_Policy_GroupVersionKind), opts...) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(o.ForControllerRuntime()). + For(&v1alpha1.Security_Policy{}). + Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) +} diff --git a/internal/controller/tmc/workspace/zz_controller.go b/internal/controller/tmc/workspace/zz_controller.go new file mode 100755 index 0000000..28f8763 --- /dev/null +++ b/internal/controller/tmc/workspace/zz_controller.go @@ -0,0 +1,55 @@ +/* +Copyright 2022 Upbound Inc. +*/ + +// Code generated by upjet. DO NOT EDIT. + +package workspace + +import ( + "time" + + "github.com/crossplane/crossplane-runtime/pkg/connection" + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + tjcontroller "github.com/upbound/upjet/pkg/controller" + "github.com/upbound/upjet/pkg/terraform" + ctrl "sigs.k8s.io/controller-runtime" + + v1alpha1 "github.com/ankasoftco/provider-tmc/apis/tmc/v1alpha1" + features "github.com/ankasoftco/provider-tmc/internal/features" +) + +// Setup adds a controller that reconciles Workspace managed resources. +func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { + name := managed.ControllerName(v1alpha1.Workspace_GroupVersionKind.String()) + var initializers managed.InitializerChain + cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} + if o.SecretStoreConfigGVK != nil { + cps = append(cps, connection.NewDetailsManager(mgr.GetClient(), *o.SecretStoreConfigGVK)) + } + opts := []managed.ReconcilerOption{ + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), o.WorkspaceStore, o.SetupFn, o.Provider.Resources["tanzu-mission-control_workspace"], tjcontroller.WithLogger(o.Logger), + tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.Workspace_GroupVersionKind))), + )), + managed.WithLogger(o.Logger.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(o.WorkspaceStore, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3 * time.Minute), + managed.WithInitializers(initializers), + managed.WithConnectionPublishers(cps...), + managed.WithPollInterval(o.PollInterval), + } + if o.Features.Enabled(features.EnableAlphaManagementPolicies) { + opts = append(opts, managed.WithManagementPolicies()) + } + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Workspace_GroupVersionKind), opts...) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(o.ForControllerRuntime()). + For(&v1alpha1.Workspace{}). + Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) +} diff --git a/internal/controller/zz_setup.go b/internal/controller/zz_setup.go index de974b3..1285103 100755 --- a/internal/controller/zz_setup.go +++ b/internal/controller/zz_setup.go @@ -24,6 +24,13 @@ import ( kubernetes_secret "github.com/ankasoftco/provider-tmc/internal/controller/tmc/kubernetes_secret" kustomization "github.com/ankasoftco/provider-tmc/internal/controller/tmc/kustomization" namespace "github.com/ankasoftco/provider-tmc/internal/controller/tmc/namespace" + namespace_quota_policy "github.com/ankasoftco/provider-tmc/internal/controller/tmc/namespace_quota_policy" + network_policy "github.com/ankasoftco/provider-tmc/internal/controller/tmc/network_policy" + package_install "github.com/ankasoftco/provider-tmc/internal/controller/tmc/package_install" + package_repository "github.com/ankasoftco/provider-tmc/internal/controller/tmc/package_repository" + repository_credential "github.com/ankasoftco/provider-tmc/internal/controller/tmc/repository_credential" + security_policy "github.com/ankasoftco/provider-tmc/internal/controller/tmc/security_policy" + workspace "github.com/ankasoftco/provider-tmc/internal/controller/tmc/workspace" ) // Setup creates all controllers with the supplied logger and adds them to @@ -45,6 +52,13 @@ func Setup(mgr ctrl.Manager, o controller.Options) error { kubernetes_secret.Setup, kustomization.Setup, namespace.Setup, + namespace_quota_policy.Setup, + network_policy.Setup, + package_install.Setup, + package_repository.Setup, + repository_credential.Setup, + security_policy.Setup, + workspace.Setup, } { if err := setup(mgr, o); err != nil { return err diff --git a/package/crds/tmc.crossplane.io_namespace_quota_policies.yaml b/package/crds/tmc.crossplane.io_namespace_quota_policies.yaml new file mode 100644 index 0000000..bfd3c29 --- /dev/null +++ b/package/crds/tmc.crossplane.io_namespace_quota_policies.yaml @@ -0,0 +1,710 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.11.3 + creationTimestamp: null + name: namespace_quota_policies.tmc.crossplane.io +spec: + group: tmc.crossplane.io + names: + categories: + - crossplane + - managed + - tmc + kind: Namespace_Quota_Policy + listKind: Namespace_Quota_PolicyList + plural: namespace_quota_policies + singular: namespace_quota_policy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Namespace_Quota_Policy is the Schema for the Namespace_Quota_Policys + API. + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: Namespace_Quota_PolicySpec defines the desired state of Namespace_Quota_Policy + properties: + deletionPolicy: + default: Delete + description: 'DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. This field is planned to be deprecated + in favor of the ManagementPolicy field in a future release. Currently, + both could be set independently and non-default values would be + honored if the feature flag is enabled. See the design doc for more + information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + meta: + description: Metadata for the resource + items: + properties: + annotations: + additionalProperties: + type: string + description: Annotations for the resource + type: object + description: + description: Description of the resource + type: string + labels: + additionalProperties: + type: string + description: Labels for the resource + type: object + type: object + type: array + name: + description: Name of the namespace quota policy + type: string + scope: + description: 'Scope for the custom, security, image, network and + namespace quota policy, having one of the valid scopes for custom, + security and namespace quota policy: cluster, cluster_group + or organization and valid scopes for image and network policy: + workspace or organization.' + items: + properties: + cluster: + description: The schema for cluster policy full name + items: + properties: + managementClusterName: + description: Name of the management cluster + type: string + name: + description: Name of this cluster + type: string + provisionerName: + description: Provisioner of the cluster + type: string + required: + - name + type: object + type: array + clusterGroup: + description: The schema for cluster group policy full name + items: + properties: + clusterGroup: + description: Name of this cluster group + type: string + required: + - clusterGroup + type: object + type: array + organization: + description: The schema for organization policy full name + items: + properties: + organization: + description: ID of this organization + type: string + required: + - organization + type: object + type: array + workspace: + description: The schema for workspace policy full name + items: + properties: + workspace: + description: Name of this workspace + type: string + required: + - workspace + type: object + type: array + type: object + type: array + spec: + description: Spec for the namespace namespace quota policy + items: + properties: + input: + description: 'Input for the namespace quota policy, having + one of the valid recipes: small, medium, large or custom.' + items: + properties: + custom: + description: The input schema for namespace quota + policy custom recipe version v1 + items: + properties: + limitsCpu: + description: The sum of CPU limits across all + pods in a non-terminal state cannot exceed + this value + type: string + limitsMemory: + description: The sum of memory limits across + all pods in a non-terminal state cannot exceed + this value + type: string + persistentVolumeClaims: + description: The total number of PersistentVolumeClaims + that can exist in a namespace + type: number + persistentVolumeClaimsPerClass: + additionalProperties: + type: number + description: Across all persistent volume claims + associated with each storage class, the total + number of persistent volume claims that can + exist in the namespace + type: object + requestsCpu: + description: The sum of CPU requests across + all pods in a non-terminal state cannot exceed + this value + type: string + requestsMemory: + description: The sum of memory requests across + all pods in a non-terminal state cannot exceed + this value + type: string + requestsStorage: + description: The sum of storage requests across + all persistent volume claims cannot exceed + this value + type: string + requestsStoragePerClass: + additionalProperties: + type: string + description: Across all persistent volume claims + associated with each storage class, the sum + of storage requests cannot exceed this value + type: object + resourceCounts: + additionalProperties: + type: number + description: The total number of Services of + the given type that can exist in a namespace + type: object + type: object + type: array + large: + description: The input schema for namespace quota + policy large recipe version v1 + items: + type: object + type: array + medium: + description: The input schema for namespace quota + policy medium recipe version v1 + items: + type: object + type: array + small: + description: The input schema for namespace quota + policy small recipe version v1 + items: + type: object + type: array + type: object + type: array + namespaceSelector: + description: Label based Namespace Selector for the policy + items: + properties: + matchExpressions: + description: Match expressions is a list of label + selector requirements, the requirements are ANDed + items: + properties: + key: + description: Key is the label key that the selector + applies to + type: string + operator: + description: Operator represents a key's relationship + to a set of values + type: string + values: + description: Values is an array of string values + items: + type: string + type: array + required: + - values + type: object + type: array + required: + - matchExpressions + type: object + type: array + required: + - input + type: object + type: array + type: object + managementPolicy: + default: FullControl + description: 'THIS IS AN ALPHA FIELD. Do not use it in production. + It is not honored unless the relevant Crossplane feature flag is + enabled, and may be changed or removed without notice. ManagementPolicy + specifies the level of control Crossplane has over the managed external + resource. This field is planned to replace the DeletionPolicy field + in a future release. Currently, both could be set independently + and non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' + enum: + - FullControl + - ObserveOnly + - OrphanOnDelete + type: string + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of this + reference is required. The default is 'Required', which + means the reconcile will fail if the reference cannot be + resolved. 'Optional' means this reference will be a no-op + if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will attempt + to resolve the reference only when the corresponding field + is not present. Use 'Always' to resolve the reference on + every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of this + reference is required. The default is 'Required', which + means the reconcile will fail if the reference cannot be + resolved. 'Optional' means this reference will be a no-op + if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will attempt + to resolve the reference only when the corresponding field + is not present. Use 'Always' to resolve the reference on + every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of + this reference is required. The default is 'Required', + which means the reconcile will fail if the reference + cannot be resolved. 'Optional' means this reference + will be a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will + attempt to resolve the reference only when the corresponding + field is not present. Use 'Always' to resolve the reference + on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + x-kubernetes-validations: + - message: name is a required parameter + rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name) + - message: scope is a required parameter + rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.scope) + - message: spec is a required parameter + rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.spec) + status: + description: Namespace_Quota_PolicyStatus defines the observed state of + Namespace_Quota_Policy. + properties: + atProvider: + properties: + id: + type: string + meta: + description: Metadata for the resource + items: + properties: + annotations: + additionalProperties: + type: string + description: Annotations for the resource + type: object + description: + description: Description of the resource + type: string + labels: + additionalProperties: + type: string + description: Labels for the resource + type: object + resourceVersion: + description: Resource version of the resource + type: string + uid: + description: UID of the resource + type: string + type: object + type: array + name: + description: Name of the namespace quota policy + type: string + scope: + description: 'Scope for the custom, security, image, network and + namespace quota policy, having one of the valid scopes for custom, + security and namespace quota policy: cluster, cluster_group + or organization and valid scopes for image and network policy: + workspace or organization.' + items: + properties: + cluster: + description: The schema for cluster policy full name + items: + properties: + managementClusterName: + description: Name of the management cluster + type: string + name: + description: Name of this cluster + type: string + provisionerName: + description: Provisioner of the cluster + type: string + type: object + type: array + clusterGroup: + description: The schema for cluster group policy full name + items: + properties: + clusterGroup: + description: Name of this cluster group + type: string + type: object + type: array + organization: + description: The schema for organization policy full name + items: + properties: + organization: + description: ID of this organization + type: string + type: object + type: array + workspace: + description: The schema for workspace policy full name + items: + properties: + workspace: + description: Name of this workspace + type: string + type: object + type: array + type: object + type: array + spec: + description: Spec for the namespace namespace quota policy + items: + properties: + input: + description: 'Input for the namespace quota policy, having + one of the valid recipes: small, medium, large or custom.' + items: + properties: + custom: + description: The input schema for namespace quota + policy custom recipe version v1 + items: + properties: + limitsCpu: + description: The sum of CPU limits across all + pods in a non-terminal state cannot exceed + this value + type: string + limitsMemory: + description: The sum of memory limits across + all pods in a non-terminal state cannot exceed + this value + type: string + persistentVolumeClaims: + description: The total number of PersistentVolumeClaims + that can exist in a namespace + type: number + persistentVolumeClaimsPerClass: + additionalProperties: + type: number + description: Across all persistent volume claims + associated with each storage class, the total + number of persistent volume claims that can + exist in the namespace + type: object + requestsCpu: + description: The sum of CPU requests across + all pods in a non-terminal state cannot exceed + this value + type: string + requestsMemory: + description: The sum of memory requests across + all pods in a non-terminal state cannot exceed + this value + type: string + requestsStorage: + description: The sum of storage requests across + all persistent volume claims cannot exceed + this value + type: string + requestsStoragePerClass: + additionalProperties: + type: string + description: Across all persistent volume claims + associated with each storage class, the sum + of storage requests cannot exceed this value + type: object + resourceCounts: + additionalProperties: + type: number + description: The total number of Services of + the given type that can exist in a namespace + type: object + type: object + type: array + large: + description: The input schema for namespace quota + policy large recipe version v1 + items: + type: object + type: array + medium: + description: The input schema for namespace quota + policy medium recipe version v1 + items: + type: object + type: array + small: + description: The input schema for namespace quota + policy small recipe version v1 + items: + type: object + type: array + type: object + type: array + namespaceSelector: + description: Label based Namespace Selector for the policy + items: + properties: + matchExpressions: + description: Match expressions is a list of label + selector requirements, the requirements are ANDed + items: + properties: + key: + description: Key is the label key that the selector + applies to + type: string + operator: + description: Operator represents a key's relationship + to a set of values + type: string + values: + description: Values is an array of string values + items: + type: string + type: array + type: object + type: array + type: object + type: array + type: object + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/package/crds/tmc.crossplane.io_network_policies.yaml b/package/crds/tmc.crossplane.io_network_policies.yaml new file mode 100644 index 0000000..95c9d1f --- /dev/null +++ b/package/crds/tmc.crossplane.io_network_policies.yaml @@ -0,0 +1,1147 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.11.3 + creationTimestamp: null + name: network_policies.tmc.crossplane.io +spec: + group: tmc.crossplane.io + names: + categories: + - crossplane + - managed + - tmc + kind: Network_Policy + listKind: Network_PolicyList + plural: network_policies + singular: network_policy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Network_Policy is the Schema for the Network_Policys API. + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: Network_PolicySpec defines the desired state of Network_Policy + properties: + deletionPolicy: + default: Delete + description: 'DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. This field is planned to be deprecated + in favor of the ManagementPolicy field in a future release. Currently, + both could be set independently and non-default values would be + honored if the feature flag is enabled. See the design doc for more + information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + meta: + description: Metadata for the resource + items: + properties: + annotations: + additionalProperties: + type: string + description: Annotations for the resource + type: object + description: + description: Description of the resource + type: string + labels: + additionalProperties: + type: string + description: Labels for the resource + type: object + type: object + type: array + name: + description: Name of the network policy + type: string + scope: + description: 'Scope for the custom, security, image, network and + namespace quota policy, having one of the valid scopes for custom, + security and namespace quota policy: cluster, cluster_group + or organization and valid scopes for image and network policy: + workspace or organization.' + items: + properties: + cluster: + description: The schema for cluster policy full name + items: + properties: + managementClusterName: + description: Name of the management cluster + type: string + name: + description: Name of this cluster + type: string + provisionerName: + description: Provisioner of the cluster + type: string + required: + - name + type: object + type: array + clusterGroup: + description: The schema for cluster group policy full name + items: + properties: + clusterGroup: + description: Name of this cluster group + type: string + required: + - clusterGroup + type: object + type: array + organization: + description: The schema for organization policy full name + items: + properties: + organization: + description: ID of this organization + type: string + required: + - organization + type: object + type: array + workspace: + description: The schema for workspace policy full name + items: + properties: + workspace: + description: Name of this workspace + type: string + required: + - workspace + type: object + type: array + type: object + type: array + spec: + description: Spec for the network policy + items: + properties: + input: + description: 'Input for the network policy, having one of + the valid recipes: allow-all, allow-all-to-pods, allow-all-egress, + deny-all, deny-all-to-pods, deny-all-egress, custom-egress + or custom-ingress.' + items: + properties: + allowAll: + description: The input schema for network policy allow-all + recipe version v1 + items: + properties: + fromOwnNamespace: + description: Allow traffic only from own namespace. + Allow traffic only from pods in the same namespace + as the destination pod. + type: boolean + type: object + type: array + allowAllEgress: + description: The input schema for network policy allow-all-egress + recipe version v1 + items: + type: object + type: array + allowAllToPods: + description: The input schema for network policy allow-all-to-pods + recipe version v1 + items: + properties: + fromOwnNamespace: + description: Allow traffic only from own namespace. + Allow traffic only from pods in the same namespace + as the destination pod. + type: boolean + toPodLabels: + additionalProperties: + type: string + description: Pod Labels on which traffic should + be allowed/denied. Use a label selector to + identify the pods to which the policy applies. + type: object + type: object + type: array + customEgress: + description: The input schema for network policy custom + egress recipe version v1 + items: + properties: + rules: + description: This specifies list of egress rules + to be applied to the selected pods. + items: + properties: + ports: + description: List of destination ports + for outgoing traffic. Each item in this + list is combined using a logical OR. + Default is this rule matches all ports + (traffic not restricted by port). + items: + properties: + port: + description: The port on the given + protocol. This can either be a + numerical or named port on a pod. + type: string + protocol: + description: The protocol (TCP or + UDP) which traffic must match. + type: string + type: object + type: array + ruleSpec: + description: List of destinations for + outgoing traffic of pods selected for + this rule. Default is the rule matches + all destinations (traffic not restricted + by destinations). + items: + properties: + customIp: + description: The rule Spec (destination) + for IP Block. + items: + properties: + ipBlock: + description: IPBlock defines + policy on a particular IPBlock. + If this field is set then + neither of the namespaceSelector + and PodSelector can be set. + items: + properties: + cidr: + description: CIDR is + a string representing + the IP Block Valid + examples are "192.168.1.1/24" + or "2001:db9::/64" + type: string + except: + description: Except + is a slice of CIDRs + that should not be + included within an + IP Block Valid examples + are "192.168.1.1/24" + or "2001:db9::/64" + Except values will + be rejected if they + are outside the CIDR + range + items: + type: string + type: array + required: + - cidr + type: object + type: array + type: object + type: array + customSelector: + description: The rule Spec (destination) + for Selectors. + items: + properties: + namespaceSelector: + additionalProperties: + type: string + description: Use a label selector + to identify the namespaces + to allow as egress destinations. + type: object + podSelector: + additionalProperties: + type: string + description: Use a label selector + to identify the pods to + allow as egress destinations. + type: object + type: object + type: array + type: object + type: array + required: + - ports + - ruleSpec + type: object + type: array + toPodLabels: + additionalProperties: + type: string + description: Pod Labels on which traffic should + be allowed/denied. Use a label selector to + identify the pods to which the policy applies. + type: object + required: + - rules + type: object + type: array + customIngress: + description: The input schema for network policy custom + ingress recipe version v1 + items: + properties: + rules: + description: This specifies list of ingress + rules to be applied to the selected pods. + items: + properties: + ports: + description: List of ports which should + be made accessible on the pods selected + for this rule. Each item in this list + is combined using a logical OR. Default + is this rule matches all ports (traffic + not restricted by port). + items: + properties: + port: + description: The port on the given + protocol. This can either be a + numerical or named port on a pod. + type: string + protocol: + description: The protocol (TCP or + UDP) which traffic must match. + type: string + type: object + type: array + ruleSpec: + description: List of sources which should + be able to access the pods selected + for this rule. Default is the rule matches + all sources (traffic not restricted + by source). List of items of type V1alpha1CommonPolicySpecNetworkV1CustomIngressRulesRuleSpec0 + OR V1alpha1CommonPolicySpecNetworkV1CustomIngressRulesRuleSpec1. + items: + properties: + customIp: + description: The rule Spec (source) + for IP Block. + items: + properties: + ipBlock: + description: IPBlock defines + policy on a particular IPBlock. + If this field is set then + neither of the namespaceSelector + and PodSelector can be set. + items: + properties: + cidr: + description: CIDR is + a string representing + the IP Block Valid + examples are "192.168.1.1/24" + or "2001:db9::/64" + type: string + except: + description: Except + is a slice of CIDRs + that should not be + included within an + IP Block Valid examples + are "192.168.1.1/24" + or "2001:db9::/64" + Except values will + be rejected if they + are outside the CIDR + range + items: + type: string + type: array + required: + - cidr + type: object + type: array + type: object + type: array + customSelector: + description: The rule Spec (source) + for Selectors. + items: + properties: + namespaceSelector: + additionalProperties: + type: string + description: Use a label selector + to identify the namespaces + to allow as egress destinations. + type: object + podSelector: + additionalProperties: + type: string + description: Use a label selector + to identify the pods to + allow as egress destinations. + type: object + type: object + type: array + type: object + type: array + required: + - ports + - ruleSpec + type: object + type: array + toPodLabels: + additionalProperties: + type: string + description: Pod Labels on which traffic should + be allowed/denied. Use a label selector to + identify the pods to which the policy applies. + type: object + required: + - rules + type: object + type: array + denyAll: + description: The input schema for network policy deny-all + recipe version v1 + items: + type: object + type: array + denyAllEgress: + description: The input schema for network policy deny-all-egress + recipe version v1 + items: + type: object + type: array + denyAllToPods: + description: The input schema for network policy deny-all-to-pods + recipe version v1 + items: + properties: + toPodLabels: + additionalProperties: + type: string + description: Pod Labels on which traffic should + be allowed/denied. Use a label selector to + identify the pods to which the policy applies. + type: object + type: object + type: array + type: object + type: array + namespaceSelector: + description: Label based Namespace Selector for the policy + items: + properties: + matchExpressions: + description: Match expressions is a list of label + selector requirements, the requirements are ANDed + items: + properties: + key: + description: Key is the label key that the selector + applies to + type: string + operator: + description: Operator represents a key's relationship + to a set of values + type: string + values: + description: Values is an array of string values + items: + type: string + type: array + required: + - values + type: object + type: array + required: + - matchExpressions + type: object + type: array + required: + - input + type: object + type: array + type: object + managementPolicy: + default: FullControl + description: 'THIS IS AN ALPHA FIELD. Do not use it in production. + It is not honored unless the relevant Crossplane feature flag is + enabled, and may be changed or removed without notice. ManagementPolicy + specifies the level of control Crossplane has over the managed external + resource. This field is planned to replace the DeletionPolicy field + in a future release. Currently, both could be set independently + and non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' + enum: + - FullControl + - ObserveOnly + - OrphanOnDelete + type: string + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of this + reference is required. The default is 'Required', which + means the reconcile will fail if the reference cannot be + resolved. 'Optional' means this reference will be a no-op + if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will attempt + to resolve the reference only when the corresponding field + is not present. Use 'Always' to resolve the reference on + every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of this + reference is required. The default is 'Required', which + means the reconcile will fail if the reference cannot be + resolved. 'Optional' means this reference will be a no-op + if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will attempt + to resolve the reference only when the corresponding field + is not present. Use 'Always' to resolve the reference on + every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of + this reference is required. The default is 'Required', + which means the reconcile will fail if the reference + cannot be resolved. 'Optional' means this reference + will be a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will + attempt to resolve the reference only when the corresponding + field is not present. Use 'Always' to resolve the reference + on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + x-kubernetes-validations: + - message: name is a required parameter + rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name) + - message: scope is a required parameter + rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.scope) + - message: spec is a required parameter + rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.spec) + status: + description: Network_PolicyStatus defines the observed state of Network_Policy. + properties: + atProvider: + properties: + id: + type: string + meta: + description: Metadata for the resource + items: + properties: + annotations: + additionalProperties: + type: string + description: Annotations for the resource + type: object + description: + description: Description of the resource + type: string + labels: + additionalProperties: + type: string + description: Labels for the resource + type: object + resourceVersion: + description: Resource version of the resource + type: string + uid: + description: UID of the resource + type: string + type: object + type: array + name: + description: Name of the network policy + type: string + scope: + description: 'Scope for the custom, security, image, network and + namespace quota policy, having one of the valid scopes for custom, + security and namespace quota policy: cluster, cluster_group + or organization and valid scopes for image and network policy: + workspace or organization.' + items: + properties: + cluster: + description: The schema for cluster policy full name + items: + properties: + managementClusterName: + description: Name of the management cluster + type: string + name: + description: Name of this cluster + type: string + provisionerName: + description: Provisioner of the cluster + type: string + type: object + type: array + clusterGroup: + description: The schema for cluster group policy full name + items: + properties: + clusterGroup: + description: Name of this cluster group + type: string + type: object + type: array + organization: + description: The schema for organization policy full name + items: + properties: + organization: + description: ID of this organization + type: string + type: object + type: array + workspace: + description: The schema for workspace policy full name + items: + properties: + workspace: + description: Name of this workspace + type: string + type: object + type: array + type: object + type: array + spec: + description: Spec for the network policy + items: + properties: + input: + description: 'Input for the network policy, having one of + the valid recipes: allow-all, allow-all-to-pods, allow-all-egress, + deny-all, deny-all-to-pods, deny-all-egress, custom-egress + or custom-ingress.' + items: + properties: + allowAll: + description: The input schema for network policy allow-all + recipe version v1 + items: + properties: + fromOwnNamespace: + description: Allow traffic only from own namespace. + Allow traffic only from pods in the same namespace + as the destination pod. + type: boolean + type: object + type: array + allowAllEgress: + description: The input schema for network policy allow-all-egress + recipe version v1 + items: + type: object + type: array + allowAllToPods: + description: The input schema for network policy allow-all-to-pods + recipe version v1 + items: + properties: + fromOwnNamespace: + description: Allow traffic only from own namespace. + Allow traffic only from pods in the same namespace + as the destination pod. + type: boolean + toPodLabels: + additionalProperties: + type: string + description: Pod Labels on which traffic should + be allowed/denied. Use a label selector to + identify the pods to which the policy applies. + type: object + type: object + type: array + customEgress: + description: The input schema for network policy custom + egress recipe version v1 + items: + properties: + rules: + description: This specifies list of egress rules + to be applied to the selected pods. + items: + properties: + ports: + description: List of destination ports + for outgoing traffic. Each item in this + list is combined using a logical OR. + Default is this rule matches all ports + (traffic not restricted by port). + items: + properties: + port: + description: The port on the given + protocol. This can either be a + numerical or named port on a pod. + type: string + protocol: + description: The protocol (TCP or + UDP) which traffic must match. + type: string + type: object + type: array + ruleSpec: + description: List of destinations for + outgoing traffic of pods selected for + this rule. Default is the rule matches + all destinations (traffic not restricted + by destinations). + items: + properties: + customIp: + description: The rule Spec (destination) + for IP Block. + items: + properties: + ipBlock: + description: IPBlock defines + policy on a particular IPBlock. + If this field is set then + neither of the namespaceSelector + and PodSelector can be set. + items: + properties: + cidr: + description: CIDR is + a string representing + the IP Block Valid + examples are "192.168.1.1/24" + or "2001:db9::/64" + type: string + except: + description: Except + is a slice of CIDRs + that should not be + included within an + IP Block Valid examples + are "192.168.1.1/24" + or "2001:db9::/64" + Except values will + be rejected if they + are outside the CIDR + range + items: + type: string + type: array + type: object + type: array + type: object + type: array + customSelector: + description: The rule Spec (destination) + for Selectors. + items: + properties: + namespaceSelector: + additionalProperties: + type: string + description: Use a label selector + to identify the namespaces + to allow as egress destinations. + type: object + podSelector: + additionalProperties: + type: string + description: Use a label selector + to identify the pods to + allow as egress destinations. + type: object + type: object + type: array + type: object + type: array + type: object + type: array + toPodLabels: + additionalProperties: + type: string + description: Pod Labels on which traffic should + be allowed/denied. Use a label selector to + identify the pods to which the policy applies. + type: object + type: object + type: array + customIngress: + description: The input schema for network policy custom + ingress recipe version v1 + items: + properties: + rules: + description: This specifies list of ingress + rules to be applied to the selected pods. + items: + properties: + ports: + description: List of ports which should + be made accessible on the pods selected + for this rule. Each item in this list + is combined using a logical OR. Default + is this rule matches all ports (traffic + not restricted by port). + items: + properties: + port: + description: The port on the given + protocol. This can either be a + numerical or named port on a pod. + type: string + protocol: + description: The protocol (TCP or + UDP) which traffic must match. + type: string + type: object + type: array + ruleSpec: + description: List of sources which should + be able to access the pods selected + for this rule. Default is the rule matches + all sources (traffic not restricted + by source). List of items of type V1alpha1CommonPolicySpecNetworkV1CustomIngressRulesRuleSpec0 + OR V1alpha1CommonPolicySpecNetworkV1CustomIngressRulesRuleSpec1. + items: + properties: + customIp: + description: The rule Spec (source) + for IP Block. + items: + properties: + ipBlock: + description: IPBlock defines + policy on a particular IPBlock. + If this field is set then + neither of the namespaceSelector + and PodSelector can be set. + items: + properties: + cidr: + description: CIDR is + a string representing + the IP Block Valid + examples are "192.168.1.1/24" + or "2001:db9::/64" + type: string + except: + description: Except + is a slice of CIDRs + that should not be + included within an + IP Block Valid examples + are "192.168.1.1/24" + or "2001:db9::/64" + Except values will + be rejected if they + are outside the CIDR + range + items: + type: string + type: array + type: object + type: array + type: object + type: array + customSelector: + description: The rule Spec (source) + for Selectors. + items: + properties: + namespaceSelector: + additionalProperties: + type: string + description: Use a label selector + to identify the namespaces + to allow as egress destinations. + type: object + podSelector: + additionalProperties: + type: string + description: Use a label selector + to identify the pods to + allow as egress destinations. + type: object + type: object + type: array + type: object + type: array + type: object + type: array + toPodLabels: + additionalProperties: + type: string + description: Pod Labels on which traffic should + be allowed/denied. Use a label selector to + identify the pods to which the policy applies. + type: object + type: object + type: array + denyAll: + description: The input schema for network policy deny-all + recipe version v1 + items: + type: object + type: array + denyAllEgress: + description: The input schema for network policy deny-all-egress + recipe version v1 + items: + type: object + type: array + denyAllToPods: + description: The input schema for network policy deny-all-to-pods + recipe version v1 + items: + properties: + toPodLabels: + additionalProperties: + type: string + description: Pod Labels on which traffic should + be allowed/denied. Use a label selector to + identify the pods to which the policy applies. + type: object + type: object + type: array + type: object + type: array + namespaceSelector: + description: Label based Namespace Selector for the policy + items: + properties: + matchExpressions: + description: Match expressions is a list of label + selector requirements, the requirements are ANDed + items: + properties: + key: + description: Key is the label key that the selector + applies to + type: string + operator: + description: Operator represents a key's relationship + to a set of values + type: string + values: + description: Values is an array of string values + items: + type: string + type: array + type: object + type: array + type: object + type: array + type: object + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/package/crds/tmc.crossplane.io_package_installs.yaml b/package/crds/tmc.crossplane.io_package_installs.yaml new file mode 100644 index 0000000..f296555 --- /dev/null +++ b/package/crds/tmc.crossplane.io_package_installs.yaml @@ -0,0 +1,520 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.11.3 + creationTimestamp: null + name: package_installs.tmc.crossplane.io +spec: + group: tmc.crossplane.io + names: + categories: + - crossplane + - managed + - tmc + kind: Package_Install + listKind: Package_InstallList + plural: package_installs + singular: package_install + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Package_Install is the Schema for the Package_Installs API. + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: Package_InstallSpec defines the desired state of Package_Install + properties: + deletionPolicy: + default: Delete + description: 'DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. This field is planned to be deprecated + in favor of the ManagementPolicy field in a future release. Currently, + both could be set independently and non-default values would be + honored if the feature flag is enabled. See the design doc for more + information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + meta: + description: Metadata for the resource + items: + properties: + annotations: + additionalProperties: + type: string + description: Annotations for the resource + type: object + description: + description: Description of the resource + type: string + labels: + additionalProperties: + type: string + description: Labels for the resource + type: object + type: object + type: array + name: + description: Name of the package install resource. + type: string + namespace: + description: Name of Namespace where package install will be created. + type: string + scope: + description: 'Scope for the package install, having one of the + valid scopes: cluster.' + items: + properties: + cluster: + description: The schema for cluster full name + items: + properties: + managementClusterName: + description: Name of the management cluster + type: string + name: + description: Name of this cluster + type: string + provisionerName: + description: Provisioner of the cluster + type: string + required: + - name + type: object + type: array + type: object + type: array + spec: + description: spec for package install. + items: + properties: + inlineValuesSecretRef: + description: Inline values to configure the Package Install. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + packageRef: + description: Reference to the Package which will be installed. + items: + properties: + packageMetadataName: + description: Name of the Package Metadata. + type: string + versionSelection: + description: Version Selection of the Package. + items: + properties: + constraints: + description: 'Constraints to select Package. + Example: constraints: ''v1.2.3'', constraints: + '' + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: Package_RepositorySpec defines the desired state of Package_Repository + properties: + deletionPolicy: + default: Delete + description: 'DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. This field is planned to be deprecated + in favor of the ManagementPolicy field in a future release. Currently, + both could be set independently and non-default values would be + honored if the feature flag is enabled. See the design doc for more + information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + disabled: + description: If true, Package Repository is disabled for cluster. + type: boolean + meta: + description: Metadata for the resource + items: + properties: + annotations: + additionalProperties: + type: string + description: Annotations for the resource + type: object + description: + description: Description of the resource + type: string + labels: + additionalProperties: + type: string + description: Labels for the resource + type: object + type: object + type: array + name: + description: Name of the package repository resource. + type: string + scope: + description: 'Scope for the package repository, having one of + the valid scopes: cluster.' + items: + properties: + cluster: + description: The schema for cluster full name + items: + properties: + managementClusterName: + description: Name of the management cluster + type: string + name: + description: Name of this cluster + type: string + provisionerName: + description: Provisioner of the cluster + type: string + required: + - name + type: object + type: array + type: object + type: array + spec: + description: spec for package repository. + items: + properties: + imgpkgBundle: + description: Docker image url; unqualified, tagged, or digest + references supported. + items: + properties: + image: + description: image url string. + type: string + required: + - image + type: object + type: array + type: object + type: array + type: object + managementPolicy: + default: FullControl + description: 'THIS IS AN ALPHA FIELD. Do not use it in production. + It is not honored unless the relevant Crossplane feature flag is + enabled, and may be changed or removed without notice. ManagementPolicy + specifies the level of control Crossplane has over the managed external + resource. This field is planned to replace the DeletionPolicy field + in a future release. Currently, both could be set independently + and non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' + enum: + - FullControl + - ObserveOnly + - OrphanOnDelete + type: string + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of this + reference is required. The default is 'Required', which + means the reconcile will fail if the reference cannot be + resolved. 'Optional' means this reference will be a no-op + if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will attempt + to resolve the reference only when the corresponding field + is not present. Use 'Always' to resolve the reference on + every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of this + reference is required. The default is 'Required', which + means the reconcile will fail if the reference cannot be + resolved. 'Optional' means this reference will be a no-op + if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will attempt + to resolve the reference only when the corresponding field + is not present. Use 'Always' to resolve the reference on + every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of + this reference is required. The default is 'Required', + which means the reconcile will fail if the reference + cannot be resolved. 'Optional' means this reference + will be a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will + attempt to resolve the reference only when the corresponding + field is not present. Use 'Always' to resolve the reference + on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + x-kubernetes-validations: + - message: name is a required parameter + rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name) + - message: scope is a required parameter + rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.scope) + - message: spec is a required parameter + rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.spec) + status: + description: Package_RepositoryStatus defines the observed state of Package_Repository. + properties: + atProvider: + properties: + disabled: + description: If true, Package Repository is disabled for cluster. + type: boolean + id: + type: string + meta: + description: Metadata for the resource + items: + properties: + annotations: + additionalProperties: + type: string + description: Annotations for the resource + type: object + description: + description: Description of the resource + type: string + labels: + additionalProperties: + type: string + description: Labels for the resource + type: object + resourceVersion: + description: Resource version of the resource + type: string + uid: + description: UID of the resource + type: string + type: object + type: array + name: + description: Name of the package repository resource. + type: string + namespaceName: + description: Name of Namespace where package repository will be + created. + type: string + scope: + description: 'Scope for the package repository, having one of + the valid scopes: cluster.' + items: + properties: + cluster: + description: The schema for cluster full name + items: + properties: + managementClusterName: + description: Name of the management cluster + type: string + name: + description: Name of this cluster + type: string + provisionerName: + description: Provisioner of the cluster + type: string + type: object + type: array + type: object + type: array + spec: + description: spec for package repository. + items: + properties: + imgpkgBundle: + description: Docker image url; unqualified, tagged, or digest + references supported. + items: + properties: + image: + description: image url string. + type: string + type: object + type: array + type: object + type: array + state: + description: status for package repository. + items: + properties: + disabled: + type: boolean + managed: + type: boolean + packageRepositoryPhase: + type: string + subscribed: + type: boolean + type: object + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/package/crds/tmc.crossplane.io_repository_credentials.yaml b/package/crds/tmc.crossplane.io_repository_credentials.yaml new file mode 100644 index 0000000..cb8ec92 --- /dev/null +++ b/package/crds/tmc.crossplane.io_repository_credentials.yaml @@ -0,0 +1,540 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.11.3 + creationTimestamp: null + name: repository_credentials.tmc.crossplane.io +spec: + group: tmc.crossplane.io + names: + categories: + - crossplane + - managed + - tmc + kind: Repository_Credential + listKind: Repository_CredentialList + plural: repository_credentials + singular: repository_credential + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Repository_Credential is the Schema for the Repository_Credentials + API. + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: Repository_CredentialSpec defines the desired state of Repository_Credential + properties: + deletionPolicy: + default: Delete + description: 'DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. This field is planned to be deprecated + in favor of the ManagementPolicy field in a future release. Currently, + both could be set independently and non-default values would be + honored if the feature flag is enabled. See the design doc for more + information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + meta: + description: Metadata for the resource + items: + properties: + annotations: + additionalProperties: + type: string + description: Annotations for the resource + type: object + description: + description: Description of the resource + type: string + labels: + additionalProperties: + type: string + description: Labels for the resource + type: object + type: object + type: array + name: + description: Name of the source secret. + type: string + orgId: + description: ID of Organization. + type: string + scope: + description: 'Scope for the source secret, having one of the valid + scopes: cluster, cluster_group.' + items: + properties: + cluster: + description: The schema for cluster full name + items: + properties: + managementClusterName: + description: Name of the management cluster + type: string + name: + description: Name of this cluster + type: string + provisionerName: + description: Provisioner of the cluster + type: string + required: + - name + type: object + type: array + clusterGroup: + description: The schema for cluster group full name + items: + properties: + name: + description: Name of the cluster group + type: string + required: + - name + type: object + type: array + type: object + type: array + spec: + description: Spec for source secret. + items: + properties: + data: + description: The schema for spec credential type. + items: + properties: + sshKey: + description: The schema for SSH credential type spec. + items: + properties: + identitySecretRef: + description: SSH Identity file. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + knownHosts: + description: Known Hosts file path. + type: string + required: + - identitySecretRef + - knownHosts + type: object + type: array + usernamePassword: + description: The schema for Username/Password credential + type spec. + items: + properties: + passwordSecretRef: + description: Password for the basic authorization. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + username: + description: Username for the basic authorization. + type: string + required: + - passwordSecretRef + - username + type: object + type: array + type: object + type: array + required: + - data + type: object + type: array + type: object + managementPolicy: + default: FullControl + description: 'THIS IS AN ALPHA FIELD. Do not use it in production. + It is not honored unless the relevant Crossplane feature flag is + enabled, and may be changed or removed without notice. ManagementPolicy + specifies the level of control Crossplane has over the managed external + resource. This field is planned to replace the DeletionPolicy field + in a future release. Currently, both could be set independently + and non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' + enum: + - FullControl + - ObserveOnly + - OrphanOnDelete + type: string + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of this + reference is required. The default is 'Required', which + means the reconcile will fail if the reference cannot be + resolved. 'Optional' means this reference will be a no-op + if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will attempt + to resolve the reference only when the corresponding field + is not present. Use 'Always' to resolve the reference on + every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of this + reference is required. The default is 'Required', which + means the reconcile will fail if the reference cannot be + resolved. 'Optional' means this reference will be a no-op + if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will attempt + to resolve the reference only when the corresponding field + is not present. Use 'Always' to resolve the reference on + every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of + this reference is required. The default is 'Required', + which means the reconcile will fail if the reference + cannot be resolved. 'Optional' means this reference + will be a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will + attempt to resolve the reference only when the corresponding + field is not present. Use 'Always' to resolve the reference + on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + x-kubernetes-validations: + - message: name is a required parameter + rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name) + - message: scope is a required parameter + rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.scope) + - message: spec is a required parameter + rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.spec) + status: + description: Repository_CredentialStatus defines the observed state of + Repository_Credential. + properties: + atProvider: + properties: + id: + type: string + meta: + description: Metadata for the resource + items: + properties: + annotations: + additionalProperties: + type: string + description: Annotations for the resource + type: object + description: + description: Description of the resource + type: string + labels: + additionalProperties: + type: string + description: Labels for the resource + type: object + resourceVersion: + description: Resource version of the resource + type: string + uid: + description: UID of the resource + type: string + type: object + type: array + name: + description: Name of the source secret. + type: string + orgId: + description: ID of Organization. + type: string + scope: + description: 'Scope for the source secret, having one of the valid + scopes: cluster, cluster_group.' + items: + properties: + cluster: + description: The schema for cluster full name + items: + properties: + managementClusterName: + description: Name of the management cluster + type: string + name: + description: Name of this cluster + type: string + provisionerName: + description: Provisioner of the cluster + type: string + type: object + type: array + clusterGroup: + description: The schema for cluster group full name + items: + properties: + name: + description: Name of the cluster group + type: string + type: object + type: array + type: object + type: array + spec: + description: Spec for source secret. + items: + properties: + data: + description: The schema for spec credential type. + items: + properties: + sshKey: + description: The schema for SSH credential type spec. + items: + properties: + knownHosts: + description: Known Hosts file path. + type: string + type: object + type: array + usernamePassword: + description: The schema for Username/Password credential + type spec. + items: + properties: + username: + description: Username for the basic authorization. + type: string + type: object + type: array + type: object + type: array + type: object + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/package/crds/tmc.crossplane.io_security_policies.yaml b/package/crds/tmc.crossplane.io_security_policies.yaml new file mode 100644 index 0000000..5c09a32 --- /dev/null +++ b/package/crds/tmc.crossplane.io_security_policies.yaml @@ -0,0 +1,1015 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.11.3 + creationTimestamp: null + name: security_policies.tmc.crossplane.io +spec: + group: tmc.crossplane.io + names: + categories: + - crossplane + - managed + - tmc + kind: Security_Policy + listKind: Security_PolicyList + plural: security_policies + singular: security_policy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Security_Policy is the Schema for the Security_Policys API. + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: Security_PolicySpec defines the desired state of Security_Policy + properties: + deletionPolicy: + default: Delete + description: 'DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. This field is planned to be deprecated + in favor of the ManagementPolicy field in a future release. Currently, + both could be set independently and non-default values would be + honored if the feature flag is enabled. See the design doc for more + information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + meta: + description: Metadata for the resource + items: + properties: + annotations: + additionalProperties: + type: string + description: Annotations for the resource + type: object + description: + description: Description of the resource + type: string + labels: + additionalProperties: + type: string + description: Labels for the resource + type: object + type: object + type: array + name: + description: Name of the security policy + type: string + scope: + description: 'Scope for the custom, security, image, network and + namespace quota policy, having one of the valid scopes for custom, + security and namespace quota policy: cluster, cluster_group + or organization and valid scopes for image and network policy: + workspace or organization.' + items: + properties: + cluster: + description: The schema for cluster policy full name + items: + properties: + managementClusterName: + description: Name of the management cluster + type: string + name: + description: Name of this cluster + type: string + provisionerName: + description: Provisioner of the cluster + type: string + required: + - name + type: object + type: array + clusterGroup: + description: The schema for cluster group policy full name + items: + properties: + clusterGroup: + description: Name of this cluster group + type: string + required: + - clusterGroup + type: object + type: array + organization: + description: The schema for organization policy full name + items: + properties: + organization: + description: ID of this organization + type: string + required: + - organization + type: object + type: array + workspace: + description: The schema for workspace policy full name + items: + properties: + workspace: + description: Name of this workspace + type: string + required: + - workspace + type: object + type: array + type: object + type: array + spec: + description: Spec for the security policy + items: + properties: + input: + description: 'Input for the security policy, having one + of the valid recipes: baseline, custom or strict.' + items: + properties: + baseline: + description: The input schema for security policy + baseline recipe version v1 + items: + properties: + audit: + description: Audit (dry-run) + type: boolean + disableNativePsp: + description: Disable native pod security policy + type: boolean + type: object + type: array + custom: + description: The input schema for security policy + custom recipe version v1 + items: + properties: + allowHostNamespaceSharing: + description: Allow host namespace sharing + type: boolean + allowHostNetwork: + description: Allow host network + type: boolean + allowPrivilegeEscalation: + description: Allow privilege escalation + type: boolean + allowPrivilegedContainers: + description: Allow privileged containers + type: boolean + allowedHostPaths: + description: Allowed host paths + items: + properties: + pathPrefix: + description: Path prefix + type: string + readOnly: + description: Read only flag + type: boolean + type: object + type: array + allowedHostPortRange: + description: Allowed host port range + items: + properties: + max: + description: Maximum allowed port + type: number + min: + description: Minimum allowed port + type: number + type: object + type: array + allowedSeLinuxOptions: + description: Allowed selinux options + items: + properties: + level: + description: SELinux level + type: string + role: + description: SELinux role + type: string + type: + description: SELinux type + type: string + user: + description: SELinux user + type: string + type: object + type: array + allowedVolumes: + description: Allowed volumes + items: + type: string + type: array + audit: + description: Audit (dry-run) + type: boolean + disableNativePsp: + description: Disable native pod security policy + type: boolean + fsGroup: + description: fsGroup + items: + properties: + ranges: + description: Allowed group id ranges + items: + properties: + max: + description: Maximum group ID + type: number + min: + description: Minimum group ID + type: number + type: object + type: array + rule: + description: Rule + type: string + type: object + type: array + linuxCapabilities: + description: Linux capabilities + items: + properties: + allowedCapabilities: + description: Allowed capabilities + items: + type: string + type: array + requiredDropCapabilities: + description: Required drop capabilities + items: + type: string + type: array + type: object + type: array + readOnlyRootFileSystem: + description: Read only root file system + type: boolean + runAsGroup: + description: Run as group + items: + properties: + ranges: + description: Allowed group id ranges + items: + properties: + max: + description: Maximum group ID + type: number + min: + description: Minimum group ID + type: number + type: object + type: array + rule: + description: Rule + type: string + type: object + type: array + runAsUser: + description: Run as user + items: + properties: + ranges: + description: Allowed user id ranges + items: + properties: + max: + description: Maximum user ID + type: number + min: + description: Minimum user ID + type: number + type: object + type: array + rule: + description: Rule + type: string + type: object + type: array + seccomp: + description: Seccomp + items: + properties: + allowedLocalhostFiles: + description: Allowed local host files + items: + type: string + type: array + allowedProfiles: + description: Allowed profiles + items: + type: string + type: array + type: object + type: array + supplementalGroups: + description: supplemental groups + items: + properties: + ranges: + description: Allowed group id ranges + items: + properties: + max: + description: Maximum group ID + type: number + min: + description: Minimum group ID + type: number + type: object + type: array + rule: + description: Rule + type: string + type: object + type: array + sysctls: + description: Sysctls + items: + properties: + forbiddenSysctls: + description: Forbidden sysctls + items: + type: string + type: array + type: object + type: array + type: object + type: array + strict: + description: The input schema for security policy + strict recipe version v1 + items: + properties: + audit: + description: Audit (dry-run) + type: boolean + disableNativePsp: + description: Disable native pod security policy + type: boolean + type: object + type: array + type: object + type: array + namespaceSelector: + description: Label based Namespace Selector for the policy + items: + properties: + matchExpressions: + description: Match expressions is a list of label + selector requirements, the requirements are ANDed + items: + properties: + key: + description: Key is the label key that the selector + applies to + type: string + operator: + description: Operator represents a key's relationship + to a set of values + type: string + values: + description: Values is an array of string values + items: + type: string + type: array + required: + - values + type: object + type: array + required: + - matchExpressions + type: object + type: array + required: + - input + type: object + type: array + type: object + managementPolicy: + default: FullControl + description: 'THIS IS AN ALPHA FIELD. Do not use it in production. + It is not honored unless the relevant Crossplane feature flag is + enabled, and may be changed or removed without notice. ManagementPolicy + specifies the level of control Crossplane has over the managed external + resource. This field is planned to replace the DeletionPolicy field + in a future release. Currently, both could be set independently + and non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' + enum: + - FullControl + - ObserveOnly + - OrphanOnDelete + type: string + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of this + reference is required. The default is 'Required', which + means the reconcile will fail if the reference cannot be + resolved. 'Optional' means this reference will be a no-op + if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will attempt + to resolve the reference only when the corresponding field + is not present. Use 'Always' to resolve the reference on + every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of this + reference is required. The default is 'Required', which + means the reconcile will fail if the reference cannot be + resolved. 'Optional' means this reference will be a no-op + if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will attempt + to resolve the reference only when the corresponding field + is not present. Use 'Always' to resolve the reference on + every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of + this reference is required. The default is 'Required', + which means the reconcile will fail if the reference + cannot be resolved. 'Optional' means this reference + will be a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will + attempt to resolve the reference only when the corresponding + field is not present. Use 'Always' to resolve the reference + on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + x-kubernetes-validations: + - message: name is a required parameter + rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name) + - message: scope is a required parameter + rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.scope) + - message: spec is a required parameter + rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.spec) + status: + description: Security_PolicyStatus defines the observed state of Security_Policy. + properties: + atProvider: + properties: + id: + type: string + meta: + description: Metadata for the resource + items: + properties: + annotations: + additionalProperties: + type: string + description: Annotations for the resource + type: object + description: + description: Description of the resource + type: string + labels: + additionalProperties: + type: string + description: Labels for the resource + type: object + resourceVersion: + description: Resource version of the resource + type: string + uid: + description: UID of the resource + type: string + type: object + type: array + name: + description: Name of the security policy + type: string + scope: + description: 'Scope for the custom, security, image, network and + namespace quota policy, having one of the valid scopes for custom, + security and namespace quota policy: cluster, cluster_group + or organization and valid scopes for image and network policy: + workspace or organization.' + items: + properties: + cluster: + description: The schema for cluster policy full name + items: + properties: + managementClusterName: + description: Name of the management cluster + type: string + name: + description: Name of this cluster + type: string + provisionerName: + description: Provisioner of the cluster + type: string + type: object + type: array + clusterGroup: + description: The schema for cluster group policy full name + items: + properties: + clusterGroup: + description: Name of this cluster group + type: string + type: object + type: array + organization: + description: The schema for organization policy full name + items: + properties: + organization: + description: ID of this organization + type: string + type: object + type: array + workspace: + description: The schema for workspace policy full name + items: + properties: + workspace: + description: Name of this workspace + type: string + type: object + type: array + type: object + type: array + spec: + description: Spec for the security policy + items: + properties: + input: + description: 'Input for the security policy, having one + of the valid recipes: baseline, custom or strict.' + items: + properties: + baseline: + description: The input schema for security policy + baseline recipe version v1 + items: + properties: + audit: + description: Audit (dry-run) + type: boolean + disableNativePsp: + description: Disable native pod security policy + type: boolean + type: object + type: array + custom: + description: The input schema for security policy + custom recipe version v1 + items: + properties: + allowHostNamespaceSharing: + description: Allow host namespace sharing + type: boolean + allowHostNetwork: + description: Allow host network + type: boolean + allowPrivilegeEscalation: + description: Allow privilege escalation + type: boolean + allowPrivilegedContainers: + description: Allow privileged containers + type: boolean + allowedHostPaths: + description: Allowed host paths + items: + properties: + pathPrefix: + description: Path prefix + type: string + readOnly: + description: Read only flag + type: boolean + type: object + type: array + allowedHostPortRange: + description: Allowed host port range + items: + properties: + max: + description: Maximum allowed port + type: number + min: + description: Minimum allowed port + type: number + type: object + type: array + allowedSeLinuxOptions: + description: Allowed selinux options + items: + properties: + level: + description: SELinux level + type: string + role: + description: SELinux role + type: string + type: + description: SELinux type + type: string + user: + description: SELinux user + type: string + type: object + type: array + allowedVolumes: + description: Allowed volumes + items: + type: string + type: array + audit: + description: Audit (dry-run) + type: boolean + disableNativePsp: + description: Disable native pod security policy + type: boolean + fsGroup: + description: fsGroup + items: + properties: + ranges: + description: Allowed group id ranges + items: + properties: + max: + description: Maximum group ID + type: number + min: + description: Minimum group ID + type: number + type: object + type: array + rule: + description: Rule + type: string + type: object + type: array + linuxCapabilities: + description: Linux capabilities + items: + properties: + allowedCapabilities: + description: Allowed capabilities + items: + type: string + type: array + requiredDropCapabilities: + description: Required drop capabilities + items: + type: string + type: array + type: object + type: array + readOnlyRootFileSystem: + description: Read only root file system + type: boolean + runAsGroup: + description: Run as group + items: + properties: + ranges: + description: Allowed group id ranges + items: + properties: + max: + description: Maximum group ID + type: number + min: + description: Minimum group ID + type: number + type: object + type: array + rule: + description: Rule + type: string + type: object + type: array + runAsUser: + description: Run as user + items: + properties: + ranges: + description: Allowed user id ranges + items: + properties: + max: + description: Maximum user ID + type: number + min: + description: Minimum user ID + type: number + type: object + type: array + rule: + description: Rule + type: string + type: object + type: array + seccomp: + description: Seccomp + items: + properties: + allowedLocalhostFiles: + description: Allowed local host files + items: + type: string + type: array + allowedProfiles: + description: Allowed profiles + items: + type: string + type: array + type: object + type: array + supplementalGroups: + description: supplemental groups + items: + properties: + ranges: + description: Allowed group id ranges + items: + properties: + max: + description: Maximum group ID + type: number + min: + description: Minimum group ID + type: number + type: object + type: array + rule: + description: Rule + type: string + type: object + type: array + sysctls: + description: Sysctls + items: + properties: + forbiddenSysctls: + description: Forbidden sysctls + items: + type: string + type: array + type: object + type: array + type: object + type: array + strict: + description: The input schema for security policy + strict recipe version v1 + items: + properties: + audit: + description: Audit (dry-run) + type: boolean + disableNativePsp: + description: Disable native pod security policy + type: boolean + type: object + type: array + type: object + type: array + namespaceSelector: + description: Label based Namespace Selector for the policy + items: + properties: + matchExpressions: + description: Match expressions is a list of label + selector requirements, the requirements are ANDed + items: + properties: + key: + description: Key is the label key that the selector + applies to + type: string + operator: + description: Operator represents a key's relationship + to a set of values + type: string + values: + description: Values is an array of string values + items: + type: string + type: array + type: object + type: array + type: object + type: array + type: object + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/package/crds/tmc.crossplane.io_workspaces.yaml b/package/crds/tmc.crossplane.io_workspaces.yaml new file mode 100644 index 0000000..556b4a9 --- /dev/null +++ b/package/crds/tmc.crossplane.io_workspaces.yaml @@ -0,0 +1,356 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.11.3 + creationTimestamp: null + name: workspaces.tmc.crossplane.io +spec: + group: tmc.crossplane.io + names: + categories: + - crossplane + - managed + - tmc + kind: Workspace + listKind: WorkspaceList + plural: workspaces + singular: workspace + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Workspace is the Schema for the Workspaces API. + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: WorkspaceSpec defines the desired state of Workspace + properties: + deletionPolicy: + default: Delete + description: 'DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. This field is planned to be deprecated + in favor of the ManagementPolicy field in a future release. Currently, + both could be set independently and non-default values would be + honored if the feature flag is enabled. See the design doc for more + information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + meta: + description: Metadata for the resource + items: + properties: + annotations: + additionalProperties: + type: string + description: Annotations for the resource + type: object + description: + description: Description of the resource + type: string + labels: + additionalProperties: + type: string + description: Labels for the resource + type: object + type: object + type: array + name: + type: string + type: object + managementPolicy: + default: FullControl + description: 'THIS IS AN ALPHA FIELD. Do not use it in production. + It is not honored unless the relevant Crossplane feature flag is + enabled, and may be changed or removed without notice. ManagementPolicy + specifies the level of control Crossplane has over the managed external + resource. This field is planned to replace the DeletionPolicy field + in a future release. Currently, both could be set independently + and non-default values would be honored if the feature flag is enabled. + See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223' + enum: + - FullControl + - ObserveOnly + - OrphanOnDelete + type: string + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of this + reference is required. The default is 'Required', which + means the reconcile will fail if the reference cannot be + resolved. 'Optional' means this reference will be a no-op + if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will attempt + to resolve the reference only when the corresponding field + is not present. Use 'Always' to resolve the reference on + every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of this + reference is required. The default is 'Required', which + means the reconcile will fail if the reference cannot be + resolved. 'Optional' means this reference will be a no-op + if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will attempt + to resolve the reference only when the corresponding field + is not present. Use 'Always' to resolve the reference on + every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + publishConnectionDetailsTo: + description: PublishConnectionDetailsTo specifies the connection secret + config which contains a name, metadata and a reference to secret + store config to which any connection details for this managed resource + should be written. Connection details frequently include the endpoint, + username, and password required to connect to the managed resource. + properties: + configRef: + default: + name: default + description: SecretStoreConfigRef specifies which secret store + config should be used for this ConnectionSecret. + properties: + name: + description: Name of the referenced object. + type: string + policy: + description: Policies for referencing. + properties: + resolution: + default: Required + description: Resolution specifies whether resolution of + this reference is required. The default is 'Required', + which means the reconcile will fail if the reference + cannot be resolved. 'Optional' means this reference + will be a no-op if it cannot be resolved. + enum: + - Required + - Optional + type: string + resolve: + description: Resolve specifies when this reference should + be resolved. The default is 'IfNotPresent', which will + attempt to resolve the reference only when the corresponding + field is not present. Use 'Always' to resolve the reference + on every reconcile. + enum: + - Always + - IfNotPresent + type: string + type: object + required: + - name + type: object + metadata: + description: Metadata is the metadata for connection secret. + properties: + annotations: + additionalProperties: + type: string + description: Annotations are the annotations to be added to + connection secret. - For Kubernetes secrets, this will be + used as "metadata.annotations". - It is up to Secret Store + implementation for others store types. + type: object + labels: + additionalProperties: + type: string + description: Labels are the labels/tags to be added to connection + secret. - For Kubernetes secrets, this will be used as "metadata.labels". + - It is up to Secret Store implementation for others store + types. + type: object + type: + description: Type is the SecretType for the connection secret. + - Only valid for Kubernetes Secret Stores. + type: string + type: object + name: + description: Name is the name of the connection secret. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. This field is planned to be replaced in a future + release in favor of PublishConnectionDetailsTo. Currently, both + could be set independently and connection details would be published + to both without affecting each other. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + x-kubernetes-validations: + - message: name is a required parameter + rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name) + status: + description: WorkspaceStatus defines the observed state of Workspace. + properties: + atProvider: + properties: + id: + type: string + meta: + description: Metadata for the resource + items: + properties: + annotations: + additionalProperties: + type: string + description: Annotations for the resource + type: object + description: + description: Description of the resource + type: string + labels: + additionalProperties: + type: string + description: Labels for the resource + type: object + resourceVersion: + description: Resource version of the resource + type: string + uid: + description: UID of the resource + type: string + type: object + type: array + name: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {}