From 7a75c3f1e2cb935908d45d34db5aff5c4452c8df Mon Sep 17 00:00:00 2001 From: Fumigatus Date: Wed, 17 Jul 2024 12:06:32 +0300 Subject: [PATCH] namespace reference and typo fixes --- ...roup_types.go => zz_clustergroup_types.go} | 48 +- ...l_types.go => zz_clusternodepool_types.go} | 80 +- ...licy_types.go => zz_custompolicy_types.go} | 86 +- apis/tmc/v1alpha1/zz_generated.deepcopy.go | 4050 +++++++++-------- apis/tmc/v1alpha1/zz_generated.managed.go | 728 +-- apis/tmc/v1alpha1/zz_generated.managedlist.go | 56 +- apis/tmc/v1alpha1/zz_generated.resolvers.go | 39 + apis/tmc/v1alpha1/zz_generated_terraformed.go | 468 +- ...ory_types.go => zz_gitrepository_types.go} | 102 +- ..._policy_types.go => zz_iampolicy_types.go} | 80 +- ...olicy_types.go => zz_imagepolicy_types.go} | 96 +- ..._types.go => zz_kubernetessecret_types.go} | 72 +- ...es.go => zz_namespacequotapolicy_types.go} | 112 +- ...icy_types.go => zz_networkpolicy_types.go} | 120 +- ...ll_types.go => zz_packageinstall_types.go} | 122 +- ...types.go => zz_packagerepository_types.go} | 72 +- ...es.go => zz_repositorycredential_types.go} | 80 +- ...cy_types.go => zz_securitypolicy_types.go} | 120 +- config/cluster_group/config.go | 2 +- config/cluster_node_pool/config.go | 2 +- config/custom_policy/config.go | 2 +- config/git_repository/config.go | 2 +- config/iam_policy/config.go | 2 +- config/image_policy/config.go | 2 +- config/kubernetes_secret/config.go | 2 +- config/namespace_quota_policy/config.go | 2 +- config/network_policy/config.go | 2 +- config/package_install/config.go | 5 +- config/package_repository/config.go | 2 +- config/repository_credential/config.go | 2 +- config/security_policy/config.go | 2 +- .../zz_controller.go | 12 +- .../zz_controller.go | 12 +- .../zz_controller.go | 12 +- .../zz_controller.go | 12 +- .../zz_controller.go | 12 +- .../zz_controller.go | 12 +- .../zz_controller.go | 12 +- .../zz_controller.go | 12 +- .../zz_controller.go | 12 +- .../zz_controller.go | 12 +- .../zz_controller.go | 12 +- .../zz_controller.go | 12 +- .../zz_controller.go | 12 +- internal/controller/zz_setup.go | 52 +- ...l => tmc.crossplane.io_clustergroups.yaml} | 16 +- ...> tmc.crossplane.io_clusternodepools.yaml} | 18 +- ... => tmc.crossplane.io_custompolicies.yaml} | 16 +- ...=> tmc.crossplane.io_gitrepositories.yaml} | 17 +- ...aml => tmc.crossplane.io_iampolicies.yaml} | 16 +- ...l => tmc.crossplane.io_imagepolicies.yaml} | 16 +- ... tmc.crossplane.io_kubernetessecrets.yaml} | 16 +- ...crossplane.io_namespacequotapolicies.yaml} | 18 +- ...=> tmc.crossplane.io_networkpolicies.yaml} | 17 +- ...=> tmc.crossplane.io_packageinstalls.yaml} | 91 +- ...mc.crossplane.io_packagerepositories.yaml} | 18 +- ....crossplane.io_repositorycredentials.yaml} | 18 +- ...> tmc.crossplane.io_securitypolicies.yaml} | 16 +- 58 files changed, 3595 insertions(+), 3466 deletions(-) rename apis/tmc/v1alpha1/{zz_cluster_group_types.go => zz_clustergroup_types.go} (66%) rename apis/tmc/v1alpha1/{zz_cluster_node_pool_types.go => zz_clusternodepool_types.go} (79%) rename apis/tmc/v1alpha1/{zz_custom_policy_types.go => zz_custompolicy_types.go} (92%) create mode 100644 apis/tmc/v1alpha1/zz_generated.resolvers.go rename apis/tmc/v1alpha1/{zz_git_repository_types.go => zz_gitrepository_types.go} (81%) rename apis/tmc/v1alpha1/{zz_iam_policy_types.go => zz_iampolicy_types.go} (78%) rename apis/tmc/v1alpha1/{zz_image_policy_types.go => zz_imagepolicy_types.go} (84%) rename apis/tmc/v1alpha1/{zz_kubernetes_secret_types.go => zz_kubernetessecret_types.go} (75%) rename apis/tmc/v1alpha1/{zz_namespace_quota_policy_types.go => zz_namespacequotapolicy_types.go} (75%) rename apis/tmc/v1alpha1/{zz_network_policy_types.go => zz_networkpolicy_types.go} (86%) rename apis/tmc/v1alpha1/{zz_package_install_types.go => zz_packageinstall_types.go} (74%) rename apis/tmc/v1alpha1/{zz_package_repository_types.go => zz_packagerepository_types.go} (72%) rename apis/tmc/v1alpha1/{zz_repository_credential_types.go => zz_repositorycredential_types.go} (71%) rename apis/tmc/v1alpha1/{zz_security_policy_types.go => zz_securitypolicy_types.go} (84%) rename internal/controller/tmc/{cluster_group => clustergroup}/zz_controller.go (86%) rename internal/controller/tmc/{cluster_node_pool => clusternodepool}/zz_controller.go (85%) rename internal/controller/tmc/{custom_policy => custompolicy}/zz_controller.go (86%) rename internal/controller/tmc/{git_repository => gitrepository}/zz_controller.go (86%) rename internal/controller/tmc/{iam_policy => iampolicy}/zz_controller.go (87%) rename internal/controller/tmc/{image_policy => imagepolicy}/zz_controller.go (86%) rename internal/controller/tmc/{kubernetes_secret => kubernetessecret}/zz_controller.go (85%) rename internal/controller/tmc/{namespace_quota_policy => namespacequotapolicy}/zz_controller.go (84%) rename internal/controller/tmc/{network_policy => networkpolicy}/zz_controller.go (86%) rename internal/controller/tmc/{package_install => packageinstall}/zz_controller.go (86%) rename internal/controller/tmc/{package_repository => packagerepository}/zz_controller.go (85%) rename internal/controller/tmc/{repository_credential => repositorycredential}/zz_controller.go (84%) rename internal/controller/tmc/{security_policy => securitypolicy}/zz_controller.go (86%) rename package/crds/{tmc.crossplane.io_cluster_groups.yaml => tmc.crossplane.io_clustergroups.yaml} (97%) rename package/crds/{tmc.crossplane.io_cluster_node_pools.yaml => tmc.crossplane.io_clusternodepools.yaml} (98%) rename package/crds/{tmc.crossplane.io_custom_policies.yaml => tmc.crossplane.io_custompolicies.yaml} (99%) rename package/crds/{tmc.crossplane.io_git_repositories.yaml => tmc.crossplane.io_gitrepositories.yaml} (98%) rename package/crds/{tmc.crossplane.io_iam_policies.yaml => tmc.crossplane.io_iampolicies.yaml} (98%) rename package/crds/{tmc.crossplane.io_image_policies.yaml => tmc.crossplane.io_imagepolicies.yaml} (99%) rename package/crds/{tmc.crossplane.io_kubernetes_secrets.yaml => tmc.crossplane.io_kubernetessecrets.yaml} (98%) rename package/crds/{tmc.crossplane.io_namespace_quota_policies.yaml => tmc.crossplane.io_namespacequotapolicies.yaml} (98%) rename package/crds/{tmc.crossplane.io_network_policies.yaml => tmc.crossplane.io_networkpolicies.yaml} (99%) rename package/crds/{tmc.crossplane.io_package_installs.yaml => tmc.crossplane.io_packageinstalls.yaml} (84%) rename package/crds/{tmc.crossplane.io_package_repositories.yaml => tmc.crossplane.io_packagerepositories.yaml} (97%) rename package/crds/{tmc.crossplane.io_repository_credentials.yaml => tmc.crossplane.io_repositorycredentials.yaml} (98%) rename package/crds/{tmc.crossplane.io_security_policies.yaml => tmc.crossplane.io_securitypolicies.yaml} (99%) diff --git a/apis/tmc/v1alpha1/zz_cluster_group_types.go b/apis/tmc/v1alpha1/zz_clustergroup_types.go similarity index 66% rename from apis/tmc/v1alpha1/zz_cluster_group_types.go rename to apis/tmc/v1alpha1/zz_clustergroup_types.go index 4d9209e..3e019c0 100755 --- a/apis/tmc/v1alpha1/zz_cluster_group_types.go +++ b/apis/tmc/v1alpha1/zz_clustergroup_types.go @@ -13,7 +13,7 @@ import ( v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" ) -type Cluster_GroupMetaObservation struct { +type ClusterGroupMetaObservation struct { // Annotations for the resource Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` @@ -31,7 +31,7 @@ type Cluster_GroupMetaObservation struct { UID *string `json:"uid,omitempty" tf:"uid,omitempty"` } -type Cluster_GroupMetaParameters struct { +type ClusterGroupMetaParameters struct { // Annotations for the resource // +kubebuilder:validation:Optional @@ -46,71 +46,71 @@ type Cluster_GroupMetaParameters struct { Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` } -type Cluster_GroupObservation struct { +type ClusterGroupObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` // Metadata for the resource - Meta []Cluster_GroupMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []ClusterGroupMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` Name *string `json:"name,omitempty" tf:"name,omitempty"` } -type Cluster_GroupParameters struct { +type ClusterGroupParameters struct { // Metadata for the resource // +kubebuilder:validation:Optional - Meta []Cluster_GroupMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []ClusterGroupMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` } -// Cluster_GroupSpec defines the desired state of Cluster_Group -type Cluster_GroupSpec struct { +// ClusterGroupSpec defines the desired state of ClusterGroup +type ClusterGroupSpec struct { v1.ResourceSpec `json:",inline"` - ForProvider Cluster_GroupParameters `json:"forProvider"` + ForProvider ClusterGroupParameters `json:"forProvider"` } -// Cluster_GroupStatus defines the observed state of Cluster_Group. -type Cluster_GroupStatus struct { +// ClusterGroupStatus defines the observed state of ClusterGroup. +type ClusterGroupStatus struct { v1.ResourceStatus `json:",inline"` - AtProvider Cluster_GroupObservation `json:"atProvider,omitempty"` + AtProvider ClusterGroupObservation `json:"atProvider,omitempty"` } // +kubebuilder:object:root=true -// Cluster_Group is the Schema for the Cluster_Groups API. +// ClusterGroup is the Schema for the ClusterGroups 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 Cluster_Group struct { +type ClusterGroup 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 Cluster_GroupSpec `json:"spec"` - Status Cluster_GroupStatus `json:"status,omitempty"` + Spec ClusterGroupSpec `json:"spec"` + Status ClusterGroupStatus `json:"status,omitempty"` } // +kubebuilder:object:root=true -// Cluster_GroupList contains a list of Cluster_Groups -type Cluster_GroupList struct { +// ClusterGroupList contains a list of ClusterGroups +type ClusterGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` - Items []Cluster_Group `json:"items"` + Items []ClusterGroup `json:"items"` } // Repository type metadata. var ( - Cluster_Group_Kind = "Cluster_Group" - Cluster_Group_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Cluster_Group_Kind}.String() - Cluster_Group_KindAPIVersion = Cluster_Group_Kind + "." + CRDGroupVersion.String() - Cluster_Group_GroupVersionKind = CRDGroupVersion.WithKind(Cluster_Group_Kind) + ClusterGroup_Kind = "ClusterGroup" + ClusterGroup_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ClusterGroup_Kind}.String() + ClusterGroup_KindAPIVersion = ClusterGroup_Kind + "." + CRDGroupVersion.String() + ClusterGroup_GroupVersionKind = CRDGroupVersion.WithKind(ClusterGroup_Kind) ) func init() { - SchemeBuilder.Register(&Cluster_Group{}, &Cluster_GroupList{}) + SchemeBuilder.Register(&ClusterGroup{}, &ClusterGroupList{}) } diff --git a/apis/tmc/v1alpha1/zz_cluster_node_pool_types.go b/apis/tmc/v1alpha1/zz_clusternodepool_types.go similarity index 79% rename from apis/tmc/v1alpha1/zz_cluster_node_pool_types.go rename to apis/tmc/v1alpha1/zz_clusternodepool_types.go index 53d68c3..c874674 100755 --- a/apis/tmc/v1alpha1/zz_cluster_node_pool_types.go +++ b/apis/tmc/v1alpha1/zz_clusternodepool_types.go @@ -13,7 +13,7 @@ import ( v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" ) -type Cluster_Node_PoolMetaObservation struct { +type ClusterNodePoolMetaObservation struct { // Annotations for the resource Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` @@ -31,7 +31,7 @@ type Cluster_Node_PoolMetaObservation struct { UID *string `json:"uid,omitempty" tf:"uid,omitempty"` } -type Cluster_Node_PoolMetaParameters struct { +type ClusterNodePoolMetaParameters struct { // Annotations for the resource // +kubebuilder:validation:Optional @@ -46,7 +46,7 @@ type Cluster_Node_PoolMetaParameters struct { Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` } -type Cluster_Node_PoolObservation struct { +type ClusterNodePoolObservation struct { // Name of the cluster ClusterName *string `json:"clusterName,omitempty" tf:"cluster_name,omitempty"` @@ -57,7 +57,7 @@ type Cluster_Node_PoolObservation struct { ManagementClusterName *string `json:"managementClusterName,omitempty" tf:"management_cluster_name,omitempty"` // Metadata for the resource - Meta []Cluster_Node_PoolMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []ClusterNodePoolMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` // Name of this nodepool Name *string `json:"name,omitempty" tf:"name,omitempty"` @@ -69,13 +69,13 @@ type Cluster_Node_PoolObservation struct { ReadyWaitTimeout *string `json:"readyWaitTimeout,omitempty" tf:"ready_wait_timeout,omitempty"` // Spec for the cluster nodepool - Spec []Cluster_Node_PoolSpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` + Spec []ClusterNodePoolSpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` // Status of node pool resource Status map[string]*string `json:"status,omitempty" tf:"status,omitempty"` } -type Cluster_Node_PoolParameters struct { +type ClusterNodePoolParameters struct { // Name of the cluster // +kubebuilder:validation:Optional @@ -87,7 +87,7 @@ type Cluster_Node_PoolParameters struct { // Metadata for the resource // +kubebuilder:validation:Optional - Meta []Cluster_Node_PoolMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []ClusterNodePoolMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` // Name of this nodepool // +kubebuilder:validation:Optional @@ -103,10 +103,10 @@ type Cluster_Node_PoolParameters struct { // Spec for the cluster nodepool // +kubebuilder:validation:Optional - Spec []Cluster_Node_PoolSpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` + Spec []ClusterNodePoolSpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` } -type Cluster_Node_PoolSpecObservation struct { +type ClusterNodePoolSpecObservation struct { // Cloud labels CloudLabels map[string]*string `json:"cloudLabels,omitempty" tf:"cloud_labels,omitempty"` @@ -115,19 +115,19 @@ type Cluster_Node_PoolSpecObservation struct { NodeLabels map[string]*string `json:"nodeLabels,omitempty" tf:"node_labels,omitempty"` // TKGAWSNodepool is the nodepool spec for TKG AWS cluster - TkgAws []Cluster_Node_PoolSpecTkgAwsObservation `json:"tkgAws,omitempty" tf:"tkg_aws,omitempty"` + TkgAws []ClusterNodePoolSpecTkgAwsObservation `json:"tkgAws,omitempty" tf:"tkg_aws,omitempty"` // TKGServiceVsphereNodepool is the nodepool spec for TKG service vsphere cluster - TkgServiceVsphere []Cluster_Node_PoolSpecTkgServiceVsphereObservation `json:"tkgServiceVsphere,omitempty" tf:"tkg_service_vsphere,omitempty"` + TkgServiceVsphere []ClusterNodePoolSpecTkgServiceVsphereObservation `json:"tkgServiceVsphere,omitempty" tf:"tkg_service_vsphere,omitempty"` // TkgVsphereNodepool is the nodepool config for the TKG vsphere cluster - TkgVsphere []Cluster_Node_PoolSpecTkgVsphereObservation `json:"tkgVsphere,omitempty" tf:"tkg_vsphere,omitempty"` + TkgVsphere []ClusterNodePoolSpecTkgVsphereObservation `json:"tkgVsphere,omitempty" tf:"tkg_vsphere,omitempty"` // Count is the number of nodes WorkerNodeCount *string `json:"workerNodeCount,omitempty" tf:"worker_node_count,omitempty"` } -type Cluster_Node_PoolSpecParameters struct { +type ClusterNodePoolSpecParameters struct { // Cloud labels // +kubebuilder:validation:Optional @@ -139,22 +139,22 @@ type Cluster_Node_PoolSpecParameters struct { // TKGAWSNodepool is the nodepool spec for TKG AWS cluster // +kubebuilder:validation:Optional - TkgAws []Cluster_Node_PoolSpecTkgAwsParameters `json:"tkgAws,omitempty" tf:"tkg_aws,omitempty"` + TkgAws []ClusterNodePoolSpecTkgAwsParameters `json:"tkgAws,omitempty" tf:"tkg_aws,omitempty"` // TKGServiceVsphereNodepool is the nodepool spec for TKG service vsphere cluster // +kubebuilder:validation:Optional - TkgServiceVsphere []Cluster_Node_PoolSpecTkgServiceVsphereParameters `json:"tkgServiceVsphere,omitempty" tf:"tkg_service_vsphere,omitempty"` + TkgServiceVsphere []ClusterNodePoolSpecTkgServiceVsphereParameters `json:"tkgServiceVsphere,omitempty" tf:"tkg_service_vsphere,omitempty"` // TkgVsphereNodepool is the nodepool config for the TKG vsphere cluster // +kubebuilder:validation:Optional - TkgVsphere []Cluster_Node_PoolSpecTkgVsphereParameters `json:"tkgVsphere,omitempty" tf:"tkg_vsphere,omitempty"` + TkgVsphere []ClusterNodePoolSpecTkgVsphereParameters `json:"tkgVsphere,omitempty" tf:"tkg_vsphere,omitempty"` // Count is the number of nodes // +kubebuilder:validation:Required WorkerNodeCount *string `json:"workerNodeCount" tf:"worker_node_count,omitempty"` } -type Cluster_Node_PoolSpecTkgAwsObservation struct { +type ClusterNodePoolSpecTkgAwsObservation struct { // Nodepool instance type Class *string `json:"class,omitempty" tf:"class,omitempty"` @@ -163,7 +163,7 @@ type Cluster_Node_PoolSpecTkgAwsObservation struct { StorageClass *string `json:"storageClass,omitempty" tf:"storage_class,omitempty"` } -type Cluster_Node_PoolSpecTkgAwsParameters struct { +type ClusterNodePoolSpecTkgAwsParameters struct { // Nodepool instance type // +kubebuilder:validation:Optional @@ -174,7 +174,7 @@ type Cluster_Node_PoolSpecTkgAwsParameters struct { StorageClass *string `json:"storageClass,omitempty" tf:"storage_class,omitempty"` } -type Cluster_Node_PoolSpecTkgServiceVsphereObservation struct { +type ClusterNodePoolSpecTkgServiceVsphereObservation struct { // Nodepool instance type Class *string `json:"class,omitempty" tf:"class,omitempty"` @@ -189,7 +189,7 @@ type Cluster_Node_PoolSpecTkgServiceVsphereObservation struct { Volumes []SpecTkgServiceVsphereVolumesObservation `json:"volumes,omitempty" tf:"volumes,omitempty"` } -type Cluster_Node_PoolSpecTkgServiceVsphereParameters struct { +type ClusterNodePoolSpecTkgServiceVsphereParameters struct { // Nodepool instance type // +kubebuilder:validation:Required @@ -208,13 +208,13 @@ type Cluster_Node_PoolSpecTkgServiceVsphereParameters struct { Volumes []SpecTkgServiceVsphereVolumesParameters `json:"volumes,omitempty" tf:"volumes,omitempty"` } -type Cluster_Node_PoolSpecTkgVsphereObservation struct { +type ClusterNodePoolSpecTkgVsphereObservation struct { // VM specific configuration VMConfig []SpecTkgVsphereVMConfigObservation `json:"vmConfig,omitempty" tf:"vm_config,omitempty"` } -type Cluster_Node_PoolSpecTkgVsphereParameters struct { +type ClusterNodePoolSpecTkgVsphereParameters struct { // VM specific configuration // +kubebuilder:validation:Required @@ -282,55 +282,55 @@ type SpecTkgVsphereVMConfigParameters struct { Memory *string `json:"memory,omitempty" tf:"memory,omitempty"` } -// Cluster_Node_PoolSpec defines the desired state of Cluster_Node_Pool -type Cluster_Node_PoolSpec struct { +// ClusterNodePoolSpec defines the desired state of ClusterNodePool +type ClusterNodePoolSpec struct { v1.ResourceSpec `json:",inline"` - ForProvider Cluster_Node_PoolParameters `json:"forProvider"` + ForProvider ClusterNodePoolParameters `json:"forProvider"` } -// Cluster_Node_PoolStatus defines the observed state of Cluster_Node_Pool. -type Cluster_Node_PoolStatus struct { +// ClusterNodePoolStatus defines the observed state of ClusterNodePool. +type ClusterNodePoolStatus struct { v1.ResourceStatus `json:",inline"` - AtProvider Cluster_Node_PoolObservation `json:"atProvider,omitempty"` + AtProvider ClusterNodePoolObservation `json:"atProvider,omitempty"` } // +kubebuilder:object:root=true -// Cluster_Node_Pool is the Schema for the Cluster_Node_Pools API. +// ClusterNodePool is the Schema for the ClusterNodePools 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 Cluster_Node_Pool struct { +type ClusterNodePool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.clusterName)",message="clusterName is a required parameter" // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.managementClusterName)",message="managementClusterName is a required parameter" // +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.provisionerName)",message="provisionerName is a required parameter" - Spec Cluster_Node_PoolSpec `json:"spec"` - Status Cluster_Node_PoolStatus `json:"status,omitempty"` + Spec ClusterNodePoolSpec `json:"spec"` + Status ClusterNodePoolStatus `json:"status,omitempty"` } // +kubebuilder:object:root=true -// Cluster_Node_PoolList contains a list of Cluster_Node_Pools -type Cluster_Node_PoolList struct { +// ClusterNodePoolList contains a list of ClusterNodePools +type ClusterNodePoolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` - Items []Cluster_Node_Pool `json:"items"` + Items []ClusterNodePool `json:"items"` } // Repository type metadata. var ( - Cluster_Node_Pool_Kind = "Cluster_Node_Pool" - Cluster_Node_Pool_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Cluster_Node_Pool_Kind}.String() - Cluster_Node_Pool_KindAPIVersion = Cluster_Node_Pool_Kind + "." + CRDGroupVersion.String() - Cluster_Node_Pool_GroupVersionKind = CRDGroupVersion.WithKind(Cluster_Node_Pool_Kind) + ClusterNodePool_Kind = "ClusterNodePool" + ClusterNodePool_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ClusterNodePool_Kind}.String() + ClusterNodePool_KindAPIVersion = ClusterNodePool_Kind + "." + CRDGroupVersion.String() + ClusterNodePool_GroupVersionKind = CRDGroupVersion.WithKind(ClusterNodePool_Kind) ) func init() { - SchemeBuilder.Register(&Cluster_Node_Pool{}, &Cluster_Node_PoolList{}) + SchemeBuilder.Register(&ClusterNodePool{}, &ClusterNodePoolList{}) } diff --git a/apis/tmc/v1alpha1/zz_custom_policy_types.go b/apis/tmc/v1alpha1/zz_custompolicy_types.go similarity index 92% rename from apis/tmc/v1alpha1/zz_custom_policy_types.go rename to apis/tmc/v1alpha1/zz_custompolicy_types.go index 5152511..3ffee7e 100755 --- a/apis/tmc/v1alpha1/zz_custom_policy_types.go +++ b/apis/tmc/v1alpha1/zz_custompolicy_types.go @@ -13,20 +13,7 @@ import ( v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" ) -type ClusterGroupObservation struct { - - // Name of this cluster group - ClusterGroup *string `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` -} - -type ClusterGroupParameters struct { - - // Name of this cluster group - // +kubebuilder:validation:Required - ClusterGroup *string `json:"clusterGroup" tf:"cluster_group,omitempty"` -} - -type Custom_PolicyMetaObservation struct { +type CustomPolicyMetaObservation struct { // Annotations for the resource Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` @@ -44,7 +31,7 @@ type Custom_PolicyMetaObservation struct { UID *string `json:"uid,omitempty" tf:"uid,omitempty"` } -type Custom_PolicyMetaParameters struct { +type CustomPolicyMetaParameters struct { // Annotations for the resource // +kubebuilder:validation:Optional @@ -59,11 +46,11 @@ type Custom_PolicyMetaParameters struct { Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` } -type Custom_PolicyObservation struct { +type CustomPolicyObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` // Metadata for the resource - Meta []Custom_PolicyMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []CustomPolicyMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` // Name of the custom policy Name *string `json:"name,omitempty" tf:"name,omitempty"` @@ -72,14 +59,14 @@ type Custom_PolicyObservation struct { Scope []ScopeObservation `json:"scope,omitempty" tf:"scope,omitempty"` // Spec for the custom policy - Spec []Custom_PolicySpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` + Spec []CustomPolicySpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` } -type Custom_PolicyParameters struct { +type CustomPolicyParameters struct { // Metadata for the resource // +kubebuilder:validation:Optional - Meta []Custom_PolicyMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []CustomPolicyMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` // Name of the custom policy // +kubebuilder:validation:Optional @@ -91,10 +78,10 @@ type Custom_PolicyParameters struct { // Spec for the custom policy // +kubebuilder:validation:Optional - Spec []Custom_PolicySpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` + Spec []CustomPolicySpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` } -type Custom_PolicySpecObservation struct { +type CustomPolicySpecObservation struct { // Input for the custom policy, having one of the valid recipes: tmc_block_nodeport_service, tmc_block_resources, tmc_block_rolebinding_subjects, tmc_external_ips, tmc_https_ingress or tmc_require_labels. Input []InputObservation `json:"input,omitempty" tf:"input,omitempty"` @@ -103,7 +90,7 @@ type Custom_PolicySpecObservation struct { NamespaceSelector []NamespaceSelectorObservation `json:"namespaceSelector,omitempty" tf:"namespace_selector,omitempty"` } -type Custom_PolicySpecParameters struct { +type CustomPolicySpecParameters struct { // Input for the custom policy, having one of the valid recipes: tmc_block_nodeport_service, tmc_block_resources, tmc_block_rolebinding_subjects, tmc_external_ips, tmc_https_ingress or tmc_require_labels. // +kubebuilder:validation:Required @@ -268,6 +255,19 @@ type ParametersParameters struct { DisallowedSubjects []DisallowedSubjectsParameters `json:"disallowedSubjects" tf:"disallowed_subjects,omitempty"` } +type ScopeClusterGroupObservation struct { + + // Name of this cluster group + ClusterGroup *string `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` +} + +type ScopeClusterGroupParameters struct { + + // Name of this cluster group + // +kubebuilder:validation:Required + ClusterGroup *string `json:"clusterGroup" tf:"cluster_group,omitempty"` +} + type ScopeClusterObservation struct { // Name of the management cluster @@ -301,7 +301,7 @@ type ScopeObservation struct { Cluster []ScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` // The schema for cluster group policy full name - ClusterGroup []ClusterGroupObservation `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` + ClusterGroup []ScopeClusterGroupObservation `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` // The schema for organization policy full name Organization []OrganizationObservation `json:"organization,omitempty" tf:"organization,omitempty"` @@ -318,7 +318,7 @@ type ScopeParameters struct { // The schema for cluster group policy full name // +kubebuilder:validation:Optional - ClusterGroup []ClusterGroupParameters `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` + ClusterGroup []ScopeClusterGroupParameters `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` // The schema for organization policy full name // +kubebuilder:validation:Optional @@ -629,54 +629,54 @@ type TmcRequireLabelsTargetKubernetesResourcesParameters struct { Kinds []*string `json:"kinds" tf:"kinds,omitempty"` } -// Custom_PolicySpec defines the desired state of Custom_Policy -type Custom_PolicySpec struct { +// CustomPolicySpec defines the desired state of CustomPolicy +type CustomPolicySpec struct { v1.ResourceSpec `json:",inline"` - ForProvider Custom_PolicyParameters `json:"forProvider"` + ForProvider CustomPolicyParameters `json:"forProvider"` } -// Custom_PolicyStatus defines the observed state of Custom_Policy. -type Custom_PolicyStatus struct { +// CustomPolicyStatus defines the observed state of CustomPolicy. +type CustomPolicyStatus struct { v1.ResourceStatus `json:",inline"` - AtProvider Custom_PolicyObservation `json:"atProvider,omitempty"` + AtProvider CustomPolicyObservation `json:"atProvider,omitempty"` } // +kubebuilder:object:root=true -// Custom_Policy is the Schema for the Custom_Policys API. +// CustomPolicy is the Schema for the CustomPolicys 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 Custom_Policy struct { +type CustomPolicy 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 Custom_PolicySpec `json:"spec"` - Status Custom_PolicyStatus `json:"status,omitempty"` + Spec CustomPolicySpec `json:"spec"` + Status CustomPolicyStatus `json:"status,omitempty"` } // +kubebuilder:object:root=true -// Custom_PolicyList contains a list of Custom_Policys -type Custom_PolicyList struct { +// CustomPolicyList contains a list of CustomPolicys +type CustomPolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` - Items []Custom_Policy `json:"items"` + Items []CustomPolicy `json:"items"` } // Repository type metadata. var ( - Custom_Policy_Kind = "Custom_Policy" - Custom_Policy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Custom_Policy_Kind}.String() - Custom_Policy_KindAPIVersion = Custom_Policy_Kind + "." + CRDGroupVersion.String() - Custom_Policy_GroupVersionKind = CRDGroupVersion.WithKind(Custom_Policy_Kind) + CustomPolicy_Kind = "CustomPolicy" + CustomPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CustomPolicy_Kind}.String() + CustomPolicy_KindAPIVersion = CustomPolicy_Kind + "." + CRDGroupVersion.String() + CustomPolicy_GroupVersionKind = CRDGroupVersion.WithKind(CustomPolicy_Kind) ) func init() { - SchemeBuilder.Register(&Custom_Policy{}, &Custom_PolicyList{}) + SchemeBuilder.Register(&CustomPolicy{}, &CustomPolicyList{}) } diff --git a/apis/tmc/v1alpha1/zz_generated.deepcopy.go b/apis/tmc/v1alpha1/zz_generated.deepcopy.go index 24a2dbc..757b3fc 100644 --- a/apis/tmc/v1alpha1/zz_generated.deepcopy.go +++ b/apis/tmc/v1alpha1/zz_generated.deepcopy.go @@ -1401,71 +1401,58 @@ func (in *Cluster) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClusterGroupObservation) DeepCopyInto(out *ClusterGroupObservation) { +func (in *ClusterGroup) DeepCopyInto(out *ClusterGroup) { *out = *in - if in.ClusterGroup != nil { - in, out := &in.ClusterGroup, &out.ClusterGroup - *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 ClusterGroupObservation. -func (in *ClusterGroupObservation) DeepCopy() *ClusterGroupObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterGroup. +func (in *ClusterGroup) DeepCopy() *ClusterGroup { if in == nil { return nil } - out := new(ClusterGroupObservation) + out := new(ClusterGroup) in.DeepCopyInto(out) return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClusterGroupParameters) DeepCopyInto(out *ClusterGroupParameters) { - *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 ClusterGroupParameters. -func (in *ClusterGroupParameters) DeepCopy() *ClusterGroupParameters { - if in == nil { - return nil +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ClusterGroup) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - out := new(ClusterGroupParameters) - 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 *ClusterList) DeepCopyInto(out *ClusterList) { +func (in *ClusterGroupList) DeepCopyInto(out *ClusterGroupList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]Cluster, len(*in)) + *out = make([]ClusterGroup, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList. -func (in *ClusterList) DeepCopy() *ClusterList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterGroupList. +func (in *ClusterGroupList) DeepCopy() *ClusterGroupList { if in == nil { return nil } - out := new(ClusterList) + out := new(ClusterGroupList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *ClusterList) DeepCopyObject() runtime.Object { +func (in *ClusterGroupList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -1473,7 +1460,7 @@ func (in *ClusterList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClusterMetaObservation) DeepCopyInto(out *ClusterMetaObservation) { +func (in *ClusterGroupMetaObservation) DeepCopyInto(out *ClusterGroupMetaObservation) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -1522,18 +1509,18 @@ func (in *ClusterMetaObservation) DeepCopyInto(out *ClusterMetaObservation) { } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterMetaObservation. -func (in *ClusterMetaObservation) DeepCopy() *ClusterMetaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterGroupMetaObservation. +func (in *ClusterGroupMetaObservation) DeepCopy() *ClusterGroupMetaObservation { if in == nil { return nil } - out := new(ClusterMetaObservation) + out := new(ClusterGroupMetaObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClusterMetaParameters) DeepCopyInto(out *ClusterMetaParameters) { +func (in *ClusterGroupMetaParameters) DeepCopyInto(out *ClusterGroupMetaParameters) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -1572,39 +1559,27 @@ func (in *ClusterMetaParameters) DeepCopyInto(out *ClusterMetaParameters) { } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterMetaParameters. -func (in *ClusterMetaParameters) DeepCopy() *ClusterMetaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterGroupMetaParameters. +func (in *ClusterGroupMetaParameters) DeepCopy() *ClusterGroupMetaParameters { if in == nil { return nil } - out := new(ClusterMetaParameters) + out := new(ClusterGroupMetaParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { +func (in *ClusterGroupObservation) DeepCopyInto(out *ClusterGroupObservation) { *out = *in - if in.AttachK8SCluster != nil { - in, out := &in.AttachK8SCluster, &out.AttachK8SCluster - *out = make([]AttachK8SClusterObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } 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([]ClusterMetaObservation, len(*in)) + *out = make([]ClusterGroupMetaObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -1614,68 +1589,24 @@ func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { *out = new(string) **out = **in } - if in.ProvisionerName != nil { - in, out := &in.ProvisionerName, &out.ProvisionerName - *out = new(string) - **out = **in - } - if in.ReadyWaitTimeout != nil { - in, out := &in.ReadyWaitTimeout, &out.ReadyWaitTimeout - *out = new(string) - **out = **in - } - if in.Spec != nil { - in, out := &in.Spec, &out.Spec - *out = make([]ClusterSpecObservation, 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 ClusterObservation. -func (in *ClusterObservation) DeepCopy() *ClusterObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterGroupObservation. +func (in *ClusterGroupObservation) DeepCopy() *ClusterGroupObservation { if in == nil { return nil } - out := new(ClusterObservation) + out := new(ClusterGroupObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClusterParameters) DeepCopyInto(out *ClusterParameters) { +func (in *ClusterGroupParameters) DeepCopyInto(out *ClusterGroupParameters) { *out = *in - if in.AttachK8SCluster != nil { - in, out := &in.AttachK8SCluster, &out.AttachK8SCluster - *out = make([]AttachK8SClusterParameters, 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.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]ClusterMetaParameters, len(*in)) + *out = make([]ClusterGroupMetaParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -1685,232 +1616,86 @@ func (in *ClusterParameters) DeepCopyInto(out *ClusterParameters) { *out = new(string) **out = **in } - if in.ProvisionerName != nil { - in, out := &in.ProvisionerName, &out.ProvisionerName - *out = new(string) - **out = **in - } - if in.ReadyWaitTimeout != nil { - in, out := &in.ReadyWaitTimeout, &out.ReadyWaitTimeout - *out = new(string) - **out = **in - } - if in.Spec != nil { - in, out := &in.Spec, &out.Spec - *out = make([]ClusterSpecParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterParameters. -func (in *ClusterParameters) DeepCopy() *ClusterParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterGroupParameters. +func (in *ClusterGroupParameters) DeepCopy() *ClusterGroupParameters { if in == nil { return nil } - out := new(ClusterParameters) + out := new(ClusterGroupParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) { +func (in *ClusterGroupSpec) DeepCopyInto(out *ClusterGroupSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec. -func (in *ClusterSpec) DeepCopy() *ClusterSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterGroupSpec. +func (in *ClusterGroupSpec) DeepCopy() *ClusterGroupSpec { if in == nil { return nil } - out := new(ClusterSpec) + out := new(ClusterGroupSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClusterSpecObservation) DeepCopyInto(out *ClusterSpecObservation) { +func (in *ClusterGroupStatus) DeepCopyInto(out *ClusterGroupStatus) { *out = *in - if in.ClusterGroup != nil { - in, out := &in.ClusterGroup, &out.ClusterGroup - *out = new(string) - **out = **in - } - if in.ImageRegistry != nil { - in, out := &in.ImageRegistry, &out.ImageRegistry - *out = new(string) - **out = **in - } - if in.Proxy != nil { - in, out := &in.Proxy, &out.Proxy - *out = new(string) - **out = **in - } - if in.TkgAws != nil { - in, out := &in.TkgAws, &out.TkgAws - *out = make([]TkgAwsObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.TkgServiceVsphere != nil { - in, out := &in.TkgServiceVsphere, &out.TkgServiceVsphere - *out = make([]TkgServiceVsphereObservation, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.TkgVsphere != nil { - in, out := &in.TkgVsphere, &out.TkgVsphere - *out = make([]TkgVsphereObservation, 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 ClusterSpecObservation. -func (in *ClusterSpecObservation) DeepCopy() *ClusterSpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterGroupStatus. +func (in *ClusterGroupStatus) DeepCopy() *ClusterGroupStatus { if in == nil { return nil } - out := new(ClusterSpecObservation) + out := new(ClusterGroupStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClusterSpecParameters) DeepCopyInto(out *ClusterSpecParameters) { +func (in *ClusterList) DeepCopyInto(out *ClusterList) { *out = *in - if in.ClusterGroup != nil { - in, out := &in.ClusterGroup, &out.ClusterGroup - *out = new(string) - **out = **in - } - if in.ImageRegistry != nil { - in, out := &in.ImageRegistry, &out.ImageRegistry - *out = new(string) - **out = **in - } - if in.Proxy != nil { - in, out := &in.Proxy, &out.Proxy - *out = new(string) - **out = **in - } - if in.TkgAws != nil { - in, out := &in.TkgAws, &out.TkgAws - *out = make([]TkgAwsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.TkgServiceVsphere != nil { - in, out := &in.TkgServiceVsphere, &out.TkgServiceVsphere - *out = make([]TkgServiceVsphereParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.TkgVsphere != nil { - in, out := &in.TkgVsphere, &out.TkgVsphere - *out = make([]TkgVsphereParameters, len(*in)) + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Cluster, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpecParameters. -func (in *ClusterSpecParameters) DeepCopy() *ClusterSpecParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList. +func (in *ClusterList) DeepCopy() *ClusterList { if in == nil { return nil } - out := new(ClusterSpecParameters) + out := new(ClusterList) in.DeepCopyInto(out) return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus. -func (in *ClusterStatus) DeepCopy() *ClusterStatus { - if in == nil { - return nil +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ClusterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - out := new(ClusterStatus) - 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 *Cluster_Group) DeepCopyInto(out *Cluster_Group) { - *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_Group. -func (in *Cluster_Group) DeepCopy() *Cluster_Group { - if in == nil { - return nil - } - out := new(Cluster_Group) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Cluster_Group) 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 *Cluster_GroupList) DeepCopyInto(out *Cluster_GroupList) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]Cluster_Group, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_GroupList. -func (in *Cluster_GroupList) DeepCopy() *Cluster_GroupList { - if in == nil { - return nil - } - out := new(Cluster_GroupList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Cluster_GroupList) 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 *Cluster_GroupMetaObservation) DeepCopyInto(out *Cluster_GroupMetaObservation) { +func (in *ClusterMetaObservation) DeepCopyInto(out *ClusterMetaObservation) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -1959,18 +1744,18 @@ func (in *Cluster_GroupMetaObservation) DeepCopyInto(out *Cluster_GroupMetaObser } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_GroupMetaObservation. -func (in *Cluster_GroupMetaObservation) DeepCopy() *Cluster_GroupMetaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterMetaObservation. +func (in *ClusterMetaObservation) DeepCopy() *ClusterMetaObservation { if in == nil { return nil } - out := new(Cluster_GroupMetaObservation) + out := new(ClusterMetaObservation) 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_GroupMetaParameters) DeepCopyInto(out *Cluster_GroupMetaParameters) { +func (in *ClusterMetaParameters) DeepCopyInto(out *ClusterMetaParameters) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -2009,111 +1794,18 @@ func (in *Cluster_GroupMetaParameters) DeepCopyInto(out *Cluster_GroupMetaParame } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_GroupMetaParameters. -func (in *Cluster_GroupMetaParameters) DeepCopy() *Cluster_GroupMetaParameters { - if in == nil { - return nil - } - out := new(Cluster_GroupMetaParameters) - 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_GroupObservation) DeepCopyInto(out *Cluster_GroupObservation) { - *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([]Cluster_GroupMetaObservation, 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 Cluster_GroupObservation. -func (in *Cluster_GroupObservation) DeepCopy() *Cluster_GroupObservation { - if in == nil { - return nil - } - out := new(Cluster_GroupObservation) - 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_GroupParameters) DeepCopyInto(out *Cluster_GroupParameters) { - *out = *in - if in.Meta != nil { - in, out := &in.Meta, &out.Meta - *out = make([]Cluster_GroupMetaParameters, 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 Cluster_GroupParameters. -func (in *Cluster_GroupParameters) DeepCopy() *Cluster_GroupParameters { - if in == nil { - return nil - } - out := new(Cluster_GroupParameters) - 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_GroupSpec) DeepCopyInto(out *Cluster_GroupSpec) { - *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_GroupSpec. -func (in *Cluster_GroupSpec) DeepCopy() *Cluster_GroupSpec { - if in == nil { - return nil - } - out := new(Cluster_GroupSpec) - 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_GroupStatus) DeepCopyInto(out *Cluster_GroupStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_GroupStatus. -func (in *Cluster_GroupStatus) DeepCopy() *Cluster_GroupStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterMetaParameters. +func (in *ClusterMetaParameters) DeepCopy() *ClusterMetaParameters { if in == nil { return nil } - out := new(Cluster_GroupStatus) + out := new(ClusterMetaParameters) 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_Node_Pool) DeepCopyInto(out *Cluster_Node_Pool) { +func (in *ClusterNodePool) DeepCopyInto(out *ClusterNodePool) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -2121,18 +1813,18 @@ func (in *Cluster_Node_Pool) DeepCopyInto(out *Cluster_Node_Pool) { in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_Node_Pool. -func (in *Cluster_Node_Pool) DeepCopy() *Cluster_Node_Pool { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNodePool. +func (in *ClusterNodePool) DeepCopy() *ClusterNodePool { if in == nil { return nil } - out := new(Cluster_Node_Pool) + out := new(ClusterNodePool) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Cluster_Node_Pool) DeepCopyObject() runtime.Object { +func (in *ClusterNodePool) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -2140,31 +1832,31 @@ func (in *Cluster_Node_Pool) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Cluster_Node_PoolList) DeepCopyInto(out *Cluster_Node_PoolList) { +func (in *ClusterNodePoolList) DeepCopyInto(out *ClusterNodePoolList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]Cluster_Node_Pool, len(*in)) + *out = make([]ClusterNodePool, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_Node_PoolList. -func (in *Cluster_Node_PoolList) DeepCopy() *Cluster_Node_PoolList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNodePoolList. +func (in *ClusterNodePoolList) DeepCopy() *ClusterNodePoolList { if in == nil { return nil } - out := new(Cluster_Node_PoolList) + out := new(ClusterNodePoolList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Cluster_Node_PoolList) DeepCopyObject() runtime.Object { +func (in *ClusterNodePoolList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -2172,7 +1864,7 @@ func (in *Cluster_Node_PoolList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Cluster_Node_PoolMetaObservation) DeepCopyInto(out *Cluster_Node_PoolMetaObservation) { +func (in *ClusterNodePoolMetaObservation) DeepCopyInto(out *ClusterNodePoolMetaObservation) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -2221,18 +1913,18 @@ func (in *Cluster_Node_PoolMetaObservation) DeepCopyInto(out *Cluster_Node_PoolM } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_Node_PoolMetaObservation. -func (in *Cluster_Node_PoolMetaObservation) DeepCopy() *Cluster_Node_PoolMetaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNodePoolMetaObservation. +func (in *ClusterNodePoolMetaObservation) DeepCopy() *ClusterNodePoolMetaObservation { if in == nil { return nil } - out := new(Cluster_Node_PoolMetaObservation) + out := new(ClusterNodePoolMetaObservation) 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_Node_PoolMetaParameters) DeepCopyInto(out *Cluster_Node_PoolMetaParameters) { +func (in *ClusterNodePoolMetaParameters) DeepCopyInto(out *ClusterNodePoolMetaParameters) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -2271,18 +1963,18 @@ func (in *Cluster_Node_PoolMetaParameters) DeepCopyInto(out *Cluster_Node_PoolMe } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_Node_PoolMetaParameters. -func (in *Cluster_Node_PoolMetaParameters) DeepCopy() *Cluster_Node_PoolMetaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNodePoolMetaParameters. +func (in *ClusterNodePoolMetaParameters) DeepCopy() *ClusterNodePoolMetaParameters { if in == nil { return nil } - out := new(Cluster_Node_PoolMetaParameters) + out := new(ClusterNodePoolMetaParameters) 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_Node_PoolObservation) DeepCopyInto(out *Cluster_Node_PoolObservation) { +func (in *ClusterNodePoolObservation) DeepCopyInto(out *ClusterNodePoolObservation) { *out = *in if in.ClusterName != nil { in, out := &in.ClusterName, &out.ClusterName @@ -2301,7 +1993,7 @@ func (in *Cluster_Node_PoolObservation) DeepCopyInto(out *Cluster_Node_PoolObser } if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Cluster_Node_PoolMetaObservation, len(*in)) + *out = make([]ClusterNodePoolMetaObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -2323,7 +2015,7 @@ func (in *Cluster_Node_PoolObservation) DeepCopyInto(out *Cluster_Node_PoolObser } if in.Spec != nil { in, out := &in.Spec, &out.Spec - *out = make([]Cluster_Node_PoolSpecObservation, len(*in)) + *out = make([]ClusterNodePoolSpecObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -2345,18 +2037,18 @@ func (in *Cluster_Node_PoolObservation) DeepCopyInto(out *Cluster_Node_PoolObser } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_Node_PoolObservation. -func (in *Cluster_Node_PoolObservation) DeepCopy() *Cluster_Node_PoolObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNodePoolObservation. +func (in *ClusterNodePoolObservation) DeepCopy() *ClusterNodePoolObservation { if in == nil { return nil } - out := new(Cluster_Node_PoolObservation) + out := new(ClusterNodePoolObservation) 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_Node_PoolParameters) DeepCopyInto(out *Cluster_Node_PoolParameters) { +func (in *ClusterNodePoolParameters) DeepCopyInto(out *ClusterNodePoolParameters) { *out = *in if in.ClusterName != nil { in, out := &in.ClusterName, &out.ClusterName @@ -2370,7 +2062,7 @@ func (in *Cluster_Node_PoolParameters) DeepCopyInto(out *Cluster_Node_PoolParame } if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Cluster_Node_PoolMetaParameters, len(*in)) + *out = make([]ClusterNodePoolMetaParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -2392,42 +2084,42 @@ func (in *Cluster_Node_PoolParameters) DeepCopyInto(out *Cluster_Node_PoolParame } if in.Spec != nil { in, out := &in.Spec, &out.Spec - *out = make([]Cluster_Node_PoolSpecParameters, len(*in)) + *out = make([]ClusterNodePoolSpecParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_Node_PoolParameters. -func (in *Cluster_Node_PoolParameters) DeepCopy() *Cluster_Node_PoolParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNodePoolParameters. +func (in *ClusterNodePoolParameters) DeepCopy() *ClusterNodePoolParameters { if in == nil { return nil } - out := new(Cluster_Node_PoolParameters) + out := new(ClusterNodePoolParameters) 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_Node_PoolSpec) DeepCopyInto(out *Cluster_Node_PoolSpec) { +func (in *ClusterNodePoolSpec) DeepCopyInto(out *ClusterNodePoolSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_Node_PoolSpec. -func (in *Cluster_Node_PoolSpec) DeepCopy() *Cluster_Node_PoolSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNodePoolSpec. +func (in *ClusterNodePoolSpec) DeepCopy() *ClusterNodePoolSpec { if in == nil { return nil } - out := new(Cluster_Node_PoolSpec) + out := new(ClusterNodePoolSpec) 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_Node_PoolSpecObservation) DeepCopyInto(out *Cluster_Node_PoolSpecObservation) { +func (in *ClusterNodePoolSpecObservation) DeepCopyInto(out *ClusterNodePoolSpecObservation) { *out = *in if in.CloudLabels != nil { in, out := &in.CloudLabels, &out.CloudLabels @@ -2461,21 +2153,21 @@ func (in *Cluster_Node_PoolSpecObservation) DeepCopyInto(out *Cluster_Node_PoolS } if in.TkgAws != nil { in, out := &in.TkgAws, &out.TkgAws - *out = make([]Cluster_Node_PoolSpecTkgAwsObservation, len(*in)) + *out = make([]ClusterNodePoolSpecTkgAwsObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.TkgServiceVsphere != nil { in, out := &in.TkgServiceVsphere, &out.TkgServiceVsphere - *out = make([]Cluster_Node_PoolSpecTkgServiceVsphereObservation, len(*in)) + *out = make([]ClusterNodePoolSpecTkgServiceVsphereObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.TkgVsphere != nil { in, out := &in.TkgVsphere, &out.TkgVsphere - *out = make([]Cluster_Node_PoolSpecTkgVsphereObservation, len(*in)) + *out = make([]ClusterNodePoolSpecTkgVsphereObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -2487,18 +2179,18 @@ func (in *Cluster_Node_PoolSpecObservation) DeepCopyInto(out *Cluster_Node_PoolS } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_Node_PoolSpecObservation. -func (in *Cluster_Node_PoolSpecObservation) DeepCopy() *Cluster_Node_PoolSpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNodePoolSpecObservation. +func (in *ClusterNodePoolSpecObservation) DeepCopy() *ClusterNodePoolSpecObservation { if in == nil { return nil } - out := new(Cluster_Node_PoolSpecObservation) + out := new(ClusterNodePoolSpecObservation) 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_Node_PoolSpecParameters) DeepCopyInto(out *Cluster_Node_PoolSpecParameters) { +func (in *ClusterNodePoolSpecParameters) DeepCopyInto(out *ClusterNodePoolSpecParameters) { *out = *in if in.CloudLabels != nil { in, out := &in.CloudLabels, &out.CloudLabels @@ -2532,21 +2224,21 @@ func (in *Cluster_Node_PoolSpecParameters) DeepCopyInto(out *Cluster_Node_PoolSp } if in.TkgAws != nil { in, out := &in.TkgAws, &out.TkgAws - *out = make([]Cluster_Node_PoolSpecTkgAwsParameters, len(*in)) + *out = make([]ClusterNodePoolSpecTkgAwsParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.TkgServiceVsphere != nil { in, out := &in.TkgServiceVsphere, &out.TkgServiceVsphere - *out = make([]Cluster_Node_PoolSpecTkgServiceVsphereParameters, len(*in)) + *out = make([]ClusterNodePoolSpecTkgServiceVsphereParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.TkgVsphere != nil { in, out := &in.TkgVsphere, &out.TkgVsphere - *out = make([]Cluster_Node_PoolSpecTkgVsphereParameters, len(*in)) + *out = make([]ClusterNodePoolSpecTkgVsphereParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -2558,18 +2250,43 @@ func (in *Cluster_Node_PoolSpecParameters) DeepCopyInto(out *Cluster_Node_PoolSp } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_Node_PoolSpecParameters. -func (in *Cluster_Node_PoolSpecParameters) DeepCopy() *Cluster_Node_PoolSpecParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNodePoolSpecParameters. +func (in *ClusterNodePoolSpecParameters) DeepCopy() *ClusterNodePoolSpecParameters { + if in == nil { + return nil + } + out := new(ClusterNodePoolSpecParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterNodePoolSpecTkgAwsObservation) DeepCopyInto(out *ClusterNodePoolSpecTkgAwsObservation) { + *out = *in + if in.Class != nil { + in, out := &in.Class, &out.Class + *out = new(string) + **out = **in + } + if in.StorageClass != nil { + in, out := &in.StorageClass, &out.StorageClass + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNodePoolSpecTkgAwsObservation. +func (in *ClusterNodePoolSpecTkgAwsObservation) DeepCopy() *ClusterNodePoolSpecTkgAwsObservation { if in == nil { return nil } - out := new(Cluster_Node_PoolSpecParameters) + out := new(ClusterNodePoolSpecTkgAwsObservation) 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_Node_PoolSpecTkgAwsObservation) DeepCopyInto(out *Cluster_Node_PoolSpecTkgAwsObservation) { +func (in *ClusterNodePoolSpecTkgAwsParameters) DeepCopyInto(out *ClusterNodePoolSpecTkgAwsParameters) { *out = *in if in.Class != nil { in, out := &in.Class, &out.Class @@ -2583,43 +2300,55 @@ func (in *Cluster_Node_PoolSpecTkgAwsObservation) DeepCopyInto(out *Cluster_Node } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_Node_PoolSpecTkgAwsObservation. -func (in *Cluster_Node_PoolSpecTkgAwsObservation) DeepCopy() *Cluster_Node_PoolSpecTkgAwsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNodePoolSpecTkgAwsParameters. +func (in *ClusterNodePoolSpecTkgAwsParameters) DeepCopy() *ClusterNodePoolSpecTkgAwsParameters { if in == nil { return nil } - out := new(Cluster_Node_PoolSpecTkgAwsObservation) + out := new(ClusterNodePoolSpecTkgAwsParameters) 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_Node_PoolSpecTkgAwsParameters) DeepCopyInto(out *Cluster_Node_PoolSpecTkgAwsParameters) { +func (in *ClusterNodePoolSpecTkgServiceVsphereObservation) DeepCopyInto(out *ClusterNodePoolSpecTkgServiceVsphereObservation) { *out = *in if in.Class != nil { in, out := &in.Class, &out.Class *out = new(string) **out = **in } + if in.FailureDomain != nil { + in, out := &in.FailureDomain, &out.FailureDomain + *out = new(string) + **out = **in + } if in.StorageClass != nil { in, out := &in.StorageClass, &out.StorageClass *out = new(string) **out = **in } + if in.Volumes != nil { + in, out := &in.Volumes, &out.Volumes + *out = make([]SpecTkgServiceVsphereVolumesObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_Node_PoolSpecTkgAwsParameters. -func (in *Cluster_Node_PoolSpecTkgAwsParameters) DeepCopy() *Cluster_Node_PoolSpecTkgAwsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNodePoolSpecTkgServiceVsphereObservation. +func (in *ClusterNodePoolSpecTkgServiceVsphereObservation) DeepCopy() *ClusterNodePoolSpecTkgServiceVsphereObservation { if in == nil { return nil } - out := new(Cluster_Node_PoolSpecTkgAwsParameters) + out := new(ClusterNodePoolSpecTkgServiceVsphereObservation) 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_Node_PoolSpecTkgServiceVsphereObservation) DeepCopyInto(out *Cluster_Node_PoolSpecTkgServiceVsphereObservation) { +func (in *ClusterNodePoolSpecTkgServiceVsphereParameters) DeepCopyInto(out *ClusterNodePoolSpecTkgServiceVsphereParameters) { *out = *in if in.Class != nil { in, out := &in.Class, &out.Class @@ -2636,119 +2365,350 @@ func (in *Cluster_Node_PoolSpecTkgServiceVsphereObservation) DeepCopyInto(out *C *out = new(string) **out = **in } - if in.Volumes != nil { - in, out := &in.Volumes, &out.Volumes - *out = make([]SpecTkgServiceVsphereVolumesObservation, len(*in)) + if in.Volumes != nil { + in, out := &in.Volumes, &out.Volumes + *out = make([]SpecTkgServiceVsphereVolumesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNodePoolSpecTkgServiceVsphereParameters. +func (in *ClusterNodePoolSpecTkgServiceVsphereParameters) DeepCopy() *ClusterNodePoolSpecTkgServiceVsphereParameters { + if in == nil { + return nil + } + out := new(ClusterNodePoolSpecTkgServiceVsphereParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterNodePoolSpecTkgVsphereObservation) DeepCopyInto(out *ClusterNodePoolSpecTkgVsphereObservation) { + *out = *in + if in.VMConfig != nil { + in, out := &in.VMConfig, &out.VMConfig + *out = make([]SpecTkgVsphereVMConfigObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNodePoolSpecTkgVsphereObservation. +func (in *ClusterNodePoolSpecTkgVsphereObservation) DeepCopy() *ClusterNodePoolSpecTkgVsphereObservation { + if in == nil { + return nil + } + out := new(ClusterNodePoolSpecTkgVsphereObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterNodePoolSpecTkgVsphereParameters) DeepCopyInto(out *ClusterNodePoolSpecTkgVsphereParameters) { + *out = *in + if in.VMConfig != nil { + in, out := &in.VMConfig, &out.VMConfig + *out = make([]SpecTkgVsphereVMConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNodePoolSpecTkgVsphereParameters. +func (in *ClusterNodePoolSpecTkgVsphereParameters) DeepCopy() *ClusterNodePoolSpecTkgVsphereParameters { + if in == nil { + return nil + } + out := new(ClusterNodePoolSpecTkgVsphereParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterNodePoolStatus) DeepCopyInto(out *ClusterNodePoolStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNodePoolStatus. +func (in *ClusterNodePoolStatus) DeepCopy() *ClusterNodePoolStatus { + if in == nil { + return nil + } + out := new(ClusterNodePoolStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { + *out = *in + if in.AttachK8SCluster != nil { + in, out := &in.AttachK8SCluster, &out.AttachK8SCluster + *out = make([]AttachK8SClusterObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + 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([]ClusterMetaObservation, 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.ReadyWaitTimeout != nil { + in, out := &in.ReadyWaitTimeout, &out.ReadyWaitTimeout + *out = new(string) + **out = **in + } + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]ClusterSpecObservation, 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 ClusterObservation. +func (in *ClusterObservation) DeepCopy() *ClusterObservation { + if in == nil { + return nil + } + out := new(ClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterParameters) DeepCopyInto(out *ClusterParameters) { + *out = *in + if in.AttachK8SCluster != nil { + in, out := &in.AttachK8SCluster, &out.AttachK8SCluster + *out = make([]AttachK8SClusterParameters, 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.Meta != nil { + in, out := &in.Meta, &out.Meta + *out = make([]ClusterMetaParameters, 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.ReadyWaitTimeout != nil { + in, out := &in.ReadyWaitTimeout, &out.ReadyWaitTimeout + *out = new(string) + **out = **in + } + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]ClusterSpecParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterParameters. +func (in *ClusterParameters) DeepCopy() *ClusterParameters { + if in == nil { + return nil + } + out := new(ClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec. +func (in *ClusterSpec) DeepCopy() *ClusterSpec { + if in == nil { + return nil + } + out := new(ClusterSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterSpecObservation) DeepCopyInto(out *ClusterSpecObservation) { + *out = *in + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup + *out = new(string) + **out = **in + } + if in.ImageRegistry != nil { + in, out := &in.ImageRegistry, &out.ImageRegistry + *out = new(string) + **out = **in + } + if in.Proxy != nil { + in, out := &in.Proxy, &out.Proxy + *out = new(string) + **out = **in + } + if in.TkgAws != nil { + in, out := &in.TkgAws, &out.TkgAws + *out = make([]TkgAwsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TkgServiceVsphere != nil { + in, out := &in.TkgServiceVsphere, &out.TkgServiceVsphere + *out = make([]TkgServiceVsphereObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TkgVsphere != nil { + in, out := &in.TkgVsphere, &out.TkgVsphere + *out = make([]TkgVsphereObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_Node_PoolSpecTkgServiceVsphereObservation. -func (in *Cluster_Node_PoolSpecTkgServiceVsphereObservation) DeepCopy() *Cluster_Node_PoolSpecTkgServiceVsphereObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpecObservation. +func (in *ClusterSpecObservation) DeepCopy() *ClusterSpecObservation { if in == nil { return nil } - out := new(Cluster_Node_PoolSpecTkgServiceVsphereObservation) + out := new(ClusterSpecObservation) 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_Node_PoolSpecTkgServiceVsphereParameters) DeepCopyInto(out *Cluster_Node_PoolSpecTkgServiceVsphereParameters) { +func (in *ClusterSpecParameters) DeepCopyInto(out *ClusterSpecParameters) { *out = *in - if in.Class != nil { - in, out := &in.Class, &out.Class + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup *out = new(string) **out = **in } - if in.FailureDomain != nil { - in, out := &in.FailureDomain, &out.FailureDomain + if in.ImageRegistry != nil { + in, out := &in.ImageRegistry, &out.ImageRegistry *out = new(string) **out = **in } - if in.StorageClass != nil { - in, out := &in.StorageClass, &out.StorageClass + if in.Proxy != nil { + in, out := &in.Proxy, &out.Proxy *out = new(string) **out = **in } - if in.Volumes != nil { - in, out := &in.Volumes, &out.Volumes - *out = make([]SpecTkgServiceVsphereVolumesParameters, len(*in)) + if in.TkgAws != nil { + in, out := &in.TkgAws, &out.TkgAws + *out = make([]TkgAwsParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_Node_PoolSpecTkgServiceVsphereParameters. -func (in *Cluster_Node_PoolSpecTkgServiceVsphereParameters) DeepCopy() *Cluster_Node_PoolSpecTkgServiceVsphereParameters { - if in == nil { - return nil - } - out := new(Cluster_Node_PoolSpecTkgServiceVsphereParameters) - 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_Node_PoolSpecTkgVsphereObservation) DeepCopyInto(out *Cluster_Node_PoolSpecTkgVsphereObservation) { - *out = *in - if in.VMConfig != nil { - in, out := &in.VMConfig, &out.VMConfig - *out = make([]SpecTkgVsphereVMConfigObservation, len(*in)) + if in.TkgServiceVsphere != nil { + in, out := &in.TkgServiceVsphere, &out.TkgServiceVsphere + *out = make([]TkgServiceVsphereParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_Node_PoolSpecTkgVsphereObservation. -func (in *Cluster_Node_PoolSpecTkgVsphereObservation) DeepCopy() *Cluster_Node_PoolSpecTkgVsphereObservation { - if in == nil { - return nil - } - out := new(Cluster_Node_PoolSpecTkgVsphereObservation) - 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_Node_PoolSpecTkgVsphereParameters) DeepCopyInto(out *Cluster_Node_PoolSpecTkgVsphereParameters) { - *out = *in - if in.VMConfig != nil { - in, out := &in.VMConfig, &out.VMConfig - *out = make([]SpecTkgVsphereVMConfigParameters, len(*in)) + if in.TkgVsphere != nil { + in, out := &in.TkgVsphere, &out.TkgVsphere + *out = make([]TkgVsphereParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_Node_PoolSpecTkgVsphereParameters. -func (in *Cluster_Node_PoolSpecTkgVsphereParameters) DeepCopy() *Cluster_Node_PoolSpecTkgVsphereParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpecParameters. +func (in *ClusterSpecParameters) DeepCopy() *ClusterSpecParameters { if in == nil { return nil } - out := new(Cluster_Node_PoolSpecTkgVsphereParameters) + out := new(ClusterSpecParameters) 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_Node_PoolStatus) DeepCopyInto(out *Cluster_Node_PoolStatus) { +func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_Node_PoolStatus. -func (in *Cluster_Node_PoolStatus) DeepCopy() *Cluster_Node_PoolStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus. +func (in *ClusterStatus) DeepCopy() *ClusterStatus { if in == nil { return nil } - out := new(Cluster_Node_PoolStatus) + out := new(ClusterStatus) in.DeepCopyInto(out) return out } @@ -3871,253 +3831,79 @@ func (in *CustomIngressRulesParameters) DeepCopyInto(out *CustomIngressRulesPara } if in.RuleSpec != nil { in, out := &in.RuleSpec, &out.RuleSpec - *out = make([]RulesRuleSpecParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// 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(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 *CustomObservation) DeepCopyInto(out *CustomObservation) { - *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)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// 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(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 *CustomParameters) DeepCopyInto(out *CustomParameters) { - *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)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } -} - -// 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(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 *CustomRulesObservation) DeepCopyInto(out *CustomRulesObservation) { - *out = *in - if in.Hostname != nil { - in, out := &in.Hostname, &out.Hostname - *out = new(string) - **out = **in - } - if in.Imagename != nil { - in, out := &in.Imagename, &out.Imagename - *out = new(string) - **out = **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([]RulesTagObservation, 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 { - if in == nil { - return nil - } - 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 *CustomRulesParameters) DeepCopyInto(out *CustomRulesParameters) { - *out = *in - if in.Hostname != nil { - in, out := &in.Hostname, &out.Hostname - *out = new(string) - **out = **in - } - if in.Imagename != nil { - in, out := &in.Imagename, &out.Imagename - *out = new(string) - **out = **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 CustomRulesParameters. -func (in *CustomRulesParameters) DeepCopy() *CustomRulesParameters { - if in == nil { - return nil - } - 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 *CustomSelectorObservation) DeepCopyInto(out *CustomSelectorObservation) { - *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 + *out = make([]RulesRuleSpecParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomSelectorObservation. -func (in *CustomSelectorObservation) DeepCopy() *CustomSelectorObservation { +// 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(CustomSelectorObservation) + 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 *CustomSelectorParameters) DeepCopyInto(out *CustomSelectorParameters) { +func (in *CustomObservation) DeepCopyInto(out *CustomObservation) { *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.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)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } - 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 CustomObservation. +func (in *CustomObservation) DeepCopy() *CustomObservation { + if in == nil { + return nil + } + 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 *CustomParameters) DeepCopyInto(out *CustomParameters) { + *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)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomSelectorParameters. -func (in *CustomSelectorParameters) DeepCopy() *CustomSelectorParameters { +// 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(CustomSelectorParameters) + 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_Policy) DeepCopyInto(out *Custom_Policy) { +func (in *CustomPolicy) DeepCopyInto(out *CustomPolicy) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -4125,18 +3911,18 @@ func (in *Custom_Policy) DeepCopyInto(out *Custom_Policy) { in.Status.DeepCopyInto(&out.Status) } -// 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 CustomPolicy. +func (in *CustomPolicy) DeepCopy() *CustomPolicy { if in == nil { return nil } - out := new(Custom_Policy) + out := new(CustomPolicy) 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 { +func (in *CustomPolicy) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -4144,31 +3930,31 @@ func (in *Custom_Policy) DeepCopyObject() runtime.Object { } // 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 *CustomPolicyList) DeepCopyInto(out *CustomPolicyList) { *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)) + *out = make([]CustomPolicy, 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 CustomPolicyList. +func (in *CustomPolicyList) DeepCopy() *CustomPolicyList { if in == nil { return nil } - out := new(Custom_PolicyList) + out := new(CustomPolicyList) 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 { +func (in *CustomPolicyList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -4176,7 +3962,7 @@ func (in *Custom_PolicyList) DeepCopyObject() runtime.Object { } // 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 *CustomPolicyMetaObservation) DeepCopyInto(out *CustomPolicyMetaObservation) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -4225,18 +4011,18 @@ func (in *Custom_PolicyMetaObservation) DeepCopyInto(out *Custom_PolicyMetaObser } } -// 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 CustomPolicyMetaObservation. +func (in *CustomPolicyMetaObservation) DeepCopy() *CustomPolicyMetaObservation { if in == nil { return nil } - out := new(Custom_PolicyMetaObservation) + out := new(CustomPolicyMetaObservation) 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 *CustomPolicyMetaParameters) DeepCopyInto(out *CustomPolicyMetaParameters) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -4275,18 +4061,18 @@ func (in *Custom_PolicyMetaParameters) DeepCopyInto(out *Custom_PolicyMetaParame } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Custom_PolicyMetaParameters. -func (in *Custom_PolicyMetaParameters) DeepCopy() *Custom_PolicyMetaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomPolicyMetaParameters. +func (in *CustomPolicyMetaParameters) DeepCopy() *CustomPolicyMetaParameters { if in == nil { return nil } - out := new(Custom_PolicyMetaParameters) + out := new(CustomPolicyMetaParameters) 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) { +func (in *CustomPolicyObservation) DeepCopyInto(out *CustomPolicyObservation) { *out = *in if in.ID != nil { in, out := &in.ID, &out.ID @@ -4295,7 +4081,7 @@ func (in *Custom_PolicyObservation) DeepCopyInto(out *Custom_PolicyObservation) } if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Custom_PolicyMetaObservation, len(*in)) + *out = make([]CustomPolicyMetaObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -4314,29 +4100,29 @@ func (in *Custom_PolicyObservation) DeepCopyInto(out *Custom_PolicyObservation) } if in.Spec != nil { in, out := &in.Spec, &out.Spec - *out = make([]Custom_PolicySpecObservation, len(*in)) + *out = make([]CustomPolicySpecObservation, 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 CustomPolicyObservation. +func (in *CustomPolicyObservation) DeepCopy() *CustomPolicyObservation { if in == nil { return nil } - out := new(Custom_PolicyObservation) + out := new(CustomPolicyObservation) 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 *CustomPolicyParameters) DeepCopyInto(out *CustomPolicyParameters) { *out = *in if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Custom_PolicyMetaParameters, len(*in)) + *out = make([]CustomPolicyMetaParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -4355,42 +4141,42 @@ func (in *Custom_PolicyParameters) DeepCopyInto(out *Custom_PolicyParameters) { } if in.Spec != nil { in, out := &in.Spec, &out.Spec - *out = make([]Custom_PolicySpecParameters, len(*in)) + *out = make([]CustomPolicySpecParameters, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomPolicyParameters. +func (in *CustomPolicyParameters) DeepCopy() *CustomPolicyParameters { if in == nil { return nil } - out := new(Custom_PolicyParameters) + out := new(CustomPolicyParameters) 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) { +func (in *CustomPolicySpec) DeepCopyInto(out *CustomPolicySpec) { *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 CustomPolicySpec. +func (in *CustomPolicySpec) DeepCopy() *CustomPolicySpec { if in == nil { return nil } - out := new(Custom_PolicySpec) + out := new(CustomPolicySpec) 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 *CustomPolicySpecObservation) DeepCopyInto(out *CustomPolicySpecObservation) { *out = *in if in.Input != nil { in, out := &in.Input, &out.Input @@ -4408,18 +4194,18 @@ func (in *Custom_PolicySpecObservation) DeepCopyInto(out *Custom_PolicySpecObser } } -// 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 CustomPolicySpecObservation. +func (in *CustomPolicySpecObservation) DeepCopy() *CustomPolicySpecObservation { if in == nil { return nil } - out := new(Custom_PolicySpecObservation) + out := new(CustomPolicySpecObservation) 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 *CustomPolicySpecParameters) DeepCopyInto(out *CustomPolicySpecParameters) { *out = *in if in.Input != nil { in, out := &in.Input, &out.Input @@ -4437,29 +4223,203 @@ func (in *Custom_PolicySpecParameters) DeepCopyInto(out *Custom_PolicySpecParame } } -// 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 CustomPolicySpecParameters. +func (in *CustomPolicySpecParameters) DeepCopy() *CustomPolicySpecParameters { + if in == nil { + return nil + } + out := new(CustomPolicySpecParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomPolicyStatus) DeepCopyInto(out *CustomPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomPolicyStatus. +func (in *CustomPolicyStatus) DeepCopy() *CustomPolicyStatus { + if in == nil { + return nil + } + out := new(CustomPolicyStatus) + 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) { + *out = *in + if in.Hostname != nil { + in, out := &in.Hostname, &out.Hostname + *out = new(string) + **out = **in + } + if in.Imagename != nil { + in, out := &in.Imagename, &out.Imagename + *out = new(string) + **out = **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([]RulesTagObservation, 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 { + if in == nil { + return nil + } + 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 *CustomRulesParameters) DeepCopyInto(out *CustomRulesParameters) { + *out = *in + if in.Hostname != nil { + in, out := &in.Hostname, &out.Hostname + *out = new(string) + **out = **in + } + if in.Imagename != nil { + in, out := &in.Imagename, &out.Imagename + *out = new(string) + **out = **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 CustomRulesParameters. +func (in *CustomRulesParameters) DeepCopy() *CustomRulesParameters { + if in == nil { + return nil + } + 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 *CustomSelectorObservation) DeepCopyInto(out *CustomSelectorObservation) { + *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 CustomSelectorObservation. +func (in *CustomSelectorObservation) DeepCopy() *CustomSelectorObservation { if in == nil { return nil } - 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 *Custom_PolicyStatus) DeepCopyInto(out *Custom_PolicyStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + 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 *CustomSelectorParameters) DeepCopyInto(out *CustomSelectorParameters) { + *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 Custom_PolicyStatus. -func (in *Custom_PolicyStatus) DeepCopy() *Custom_PolicyStatus { +// 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(Custom_PolicyStatus) + out := new(CustomSelectorParameters) in.DeepCopyInto(out) return out } @@ -5342,7 +5302,7 @@ func (in *GeneratedResourcesParameters) DeepCopy() *GeneratedResourcesParameters } // 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 *GitRepository) DeepCopyInto(out *GitRepository) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -5350,18 +5310,18 @@ func (in *Git_Repository) DeepCopyInto(out *Git_Repository) { in.Status.DeepCopyInto(&out.Status) } -// 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 GitRepository. +func (in *GitRepository) DeepCopy() *GitRepository { if in == nil { return nil } - out := new(Git_Repository) + out := new(GitRepository) 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 { +func (in *GitRepository) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -5369,31 +5329,31 @@ func (in *Git_Repository) DeepCopyObject() runtime.Object { } // 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 *GitRepositoryList) DeepCopyInto(out *GitRepositoryList) { *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)) + *out = make([]GitRepository, 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 GitRepositoryList. +func (in *GitRepositoryList) DeepCopy() *GitRepositoryList { if in == nil { return nil } - out := new(Git_RepositoryList) + out := new(GitRepositoryList) 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 { +func (in *GitRepositoryList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -5401,7 +5361,7 @@ func (in *Git_RepositoryList) DeepCopyObject() runtime.Object { } // 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 *GitRepositoryMetaObservation) DeepCopyInto(out *GitRepositoryMetaObservation) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -5450,18 +5410,18 @@ func (in *Git_RepositoryMetaObservation) DeepCopyInto(out *Git_RepositoryMetaObs } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositoryMetaObservation. -func (in *Git_RepositoryMetaObservation) DeepCopy() *Git_RepositoryMetaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepositoryMetaObservation. +func (in *GitRepositoryMetaObservation) DeepCopy() *GitRepositoryMetaObservation { if in == nil { return nil } - out := new(Git_RepositoryMetaObservation) + out := new(GitRepositoryMetaObservation) 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 *GitRepositoryMetaParameters) DeepCopyInto(out *GitRepositoryMetaParameters) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -5500,18 +5460,18 @@ 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 GitRepositoryMetaParameters. +func (in *GitRepositoryMetaParameters) DeepCopy() *GitRepositoryMetaParameters { if in == nil { return nil } - out := new(Git_RepositoryMetaParameters) + out := new(GitRepositoryMetaParameters) 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 *GitRepositoryObservation) DeepCopyInto(out *GitRepositoryObservation) { *out = *in if in.ID != nil { in, out := &in.ID, &out.ID @@ -5520,7 +5480,7 @@ func (in *Git_RepositoryObservation) DeepCopyInto(out *Git_RepositoryObservation } if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Git_RepositoryMetaObservation, len(*in)) + *out = make([]GitRepositoryMetaObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -5537,14 +5497,14 @@ func (in *Git_RepositoryObservation) DeepCopyInto(out *Git_RepositoryObservation } if in.Scope != nil { in, out := &in.Scope, &out.Scope - *out = make([]Git_RepositoryScopeObservation, len(*in)) + *out = make([]GitRepositoryScopeObservation, 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)) + *out = make([]GitRepositorySpecObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -5566,22 +5526,22 @@ func (in *Git_RepositoryObservation) DeepCopyInto(out *Git_RepositoryObservation } } -// 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 GitRepositoryObservation. +func (in *GitRepositoryObservation) DeepCopy() *GitRepositoryObservation { if in == nil { return nil } - out := new(Git_RepositoryObservation) + out := new(GitRepositoryObservation) 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 *GitRepositoryParameters) DeepCopyInto(out *GitRepositoryParameters) { *out = *in if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Git_RepositoryMetaParameters, len(*in)) + *out = make([]GitRepositoryMetaParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -5598,32 +5558,72 @@ func (in *Git_RepositoryParameters) DeepCopyInto(out *Git_RepositoryParameters) } if in.Scope != nil { in, out := &in.Scope, &out.Scope - *out = make([]Git_RepositoryScopeParameters, len(*in)) + *out = make([]GitRepositoryScopeParameters, 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)) + *out = make([]GitRepositorySpecParameters, 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 GitRepositoryParameters. +func (in *GitRepositoryParameters) DeepCopy() *GitRepositoryParameters { + if in == nil { + return nil + } + out := new(GitRepositoryParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GitRepositoryScopeClusterGroupObservation) DeepCopyInto(out *GitRepositoryScopeClusterGroupObservation) { + *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 GitRepositoryScopeClusterGroupObservation. +func (in *GitRepositoryScopeClusterGroupObservation) DeepCopy() *GitRepositoryScopeClusterGroupObservation { + if in == nil { + return nil + } + out := new(GitRepositoryScopeClusterGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GitRepositoryScopeClusterGroupParameters) DeepCopyInto(out *GitRepositoryScopeClusterGroupParameters) { + *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 GitRepositoryScopeClusterGroupParameters. +func (in *GitRepositoryScopeClusterGroupParameters) DeepCopy() *GitRepositoryScopeClusterGroupParameters { if in == nil { return nil } - out := new(Git_RepositoryParameters) + out := new(GitRepositoryScopeClusterGroupParameters) 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 *GitRepositoryScopeClusterObservation) DeepCopyInto(out *GitRepositoryScopeClusterObservation) { *out = *in if in.ManagementClusterName != nil { in, out := &in.ManagementClusterName, &out.ManagementClusterName @@ -5642,18 +5642,18 @@ func (in *Git_RepositoryScopeClusterObservation) DeepCopyInto(out *Git_Repositor } } -// 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 GitRepositoryScopeClusterObservation. +func (in *GitRepositoryScopeClusterObservation) DeepCopy() *GitRepositoryScopeClusterObservation { if in == nil { return nil } - out := new(Git_RepositoryScopeClusterObservation) + out := new(GitRepositoryScopeClusterObservation) 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 *GitRepositoryScopeClusterParameters) DeepCopyInto(out *GitRepositoryScopeClusterParameters) { *out = *in if in.ManagementClusterName != nil { in, out := &in.ManagementClusterName, &out.ManagementClusterName @@ -5672,93 +5672,93 @@ func (in *Git_RepositoryScopeClusterParameters) DeepCopyInto(out *Git_Repository } } -// 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 GitRepositoryScopeClusterParameters. +func (in *GitRepositoryScopeClusterParameters) DeepCopy() *GitRepositoryScopeClusterParameters { if in == nil { return nil } - out := new(Git_RepositoryScopeClusterParameters) + out := new(GitRepositoryScopeClusterParameters) 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 *GitRepositoryScopeObservation) DeepCopyInto(out *GitRepositoryScopeObservation) { *out = *in if in.Cluster != nil { in, out := &in.Cluster, &out.Cluster - *out = make([]Git_RepositoryScopeClusterObservation, len(*in)) + *out = make([]GitRepositoryScopeClusterObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.ClusterGroup != nil { in, out := &in.ClusterGroup, &out.ClusterGroup - *out = make([]ScopeClusterGroupObservation, len(*in)) + *out = make([]GitRepositoryScopeClusterGroupObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// 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 GitRepositoryScopeObservation. +func (in *GitRepositoryScopeObservation) DeepCopy() *GitRepositoryScopeObservation { if in == nil { return nil } - out := new(Git_RepositoryScopeObservation) + out := new(GitRepositoryScopeObservation) 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 *GitRepositoryScopeParameters) DeepCopyInto(out *GitRepositoryScopeParameters) { *out = *in if in.Cluster != nil { in, out := &in.Cluster, &out.Cluster - *out = make([]Git_RepositoryScopeClusterParameters, len(*in)) + *out = make([]GitRepositoryScopeClusterParameters, 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)) + *out = make([]GitRepositoryScopeClusterGroupParameters, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepositoryScopeParameters. +func (in *GitRepositoryScopeParameters) DeepCopy() *GitRepositoryScopeParameters { if in == nil { return nil } - out := new(Git_RepositoryScopeParameters) + out := new(GitRepositoryScopeParameters) 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) { +func (in *GitRepositorySpec) DeepCopyInto(out *GitRepositorySpec) { *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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepositorySpec. +func (in *GitRepositorySpec) DeepCopy() *GitRepositorySpec { if in == nil { return nil } - out := new(Git_RepositorySpec) + out := new(GitRepositorySpec) 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) { +func (in *GitRepositorySpecObservation) DeepCopyInto(out *GitRepositorySpecObservation) { *out = *in if in.GitImplementation != nil { in, out := &in.GitImplementation, &out.GitImplementation @@ -5789,18 +5789,18 @@ func (in *Git_RepositorySpecObservation) DeepCopyInto(out *Git_RepositorySpecObs } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositorySpecObservation. -func (in *Git_RepositorySpecObservation) DeepCopy() *Git_RepositorySpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepositorySpecObservation. +func (in *GitRepositorySpecObservation) DeepCopy() *GitRepositorySpecObservation { if in == nil { return nil } - out := new(Git_RepositorySpecObservation) + out := new(GitRepositorySpecObservation) 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) { +func (in *GitRepositorySpecParameters) DeepCopyInto(out *GitRepositorySpecParameters) { *out = *in if in.GitImplementation != nil { in, out := &in.GitImplementation, &out.GitImplementation @@ -5831,29 +5831,29 @@ func (in *Git_RepositorySpecParameters) DeepCopyInto(out *Git_RepositorySpecPara } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git_RepositorySpecParameters. -func (in *Git_RepositorySpecParameters) DeepCopy() *Git_RepositorySpecParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepositorySpecParameters. +func (in *GitRepositorySpecParameters) DeepCopy() *GitRepositorySpecParameters { if in == nil { return nil } - out := new(Git_RepositorySpecParameters) + out := new(GitRepositorySpecParameters) 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) { +func (in *GitRepositoryStatus) DeepCopyInto(out *GitRepositoryStatus) { *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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepositoryStatus. +func (in *GitRepositoryStatus) DeepCopy() *GitRepositoryStatus { if in == nil { return nil } - out := new(Git_RepositoryStatus) + out := new(GitRepositoryStatus) in.DeepCopyInto(out) return out } @@ -5971,7 +5971,7 @@ func (in *IPBlockParameters) DeepCopy() *IPBlockParameters { } // 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 *IamPolicy) DeepCopyInto(out *IamPolicy) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -5979,18 +5979,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 IamPolicy. +func (in *IamPolicy) DeepCopy() *IamPolicy { if in == nil { return nil } - out := new(Iam_Policy) + out := new(IamPolicy) 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 *IamPolicy) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -5998,31 +5998,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 *IamPolicyList) DeepCopyInto(out *IamPolicyList) { *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([]IamPolicy, 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 IamPolicyList. +func (in *IamPolicyList) DeepCopy() *IamPolicyList { if in == nil { return nil } - out := new(Iam_PolicyList) + out := new(IamPolicyList) 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 *IamPolicyList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -6030,7 +6030,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 *IamPolicyMetaObservation) DeepCopyInto(out *IamPolicyMetaObservation) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -6079,18 +6079,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 IamPolicyMetaObservation. +func (in *IamPolicyMetaObservation) DeepCopy() *IamPolicyMetaObservation { if in == nil { return nil } - out := new(Iam_PolicyMetaObservation) + out := new(IamPolicyMetaObservation) 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 *IamPolicyMetaParameters) DeepCopyInto(out *IamPolicyMetaParameters) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -6129,18 +6129,18 @@ 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 IamPolicyMetaParameters. +func (in *IamPolicyMetaParameters) DeepCopy() *IamPolicyMetaParameters { if in == nil { return nil } - out := new(Iam_PolicyMetaParameters) + out := new(IamPolicyMetaParameters) 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 *IamPolicyObservation) DeepCopyInto(out *IamPolicyObservation) { *out = *in if in.ID != nil { in, out := &in.ID, &out.ID @@ -6149,7 +6149,7 @@ 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([]IamPolicyMetaObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -6163,29 +6163,29 @@ func (in *Iam_PolicyObservation) DeepCopyInto(out *Iam_PolicyObservation) { } if in.Scope != nil { in, out := &in.Scope, &out.Scope - *out = make([]Iam_PolicyScopeObservation, len(*in)) + *out = make([]IamPolicyScopeObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// 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 IamPolicyObservation. +func (in *IamPolicyObservation) DeepCopy() *IamPolicyObservation { if in == nil { return nil } - out := new(Iam_PolicyObservation) + out := new(IamPolicyObservation) 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 *IamPolicyParameters) DeepCopyInto(out *IamPolicyParameters) { *out = *in if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Iam_PolicyMetaParameters, len(*in)) + *out = make([]IamPolicyMetaParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -6199,25 +6199,25 @@ func (in *Iam_PolicyParameters) DeepCopyInto(out *Iam_PolicyParameters) { } if in.Scope != nil { in, out := &in.Scope, &out.Scope - *out = make([]Iam_PolicyScopeParameters, len(*in)) + *out = make([]IamPolicyScopeParameters, 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 IamPolicyParameters. +func (in *IamPolicyParameters) DeepCopy() *IamPolicyParameters { if in == nil { return nil } - out := new(Iam_PolicyParameters) + out := new(IamPolicyParameters) 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 *IamPolicyScopeClusterGroupObservation) DeepCopyInto(out *IamPolicyScopeClusterGroupObservation) { *out = *in if in.Name != nil { in, out := &in.Name, &out.Name @@ -6226,18 +6226,18 @@ func (in *Iam_PolicyScopeClusterGroupObservation) DeepCopyInto(out *Iam_PolicySc } } -// 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 IamPolicyScopeClusterGroupObservation. +func (in *IamPolicyScopeClusterGroupObservation) DeepCopy() *IamPolicyScopeClusterGroupObservation { if in == nil { return nil } - out := new(Iam_PolicyScopeClusterGroupObservation) + out := new(IamPolicyScopeClusterGroupObservation) 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 *IamPolicyScopeClusterGroupParameters) DeepCopyInto(out *IamPolicyScopeClusterGroupParameters) { *out = *in if in.Name != nil { in, out := &in.Name, &out.Name @@ -6246,18 +6246,18 @@ func (in *Iam_PolicyScopeClusterGroupParameters) DeepCopyInto(out *Iam_PolicySco } } -// 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 IamPolicyScopeClusterGroupParameters. +func (in *IamPolicyScopeClusterGroupParameters) DeepCopy() *IamPolicyScopeClusterGroupParameters { if in == nil { return nil } - out := new(Iam_PolicyScopeClusterGroupParameters) + out := new(IamPolicyScopeClusterGroupParameters) 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 *IamPolicyScopeClusterObservation) DeepCopyInto(out *IamPolicyScopeClusterObservation) { *out = *in if in.ManagementClusterName != nil { in, out := &in.ManagementClusterName, &out.ManagementClusterName @@ -6276,18 +6276,18 @@ func (in *Iam_PolicyScopeClusterObservation) DeepCopyInto(out *Iam_PolicyScopeCl } } -// 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 IamPolicyScopeClusterObservation. +func (in *IamPolicyScopeClusterObservation) DeepCopy() *IamPolicyScopeClusterObservation { if in == nil { return nil } - out := new(Iam_PolicyScopeClusterObservation) + out := new(IamPolicyScopeClusterObservation) 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 *IamPolicyScopeClusterParameters) DeepCopyInto(out *IamPolicyScopeClusterParameters) { *out = *in if in.ManagementClusterName != nil { in, out := &in.ManagementClusterName, &out.ManagementClusterName @@ -6306,29 +6306,29 @@ func (in *Iam_PolicyScopeClusterParameters) DeepCopyInto(out *Iam_PolicyScopeClu } } -// 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 IamPolicyScopeClusterParameters. +func (in *IamPolicyScopeClusterParameters) DeepCopy() *IamPolicyScopeClusterParameters { if in == nil { return nil } - out := new(Iam_PolicyScopeClusterParameters) + out := new(IamPolicyScopeClusterParameters) 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 *IamPolicyScopeObservation) DeepCopyInto(out *IamPolicyScopeObservation) { *out = *in if in.Cluster != nil { in, out := &in.Cluster, &out.Cluster - *out = make([]Iam_PolicyScopeClusterObservation, len(*in)) + *out = make([]IamPolicyScopeClusterObservation, 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)) + *out = make([]IamPolicyScopeClusterGroupObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -6349,36 +6349,36 @@ func (in *Iam_PolicyScopeObservation) DeepCopyInto(out *Iam_PolicyScopeObservati } if in.Workspace != nil { in, out := &in.Workspace, &out.Workspace - *out = make([]Iam_PolicyScopeWorkspaceObservation, len(*in)) + *out = make([]IamPolicyScopeWorkspaceObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// 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 IamPolicyScopeObservation. +func (in *IamPolicyScopeObservation) DeepCopy() *IamPolicyScopeObservation { if in == nil { return nil } - out := new(Iam_PolicyScopeObservation) + out := new(IamPolicyScopeObservation) 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 *IamPolicyScopeParameters) DeepCopyInto(out *IamPolicyScopeParameters) { *out = *in if in.Cluster != nil { in, out := &in.Cluster, &out.Cluster - *out = make([]Iam_PolicyScopeClusterParameters, len(*in)) + *out = make([]IamPolicyScopeClusterParameters, 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)) + *out = make([]IamPolicyScopeClusterGroupParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -6399,25 +6399,25 @@ func (in *Iam_PolicyScopeParameters) DeepCopyInto(out *Iam_PolicyScopeParameters } if in.Workspace != nil { in, out := &in.Workspace, &out.Workspace - *out = make([]Iam_PolicyScopeWorkspaceParameters, len(*in)) + *out = make([]IamPolicyScopeWorkspaceParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// 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 IamPolicyScopeParameters. +func (in *IamPolicyScopeParameters) DeepCopy() *IamPolicyScopeParameters { if in == nil { return nil } - out := new(Iam_PolicyScopeParameters) + out := new(IamPolicyScopeParameters) 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 *IamPolicyScopeWorkspaceObservation) DeepCopyInto(out *IamPolicyScopeWorkspaceObservation) { *out = *in if in.Name != nil { in, out := &in.Name, &out.Name @@ -6426,18 +6426,18 @@ func (in *Iam_PolicyScopeWorkspaceObservation) DeepCopyInto(out *Iam_PolicyScope } } -// 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 IamPolicyScopeWorkspaceObservation. +func (in *IamPolicyScopeWorkspaceObservation) DeepCopy() *IamPolicyScopeWorkspaceObservation { if in == nil { return nil } - out := new(Iam_PolicyScopeWorkspaceObservation) + out := new(IamPolicyScopeWorkspaceObservation) 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 *IamPolicyScopeWorkspaceParameters) DeepCopyInto(out *IamPolicyScopeWorkspaceParameters) { *out = *in if in.Name != nil { in, out := &in.Name, &out.Name @@ -6446,52 +6446,52 @@ func (in *Iam_PolicyScopeWorkspaceParameters) DeepCopyInto(out *Iam_PolicyScopeW } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Iam_PolicyScopeWorkspaceParameters. -func (in *Iam_PolicyScopeWorkspaceParameters) DeepCopy() *Iam_PolicyScopeWorkspaceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IamPolicyScopeWorkspaceParameters. +func (in *IamPolicyScopeWorkspaceParameters) DeepCopy() *IamPolicyScopeWorkspaceParameters { if in == nil { return nil } - out := new(Iam_PolicyScopeWorkspaceParameters) + out := new(IamPolicyScopeWorkspaceParameters) 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) { +func (in *IamPolicySpec) DeepCopyInto(out *IamPolicySpec) { *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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IamPolicySpec. +func (in *IamPolicySpec) DeepCopy() *IamPolicySpec { if in == nil { return nil } - out := new(Iam_PolicySpec) + out := new(IamPolicySpec) 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) { +func (in *IamPolicyStatus) DeepCopyInto(out *IamPolicyStatus) { *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 IamPolicyStatus. +func (in *IamPolicyStatus) DeepCopy() *IamPolicyStatus { if in == nil { return nil } - out := new(Iam_PolicyStatus) + out := new(IamPolicyStatus) 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 *ImagePolicy) DeepCopyInto(out *ImagePolicy) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -6499,18 +6499,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 ImagePolicy. +func (in *ImagePolicy) DeepCopy() *ImagePolicy { if in == nil { return nil } - out := new(Image_Policy) + out := new(ImagePolicy) 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 *ImagePolicy) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -6518,31 +6518,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 *ImagePolicyList) DeepCopyInto(out *ImagePolicyList) { *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([]ImagePolicy, 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 ImagePolicyList. +func (in *ImagePolicyList) DeepCopy() *ImagePolicyList { if in == nil { return nil } - out := new(Image_PolicyList) + out := new(ImagePolicyList) 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 *ImagePolicyList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -6550,7 +6550,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 *ImagePolicyMetaObservation) DeepCopyInto(out *ImagePolicyMetaObservation) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -6599,18 +6599,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 ImagePolicyMetaObservation. +func (in *ImagePolicyMetaObservation) DeepCopy() *ImagePolicyMetaObservation { if in == nil { return nil } - out := new(Image_PolicyMetaObservation) + out := new(ImagePolicyMetaObservation) 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 *ImagePolicyMetaParameters) DeepCopyInto(out *ImagePolicyMetaParameters) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -6649,18 +6649,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 ImagePolicyMetaParameters. +func (in *ImagePolicyMetaParameters) DeepCopy() *ImagePolicyMetaParameters { if in == nil { return nil } - out := new(Image_PolicyMetaParameters) + out := new(ImagePolicyMetaParameters) 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 *ImagePolicyObservation) DeepCopyInto(out *ImagePolicyObservation) { *out = *in if in.ID != nil { in, out := &in.ID, &out.ID @@ -6669,7 +6669,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([]ImagePolicyMetaObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -6681,36 +6681,36 @@ func (in *Image_PolicyObservation) DeepCopyInto(out *Image_PolicyObservation) { } if in.Scope != nil { in, out := &in.Scope, &out.Scope - *out = make([]Image_PolicyScopeObservation, len(*in)) + *out = make([]ImagePolicyScopeObservation, 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([]ImagePolicySpecObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// 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 ImagePolicyObservation. +func (in *ImagePolicyObservation) DeepCopy() *ImagePolicyObservation { if in == nil { return nil } - out := new(Image_PolicyObservation) + out := new(ImagePolicyObservation) 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 *ImagePolicyParameters) DeepCopyInto(out *ImagePolicyParameters) { *out = *in if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Image_PolicyMetaParameters, len(*in)) + *out = make([]ImagePolicyMetaParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -6722,32 +6722,32 @@ func (in *Image_PolicyParameters) DeepCopyInto(out *Image_PolicyParameters) { } if in.Scope != nil { in, out := &in.Scope, &out.Scope - *out = make([]Image_PolicyScopeParameters, len(*in)) + *out = make([]ImagePolicyScopeParameters, 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([]ImagePolicySpecParameters, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePolicyParameters. +func (in *ImagePolicyParameters) DeepCopy() *ImagePolicyParameters { if in == nil { return nil } - out := new(Image_PolicyParameters) + out := new(ImagePolicyParameters) 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) { +func (in *ImagePolicyScopeClusterGroupObservation) DeepCopyInto(out *ImagePolicyScopeClusterGroupObservation) { *out = *in if in.ClusterGroup != nil { in, out := &in.ClusterGroup, &out.ClusterGroup @@ -6756,18 +6756,18 @@ func (in *Image_PolicyScopeClusterGroupObservation) DeepCopyInto(out *Image_Poli } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image_PolicyScopeClusterGroupObservation. -func (in *Image_PolicyScopeClusterGroupObservation) DeepCopy() *Image_PolicyScopeClusterGroupObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePolicyScopeClusterGroupObservation. +func (in *ImagePolicyScopeClusterGroupObservation) DeepCopy() *ImagePolicyScopeClusterGroupObservation { if in == nil { return nil } - out := new(Image_PolicyScopeClusterGroupObservation) + out := new(ImagePolicyScopeClusterGroupObservation) 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) { +func (in *ImagePolicyScopeClusterGroupParameters) DeepCopyInto(out *ImagePolicyScopeClusterGroupParameters) { *out = *in if in.ClusterGroup != nil { in, out := &in.ClusterGroup, &out.ClusterGroup @@ -6776,18 +6776,18 @@ func (in *Image_PolicyScopeClusterGroupParameters) DeepCopyInto(out *Image_Polic } } -// 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 ImagePolicyScopeClusterGroupParameters. +func (in *ImagePolicyScopeClusterGroupParameters) DeepCopy() *ImagePolicyScopeClusterGroupParameters { if in == nil { return nil } - out := new(Image_PolicyScopeClusterGroupParameters) + out := new(ImagePolicyScopeClusterGroupParameters) 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 *ImagePolicyScopeClusterObservation) DeepCopyInto(out *ImagePolicyScopeClusterObservation) { *out = *in if in.ManagementClusterName != nil { in, out := &in.ManagementClusterName, &out.ManagementClusterName @@ -6806,18 +6806,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 ImagePolicyScopeClusterObservation. +func (in *ImagePolicyScopeClusterObservation) DeepCopy() *ImagePolicyScopeClusterObservation { if in == nil { return nil } - out := new(Image_PolicyScopeClusterObservation) + out := new(ImagePolicyScopeClusterObservation) 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 *ImagePolicyScopeClusterParameters) DeepCopyInto(out *ImagePolicyScopeClusterParameters) { *out = *in if in.ManagementClusterName != nil { in, out := &in.ManagementClusterName, &out.ManagementClusterName @@ -6836,61 +6836,61 @@ 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 ImagePolicyScopeClusterParameters. +func (in *ImagePolicyScopeClusterParameters) DeepCopy() *ImagePolicyScopeClusterParameters { if in == nil { return nil } - out := new(Image_PolicyScopeClusterParameters) + out := new(ImagePolicyScopeClusterParameters) 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 *ImagePolicyScopeObservation) DeepCopyInto(out *ImagePolicyScopeObservation) { *out = *in if in.Cluster != nil { in, out := &in.Cluster, &out.Cluster - *out = make([]Image_PolicyScopeClusterObservation, len(*in)) + *out = make([]ImagePolicyScopeClusterObservation, 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)) + *out = make([]ImagePolicyScopeClusterGroupObservation, 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)) + *out = make([]ImagePolicyScopeOrganizationObservation, 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([]ImagePolicyScopeWorkspaceObservation, 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 ImagePolicyScopeObservation. +func (in *ImagePolicyScopeObservation) DeepCopy() *ImagePolicyScopeObservation { if in == nil { return nil } - out := new(Image_PolicyScopeObservation) + out := new(ImagePolicyScopeObservation) 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 *ImagePolicyScopeOrganizationObservation) DeepCopyInto(out *ImagePolicyScopeOrganizationObservation) { *out = *in if in.Organization != nil { in, out := &in.Organization, &out.Organization @@ -6899,18 +6899,18 @@ func (in *Image_PolicyScopeOrganizationObservation) DeepCopyInto(out *Image_Poli } } -// 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 ImagePolicyScopeOrganizationObservation. +func (in *ImagePolicyScopeOrganizationObservation) DeepCopy() *ImagePolicyScopeOrganizationObservation { if in == nil { return nil } - out := new(Image_PolicyScopeOrganizationObservation) + out := new(ImagePolicyScopeOrganizationObservation) 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 *ImagePolicyScopeOrganizationParameters) DeepCopyInto(out *ImagePolicyScopeOrganizationParameters) { *out = *in if in.Organization != nil { in, out := &in.Organization, &out.Organization @@ -6919,61 +6919,61 @@ func (in *Image_PolicyScopeOrganizationParameters) DeepCopyInto(out *Image_Polic } } -// 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 ImagePolicyScopeOrganizationParameters. +func (in *ImagePolicyScopeOrganizationParameters) DeepCopy() *ImagePolicyScopeOrganizationParameters { if in == nil { return nil } - out := new(Image_PolicyScopeOrganizationParameters) + out := new(ImagePolicyScopeOrganizationParameters) 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 *ImagePolicyScopeParameters) DeepCopyInto(out *ImagePolicyScopeParameters) { *out = *in if in.Cluster != nil { in, out := &in.Cluster, &out.Cluster - *out = make([]Image_PolicyScopeClusterParameters, len(*in)) + *out = make([]ImagePolicyScopeClusterParameters, 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)) + *out = make([]ImagePolicyScopeClusterGroupParameters, 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)) + *out = make([]ImagePolicyScopeOrganizationParameters, 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)) + *out = make([]ImagePolicyScopeWorkspaceParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// 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 ImagePolicyScopeParameters. +func (in *ImagePolicyScopeParameters) DeepCopy() *ImagePolicyScopeParameters { if in == nil { return nil } - out := new(Image_PolicyScopeParameters) + out := new(ImagePolicyScopeParameters) 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 *ImagePolicyScopeWorkspaceObservation) DeepCopyInto(out *ImagePolicyScopeWorkspaceObservation) { *out = *in if in.Workspace != nil { in, out := &in.Workspace, &out.Workspace @@ -6982,18 +6982,18 @@ func (in *Image_PolicyScopeWorkspaceObservation) DeepCopyInto(out *Image_PolicyS } } -// 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 ImagePolicyScopeWorkspaceObservation. +func (in *ImagePolicyScopeWorkspaceObservation) DeepCopy() *ImagePolicyScopeWorkspaceObservation { if in == nil { return nil } - out := new(Image_PolicyScopeWorkspaceObservation) + out := new(ImagePolicyScopeWorkspaceObservation) 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 *ImagePolicyScopeWorkspaceParameters) DeepCopyInto(out *ImagePolicyScopeWorkspaceParameters) { *out = *in if in.Workspace != nil { in, out := &in.Workspace, &out.Workspace @@ -7002,35 +7002,35 @@ func (in *Image_PolicyScopeWorkspaceParameters) DeepCopyInto(out *Image_PolicySc } } -// 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 ImagePolicyScopeWorkspaceParameters. +func (in *ImagePolicyScopeWorkspaceParameters) DeepCopy() *ImagePolicyScopeWorkspaceParameters { if in == nil { return nil } - out := new(Image_PolicyScopeWorkspaceParameters) + out := new(ImagePolicyScopeWorkspaceParameters) 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 *ImagePolicySpec) DeepCopyInto(out *ImagePolicySpec) { *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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePolicySpec. +func (in *ImagePolicySpec) DeepCopy() *ImagePolicySpec { if in == nil { return nil } - out := new(Image_PolicySpec) + out := new(ImagePolicySpec) 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 *ImagePolicySpecObservation) DeepCopyInto(out *ImagePolicySpecObservation) { *out = *in if in.Input != nil { in, out := &in.Input, &out.Input @@ -7048,18 +7048,18 @@ func (in *Image_PolicySpecObservation) DeepCopyInto(out *Image_PolicySpecObserva } } -// 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 ImagePolicySpecObservation. +func (in *ImagePolicySpecObservation) DeepCopy() *ImagePolicySpecObservation { if in == nil { return nil } - out := new(Image_PolicySpecObservation) + out := new(ImagePolicySpecObservation) 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 *ImagePolicySpecParameters) DeepCopyInto(out *ImagePolicySpecParameters) { *out = *in if in.Input != nil { in, out := &in.Input, &out.Input @@ -7077,29 +7077,29 @@ func (in *Image_PolicySpecParameters) DeepCopyInto(out *Image_PolicySpecParamete } } -// 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 ImagePolicySpecParameters. +func (in *ImagePolicySpecParameters) DeepCopy() *ImagePolicySpecParameters { if in == nil { return nil } - out := new(Image_PolicySpecParameters) + out := new(ImagePolicySpecParameters) 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 *ImagePolicyStatus) DeepCopyInto(out *ImagePolicyStatus) { *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_PolicyStatus. -func (in *Image_PolicyStatus) DeepCopy() *Image_PolicyStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePolicyStatus. +func (in *ImagePolicyStatus) DeepCopy() *ImagePolicyStatus { if in == nil { return nil } - out := new(Image_PolicyStatus) + out := new(ImagePolicyStatus) in.DeepCopyInto(out) return out } @@ -7960,7 +7960,7 @@ func (in *KubernetesNetworkConfigParameters) DeepCopy() *KubernetesNetworkConfig } // 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 *KubernetesSecret) DeepCopyInto(out *KubernetesSecret) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -7968,18 +7968,18 @@ func (in *Kubernetes_Secret) DeepCopyInto(out *Kubernetes_Secret) { in.Status.DeepCopyInto(&out.Status) } -// 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 KubernetesSecret. +func (in *KubernetesSecret) DeepCopy() *KubernetesSecret { if in == nil { return nil } - out := new(Kubernetes_Secret) + out := new(KubernetesSecret) 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 { +func (in *KubernetesSecret) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -7987,31 +7987,31 @@ func (in *Kubernetes_Secret) DeepCopyObject() runtime.Object { } // 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 *KubernetesSecretList) DeepCopyInto(out *KubernetesSecretList) { *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([]KubernetesSecret, 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 KubernetesSecretList. +func (in *KubernetesSecretList) DeepCopy() *KubernetesSecretList { if in == nil { return nil } - out := new(Kubernetes_SecretList) + out := new(KubernetesSecretList) 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 *KubernetesSecretList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -8019,7 +8019,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 *KubernetesSecretMetaObservation) DeepCopyInto(out *KubernetesSecretMetaObservation) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -8068,18 +8068,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 KubernetesSecretMetaObservation. +func (in *KubernetesSecretMetaObservation) DeepCopy() *KubernetesSecretMetaObservation { if in == nil { return nil } - out := new(Kubernetes_SecretMetaObservation) + out := new(KubernetesSecretMetaObservation) 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 *KubernetesSecretMetaParameters) DeepCopyInto(out *KubernetesSecretMetaParameters) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -8118,18 +8118,18 @@ 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 KubernetesSecretMetaParameters. +func (in *KubernetesSecretMetaParameters) DeepCopy() *KubernetesSecretMetaParameters { if in == nil { return nil } - out := new(Kubernetes_SecretMetaParameters) + out := new(KubernetesSecretMetaParameters) 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 *KubernetesSecretObservation) DeepCopyInto(out *KubernetesSecretObservation) { *out = *in if in.Export != nil { in, out := &in.Export, &out.Export @@ -8143,7 +8143,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([]KubernetesSecretMetaObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -8165,14 +8165,14 @@ func (in *Kubernetes_SecretObservation) DeepCopyInto(out *Kubernetes_SecretObser } if in.Scope != nil { in, out := &in.Scope, &out.Scope - *out = make([]Kubernetes_SecretScopeObservation, len(*in)) + *out = make([]KubernetesSecretScopeObservation, 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([]KubernetesSecretSpecObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -8194,18 +8194,18 @@ func (in *Kubernetes_SecretObservation) DeepCopyInto(out *Kubernetes_SecretObser } } -// 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 KubernetesSecretObservation. +func (in *KubernetesSecretObservation) DeepCopy() *KubernetesSecretObservation { if in == nil { return nil } - out := new(Kubernetes_SecretObservation) + out := new(KubernetesSecretObservation) 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 *KubernetesSecretParameters) DeepCopyInto(out *KubernetesSecretParameters) { *out = *in if in.Export != nil { in, out := &in.Export, &out.Export @@ -8214,7 +8214,7 @@ func (in *Kubernetes_SecretParameters) DeepCopyInto(out *Kubernetes_SecretParame } if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Kubernetes_SecretMetaParameters, len(*in)) + *out = make([]KubernetesSecretMetaParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -8236,32 +8236,32 @@ func (in *Kubernetes_SecretParameters) DeepCopyInto(out *Kubernetes_SecretParame } if in.Scope != nil { in, out := &in.Scope, &out.Scope - *out = make([]Kubernetes_SecretScopeParameters, len(*in)) + *out = make([]KubernetesSecretScopeParameters, 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([]KubernetesSecretSpecParameters, 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 KubernetesSecretParameters. +func (in *KubernetesSecretParameters) DeepCopy() *KubernetesSecretParameters { if in == nil { return nil } - out := new(Kubernetes_SecretParameters) + out := new(KubernetesSecretParameters) 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 *KubernetesSecretScopeClusterObservation) DeepCopyInto(out *KubernetesSecretScopeClusterObservation) { *out = *in if in.ClusterName != nil { in, out := &in.ClusterName, &out.ClusterName @@ -8280,18 +8280,18 @@ func (in *Kubernetes_SecretScopeClusterObservation) DeepCopyInto(out *Kubernetes } } -// 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 KubernetesSecretScopeClusterObservation. +func (in *KubernetesSecretScopeClusterObservation) DeepCopy() *KubernetesSecretScopeClusterObservation { if in == nil { return nil } - out := new(Kubernetes_SecretScopeClusterObservation) + out := new(KubernetesSecretScopeClusterObservation) 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 *KubernetesSecretScopeClusterParameters) DeepCopyInto(out *KubernetesSecretScopeClusterParameters) { *out = *in if in.ClusterName != nil { in, out := &in.ClusterName, &out.ClusterName @@ -8310,79 +8310,79 @@ 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 KubernetesSecretScopeClusterParameters. +func (in *KubernetesSecretScopeClusterParameters) DeepCopy() *KubernetesSecretScopeClusterParameters { if in == nil { return nil } - out := new(Kubernetes_SecretScopeClusterParameters) + out := new(KubernetesSecretScopeClusterParameters) 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 *KubernetesSecretScopeObservation) DeepCopyInto(out *KubernetesSecretScopeObservation) { *out = *in if in.Cluster != nil { in, out := &in.Cluster, &out.Cluster - *out = make([]Kubernetes_SecretScopeClusterObservation, len(*in)) + *out = make([]KubernetesSecretScopeClusterObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// 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 KubernetesSecretScopeObservation. +func (in *KubernetesSecretScopeObservation) DeepCopy() *KubernetesSecretScopeObservation { if in == nil { return nil } - out := new(Kubernetes_SecretScopeObservation) + out := new(KubernetesSecretScopeObservation) 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 *KubernetesSecretScopeParameters) DeepCopyInto(out *KubernetesSecretScopeParameters) { *out = *in if in.Cluster != nil { in, out := &in.Cluster, &out.Cluster - *out = make([]Kubernetes_SecretScopeClusterParameters, len(*in)) + *out = make([]KubernetesSecretScopeClusterParameters, 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 KubernetesSecretScopeParameters. +func (in *KubernetesSecretScopeParameters) DeepCopy() *KubernetesSecretScopeParameters { if in == nil { return nil } - out := new(Kubernetes_SecretScopeParameters) + out := new(KubernetesSecretScopeParameters) 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 *KubernetesSecretSpec) DeepCopyInto(out *KubernetesSecretSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) } -// 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 KubernetesSecretSpec. +func (in *KubernetesSecretSpec) DeepCopy() *KubernetesSecretSpec { if in == nil { return nil } - out := new(Kubernetes_SecretSpec) + out := new(KubernetesSecretSpec) 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 *KubernetesSecretSpecObservation) DeepCopyInto(out *KubernetesSecretSpecObservation) { *out = *in if in.DockerConfigJSON != nil { in, out := &in.DockerConfigJSON, &out.DockerConfigJSON @@ -8393,18 +8393,18 @@ func (in *Kubernetes_SecretSpecObservation) DeepCopyInto(out *Kubernetes_SecretS } } -// 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 KubernetesSecretSpecObservation. +func (in *KubernetesSecretSpecObservation) DeepCopy() *KubernetesSecretSpecObservation { if in == nil { return nil } - out := new(Kubernetes_SecretSpecObservation) + out := new(KubernetesSecretSpecObservation) 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 *KubernetesSecretSpecParameters) DeepCopyInto(out *KubernetesSecretSpecParameters) { *out = *in if in.DockerConfigJSON != nil { in, out := &in.DockerConfigJSON, &out.DockerConfigJSON @@ -8415,29 +8415,29 @@ func (in *Kubernetes_SecretSpecParameters) DeepCopyInto(out *Kubernetes_SecretSp } } -// 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 KubernetesSecretSpecParameters. +func (in *KubernetesSecretSpecParameters) DeepCopy() *KubernetesSecretSpecParameters { if in == nil { return nil } - out := new(Kubernetes_SecretSpecParameters) + out := new(KubernetesSecretSpecParameters) 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 *KubernetesSecretStatus) DeepCopyInto(out *KubernetesSecretStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// 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 KubernetesSecretStatus. +func (in *KubernetesSecretStatus) DeepCopy() *KubernetesSecretStatus { if in == nil { return nil } - out := new(Kubernetes_SecretStatus) + out := new(KubernetesSecretStatus) in.DeepCopyInto(out) return out } @@ -9907,275 +9907,75 @@ func (in *NamespaceParameters) DeepCopyInto(out *NamespaceParameters) { 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 + } + 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 NamespaceSpecObservation. -func (in *NamespaceSpecObservation) DeepCopy() *NamespaceSpecObservation { +// 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(NamespaceSpecObservation) + 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 *NamespaceSpecParameters) DeepCopyInto(out *NamespaceSpecParameters) { +func (in *NamespaceParameters_2) DeepCopyInto(out *NamespaceParameters_2) { *out = *in - if in.Attach != nil { - in, out := &in.Attach, &out.Attach - *out = new(bool) + if in.ClusterName != nil { + in, out := &in.ClusterName, &out.ClusterName + *out = new(string) **out = **in } - if in.WorkspaceName != nil { - in, out := &in.WorkspaceName, &out.WorkspaceName + 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 NamespaceSpecParameters. -func (in *NamespaceSpecParameters) DeepCopy() *NamespaceSpecParameters { - if in == nil { - return nil + 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]) + } } - 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 { +// 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(NamespaceStatus) + 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 *Namespace_Quota_Policy) DeepCopyInto(out *Namespace_Quota_Policy) { +func (in *NamespaceQuotaPolicy) DeepCopyInto(out *NamespaceQuotaPolicy) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -10183,18 +9983,18 @@ func (in *Namespace_Quota_Policy) DeepCopyInto(out *Namespace_Quota_Policy) { 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceQuotaPolicy. +func (in *NamespaceQuotaPolicy) DeepCopy() *NamespaceQuotaPolicy { if in == nil { return nil } - out := new(Namespace_Quota_Policy) + out := new(NamespaceQuotaPolicy) 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 { +func (in *NamespaceQuotaPolicy) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -10202,31 +10002,31 @@ func (in *Namespace_Quota_Policy) DeepCopyObject() runtime.Object { } // 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) { +func (in *NamespaceQuotaPolicyList) DeepCopyInto(out *NamespaceQuotaPolicyList) { *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)) + *out = make([]NamespaceQuotaPolicy, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceQuotaPolicyList. +func (in *NamespaceQuotaPolicyList) DeepCopy() *NamespaceQuotaPolicyList { if in == nil { return nil } - out := new(Namespace_Quota_PolicyList) + out := new(NamespaceQuotaPolicyList) 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 { +func (in *NamespaceQuotaPolicyList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -10234,7 +10034,7 @@ func (in *Namespace_Quota_PolicyList) DeepCopyObject() runtime.Object { } // 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) { +func (in *NamespaceQuotaPolicyMetaObservation) DeepCopyInto(out *NamespaceQuotaPolicyMetaObservation) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -10283,18 +10083,18 @@ func (in *Namespace_Quota_PolicyMetaObservation) DeepCopyInto(out *Namespace_Quo } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyMetaObservation. -func (in *Namespace_Quota_PolicyMetaObservation) DeepCopy() *Namespace_Quota_PolicyMetaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceQuotaPolicyMetaObservation. +func (in *NamespaceQuotaPolicyMetaObservation) DeepCopy() *NamespaceQuotaPolicyMetaObservation { if in == nil { return nil } - out := new(Namespace_Quota_PolicyMetaObservation) + out := new(NamespaceQuotaPolicyMetaObservation) 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) { +func (in *NamespaceQuotaPolicyMetaParameters) DeepCopyInto(out *NamespaceQuotaPolicyMetaParameters) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -10333,18 +10133,18 @@ func (in *Namespace_Quota_PolicyMetaParameters) DeepCopyInto(out *Namespace_Quot } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyMetaParameters. -func (in *Namespace_Quota_PolicyMetaParameters) DeepCopy() *Namespace_Quota_PolicyMetaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceQuotaPolicyMetaParameters. +func (in *NamespaceQuotaPolicyMetaParameters) DeepCopy() *NamespaceQuotaPolicyMetaParameters { if in == nil { return nil } - out := new(Namespace_Quota_PolicyMetaParameters) + out := new(NamespaceQuotaPolicyMetaParameters) 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) { +func (in *NamespaceQuotaPolicyObservation) DeepCopyInto(out *NamespaceQuotaPolicyObservation) { *out = *in if in.ID != nil { in, out := &in.ID, &out.ID @@ -10353,7 +10153,7 @@ func (in *Namespace_Quota_PolicyObservation) DeepCopyInto(out *Namespace_Quota_P } if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Namespace_Quota_PolicyMetaObservation, len(*in)) + *out = make([]NamespaceQuotaPolicyMetaObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -10365,36 +10165,36 @@ func (in *Namespace_Quota_PolicyObservation) DeepCopyInto(out *Namespace_Quota_P } if in.Scope != nil { in, out := &in.Scope, &out.Scope - *out = make([]Namespace_Quota_PolicyScopeObservation, len(*in)) + *out = make([]NamespaceQuotaPolicyScopeObservation, 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)) + *out = make([]NamespaceQuotaPolicySpecObservation, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceQuotaPolicyObservation. +func (in *NamespaceQuotaPolicyObservation) DeepCopy() *NamespaceQuotaPolicyObservation { if in == nil { return nil } - out := new(Namespace_Quota_PolicyObservation) + out := new(NamespaceQuotaPolicyObservation) 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) { +func (in *NamespaceQuotaPolicyParameters) DeepCopyInto(out *NamespaceQuotaPolicyParameters) { *out = *in if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Namespace_Quota_PolicyMetaParameters, len(*in)) + *out = make([]NamespaceQuotaPolicyMetaParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -10406,32 +10206,32 @@ func (in *Namespace_Quota_PolicyParameters) DeepCopyInto(out *Namespace_Quota_Po } if in.Scope != nil { in, out := &in.Scope, &out.Scope - *out = make([]Namespace_Quota_PolicyScopeParameters, len(*in)) + *out = make([]NamespaceQuotaPolicyScopeParameters, 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)) + *out = make([]NamespaceQuotaPolicySpecParameters, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceQuotaPolicyParameters. +func (in *NamespaceQuotaPolicyParameters) DeepCopy() *NamespaceQuotaPolicyParameters { if in == nil { return nil } - out := new(Namespace_Quota_PolicyParameters) + out := new(NamespaceQuotaPolicyParameters) 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) { +func (in *NamespaceQuotaPolicyScopeClusterGroupObservation) DeepCopyInto(out *NamespaceQuotaPolicyScopeClusterGroupObservation) { *out = *in if in.ClusterGroup != nil { in, out := &in.ClusterGroup, &out.ClusterGroup @@ -10440,18 +10240,18 @@ func (in *Namespace_Quota_PolicyScopeClusterGroupObservation) DeepCopyInto(out * } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyScopeClusterGroupObservation. -func (in *Namespace_Quota_PolicyScopeClusterGroupObservation) DeepCopy() *Namespace_Quota_PolicyScopeClusterGroupObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceQuotaPolicyScopeClusterGroupObservation. +func (in *NamespaceQuotaPolicyScopeClusterGroupObservation) DeepCopy() *NamespaceQuotaPolicyScopeClusterGroupObservation { if in == nil { return nil } - out := new(Namespace_Quota_PolicyScopeClusterGroupObservation) + out := new(NamespaceQuotaPolicyScopeClusterGroupObservation) 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) { +func (in *NamespaceQuotaPolicyScopeClusterGroupParameters) DeepCopyInto(out *NamespaceQuotaPolicyScopeClusterGroupParameters) { *out = *in if in.ClusterGroup != nil { in, out := &in.ClusterGroup, &out.ClusterGroup @@ -10460,18 +10260,18 @@ func (in *Namespace_Quota_PolicyScopeClusterGroupParameters) DeepCopyInto(out *N } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyScopeClusterGroupParameters. -func (in *Namespace_Quota_PolicyScopeClusterGroupParameters) DeepCopy() *Namespace_Quota_PolicyScopeClusterGroupParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceQuotaPolicyScopeClusterGroupParameters. +func (in *NamespaceQuotaPolicyScopeClusterGroupParameters) DeepCopy() *NamespaceQuotaPolicyScopeClusterGroupParameters { if in == nil { return nil } - out := new(Namespace_Quota_PolicyScopeClusterGroupParameters) + out := new(NamespaceQuotaPolicyScopeClusterGroupParameters) 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) { +func (in *NamespaceQuotaPolicyScopeClusterObservation) DeepCopyInto(out *NamespaceQuotaPolicyScopeClusterObservation) { *out = *in if in.ManagementClusterName != nil { in, out := &in.ManagementClusterName, &out.ManagementClusterName @@ -10490,18 +10290,18 @@ func (in *Namespace_Quota_PolicyScopeClusterObservation) DeepCopyInto(out *Names } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyScopeClusterObservation. -func (in *Namespace_Quota_PolicyScopeClusterObservation) DeepCopy() *Namespace_Quota_PolicyScopeClusterObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceQuotaPolicyScopeClusterObservation. +func (in *NamespaceQuotaPolicyScopeClusterObservation) DeepCopy() *NamespaceQuotaPolicyScopeClusterObservation { if in == nil { return nil } - out := new(Namespace_Quota_PolicyScopeClusterObservation) + out := new(NamespaceQuotaPolicyScopeClusterObservation) 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) { +func (in *NamespaceQuotaPolicyScopeClusterParameters) DeepCopyInto(out *NamespaceQuotaPolicyScopeClusterParameters) { *out = *in if in.ManagementClusterName != nil { in, out := &in.ManagementClusterName, &out.ManagementClusterName @@ -10520,61 +10320,61 @@ func (in *Namespace_Quota_PolicyScopeClusterParameters) DeepCopyInto(out *Namesp } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyScopeClusterParameters. -func (in *Namespace_Quota_PolicyScopeClusterParameters) DeepCopy() *Namespace_Quota_PolicyScopeClusterParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceQuotaPolicyScopeClusterParameters. +func (in *NamespaceQuotaPolicyScopeClusterParameters) DeepCopy() *NamespaceQuotaPolicyScopeClusterParameters { if in == nil { return nil } - out := new(Namespace_Quota_PolicyScopeClusterParameters) + out := new(NamespaceQuotaPolicyScopeClusterParameters) 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) { +func (in *NamespaceQuotaPolicyScopeObservation) DeepCopyInto(out *NamespaceQuotaPolicyScopeObservation) { *out = *in if in.Cluster != nil { in, out := &in.Cluster, &out.Cluster - *out = make([]Namespace_Quota_PolicyScopeClusterObservation, len(*in)) + *out = make([]NamespaceQuotaPolicyScopeClusterObservation, 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)) + *out = make([]NamespaceQuotaPolicyScopeClusterGroupObservation, 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)) + *out = make([]NamespaceQuotaPolicyScopeOrganizationObservation, 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)) + *out = make([]NamespaceQuotaPolicyScopeWorkspaceObservation, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceQuotaPolicyScopeObservation. +func (in *NamespaceQuotaPolicyScopeObservation) DeepCopy() *NamespaceQuotaPolicyScopeObservation { if in == nil { return nil } - out := new(Namespace_Quota_PolicyScopeObservation) + out := new(NamespaceQuotaPolicyScopeObservation) 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) { +func (in *NamespaceQuotaPolicyScopeOrganizationObservation) DeepCopyInto(out *NamespaceQuotaPolicyScopeOrganizationObservation) { *out = *in if in.Organization != nil { in, out := &in.Organization, &out.Organization @@ -10583,18 +10383,18 @@ func (in *Namespace_Quota_PolicyScopeOrganizationObservation) DeepCopyInto(out * } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyScopeOrganizationObservation. -func (in *Namespace_Quota_PolicyScopeOrganizationObservation) DeepCopy() *Namespace_Quota_PolicyScopeOrganizationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceQuotaPolicyScopeOrganizationObservation. +func (in *NamespaceQuotaPolicyScopeOrganizationObservation) DeepCopy() *NamespaceQuotaPolicyScopeOrganizationObservation { if in == nil { return nil } - out := new(Namespace_Quota_PolicyScopeOrganizationObservation) + out := new(NamespaceQuotaPolicyScopeOrganizationObservation) 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) { +func (in *NamespaceQuotaPolicyScopeOrganizationParameters) DeepCopyInto(out *NamespaceQuotaPolicyScopeOrganizationParameters) { *out = *in if in.Organization != nil { in, out := &in.Organization, &out.Organization @@ -10603,61 +10403,61 @@ func (in *Namespace_Quota_PolicyScopeOrganizationParameters) DeepCopyInto(out *N } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyScopeOrganizationParameters. -func (in *Namespace_Quota_PolicyScopeOrganizationParameters) DeepCopy() *Namespace_Quota_PolicyScopeOrganizationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceQuotaPolicyScopeOrganizationParameters. +func (in *NamespaceQuotaPolicyScopeOrganizationParameters) DeepCopy() *NamespaceQuotaPolicyScopeOrganizationParameters { if in == nil { return nil } - out := new(Namespace_Quota_PolicyScopeOrganizationParameters) + out := new(NamespaceQuotaPolicyScopeOrganizationParameters) 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) { +func (in *NamespaceQuotaPolicyScopeParameters) DeepCopyInto(out *NamespaceQuotaPolicyScopeParameters) { *out = *in if in.Cluster != nil { in, out := &in.Cluster, &out.Cluster - *out = make([]Namespace_Quota_PolicyScopeClusterParameters, len(*in)) + *out = make([]NamespaceQuotaPolicyScopeClusterParameters, 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)) + *out = make([]NamespaceQuotaPolicyScopeClusterGroupParameters, 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)) + *out = make([]NamespaceQuotaPolicyScopeOrganizationParameters, 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)) + *out = make([]NamespaceQuotaPolicyScopeWorkspaceParameters, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceQuotaPolicyScopeParameters. +func (in *NamespaceQuotaPolicyScopeParameters) DeepCopy() *NamespaceQuotaPolicyScopeParameters { if in == nil { return nil } - out := new(Namespace_Quota_PolicyScopeParameters) + out := new(NamespaceQuotaPolicyScopeParameters) 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) { +func (in *NamespaceQuotaPolicyScopeWorkspaceObservation) DeepCopyInto(out *NamespaceQuotaPolicyScopeWorkspaceObservation) { *out = *in if in.Workspace != nil { in, out := &in.Workspace, &out.Workspace @@ -10666,18 +10466,18 @@ func (in *Namespace_Quota_PolicyScopeWorkspaceObservation) DeepCopyInto(out *Nam } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyScopeWorkspaceObservation. -func (in *Namespace_Quota_PolicyScopeWorkspaceObservation) DeepCopy() *Namespace_Quota_PolicyScopeWorkspaceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceQuotaPolicyScopeWorkspaceObservation. +func (in *NamespaceQuotaPolicyScopeWorkspaceObservation) DeepCopy() *NamespaceQuotaPolicyScopeWorkspaceObservation { if in == nil { return nil } - out := new(Namespace_Quota_PolicyScopeWorkspaceObservation) + out := new(NamespaceQuotaPolicyScopeWorkspaceObservation) 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) { +func (in *NamespaceQuotaPolicyScopeWorkspaceParameters) DeepCopyInto(out *NamespaceQuotaPolicyScopeWorkspaceParameters) { *out = *in if in.Workspace != nil { in, out := &in.Workspace, &out.Workspace @@ -10686,35 +10486,35 @@ func (in *Namespace_Quota_PolicyScopeWorkspaceParameters) DeepCopyInto(out *Name } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicyScopeWorkspaceParameters. -func (in *Namespace_Quota_PolicyScopeWorkspaceParameters) DeepCopy() *Namespace_Quota_PolicyScopeWorkspaceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceQuotaPolicyScopeWorkspaceParameters. +func (in *NamespaceQuotaPolicyScopeWorkspaceParameters) DeepCopy() *NamespaceQuotaPolicyScopeWorkspaceParameters { if in == nil { return nil } - out := new(Namespace_Quota_PolicyScopeWorkspaceParameters) + out := new(NamespaceQuotaPolicyScopeWorkspaceParameters) 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) { +func (in *NamespaceQuotaPolicySpec) DeepCopyInto(out *NamespaceQuotaPolicySpec) { *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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceQuotaPolicySpec. +func (in *NamespaceQuotaPolicySpec) DeepCopy() *NamespaceQuotaPolicySpec { if in == nil { return nil } - out := new(Namespace_Quota_PolicySpec) + out := new(NamespaceQuotaPolicySpec) 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) { +func (in *NamespaceQuotaPolicySpecInputObservation) DeepCopyInto(out *NamespaceQuotaPolicySpecInputObservation) { *out = *in if in.Custom != nil { in, out := &in.Custom, &out.Custom @@ -10740,18 +10540,18 @@ func (in *Namespace_Quota_PolicySpecInputObservation) DeepCopyInto(out *Namespac } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicySpecInputObservation. -func (in *Namespace_Quota_PolicySpecInputObservation) DeepCopy() *Namespace_Quota_PolicySpecInputObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceQuotaPolicySpecInputObservation. +func (in *NamespaceQuotaPolicySpecInputObservation) DeepCopy() *NamespaceQuotaPolicySpecInputObservation { if in == nil { return nil } - out := new(Namespace_Quota_PolicySpecInputObservation) + out := new(NamespaceQuotaPolicySpecInputObservation) 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) { +func (in *NamespaceQuotaPolicySpecInputParameters) DeepCopyInto(out *NamespaceQuotaPolicySpecInputParameters) { *out = *in if in.Custom != nil { in, out := &in.Custom, &out.Custom @@ -10777,18 +10577,18 @@ func (in *Namespace_Quota_PolicySpecInputParameters) DeepCopyInto(out *Namespace } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicySpecInputParameters. -func (in *Namespace_Quota_PolicySpecInputParameters) DeepCopy() *Namespace_Quota_PolicySpecInputParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceQuotaPolicySpecInputParameters. +func (in *NamespaceQuotaPolicySpecInputParameters) DeepCopy() *NamespaceQuotaPolicySpecInputParameters { if in == nil { return nil } - out := new(Namespace_Quota_PolicySpecInputParameters) + out := new(NamespaceQuotaPolicySpecInputParameters) 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) { +func (in *NamespaceQuotaPolicySpecNamespaceSelectorObservation) DeepCopyInto(out *NamespaceQuotaPolicySpecNamespaceSelectorObservation) { *out = *in if in.MatchExpressions != nil { in, out := &in.MatchExpressions, &out.MatchExpressions @@ -10799,18 +10599,18 @@ func (in *Namespace_Quota_PolicySpecNamespaceSelectorObservation) DeepCopyInto(o } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicySpecNamespaceSelectorObservation. -func (in *Namespace_Quota_PolicySpecNamespaceSelectorObservation) DeepCopy() *Namespace_Quota_PolicySpecNamespaceSelectorObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceQuotaPolicySpecNamespaceSelectorObservation. +func (in *NamespaceQuotaPolicySpecNamespaceSelectorObservation) DeepCopy() *NamespaceQuotaPolicySpecNamespaceSelectorObservation { if in == nil { return nil } - out := new(Namespace_Quota_PolicySpecNamespaceSelectorObservation) + out := new(NamespaceQuotaPolicySpecNamespaceSelectorObservation) 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) { +func (in *NamespaceQuotaPolicySpecNamespaceSelectorParameters) DeepCopyInto(out *NamespaceQuotaPolicySpecNamespaceSelectorParameters) { *out = *in if in.MatchExpressions != nil { in, out := &in.MatchExpressions, &out.MatchExpressions @@ -10821,87 +10621,287 @@ func (in *Namespace_Quota_PolicySpecNamespaceSelectorParameters) DeepCopyInto(ou } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace_Quota_PolicySpecNamespaceSelectorParameters. -func (in *Namespace_Quota_PolicySpecNamespaceSelectorParameters) DeepCopy() *Namespace_Quota_PolicySpecNamespaceSelectorParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceQuotaPolicySpecNamespaceSelectorParameters. +func (in *NamespaceQuotaPolicySpecNamespaceSelectorParameters) DeepCopy() *NamespaceQuotaPolicySpecNamespaceSelectorParameters { + if in == nil { + return nil + } + out := new(NamespaceQuotaPolicySpecNamespaceSelectorParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceQuotaPolicySpecObservation) DeepCopyInto(out *NamespaceQuotaPolicySpecObservation) { + *out = *in + if in.Input != nil { + in, out := &in.Input, &out.Input + *out = make([]NamespaceQuotaPolicySpecInputObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NamespaceSelector != nil { + in, out := &in.NamespaceSelector, &out.NamespaceSelector + *out = make([]NamespaceQuotaPolicySpecNamespaceSelectorObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceQuotaPolicySpecObservation. +func (in *NamespaceQuotaPolicySpecObservation) DeepCopy() *NamespaceQuotaPolicySpecObservation { if in == nil { return nil } - out := new(Namespace_Quota_PolicySpecNamespaceSelectorParameters) + out := new(NamespaceQuotaPolicySpecObservation) 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) { +func (in *NamespaceQuotaPolicySpecParameters) DeepCopyInto(out *NamespaceQuotaPolicySpecParameters) { *out = *in if in.Input != nil { in, out := &in.Input, &out.Input - *out = make([]Namespace_Quota_PolicySpecInputObservation, len(*in)) + *out = make([]NamespaceQuotaPolicySpecInputParameters, 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)) + *out = make([]NamespaceQuotaPolicySpecNamespaceSelectorParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceQuotaPolicySpecParameters. +func (in *NamespaceQuotaPolicySpecParameters) DeepCopy() *NamespaceQuotaPolicySpecParameters { + if in == nil { + return nil + } + out := new(NamespaceQuotaPolicySpecParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceQuotaPolicyStatus) DeepCopyInto(out *NamespaceQuotaPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceQuotaPolicyStatus. +func (in *NamespaceQuotaPolicyStatus) DeepCopy() *NamespaceQuotaPolicyStatus { + if in == nil { + return nil + } + out := new(NamespaceQuotaPolicyStatus) + 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 Namespace_Quota_PolicySpecObservation. -func (in *Namespace_Quota_PolicySpecObservation) DeepCopy() *Namespace_Quota_PolicySpecObservation { +// 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(Namespace_Quota_PolicySpecObservation) + 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 *Namespace_Quota_PolicySpecParameters) DeepCopyInto(out *Namespace_Quota_PolicySpecParameters) { +func (in *NamespaceSpecParameters) DeepCopyInto(out *NamespaceSpecParameters) { *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.Attach != nil { + in, out := &in.Attach, &out.Attach + *out = new(bool) + **out = **in } - 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]) - } + 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 Namespace_Quota_PolicySpecParameters. -func (in *Namespace_Quota_PolicySpecParameters) DeepCopy() *Namespace_Quota_PolicySpecParameters { +// 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(Namespace_Quota_PolicySpecParameters) + 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 *Namespace_Quota_PolicyStatus) DeepCopyInto(out *Namespace_Quota_PolicyStatus) { +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 Namespace_Quota_PolicyStatus. -func (in *Namespace_Quota_PolicyStatus) DeepCopy() *Namespace_Quota_PolicyStatus { +// 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(Namespace_Quota_PolicyStatus) + out := new(NamespaceStatus) in.DeepCopyInto(out) return out } @@ -11219,59 +11219,7 @@ func (in *NetworkPodsParameters) DeepCopy() *NetworkPodsParameters { } // 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) { +func (in *NetworkPolicy) DeepCopyInto(out *NetworkPolicy) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -11279,18 +11227,18 @@ func (in *Network_Policy) DeepCopyInto(out *Network_Policy) { 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy. +func (in *NetworkPolicy) DeepCopy() *NetworkPolicy { if in == nil { return nil } - out := new(Network_Policy) + out := new(NetworkPolicy) 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 { +func (in *NetworkPolicy) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -11298,31 +11246,31 @@ func (in *Network_Policy) DeepCopyObject() runtime.Object { } // 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) { +func (in *NetworkPolicyList) DeepCopyInto(out *NetworkPolicyList) { *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)) + *out = make([]NetworkPolicy, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyList. +func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList { if in == nil { return nil } - out := new(Network_PolicyList) + out := new(NetworkPolicyList) 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 { +func (in *NetworkPolicyList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -11330,7 +11278,7 @@ func (in *Network_PolicyList) DeepCopyObject() runtime.Object { } // 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) { +func (in *NetworkPolicyMetaObservation) DeepCopyInto(out *NetworkPolicyMetaObservation) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -11379,18 +11327,18 @@ func (in *Network_PolicyMetaObservation) DeepCopyInto(out *Network_PolicyMetaObs } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyMetaObservation. -func (in *Network_PolicyMetaObservation) DeepCopy() *Network_PolicyMetaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyMetaObservation. +func (in *NetworkPolicyMetaObservation) DeepCopy() *NetworkPolicyMetaObservation { if in == nil { return nil } - out := new(Network_PolicyMetaObservation) + out := new(NetworkPolicyMetaObservation) 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) { +func (in *NetworkPolicyMetaParameters) DeepCopyInto(out *NetworkPolicyMetaParameters) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -11429,18 +11377,18 @@ func (in *Network_PolicyMetaParameters) DeepCopyInto(out *Network_PolicyMetaPara } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyMetaParameters. -func (in *Network_PolicyMetaParameters) DeepCopy() *Network_PolicyMetaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyMetaParameters. +func (in *NetworkPolicyMetaParameters) DeepCopy() *NetworkPolicyMetaParameters { if in == nil { return nil } - out := new(Network_PolicyMetaParameters) + out := new(NetworkPolicyMetaParameters) 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) { +func (in *NetworkPolicyObservation) DeepCopyInto(out *NetworkPolicyObservation) { *out = *in if in.ID != nil { in, out := &in.ID, &out.ID @@ -11449,7 +11397,7 @@ func (in *Network_PolicyObservation) DeepCopyInto(out *Network_PolicyObservation } if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Network_PolicyMetaObservation, len(*in)) + *out = make([]NetworkPolicyMetaObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -11461,36 +11409,36 @@ func (in *Network_PolicyObservation) DeepCopyInto(out *Network_PolicyObservation } if in.Scope != nil { in, out := &in.Scope, &out.Scope - *out = make([]Network_PolicyScopeObservation, len(*in)) + *out = make([]NetworkPolicyScopeObservation, 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)) + *out = make([]NetworkPolicySpecObservation, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyObservation. +func (in *NetworkPolicyObservation) DeepCopy() *NetworkPolicyObservation { if in == nil { return nil } - out := new(Network_PolicyObservation) + out := new(NetworkPolicyObservation) 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) { +func (in *NetworkPolicyParameters) DeepCopyInto(out *NetworkPolicyParameters) { *out = *in if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Network_PolicyMetaParameters, len(*in)) + *out = make([]NetworkPolicyMetaParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -11502,32 +11450,32 @@ func (in *Network_PolicyParameters) DeepCopyInto(out *Network_PolicyParameters) } if in.Scope != nil { in, out := &in.Scope, &out.Scope - *out = make([]Network_PolicyScopeParameters, len(*in)) + *out = make([]NetworkPolicyScopeParameters, 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)) + *out = make([]NetworkPolicySpecParameters, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyParameters. +func (in *NetworkPolicyParameters) DeepCopy() *NetworkPolicyParameters { if in == nil { return nil } - out := new(Network_PolicyParameters) + out := new(NetworkPolicyParameters) 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) { +func (in *NetworkPolicyScopeClusterGroupObservation) DeepCopyInto(out *NetworkPolicyScopeClusterGroupObservation) { *out = *in if in.ClusterGroup != nil { in, out := &in.ClusterGroup, &out.ClusterGroup @@ -11536,18 +11484,18 @@ func (in *Network_PolicyScopeClusterGroupObservation) DeepCopyInto(out *Network_ } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyScopeClusterGroupObservation. -func (in *Network_PolicyScopeClusterGroupObservation) DeepCopy() *Network_PolicyScopeClusterGroupObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyScopeClusterGroupObservation. +func (in *NetworkPolicyScopeClusterGroupObservation) DeepCopy() *NetworkPolicyScopeClusterGroupObservation { if in == nil { return nil } - out := new(Network_PolicyScopeClusterGroupObservation) + out := new(NetworkPolicyScopeClusterGroupObservation) 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) { +func (in *NetworkPolicyScopeClusterGroupParameters) DeepCopyInto(out *NetworkPolicyScopeClusterGroupParameters) { *out = *in if in.ClusterGroup != nil { in, out := &in.ClusterGroup, &out.ClusterGroup @@ -11556,18 +11504,18 @@ func (in *Network_PolicyScopeClusterGroupParameters) DeepCopyInto(out *Network_P } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyScopeClusterGroupParameters. -func (in *Network_PolicyScopeClusterGroupParameters) DeepCopy() *Network_PolicyScopeClusterGroupParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyScopeClusterGroupParameters. +func (in *NetworkPolicyScopeClusterGroupParameters) DeepCopy() *NetworkPolicyScopeClusterGroupParameters { if in == nil { return nil } - out := new(Network_PolicyScopeClusterGroupParameters) + out := new(NetworkPolicyScopeClusterGroupParameters) 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) { +func (in *NetworkPolicyScopeClusterObservation) DeepCopyInto(out *NetworkPolicyScopeClusterObservation) { *out = *in if in.ManagementClusterName != nil { in, out := &in.ManagementClusterName, &out.ManagementClusterName @@ -11586,18 +11534,18 @@ func (in *Network_PolicyScopeClusterObservation) DeepCopyInto(out *Network_Polic } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyScopeClusterObservation. -func (in *Network_PolicyScopeClusterObservation) DeepCopy() *Network_PolicyScopeClusterObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyScopeClusterObservation. +func (in *NetworkPolicyScopeClusterObservation) DeepCopy() *NetworkPolicyScopeClusterObservation { if in == nil { return nil } - out := new(Network_PolicyScopeClusterObservation) + out := new(NetworkPolicyScopeClusterObservation) 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) { +func (in *NetworkPolicyScopeClusterParameters) DeepCopyInto(out *NetworkPolicyScopeClusterParameters) { *out = *in if in.ManagementClusterName != nil { in, out := &in.ManagementClusterName, &out.ManagementClusterName @@ -11616,61 +11564,61 @@ func (in *Network_PolicyScopeClusterParameters) DeepCopyInto(out *Network_Policy } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyScopeClusterParameters. -func (in *Network_PolicyScopeClusterParameters) DeepCopy() *Network_PolicyScopeClusterParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyScopeClusterParameters. +func (in *NetworkPolicyScopeClusterParameters) DeepCopy() *NetworkPolicyScopeClusterParameters { if in == nil { return nil } - out := new(Network_PolicyScopeClusterParameters) + out := new(NetworkPolicyScopeClusterParameters) 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) { +func (in *NetworkPolicyScopeObservation) DeepCopyInto(out *NetworkPolicyScopeObservation) { *out = *in if in.Cluster != nil { in, out := &in.Cluster, &out.Cluster - *out = make([]Network_PolicyScopeClusterObservation, len(*in)) + *out = make([]NetworkPolicyScopeClusterObservation, 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)) + *out = make([]NetworkPolicyScopeClusterGroupObservation, 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)) + *out = make([]NetworkPolicyScopeOrganizationObservation, 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)) + *out = make([]NetworkPolicyScopeWorkspaceObservation, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyScopeObservation. +func (in *NetworkPolicyScopeObservation) DeepCopy() *NetworkPolicyScopeObservation { if in == nil { return nil } - out := new(Network_PolicyScopeObservation) + out := new(NetworkPolicyScopeObservation) 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) { +func (in *NetworkPolicyScopeOrganizationObservation) DeepCopyInto(out *NetworkPolicyScopeOrganizationObservation) { *out = *in if in.Organization != nil { in, out := &in.Organization, &out.Organization @@ -11679,18 +11627,18 @@ func (in *Network_PolicyScopeOrganizationObservation) DeepCopyInto(out *Network_ } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyScopeOrganizationObservation. -func (in *Network_PolicyScopeOrganizationObservation) DeepCopy() *Network_PolicyScopeOrganizationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyScopeOrganizationObservation. +func (in *NetworkPolicyScopeOrganizationObservation) DeepCopy() *NetworkPolicyScopeOrganizationObservation { if in == nil { return nil } - out := new(Network_PolicyScopeOrganizationObservation) + out := new(NetworkPolicyScopeOrganizationObservation) 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) { +func (in *NetworkPolicyScopeOrganizationParameters) DeepCopyInto(out *NetworkPolicyScopeOrganizationParameters) { *out = *in if in.Organization != nil { in, out := &in.Organization, &out.Organization @@ -11699,61 +11647,61 @@ func (in *Network_PolicyScopeOrganizationParameters) DeepCopyInto(out *Network_P } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyScopeOrganizationParameters. -func (in *Network_PolicyScopeOrganizationParameters) DeepCopy() *Network_PolicyScopeOrganizationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyScopeOrganizationParameters. +func (in *NetworkPolicyScopeOrganizationParameters) DeepCopy() *NetworkPolicyScopeOrganizationParameters { if in == nil { return nil } - out := new(Network_PolicyScopeOrganizationParameters) + out := new(NetworkPolicyScopeOrganizationParameters) 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) { +func (in *NetworkPolicyScopeParameters) DeepCopyInto(out *NetworkPolicyScopeParameters) { *out = *in if in.Cluster != nil { in, out := &in.Cluster, &out.Cluster - *out = make([]Network_PolicyScopeClusterParameters, len(*in)) + *out = make([]NetworkPolicyScopeClusterParameters, 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)) + *out = make([]NetworkPolicyScopeClusterGroupParameters, 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)) + *out = make([]NetworkPolicyScopeOrganizationParameters, 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)) + *out = make([]NetworkPolicyScopeWorkspaceParameters, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyScopeParameters. +func (in *NetworkPolicyScopeParameters) DeepCopy() *NetworkPolicyScopeParameters { if in == nil { return nil } - out := new(Network_PolicyScopeParameters) + out := new(NetworkPolicyScopeParameters) 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) { +func (in *NetworkPolicyScopeWorkspaceObservation) DeepCopyInto(out *NetworkPolicyScopeWorkspaceObservation) { *out = *in if in.Workspace != nil { in, out := &in.Workspace, &out.Workspace @@ -11762,18 +11710,18 @@ func (in *Network_PolicyScopeWorkspaceObservation) DeepCopyInto(out *Network_Pol } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyScopeWorkspaceObservation. -func (in *Network_PolicyScopeWorkspaceObservation) DeepCopy() *Network_PolicyScopeWorkspaceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyScopeWorkspaceObservation. +func (in *NetworkPolicyScopeWorkspaceObservation) DeepCopy() *NetworkPolicyScopeWorkspaceObservation { if in == nil { return nil } - out := new(Network_PolicyScopeWorkspaceObservation) + out := new(NetworkPolicyScopeWorkspaceObservation) 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) { +func (in *NetworkPolicyScopeWorkspaceParameters) DeepCopyInto(out *NetworkPolicyScopeWorkspaceParameters) { *out = *in if in.Workspace != nil { in, out := &in.Workspace, &out.Workspace @@ -11782,35 +11730,35 @@ func (in *Network_PolicyScopeWorkspaceParameters) DeepCopyInto(out *Network_Poli } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicyScopeWorkspaceParameters. -func (in *Network_PolicyScopeWorkspaceParameters) DeepCopy() *Network_PolicyScopeWorkspaceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyScopeWorkspaceParameters. +func (in *NetworkPolicyScopeWorkspaceParameters) DeepCopy() *NetworkPolicyScopeWorkspaceParameters { if in == nil { return nil } - out := new(Network_PolicyScopeWorkspaceParameters) + out := new(NetworkPolicyScopeWorkspaceParameters) 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) { +func (in *NetworkPolicySpec) DeepCopyInto(out *NetworkPolicySpec) { *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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec. +func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec { if in == nil { return nil } - out := new(Network_PolicySpec) + out := new(NetworkPolicySpec) 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) { +func (in *NetworkPolicySpecInputObservation) DeepCopyInto(out *NetworkPolicySpecInputObservation) { *out = *in if in.AllowAll != nil { in, out := &in.AllowAll, &out.AllowAll @@ -11864,18 +11812,18 @@ func (in *Network_PolicySpecInputObservation) DeepCopyInto(out *Network_PolicySp } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicySpecInputObservation. -func (in *Network_PolicySpecInputObservation) DeepCopy() *Network_PolicySpecInputObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpecInputObservation. +func (in *NetworkPolicySpecInputObservation) DeepCopy() *NetworkPolicySpecInputObservation { if in == nil { return nil } - out := new(Network_PolicySpecInputObservation) + out := new(NetworkPolicySpecInputObservation) 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) { +func (in *NetworkPolicySpecInputParameters) DeepCopyInto(out *NetworkPolicySpecInputParameters) { *out = *in if in.AllowAll != nil { in, out := &in.AllowAll, &out.AllowAll @@ -11929,18 +11877,18 @@ func (in *Network_PolicySpecInputParameters) DeepCopyInto(out *Network_PolicySpe } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicySpecInputParameters. -func (in *Network_PolicySpecInputParameters) DeepCopy() *Network_PolicySpecInputParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpecInputParameters. +func (in *NetworkPolicySpecInputParameters) DeepCopy() *NetworkPolicySpecInputParameters { if in == nil { return nil } - out := new(Network_PolicySpecInputParameters) + out := new(NetworkPolicySpecInputParameters) 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) { +func (in *NetworkPolicySpecNamespaceSelectorMatchExpressionsObservation) DeepCopyInto(out *NetworkPolicySpecNamespaceSelectorMatchExpressionsObservation) { *out = *in if in.Key != nil { in, out := &in.Key, &out.Key @@ -11965,18 +11913,18 @@ func (in *Network_PolicySpecNamespaceSelectorMatchExpressionsObservation) DeepCo } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicySpecNamespaceSelectorMatchExpressionsObservation. -func (in *Network_PolicySpecNamespaceSelectorMatchExpressionsObservation) DeepCopy() *Network_PolicySpecNamespaceSelectorMatchExpressionsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpecNamespaceSelectorMatchExpressionsObservation. +func (in *NetworkPolicySpecNamespaceSelectorMatchExpressionsObservation) DeepCopy() *NetworkPolicySpecNamespaceSelectorMatchExpressionsObservation { if in == nil { return nil } - out := new(Network_PolicySpecNamespaceSelectorMatchExpressionsObservation) + out := new(NetworkPolicySpecNamespaceSelectorMatchExpressionsObservation) 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) { +func (in *NetworkPolicySpecNamespaceSelectorMatchExpressionsParameters) DeepCopyInto(out *NetworkPolicySpecNamespaceSelectorMatchExpressionsParameters) { *out = *in if in.Key != nil { in, out := &in.Key, &out.Key @@ -12001,131 +11949,183 @@ func (in *Network_PolicySpecNamespaceSelectorMatchExpressionsParameters) DeepCop } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network_PolicySpecNamespaceSelectorMatchExpressionsParameters. -func (in *Network_PolicySpecNamespaceSelectorMatchExpressionsParameters) DeepCopy() *Network_PolicySpecNamespaceSelectorMatchExpressionsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpecNamespaceSelectorMatchExpressionsParameters. +func (in *NetworkPolicySpecNamespaceSelectorMatchExpressionsParameters) DeepCopy() *NetworkPolicySpecNamespaceSelectorMatchExpressionsParameters { if in == nil { return nil } - out := new(Network_PolicySpecNamespaceSelectorMatchExpressionsParameters) + out := new(NetworkPolicySpecNamespaceSelectorMatchExpressionsParameters) 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) { +func (in *NetworkPolicySpecNamespaceSelectorObservation) DeepCopyInto(out *NetworkPolicySpecNamespaceSelectorObservation) { *out = *in if in.MatchExpressions != nil { in, out := &in.MatchExpressions, &out.MatchExpressions - *out = make([]Network_PolicySpecNamespaceSelectorMatchExpressionsObservation, len(*in)) + *out = make([]NetworkPolicySpecNamespaceSelectorMatchExpressionsObservation, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpecNamespaceSelectorObservation. +func (in *NetworkPolicySpecNamespaceSelectorObservation) DeepCopy() *NetworkPolicySpecNamespaceSelectorObservation { if in == nil { return nil } - out := new(Network_PolicySpecNamespaceSelectorObservation) + out := new(NetworkPolicySpecNamespaceSelectorObservation) 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) { +func (in *NetworkPolicySpecNamespaceSelectorParameters) DeepCopyInto(out *NetworkPolicySpecNamespaceSelectorParameters) { *out = *in if in.MatchExpressions != nil { in, out := &in.MatchExpressions, &out.MatchExpressions - *out = make([]Network_PolicySpecNamespaceSelectorMatchExpressionsParameters, len(*in)) + *out = make([]NetworkPolicySpecNamespaceSelectorMatchExpressionsParameters, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpecNamespaceSelectorParameters. +func (in *NetworkPolicySpecNamespaceSelectorParameters) DeepCopy() *NetworkPolicySpecNamespaceSelectorParameters { if in == nil { return nil } - out := new(Network_PolicySpecNamespaceSelectorParameters) + out := new(NetworkPolicySpecNamespaceSelectorParameters) 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) { +func (in *NetworkPolicySpecObservation) DeepCopyInto(out *NetworkPolicySpecObservation) { *out = *in if in.Input != nil { in, out := &in.Input, &out.Input - *out = make([]Network_PolicySpecInputObservation, len(*in)) + *out = make([]NetworkPolicySpecInputObservation, 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)) + *out = make([]NetworkPolicySpecNamespaceSelectorObservation, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpecObservation. +func (in *NetworkPolicySpecObservation) DeepCopy() *NetworkPolicySpecObservation { if in == nil { return nil } - out := new(Network_PolicySpecObservation) + out := new(NetworkPolicySpecObservation) 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) { +func (in *NetworkPolicySpecParameters) DeepCopyInto(out *NetworkPolicySpecParameters) { *out = *in if in.Input != nil { in, out := &in.Input, &out.Input - *out = make([]Network_PolicySpecInputParameters, len(*in)) + *out = make([]NetworkPolicySpecInputParameters, 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)) + *out = make([]NetworkPolicySpecNamespaceSelectorParameters, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpecParameters. +func (in *NetworkPolicySpecParameters) DeepCopy() *NetworkPolicySpecParameters { if in == nil { return nil } - out := new(Network_PolicySpecParameters) + out := new(NetworkPolicySpecParameters) 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) { +func (in *NetworkPolicyStatus) DeepCopyInto(out *NetworkPolicyStatus) { *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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyStatus. +func (in *NetworkPolicyStatus) DeepCopy() *NetworkPolicyStatus { + if in == nil { + return nil + } + out := new(NetworkPolicyStatus) + 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(Network_PolicyStatus) + out := new(NetworkServicesParameters) in.DeepCopyInto(out) return out } @@ -12771,61 +12771,7 @@ func (in *OrganizationParameters) DeepCopy() *OrganizationParameters { } // 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) { +func (in *PackageInstall) DeepCopyInto(out *PackageInstall) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -12833,18 +12779,18 @@ func (in *Package_Install) DeepCopyInto(out *Package_Install) { 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageInstall. +func (in *PackageInstall) DeepCopy() *PackageInstall { if in == nil { return nil } - out := new(Package_Install) + out := new(PackageInstall) 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 { +func (in *PackageInstall) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -12852,31 +12798,31 @@ func (in *Package_Install) DeepCopyObject() runtime.Object { } // 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) { +func (in *PackageInstallList) DeepCopyInto(out *PackageInstallList) { *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)) + *out = make([]PackageInstall, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageInstallList. +func (in *PackageInstallList) DeepCopy() *PackageInstallList { if in == nil { return nil } - out := new(Package_InstallList) + out := new(PackageInstallList) 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 { +func (in *PackageInstallList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -12884,7 +12830,7 @@ func (in *Package_InstallList) DeepCopyObject() runtime.Object { } // 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) { +func (in *PackageInstallMetaObservation) DeepCopyInto(out *PackageInstallMetaObservation) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -12933,18 +12879,18 @@ func (in *Package_InstallMetaObservation) DeepCopyInto(out *Package_InstallMetaO } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_InstallMetaObservation. -func (in *Package_InstallMetaObservation) DeepCopy() *Package_InstallMetaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageInstallMetaObservation. +func (in *PackageInstallMetaObservation) DeepCopy() *PackageInstallMetaObservation { if in == nil { return nil } - out := new(Package_InstallMetaObservation) + out := new(PackageInstallMetaObservation) 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) { +func (in *PackageInstallMetaParameters) DeepCopyInto(out *PackageInstallMetaParameters) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -12983,18 +12929,18 @@ func (in *Package_InstallMetaParameters) DeepCopyInto(out *Package_InstallMetaPa } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_InstallMetaParameters. -func (in *Package_InstallMetaParameters) DeepCopy() *Package_InstallMetaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageInstallMetaParameters. +func (in *PackageInstallMetaParameters) DeepCopy() *PackageInstallMetaParameters { if in == nil { return nil } - out := new(Package_InstallMetaParameters) + out := new(PackageInstallMetaParameters) 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) { +func (in *PackageInstallObservation) DeepCopyInto(out *PackageInstallObservation) { *out = *in if in.ID != nil { in, out := &in.ID, &out.ID @@ -13003,7 +12949,7 @@ func (in *Package_InstallObservation) DeepCopyInto(out *Package_InstallObservati } if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Package_InstallMetaObservation, len(*in)) + *out = make([]PackageInstallMetaObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -13020,14 +12966,14 @@ func (in *Package_InstallObservation) DeepCopyInto(out *Package_InstallObservati } if in.Scope != nil { in, out := &in.Scope, &out.Scope - *out = make([]Package_InstallScopeObservation, len(*in)) + *out = make([]PackageInstallScopeObservation, 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)) + *out = make([]PackageInstallSpecObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -13041,22 +12987,22 @@ func (in *Package_InstallObservation) DeepCopyInto(out *Package_InstallObservati } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_InstallObservation. -func (in *Package_InstallObservation) DeepCopy() *Package_InstallObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageInstallObservation. +func (in *PackageInstallObservation) DeepCopy() *PackageInstallObservation { if in == nil { return nil } - out := new(Package_InstallObservation) + out := new(PackageInstallObservation) 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) { +func (in *PackageInstallParameters) DeepCopyInto(out *PackageInstallParameters) { *out = *in if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Package_InstallMetaParameters, len(*in)) + *out = make([]PackageInstallMetaParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -13071,34 +13017,44 @@ func (in *Package_InstallParameters) DeepCopyInto(out *Package_InstallParameters *out = new(string) **out = **in } + if in.NamespaceRef != nil { + in, out := &in.NamespaceRef, &out.NamespaceRef + *out = new(v1.Reference) + (*in).DeepCopyInto(*out) + } + if in.NamespaceSelector != nil { + in, out := &in.NamespaceSelector, &out.NamespaceSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } if in.Scope != nil { in, out := &in.Scope, &out.Scope - *out = make([]Package_InstallScopeParameters, len(*in)) + *out = make([]PackageInstallScopeParameters, 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)) + *out = make([]PackageInstallSpecParameters, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageInstallParameters. +func (in *PackageInstallParameters) DeepCopy() *PackageInstallParameters { if in == nil { return nil } - out := new(Package_InstallParameters) + out := new(PackageInstallParameters) 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) { +func (in *PackageInstallScopeClusterObservation) DeepCopyInto(out *PackageInstallScopeClusterObservation) { *out = *in if in.ManagementClusterName != nil { in, out := &in.ManagementClusterName, &out.ManagementClusterName @@ -13117,18 +13073,18 @@ func (in *Package_InstallScopeClusterObservation) DeepCopyInto(out *Package_Inst } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_InstallScopeClusterObservation. -func (in *Package_InstallScopeClusterObservation) DeepCopy() *Package_InstallScopeClusterObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageInstallScopeClusterObservation. +func (in *PackageInstallScopeClusterObservation) DeepCopy() *PackageInstallScopeClusterObservation { if in == nil { return nil } - out := new(Package_InstallScopeClusterObservation) + out := new(PackageInstallScopeClusterObservation) 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) { +func (in *PackageInstallScopeClusterParameters) DeepCopyInto(out *PackageInstallScopeClusterParameters) { *out = *in if in.ManagementClusterName != nil { in, out := &in.ManagementClusterName, &out.ManagementClusterName @@ -13147,79 +13103,79 @@ func (in *Package_InstallScopeClusterParameters) DeepCopyInto(out *Package_Insta } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_InstallScopeClusterParameters. -func (in *Package_InstallScopeClusterParameters) DeepCopy() *Package_InstallScopeClusterParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageInstallScopeClusterParameters. +func (in *PackageInstallScopeClusterParameters) DeepCopy() *PackageInstallScopeClusterParameters { if in == nil { return nil } - out := new(Package_InstallScopeClusterParameters) + out := new(PackageInstallScopeClusterParameters) 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) { +func (in *PackageInstallScopeObservation) DeepCopyInto(out *PackageInstallScopeObservation) { *out = *in if in.Cluster != nil { in, out := &in.Cluster, &out.Cluster - *out = make([]Package_InstallScopeClusterObservation, len(*in)) + *out = make([]PackageInstallScopeClusterObservation, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageInstallScopeObservation. +func (in *PackageInstallScopeObservation) DeepCopy() *PackageInstallScopeObservation { if in == nil { return nil } - out := new(Package_InstallScopeObservation) + out := new(PackageInstallScopeObservation) 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) { +func (in *PackageInstallScopeParameters) DeepCopyInto(out *PackageInstallScopeParameters) { *out = *in if in.Cluster != nil { in, out := &in.Cluster, &out.Cluster - *out = make([]Package_InstallScopeClusterParameters, len(*in)) + *out = make([]PackageInstallScopeClusterParameters, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageInstallScopeParameters. +func (in *PackageInstallScopeParameters) DeepCopy() *PackageInstallScopeParameters { if in == nil { return nil } - out := new(Package_InstallScopeParameters) + out := new(PackageInstallScopeParameters) 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) { +func (in *PackageInstallSpec) DeepCopyInto(out *PackageInstallSpec) { *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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageInstallSpec. +func (in *PackageInstallSpec) DeepCopy() *PackageInstallSpec { if in == nil { return nil } - out := new(Package_InstallSpec) + out := new(PackageInstallSpec) 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) { +func (in *PackageInstallSpecObservation) DeepCopyInto(out *PackageInstallSpecObservation) { *out = *in if in.PackageRef != nil { in, out := &in.PackageRef, &out.PackageRef @@ -13235,18 +13191,18 @@ func (in *Package_InstallSpecObservation) DeepCopyInto(out *Package_InstallSpecO } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_InstallSpecObservation. -func (in *Package_InstallSpecObservation) DeepCopy() *Package_InstallSpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageInstallSpecObservation. +func (in *PackageInstallSpecObservation) DeepCopy() *PackageInstallSpecObservation { if in == nil { return nil } - out := new(Package_InstallSpecObservation) + out := new(PackageInstallSpecObservation) 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) { +func (in *PackageInstallSpecParameters) DeepCopyInto(out *PackageInstallSpecParameters) { *out = *in if in.InlineValuesSecretRef != nil { in, out := &in.InlineValuesSecretRef, &out.InlineValuesSecretRef @@ -13262,35 +13218,89 @@ func (in *Package_InstallSpecParameters) DeepCopyInto(out *Package_InstallSpecPa } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_InstallSpecParameters. -func (in *Package_InstallSpecParameters) DeepCopy() *Package_InstallSpecParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageInstallSpecParameters. +func (in *PackageInstallSpecParameters) DeepCopy() *PackageInstallSpecParameters { if in == nil { return nil } - out := new(Package_InstallSpecParameters) + out := new(PackageInstallSpecParameters) 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) { +func (in *PackageInstallStatus) DeepCopyInto(out *PackageInstallStatus) { *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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageInstallStatus. +func (in *PackageInstallStatus) DeepCopy() *PackageInstallStatus { if in == nil { return nil } - out := new(Package_InstallStatus) + out := new(PackageInstallStatus) 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) { +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 *PackageRepository) DeepCopyInto(out *PackageRepository) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -13298,18 +13308,18 @@ func (in *Package_Repository) DeepCopyInto(out *Package_Repository) { 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepository. +func (in *PackageRepository) DeepCopy() *PackageRepository { if in == nil { return nil } - out := new(Package_Repository) + out := new(PackageRepository) 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 { +func (in *PackageRepository) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -13317,31 +13327,31 @@ func (in *Package_Repository) DeepCopyObject() runtime.Object { } // 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) { +func (in *PackageRepositoryList) DeepCopyInto(out *PackageRepositoryList) { *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)) + *out = make([]PackageRepository, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositoryList. +func (in *PackageRepositoryList) DeepCopy() *PackageRepositoryList { if in == nil { return nil } - out := new(Package_RepositoryList) + out := new(PackageRepositoryList) 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 { +func (in *PackageRepositoryList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -13349,7 +13359,7 @@ func (in *Package_RepositoryList) DeepCopyObject() runtime.Object { } // 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) { +func (in *PackageRepositoryMetaObservation) DeepCopyInto(out *PackageRepositoryMetaObservation) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -13398,18 +13408,18 @@ func (in *Package_RepositoryMetaObservation) DeepCopyInto(out *Package_Repositor } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_RepositoryMetaObservation. -func (in *Package_RepositoryMetaObservation) DeepCopy() *Package_RepositoryMetaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositoryMetaObservation. +func (in *PackageRepositoryMetaObservation) DeepCopy() *PackageRepositoryMetaObservation { if in == nil { return nil } - out := new(Package_RepositoryMetaObservation) + out := new(PackageRepositoryMetaObservation) 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) { +func (in *PackageRepositoryMetaParameters) DeepCopyInto(out *PackageRepositoryMetaParameters) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -13448,18 +13458,18 @@ func (in *Package_RepositoryMetaParameters) DeepCopyInto(out *Package_Repository } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_RepositoryMetaParameters. -func (in *Package_RepositoryMetaParameters) DeepCopy() *Package_RepositoryMetaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositoryMetaParameters. +func (in *PackageRepositoryMetaParameters) DeepCopy() *PackageRepositoryMetaParameters { if in == nil { return nil } - out := new(Package_RepositoryMetaParameters) + out := new(PackageRepositoryMetaParameters) 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) { +func (in *PackageRepositoryObservation) DeepCopyInto(out *PackageRepositoryObservation) { *out = *in if in.Disabled != nil { in, out := &in.Disabled, &out.Disabled @@ -13473,7 +13483,7 @@ func (in *Package_RepositoryObservation) DeepCopyInto(out *Package_RepositoryObs } if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Package_RepositoryMetaObservation, len(*in)) + *out = make([]PackageRepositoryMetaObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -13490,14 +13500,14 @@ func (in *Package_RepositoryObservation) DeepCopyInto(out *Package_RepositoryObs } if in.Scope != nil { in, out := &in.Scope, &out.Scope - *out = make([]Package_RepositoryScopeObservation, len(*in)) + *out = make([]PackageRepositoryScopeObservation, 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)) + *out = make([]PackageRepositorySpecObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -13511,18 +13521,18 @@ func (in *Package_RepositoryObservation) DeepCopyInto(out *Package_RepositoryObs } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_RepositoryObservation. -func (in *Package_RepositoryObservation) DeepCopy() *Package_RepositoryObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositoryObservation. +func (in *PackageRepositoryObservation) DeepCopy() *PackageRepositoryObservation { if in == nil { return nil } - out := new(Package_RepositoryObservation) + out := new(PackageRepositoryObservation) 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) { +func (in *PackageRepositoryParameters) DeepCopyInto(out *PackageRepositoryParameters) { *out = *in if in.Disabled != nil { in, out := &in.Disabled, &out.Disabled @@ -13531,7 +13541,7 @@ func (in *Package_RepositoryParameters) DeepCopyInto(out *Package_RepositoryPara } if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Package_RepositoryMetaParameters, len(*in)) + *out = make([]PackageRepositoryMetaParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -13543,32 +13553,32 @@ func (in *Package_RepositoryParameters) DeepCopyInto(out *Package_RepositoryPara } if in.Scope != nil { in, out := &in.Scope, &out.Scope - *out = make([]Package_RepositoryScopeParameters, len(*in)) + *out = make([]PackageRepositoryScopeParameters, 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)) + *out = make([]PackageRepositorySpecParameters, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositoryParameters. +func (in *PackageRepositoryParameters) DeepCopy() *PackageRepositoryParameters { if in == nil { return nil } - out := new(Package_RepositoryParameters) + out := new(PackageRepositoryParameters) 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) { +func (in *PackageRepositoryScopeClusterObservation) DeepCopyInto(out *PackageRepositoryScopeClusterObservation) { *out = *in if in.ManagementClusterName != nil { in, out := &in.ManagementClusterName, &out.ManagementClusterName @@ -13587,18 +13597,18 @@ func (in *Package_RepositoryScopeClusterObservation) DeepCopyInto(out *Package_R } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_RepositoryScopeClusterObservation. -func (in *Package_RepositoryScopeClusterObservation) DeepCopy() *Package_RepositoryScopeClusterObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositoryScopeClusterObservation. +func (in *PackageRepositoryScopeClusterObservation) DeepCopy() *PackageRepositoryScopeClusterObservation { if in == nil { return nil } - out := new(Package_RepositoryScopeClusterObservation) + out := new(PackageRepositoryScopeClusterObservation) 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) { +func (in *PackageRepositoryScopeClusterParameters) DeepCopyInto(out *PackageRepositoryScopeClusterParameters) { *out = *in if in.ManagementClusterName != nil { in, out := &in.ManagementClusterName, &out.ManagementClusterName @@ -13617,79 +13627,79 @@ func (in *Package_RepositoryScopeClusterParameters) DeepCopyInto(out *Package_Re } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_RepositoryScopeClusterParameters. -func (in *Package_RepositoryScopeClusterParameters) DeepCopy() *Package_RepositoryScopeClusterParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositoryScopeClusterParameters. +func (in *PackageRepositoryScopeClusterParameters) DeepCopy() *PackageRepositoryScopeClusterParameters { if in == nil { return nil } - out := new(Package_RepositoryScopeClusterParameters) + out := new(PackageRepositoryScopeClusterParameters) 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) { +func (in *PackageRepositoryScopeObservation) DeepCopyInto(out *PackageRepositoryScopeObservation) { *out = *in if in.Cluster != nil { in, out := &in.Cluster, &out.Cluster - *out = make([]Package_RepositoryScopeClusterObservation, len(*in)) + *out = make([]PackageRepositoryScopeClusterObservation, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositoryScopeObservation. +func (in *PackageRepositoryScopeObservation) DeepCopy() *PackageRepositoryScopeObservation { if in == nil { return nil } - out := new(Package_RepositoryScopeObservation) + out := new(PackageRepositoryScopeObservation) 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) { +func (in *PackageRepositoryScopeParameters) DeepCopyInto(out *PackageRepositoryScopeParameters) { *out = *in if in.Cluster != nil { in, out := &in.Cluster, &out.Cluster - *out = make([]Package_RepositoryScopeClusterParameters, len(*in)) + *out = make([]PackageRepositoryScopeClusterParameters, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositoryScopeParameters. +func (in *PackageRepositoryScopeParameters) DeepCopy() *PackageRepositoryScopeParameters { if in == nil { return nil } - out := new(Package_RepositoryScopeParameters) + out := new(PackageRepositoryScopeParameters) 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) { +func (in *PackageRepositorySpec) DeepCopyInto(out *PackageRepositorySpec) { *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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositorySpec. +func (in *PackageRepositorySpec) DeepCopy() *PackageRepositorySpec { if in == nil { return nil } - out := new(Package_RepositorySpec) + out := new(PackageRepositorySpec) 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) { +func (in *PackageRepositorySpecObservation) DeepCopyInto(out *PackageRepositorySpecObservation) { *out = *in if in.ImgpkgBundle != nil { in, out := &in.ImgpkgBundle, &out.ImgpkgBundle @@ -13700,18 +13710,18 @@ func (in *Package_RepositorySpecObservation) DeepCopyInto(out *Package_Repositor } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_RepositorySpecObservation. -func (in *Package_RepositorySpecObservation) DeepCopy() *Package_RepositorySpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositorySpecObservation. +func (in *PackageRepositorySpecObservation) DeepCopy() *PackageRepositorySpecObservation { if in == nil { return nil } - out := new(Package_RepositorySpecObservation) + out := new(PackageRepositorySpecObservation) 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) { +func (in *PackageRepositorySpecParameters) DeepCopyInto(out *PackageRepositorySpecParameters) { *out = *in if in.ImgpkgBundle != nil { in, out := &in.ImgpkgBundle, &out.ImgpkgBundle @@ -13722,29 +13732,29 @@ func (in *Package_RepositorySpecParameters) DeepCopyInto(out *Package_Repository } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package_RepositorySpecParameters. -func (in *Package_RepositorySpecParameters) DeepCopy() *Package_RepositorySpecParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositorySpecParameters. +func (in *PackageRepositorySpecParameters) DeepCopy() *PackageRepositorySpecParameters { if in == nil { return nil } - out := new(Package_RepositorySpecParameters) + out := new(PackageRepositorySpecParameters) 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) { +func (in *PackageRepositoryStatus) DeepCopyInto(out *PackageRepositoryStatus) { *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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositoryStatus. +func (in *PackageRepositoryStatus) DeepCopy() *PackageRepositoryStatus { if in == nil { return nil } - out := new(Package_RepositoryStatus) + out := new(PackageRepositoryStatus) in.DeepCopyInto(out) return out } @@ -14124,7 +14134,7 @@ func (in *RemoteAccessParameters) DeepCopy() *RemoteAccessParameters { } // 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) { +func (in *RepositoryCredential) DeepCopyInto(out *RepositoryCredential) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -14132,18 +14142,18 @@ func (in *Repository_Credential) DeepCopyInto(out *Repository_Credential) { 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryCredential. +func (in *RepositoryCredential) DeepCopy() *RepositoryCredential { if in == nil { return nil } - out := new(Repository_Credential) + out := new(RepositoryCredential) 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 { +func (in *RepositoryCredential) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -14151,31 +14161,31 @@ func (in *Repository_Credential) DeepCopyObject() runtime.Object { } // 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) { +func (in *RepositoryCredentialList) DeepCopyInto(out *RepositoryCredentialList) { *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)) + *out = make([]RepositoryCredential, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryCredentialList. +func (in *RepositoryCredentialList) DeepCopy() *RepositoryCredentialList { if in == nil { return nil } - out := new(Repository_CredentialList) + out := new(RepositoryCredentialList) 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 { +func (in *RepositoryCredentialList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -14183,7 +14193,7 @@ func (in *Repository_CredentialList) DeepCopyObject() runtime.Object { } // 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) { +func (in *RepositoryCredentialMetaObservation) DeepCopyInto(out *RepositoryCredentialMetaObservation) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -14232,18 +14242,18 @@ func (in *Repository_CredentialMetaObservation) DeepCopyInto(out *Repository_Cre } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_CredentialMetaObservation. -func (in *Repository_CredentialMetaObservation) DeepCopy() *Repository_CredentialMetaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryCredentialMetaObservation. +func (in *RepositoryCredentialMetaObservation) DeepCopy() *RepositoryCredentialMetaObservation { if in == nil { return nil } - out := new(Repository_CredentialMetaObservation) + out := new(RepositoryCredentialMetaObservation) 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) { +func (in *RepositoryCredentialMetaParameters) DeepCopyInto(out *RepositoryCredentialMetaParameters) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -14282,18 +14292,18 @@ func (in *Repository_CredentialMetaParameters) DeepCopyInto(out *Repository_Cred } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_CredentialMetaParameters. -func (in *Repository_CredentialMetaParameters) DeepCopy() *Repository_CredentialMetaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryCredentialMetaParameters. +func (in *RepositoryCredentialMetaParameters) DeepCopy() *RepositoryCredentialMetaParameters { if in == nil { return nil } - out := new(Repository_CredentialMetaParameters) + out := new(RepositoryCredentialMetaParameters) 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) { +func (in *RepositoryCredentialObservation) DeepCopyInto(out *RepositoryCredentialObservation) { *out = *in if in.ID != nil { in, out := &in.ID, &out.ID @@ -14302,7 +14312,7 @@ func (in *Repository_CredentialObservation) DeepCopyInto(out *Repository_Credent } if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Repository_CredentialMetaObservation, len(*in)) + *out = make([]RepositoryCredentialMetaObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -14319,36 +14329,36 @@ func (in *Repository_CredentialObservation) DeepCopyInto(out *Repository_Credent } if in.Scope != nil { in, out := &in.Scope, &out.Scope - *out = make([]Repository_CredentialScopeObservation, len(*in)) + *out = make([]RepositoryCredentialScopeObservation, 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)) + *out = make([]RepositoryCredentialSpecObservation, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryCredentialObservation. +func (in *RepositoryCredentialObservation) DeepCopy() *RepositoryCredentialObservation { if in == nil { return nil } - out := new(Repository_CredentialObservation) + out := new(RepositoryCredentialObservation) 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) { +func (in *RepositoryCredentialParameters) DeepCopyInto(out *RepositoryCredentialParameters) { *out = *in if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Repository_CredentialMetaParameters, len(*in)) + *out = make([]RepositoryCredentialMetaParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -14365,32 +14375,32 @@ func (in *Repository_CredentialParameters) DeepCopyInto(out *Repository_Credenti } if in.Scope != nil { in, out := &in.Scope, &out.Scope - *out = make([]Repository_CredentialScopeParameters, len(*in)) + *out = make([]RepositoryCredentialScopeParameters, 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)) + *out = make([]RepositoryCredentialSpecParameters, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryCredentialParameters. +func (in *RepositoryCredentialParameters) DeepCopy() *RepositoryCredentialParameters { if in == nil { return nil } - out := new(Repository_CredentialParameters) + out := new(RepositoryCredentialParameters) 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) { +func (in *RepositoryCredentialScopeClusterGroupObservation) DeepCopyInto(out *RepositoryCredentialScopeClusterGroupObservation) { *out = *in if in.Name != nil { in, out := &in.Name, &out.Name @@ -14399,18 +14409,18 @@ func (in *Repository_CredentialScopeClusterGroupObservation) DeepCopyInto(out *R } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_CredentialScopeClusterGroupObservation. -func (in *Repository_CredentialScopeClusterGroupObservation) DeepCopy() *Repository_CredentialScopeClusterGroupObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryCredentialScopeClusterGroupObservation. +func (in *RepositoryCredentialScopeClusterGroupObservation) DeepCopy() *RepositoryCredentialScopeClusterGroupObservation { if in == nil { return nil } - out := new(Repository_CredentialScopeClusterGroupObservation) + out := new(RepositoryCredentialScopeClusterGroupObservation) 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) { +func (in *RepositoryCredentialScopeClusterGroupParameters) DeepCopyInto(out *RepositoryCredentialScopeClusterGroupParameters) { *out = *in if in.Name != nil { in, out := &in.Name, &out.Name @@ -14419,18 +14429,18 @@ func (in *Repository_CredentialScopeClusterGroupParameters) DeepCopyInto(out *Re } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_CredentialScopeClusterGroupParameters. -func (in *Repository_CredentialScopeClusterGroupParameters) DeepCopy() *Repository_CredentialScopeClusterGroupParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryCredentialScopeClusterGroupParameters. +func (in *RepositoryCredentialScopeClusterGroupParameters) DeepCopy() *RepositoryCredentialScopeClusterGroupParameters { if in == nil { return nil } - out := new(Repository_CredentialScopeClusterGroupParameters) + out := new(RepositoryCredentialScopeClusterGroupParameters) 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) { +func (in *RepositoryCredentialScopeClusterObservation) DeepCopyInto(out *RepositoryCredentialScopeClusterObservation) { *out = *in if in.ManagementClusterName != nil { in, out := &in.ManagementClusterName, &out.ManagementClusterName @@ -14449,18 +14459,18 @@ func (in *Repository_CredentialScopeClusterObservation) DeepCopyInto(out *Reposi } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_CredentialScopeClusterObservation. -func (in *Repository_CredentialScopeClusterObservation) DeepCopy() *Repository_CredentialScopeClusterObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryCredentialScopeClusterObservation. +func (in *RepositoryCredentialScopeClusterObservation) DeepCopy() *RepositoryCredentialScopeClusterObservation { if in == nil { return nil } - out := new(Repository_CredentialScopeClusterObservation) + out := new(RepositoryCredentialScopeClusterObservation) 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) { +func (in *RepositoryCredentialScopeClusterParameters) DeepCopyInto(out *RepositoryCredentialScopeClusterParameters) { *out = *in if in.ManagementClusterName != nil { in, out := &in.ManagementClusterName, &out.ManagementClusterName @@ -14479,93 +14489,93 @@ func (in *Repository_CredentialScopeClusterParameters) DeepCopyInto(out *Reposit } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_CredentialScopeClusterParameters. -func (in *Repository_CredentialScopeClusterParameters) DeepCopy() *Repository_CredentialScopeClusterParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryCredentialScopeClusterParameters. +func (in *RepositoryCredentialScopeClusterParameters) DeepCopy() *RepositoryCredentialScopeClusterParameters { if in == nil { return nil } - out := new(Repository_CredentialScopeClusterParameters) + out := new(RepositoryCredentialScopeClusterParameters) 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) { +func (in *RepositoryCredentialScopeObservation) DeepCopyInto(out *RepositoryCredentialScopeObservation) { *out = *in if in.Cluster != nil { in, out := &in.Cluster, &out.Cluster - *out = make([]Repository_CredentialScopeClusterObservation, len(*in)) + *out = make([]RepositoryCredentialScopeClusterObservation, 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)) + *out = make([]RepositoryCredentialScopeClusterGroupObservation, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryCredentialScopeObservation. +func (in *RepositoryCredentialScopeObservation) DeepCopy() *RepositoryCredentialScopeObservation { if in == nil { return nil } - out := new(Repository_CredentialScopeObservation) + out := new(RepositoryCredentialScopeObservation) 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) { +func (in *RepositoryCredentialScopeParameters) DeepCopyInto(out *RepositoryCredentialScopeParameters) { *out = *in if in.Cluster != nil { in, out := &in.Cluster, &out.Cluster - *out = make([]Repository_CredentialScopeClusterParameters, len(*in)) + *out = make([]RepositoryCredentialScopeClusterParameters, 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)) + *out = make([]RepositoryCredentialScopeClusterGroupParameters, 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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryCredentialScopeParameters. +func (in *RepositoryCredentialScopeParameters) DeepCopy() *RepositoryCredentialScopeParameters { if in == nil { return nil } - out := new(Repository_CredentialScopeParameters) + out := new(RepositoryCredentialScopeParameters) 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) { +func (in *RepositoryCredentialSpec) DeepCopyInto(out *RepositoryCredentialSpec) { *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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryCredentialSpec. +func (in *RepositoryCredentialSpec) DeepCopy() *RepositoryCredentialSpec { if in == nil { return nil } - out := new(Repository_CredentialSpec) + out := new(RepositoryCredentialSpec) 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) { +func (in *RepositoryCredentialSpecObservation) DeepCopyInto(out *RepositoryCredentialSpecObservation) { *out = *in if in.Data != nil { in, out := &in.Data, &out.Data @@ -14576,18 +14586,18 @@ func (in *Repository_CredentialSpecObservation) DeepCopyInto(out *Repository_Cre } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_CredentialSpecObservation. -func (in *Repository_CredentialSpecObservation) DeepCopy() *Repository_CredentialSpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryCredentialSpecObservation. +func (in *RepositoryCredentialSpecObservation) DeepCopy() *RepositoryCredentialSpecObservation { if in == nil { return nil } - out := new(Repository_CredentialSpecObservation) + out := new(RepositoryCredentialSpecObservation) 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) { +func (in *RepositoryCredentialSpecParameters) DeepCopyInto(out *RepositoryCredentialSpecParameters) { *out = *in if in.Data != nil { in, out := &in.Data, &out.Data @@ -14598,29 +14608,29 @@ func (in *Repository_CredentialSpecParameters) DeepCopyInto(out *Repository_Cred } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_CredentialSpecParameters. -func (in *Repository_CredentialSpecParameters) DeepCopy() *Repository_CredentialSpecParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryCredentialSpecParameters. +func (in *RepositoryCredentialSpecParameters) DeepCopy() *RepositoryCredentialSpecParameters { if in == nil { return nil } - out := new(Repository_CredentialSpecParameters) + out := new(RepositoryCredentialSpecParameters) 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) { +func (in *RepositoryCredentialStatus) DeepCopyInto(out *RepositoryCredentialStatus) { *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 { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryCredentialStatus. +func (in *RepositoryCredentialStatus) DeepCopy() *RepositoryCredentialStatus { if in == nil { return nil } - out := new(Repository_CredentialStatus) + out := new(RepositoryCredentialStatus) in.DeepCopyInto(out) return out } @@ -15435,8 +15445,8 @@ func (in *ScalingConfigParameters) DeepCopy() *ScalingConfigParameters { // 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 + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup *out = new(string) **out = **in } @@ -15455,8 +15465,8 @@ func (in *ScopeClusterGroupObservation) DeepCopy() *ScopeClusterGroupObservation // 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 + if in.ClusterGroup != nil { + in, out := &in.ClusterGroup, &out.ClusterGroup *out = new(string) **out = **in } @@ -15544,7 +15554,7 @@ func (in *ScopeObservation) DeepCopyInto(out *ScopeObservation) { } if in.ClusterGroup != nil { in, out := &in.ClusterGroup, &out.ClusterGroup - *out = make([]ClusterGroupObservation, len(*in)) + *out = make([]ScopeClusterGroupObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -15627,7 +15637,7 @@ func (in *ScopeParameters) DeepCopyInto(out *ScopeParameters) { } if in.ClusterGroup != nil { in, out := &in.ClusterGroup, &out.ClusterGroup - *out = make([]ClusterGroupParameters, len(*in)) + *out = make([]ScopeClusterGroupParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -15813,7 +15823,7 @@ func (in *SecurityParameters) DeepCopy() *SecurityParameters { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_Policy) DeepCopyInto(out *Security_Policy) { +func (in *SecurityPolicy) DeepCopyInto(out *SecurityPolicy) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -15821,18 +15831,18 @@ func (in *Security_Policy) DeepCopyInto(out *Security_Policy) { in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_Policy. -func (in *Security_Policy) DeepCopy() *Security_Policy { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicy. +func (in *SecurityPolicy) DeepCopy() *SecurityPolicy { if in == nil { return nil } - out := new(Security_Policy) + out := new(SecurityPolicy) 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 { +func (in *SecurityPolicy) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -15840,31 +15850,31 @@ func (in *Security_Policy) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicyList) DeepCopyInto(out *Security_PolicyList) { +func (in *SecurityPolicyList) DeepCopyInto(out *SecurityPolicyList) { *out = *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)) + *out = make([]SecurityPolicy, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyList. -func (in *Security_PolicyList) DeepCopy() *Security_PolicyList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicyList. +func (in *SecurityPolicyList) DeepCopy() *SecurityPolicyList { if in == nil { return nil } - out := new(Security_PolicyList) + out := new(SecurityPolicyList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Security_PolicyList) DeepCopyObject() runtime.Object { +func (in *SecurityPolicyList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -15872,7 +15882,7 @@ func (in *Security_PolicyList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicyMetaObservation) DeepCopyInto(out *Security_PolicyMetaObservation) { +func (in *SecurityPolicyMetaObservation) DeepCopyInto(out *SecurityPolicyMetaObservation) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -15921,18 +15931,18 @@ func (in *Security_PolicyMetaObservation) DeepCopyInto(out *Security_PolicyMetaO } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyMetaObservation. -func (in *Security_PolicyMetaObservation) DeepCopy() *Security_PolicyMetaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicyMetaObservation. +func (in *SecurityPolicyMetaObservation) DeepCopy() *SecurityPolicyMetaObservation { if in == nil { return nil } - out := new(Security_PolicyMetaObservation) + out := new(SecurityPolicyMetaObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicyMetaParameters) DeepCopyInto(out *Security_PolicyMetaParameters) { +func (in *SecurityPolicyMetaParameters) DeepCopyInto(out *SecurityPolicyMetaParameters) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -15971,18 +15981,18 @@ func (in *Security_PolicyMetaParameters) DeepCopyInto(out *Security_PolicyMetaPa } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyMetaParameters. -func (in *Security_PolicyMetaParameters) DeepCopy() *Security_PolicyMetaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicyMetaParameters. +func (in *SecurityPolicyMetaParameters) DeepCopy() *SecurityPolicyMetaParameters { if in == nil { return nil } - out := new(Security_PolicyMetaParameters) + out := new(SecurityPolicyMetaParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicyObservation) DeepCopyInto(out *Security_PolicyObservation) { +func (in *SecurityPolicyObservation) DeepCopyInto(out *SecurityPolicyObservation) { *out = *in if in.ID != nil { in, out := &in.ID, &out.ID @@ -15991,7 +16001,7 @@ func (in *Security_PolicyObservation) DeepCopyInto(out *Security_PolicyObservati } if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Security_PolicyMetaObservation, len(*in)) + *out = make([]SecurityPolicyMetaObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -16003,36 +16013,36 @@ func (in *Security_PolicyObservation) DeepCopyInto(out *Security_PolicyObservati } if in.Scope != nil { in, out := &in.Scope, &out.Scope - *out = make([]Security_PolicyScopeObservation, len(*in)) + *out = make([]SecurityPolicyScopeObservation, 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)) + *out = make([]SecurityPolicySpecObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyObservation. -func (in *Security_PolicyObservation) DeepCopy() *Security_PolicyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicyObservation. +func (in *SecurityPolicyObservation) DeepCopy() *SecurityPolicyObservation { if in == nil { return nil } - out := new(Security_PolicyObservation) + out := new(SecurityPolicyObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicyParameters) DeepCopyInto(out *Security_PolicyParameters) { +func (in *SecurityPolicyParameters) DeepCopyInto(out *SecurityPolicyParameters) { *out = *in if in.Meta != nil { in, out := &in.Meta, &out.Meta - *out = make([]Security_PolicyMetaParameters, len(*in)) + *out = make([]SecurityPolicyMetaParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -16044,32 +16054,32 @@ func (in *Security_PolicyParameters) DeepCopyInto(out *Security_PolicyParameters } if in.Scope != nil { in, out := &in.Scope, &out.Scope - *out = make([]Security_PolicyScopeParameters, len(*in)) + *out = make([]SecurityPolicyScopeParameters, 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)) + *out = make([]SecurityPolicySpecParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyParameters. -func (in *Security_PolicyParameters) DeepCopy() *Security_PolicyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicyParameters. +func (in *SecurityPolicyParameters) DeepCopy() *SecurityPolicyParameters { if in == nil { return nil } - out := new(Security_PolicyParameters) + out := new(SecurityPolicyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicyScopeClusterGroupObservation) DeepCopyInto(out *Security_PolicyScopeClusterGroupObservation) { +func (in *SecurityPolicyScopeClusterGroupObservation) DeepCopyInto(out *SecurityPolicyScopeClusterGroupObservation) { *out = *in if in.ClusterGroup != nil { in, out := &in.ClusterGroup, &out.ClusterGroup @@ -16078,18 +16088,18 @@ func (in *Security_PolicyScopeClusterGroupObservation) DeepCopyInto(out *Securit } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyScopeClusterGroupObservation. -func (in *Security_PolicyScopeClusterGroupObservation) DeepCopy() *Security_PolicyScopeClusterGroupObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicyScopeClusterGroupObservation. +func (in *SecurityPolicyScopeClusterGroupObservation) DeepCopy() *SecurityPolicyScopeClusterGroupObservation { if in == nil { return nil } - out := new(Security_PolicyScopeClusterGroupObservation) + out := new(SecurityPolicyScopeClusterGroupObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicyScopeClusterGroupParameters) DeepCopyInto(out *Security_PolicyScopeClusterGroupParameters) { +func (in *SecurityPolicyScopeClusterGroupParameters) DeepCopyInto(out *SecurityPolicyScopeClusterGroupParameters) { *out = *in if in.ClusterGroup != nil { in, out := &in.ClusterGroup, &out.ClusterGroup @@ -16098,18 +16108,18 @@ func (in *Security_PolicyScopeClusterGroupParameters) DeepCopyInto(out *Security } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyScopeClusterGroupParameters. -func (in *Security_PolicyScopeClusterGroupParameters) DeepCopy() *Security_PolicyScopeClusterGroupParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicyScopeClusterGroupParameters. +func (in *SecurityPolicyScopeClusterGroupParameters) DeepCopy() *SecurityPolicyScopeClusterGroupParameters { if in == nil { return nil } - out := new(Security_PolicyScopeClusterGroupParameters) + out := new(SecurityPolicyScopeClusterGroupParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicyScopeClusterObservation) DeepCopyInto(out *Security_PolicyScopeClusterObservation) { +func (in *SecurityPolicyScopeClusterObservation) DeepCopyInto(out *SecurityPolicyScopeClusterObservation) { *out = *in if in.ManagementClusterName != nil { in, out := &in.ManagementClusterName, &out.ManagementClusterName @@ -16128,18 +16138,18 @@ func (in *Security_PolicyScopeClusterObservation) DeepCopyInto(out *Security_Pol } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyScopeClusterObservation. -func (in *Security_PolicyScopeClusterObservation) DeepCopy() *Security_PolicyScopeClusterObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicyScopeClusterObservation. +func (in *SecurityPolicyScopeClusterObservation) DeepCopy() *SecurityPolicyScopeClusterObservation { if in == nil { return nil } - out := new(Security_PolicyScopeClusterObservation) + out := new(SecurityPolicyScopeClusterObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicyScopeClusterParameters) DeepCopyInto(out *Security_PolicyScopeClusterParameters) { +func (in *SecurityPolicyScopeClusterParameters) DeepCopyInto(out *SecurityPolicyScopeClusterParameters) { *out = *in if in.ManagementClusterName != nil { in, out := &in.ManagementClusterName, &out.ManagementClusterName @@ -16158,61 +16168,61 @@ func (in *Security_PolicyScopeClusterParameters) DeepCopyInto(out *Security_Poli } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyScopeClusterParameters. -func (in *Security_PolicyScopeClusterParameters) DeepCopy() *Security_PolicyScopeClusterParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicyScopeClusterParameters. +func (in *SecurityPolicyScopeClusterParameters) DeepCopy() *SecurityPolicyScopeClusterParameters { if in == nil { return nil } - out := new(Security_PolicyScopeClusterParameters) + out := new(SecurityPolicyScopeClusterParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicyScopeObservation) DeepCopyInto(out *Security_PolicyScopeObservation) { +func (in *SecurityPolicyScopeObservation) DeepCopyInto(out *SecurityPolicyScopeObservation) { *out = *in if in.Cluster != nil { in, out := &in.Cluster, &out.Cluster - *out = make([]Security_PolicyScopeClusterObservation, len(*in)) + *out = make([]SecurityPolicyScopeClusterObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.ClusterGroup != nil { in, out := &in.ClusterGroup, &out.ClusterGroup - *out = make([]Security_PolicyScopeClusterGroupObservation, len(*in)) + *out = make([]SecurityPolicyScopeClusterGroupObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.Organization != nil { in, out := &in.Organization, &out.Organization - *out = make([]Security_PolicyScopeOrganizationObservation, len(*in)) + *out = make([]SecurityPolicyScopeOrganizationObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.Workspace != nil { in, out := &in.Workspace, &out.Workspace - *out = make([]Security_PolicyScopeWorkspaceObservation, len(*in)) + *out = make([]SecurityPolicyScopeWorkspaceObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyScopeObservation. -func (in *Security_PolicyScopeObservation) DeepCopy() *Security_PolicyScopeObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicyScopeObservation. +func (in *SecurityPolicyScopeObservation) DeepCopy() *SecurityPolicyScopeObservation { if in == nil { return nil } - out := new(Security_PolicyScopeObservation) + out := new(SecurityPolicyScopeObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicyScopeOrganizationObservation) DeepCopyInto(out *Security_PolicyScopeOrganizationObservation) { +func (in *SecurityPolicyScopeOrganizationObservation) DeepCopyInto(out *SecurityPolicyScopeOrganizationObservation) { *out = *in if in.Organization != nil { in, out := &in.Organization, &out.Organization @@ -16221,18 +16231,18 @@ func (in *Security_PolicyScopeOrganizationObservation) DeepCopyInto(out *Securit } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyScopeOrganizationObservation. -func (in *Security_PolicyScopeOrganizationObservation) DeepCopy() *Security_PolicyScopeOrganizationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicyScopeOrganizationObservation. +func (in *SecurityPolicyScopeOrganizationObservation) DeepCopy() *SecurityPolicyScopeOrganizationObservation { if in == nil { return nil } - out := new(Security_PolicyScopeOrganizationObservation) + out := new(SecurityPolicyScopeOrganizationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicyScopeOrganizationParameters) DeepCopyInto(out *Security_PolicyScopeOrganizationParameters) { +func (in *SecurityPolicyScopeOrganizationParameters) DeepCopyInto(out *SecurityPolicyScopeOrganizationParameters) { *out = *in if in.Organization != nil { in, out := &in.Organization, &out.Organization @@ -16241,61 +16251,61 @@ func (in *Security_PolicyScopeOrganizationParameters) DeepCopyInto(out *Security } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyScopeOrganizationParameters. -func (in *Security_PolicyScopeOrganizationParameters) DeepCopy() *Security_PolicyScopeOrganizationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicyScopeOrganizationParameters. +func (in *SecurityPolicyScopeOrganizationParameters) DeepCopy() *SecurityPolicyScopeOrganizationParameters { if in == nil { return nil } - out := new(Security_PolicyScopeOrganizationParameters) + out := new(SecurityPolicyScopeOrganizationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicyScopeParameters) DeepCopyInto(out *Security_PolicyScopeParameters) { +func (in *SecurityPolicyScopeParameters) DeepCopyInto(out *SecurityPolicyScopeParameters) { *out = *in if in.Cluster != nil { in, out := &in.Cluster, &out.Cluster - *out = make([]Security_PolicyScopeClusterParameters, len(*in)) + *out = make([]SecurityPolicyScopeClusterParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.ClusterGroup != nil { in, out := &in.ClusterGroup, &out.ClusterGroup - *out = make([]Security_PolicyScopeClusterGroupParameters, len(*in)) + *out = make([]SecurityPolicyScopeClusterGroupParameters, 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)) + *out = make([]SecurityPolicyScopeOrganizationParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.Workspace != nil { in, out := &in.Workspace, &out.Workspace - *out = make([]Security_PolicyScopeWorkspaceParameters, len(*in)) + *out = make([]SecurityPolicyScopeWorkspaceParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyScopeParameters. -func (in *Security_PolicyScopeParameters) DeepCopy() *Security_PolicyScopeParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicyScopeParameters. +func (in *SecurityPolicyScopeParameters) DeepCopy() *SecurityPolicyScopeParameters { if in == nil { return nil } - out := new(Security_PolicyScopeParameters) + out := new(SecurityPolicyScopeParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicyScopeWorkspaceObservation) DeepCopyInto(out *Security_PolicyScopeWorkspaceObservation) { +func (in *SecurityPolicyScopeWorkspaceObservation) DeepCopyInto(out *SecurityPolicyScopeWorkspaceObservation) { *out = *in if in.Workspace != nil { in, out := &in.Workspace, &out.Workspace @@ -16304,18 +16314,18 @@ func (in *Security_PolicyScopeWorkspaceObservation) DeepCopyInto(out *Security_P } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyScopeWorkspaceObservation. -func (in *Security_PolicyScopeWorkspaceObservation) DeepCopy() *Security_PolicyScopeWorkspaceObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicyScopeWorkspaceObservation. +func (in *SecurityPolicyScopeWorkspaceObservation) DeepCopy() *SecurityPolicyScopeWorkspaceObservation { if in == nil { return nil } - out := new(Security_PolicyScopeWorkspaceObservation) + out := new(SecurityPolicyScopeWorkspaceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicyScopeWorkspaceParameters) DeepCopyInto(out *Security_PolicyScopeWorkspaceParameters) { +func (in *SecurityPolicyScopeWorkspaceParameters) DeepCopyInto(out *SecurityPolicyScopeWorkspaceParameters) { *out = *in if in.Workspace != nil { in, out := &in.Workspace, &out.Workspace @@ -16324,35 +16334,35 @@ func (in *Security_PolicyScopeWorkspaceParameters) DeepCopyInto(out *Security_Po } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyScopeWorkspaceParameters. -func (in *Security_PolicyScopeWorkspaceParameters) DeepCopy() *Security_PolicyScopeWorkspaceParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicyScopeWorkspaceParameters. +func (in *SecurityPolicyScopeWorkspaceParameters) DeepCopy() *SecurityPolicyScopeWorkspaceParameters { if in == nil { return nil } - out := new(Security_PolicyScopeWorkspaceParameters) + out := new(SecurityPolicyScopeWorkspaceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicySpec) DeepCopyInto(out *Security_PolicySpec) { +func (in *SecurityPolicySpec) DeepCopyInto(out *SecurityPolicySpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicySpec. -func (in *Security_PolicySpec) DeepCopy() *Security_PolicySpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicySpec. +func (in *SecurityPolicySpec) DeepCopy() *SecurityPolicySpec { if in == nil { return nil } - out := new(Security_PolicySpec) + out := new(SecurityPolicySpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicySpecInputObservation) DeepCopyInto(out *Security_PolicySpecInputObservation) { +func (in *SecurityPolicySpecInputObservation) DeepCopyInto(out *SecurityPolicySpecInputObservation) { *out = *in if in.Baseline != nil { in, out := &in.Baseline, &out.Baseline @@ -16377,18 +16387,18 @@ func (in *Security_PolicySpecInputObservation) DeepCopyInto(out *Security_Policy } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicySpecInputObservation. -func (in *Security_PolicySpecInputObservation) DeepCopy() *Security_PolicySpecInputObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicySpecInputObservation. +func (in *SecurityPolicySpecInputObservation) DeepCopy() *SecurityPolicySpecInputObservation { if in == nil { return nil } - out := new(Security_PolicySpecInputObservation) + out := new(SecurityPolicySpecInputObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicySpecInputParameters) DeepCopyInto(out *Security_PolicySpecInputParameters) { +func (in *SecurityPolicySpecInputParameters) DeepCopyInto(out *SecurityPolicySpecInputParameters) { *out = *in if in.Baseline != nil { in, out := &in.Baseline, &out.Baseline @@ -16413,18 +16423,18 @@ func (in *Security_PolicySpecInputParameters) DeepCopyInto(out *Security_PolicyS } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicySpecInputParameters. -func (in *Security_PolicySpecInputParameters) DeepCopy() *Security_PolicySpecInputParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicySpecInputParameters. +func (in *SecurityPolicySpecInputParameters) DeepCopy() *SecurityPolicySpecInputParameters { if in == nil { return nil } - out := new(Security_PolicySpecInputParameters) + out := new(SecurityPolicySpecInputParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicySpecNamespaceSelectorMatchExpressionsObservation) DeepCopyInto(out *Security_PolicySpecNamespaceSelectorMatchExpressionsObservation) { +func (in *SecurityPolicySpecNamespaceSelectorMatchExpressionsObservation) DeepCopyInto(out *SecurityPolicySpecNamespaceSelectorMatchExpressionsObservation) { *out = *in if in.Key != nil { in, out := &in.Key, &out.Key @@ -16449,18 +16459,18 @@ func (in *Security_PolicySpecNamespaceSelectorMatchExpressionsObservation) DeepC } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicySpecNamespaceSelectorMatchExpressionsObservation. -func (in *Security_PolicySpecNamespaceSelectorMatchExpressionsObservation) DeepCopy() *Security_PolicySpecNamespaceSelectorMatchExpressionsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicySpecNamespaceSelectorMatchExpressionsObservation. +func (in *SecurityPolicySpecNamespaceSelectorMatchExpressionsObservation) DeepCopy() *SecurityPolicySpecNamespaceSelectorMatchExpressionsObservation { if in == nil { return nil } - out := new(Security_PolicySpecNamespaceSelectorMatchExpressionsObservation) + out := new(SecurityPolicySpecNamespaceSelectorMatchExpressionsObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicySpecNamespaceSelectorMatchExpressionsParameters) DeepCopyInto(out *Security_PolicySpecNamespaceSelectorMatchExpressionsParameters) { +func (in *SecurityPolicySpecNamespaceSelectorMatchExpressionsParameters) DeepCopyInto(out *SecurityPolicySpecNamespaceSelectorMatchExpressionsParameters) { *out = *in if in.Key != nil { in, out := &in.Key, &out.Key @@ -16485,131 +16495,131 @@ func (in *Security_PolicySpecNamespaceSelectorMatchExpressionsParameters) DeepCo } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicySpecNamespaceSelectorMatchExpressionsParameters. -func (in *Security_PolicySpecNamespaceSelectorMatchExpressionsParameters) DeepCopy() *Security_PolicySpecNamespaceSelectorMatchExpressionsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicySpecNamespaceSelectorMatchExpressionsParameters. +func (in *SecurityPolicySpecNamespaceSelectorMatchExpressionsParameters) DeepCopy() *SecurityPolicySpecNamespaceSelectorMatchExpressionsParameters { if in == nil { return nil } - out := new(Security_PolicySpecNamespaceSelectorMatchExpressionsParameters) + out := new(SecurityPolicySpecNamespaceSelectorMatchExpressionsParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicySpecNamespaceSelectorObservation) DeepCopyInto(out *Security_PolicySpecNamespaceSelectorObservation) { +func (in *SecurityPolicySpecNamespaceSelectorObservation) DeepCopyInto(out *SecurityPolicySpecNamespaceSelectorObservation) { *out = *in if in.MatchExpressions != nil { in, out := &in.MatchExpressions, &out.MatchExpressions - *out = make([]Security_PolicySpecNamespaceSelectorMatchExpressionsObservation, len(*in)) + *out = make([]SecurityPolicySpecNamespaceSelectorMatchExpressionsObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicySpecNamespaceSelectorObservation. -func (in *Security_PolicySpecNamespaceSelectorObservation) DeepCopy() *Security_PolicySpecNamespaceSelectorObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicySpecNamespaceSelectorObservation. +func (in *SecurityPolicySpecNamespaceSelectorObservation) DeepCopy() *SecurityPolicySpecNamespaceSelectorObservation { if in == nil { return nil } - out := new(Security_PolicySpecNamespaceSelectorObservation) + out := new(SecurityPolicySpecNamespaceSelectorObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicySpecNamespaceSelectorParameters) DeepCopyInto(out *Security_PolicySpecNamespaceSelectorParameters) { +func (in *SecurityPolicySpecNamespaceSelectorParameters) DeepCopyInto(out *SecurityPolicySpecNamespaceSelectorParameters) { *out = *in if in.MatchExpressions != nil { in, out := &in.MatchExpressions, &out.MatchExpressions - *out = make([]Security_PolicySpecNamespaceSelectorMatchExpressionsParameters, len(*in)) + *out = make([]SecurityPolicySpecNamespaceSelectorMatchExpressionsParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicySpecNamespaceSelectorParameters. -func (in *Security_PolicySpecNamespaceSelectorParameters) DeepCopy() *Security_PolicySpecNamespaceSelectorParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicySpecNamespaceSelectorParameters. +func (in *SecurityPolicySpecNamespaceSelectorParameters) DeepCopy() *SecurityPolicySpecNamespaceSelectorParameters { if in == nil { return nil } - out := new(Security_PolicySpecNamespaceSelectorParameters) + out := new(SecurityPolicySpecNamespaceSelectorParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicySpecObservation) DeepCopyInto(out *Security_PolicySpecObservation) { +func (in *SecurityPolicySpecObservation) DeepCopyInto(out *SecurityPolicySpecObservation) { *out = *in if in.Input != nil { in, out := &in.Input, &out.Input - *out = make([]Security_PolicySpecInputObservation, len(*in)) + *out = make([]SecurityPolicySpecInputObservation, 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)) + *out = make([]SecurityPolicySpecNamespaceSelectorObservation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicySpecObservation. -func (in *Security_PolicySpecObservation) DeepCopy() *Security_PolicySpecObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicySpecObservation. +func (in *SecurityPolicySpecObservation) DeepCopy() *SecurityPolicySpecObservation { if in == nil { return nil } - out := new(Security_PolicySpecObservation) + out := new(SecurityPolicySpecObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicySpecParameters) DeepCopyInto(out *Security_PolicySpecParameters) { +func (in *SecurityPolicySpecParameters) DeepCopyInto(out *SecurityPolicySpecParameters) { *out = *in if in.Input != nil { in, out := &in.Input, &out.Input - *out = make([]Security_PolicySpecInputParameters, len(*in)) + *out = make([]SecurityPolicySpecInputParameters, 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)) + *out = make([]SecurityPolicySpecNamespaceSelectorParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicySpecParameters. -func (in *Security_PolicySpecParameters) DeepCopy() *Security_PolicySpecParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicySpecParameters. +func (in *SecurityPolicySpecParameters) DeepCopy() *SecurityPolicySpecParameters { if in == nil { return nil } - out := new(Security_PolicySpecParameters) + out := new(SecurityPolicySpecParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Security_PolicyStatus) DeepCopyInto(out *Security_PolicyStatus) { +func (in *SecurityPolicyStatus) DeepCopyInto(out *SecurityPolicyStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Security_PolicyStatus. -func (in *Security_PolicyStatus) DeepCopy() *Security_PolicyStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityPolicyStatus. +func (in *SecurityPolicyStatus) DeepCopy() *SecurityPolicyStatus { if in == nil { return nil } - out := new(Security_PolicyStatus) + out := new(SecurityPolicyStatus) in.DeepCopyInto(out) return out } diff --git a/apis/tmc/v1alpha1/zz_generated.managed.go b/apis/tmc/v1alpha1/zz_generated.managed.go index f902395..b3a030a 100644 --- a/apis/tmc/v1alpha1/zz_generated.managed.go +++ b/apis/tmc/v1alpha1/zz_generated.managed.go @@ -159,155 +159,155 @@ func (mg *Cluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) mg.Spec.WriteConnectionSecretToReference = r } -// GetCondition of this Cluster_Group. -func (mg *Cluster_Group) GetCondition(ct xpv1.ConditionType) xpv1.Condition { +// GetCondition of this ClusterGroup. +func (mg *ClusterGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) } -// GetDeletionPolicy of this Cluster_Group. -func (mg *Cluster_Group) GetDeletionPolicy() xpv1.DeletionPolicy { +// GetDeletionPolicy of this ClusterGroup. +func (mg *ClusterGroup) GetDeletionPolicy() xpv1.DeletionPolicy { return mg.Spec.DeletionPolicy } -// GetManagementPolicy of this Cluster_Group. -func (mg *Cluster_Group) GetManagementPolicy() xpv1.ManagementPolicy { +// GetManagementPolicy of this ClusterGroup. +func (mg *ClusterGroup) GetManagementPolicy() xpv1.ManagementPolicy { return mg.Spec.ManagementPolicy } -// GetProviderConfigReference of this Cluster_Group. -func (mg *Cluster_Group) GetProviderConfigReference() *xpv1.Reference { +// GetProviderConfigReference of this ClusterGroup. +func (mg *ClusterGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } /* -GetProviderReference of this Cluster_Group. +GetProviderReference of this ClusterGroup. Deprecated: Use GetProviderConfigReference. */ -func (mg *Cluster_Group) GetProviderReference() *xpv1.Reference { +func (mg *ClusterGroup) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } -// GetPublishConnectionDetailsTo of this Cluster_Group. -func (mg *Cluster_Group) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { +// GetPublishConnectionDetailsTo of this ClusterGroup. +func (mg *ClusterGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo } -// GetWriteConnectionSecretToReference of this Cluster_Group. -func (mg *Cluster_Group) GetWriteConnectionSecretToReference() *xpv1.SecretReference { +// GetWriteConnectionSecretToReference of this ClusterGroup. +func (mg *ClusterGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference } -// SetConditions of this Cluster_Group. -func (mg *Cluster_Group) SetConditions(c ...xpv1.Condition) { +// SetConditions of this ClusterGroup. +func (mg *ClusterGroup) SetConditions(c ...xpv1.Condition) { mg.Status.SetConditions(c...) } -// SetDeletionPolicy of this Cluster_Group. -func (mg *Cluster_Group) SetDeletionPolicy(r xpv1.DeletionPolicy) { +// SetDeletionPolicy of this ClusterGroup. +func (mg *ClusterGroup) SetDeletionPolicy(r xpv1.DeletionPolicy) { mg.Spec.DeletionPolicy = r } -// SetManagementPolicy of this Cluster_Group. -func (mg *Cluster_Group) SetManagementPolicy(r xpv1.ManagementPolicy) { +// SetManagementPolicy of this ClusterGroup. +func (mg *ClusterGroup) SetManagementPolicy(r xpv1.ManagementPolicy) { mg.Spec.ManagementPolicy = r } -// SetProviderConfigReference of this Cluster_Group. -func (mg *Cluster_Group) SetProviderConfigReference(r *xpv1.Reference) { +// SetProviderConfigReference of this ClusterGroup. +func (mg *ClusterGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } /* -SetProviderReference of this Cluster_Group. +SetProviderReference of this ClusterGroup. Deprecated: Use SetProviderConfigReference. */ -func (mg *Cluster_Group) SetProviderReference(r *xpv1.Reference) { +func (mg *ClusterGroup) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } -// SetPublishConnectionDetailsTo of this Cluster_Group. -func (mg *Cluster_Group) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { +// SetPublishConnectionDetailsTo of this ClusterGroup. +func (mg *ClusterGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r } -// SetWriteConnectionSecretToReference of this Cluster_Group. -func (mg *Cluster_Group) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { +// SetWriteConnectionSecretToReference of this ClusterGroup. +func (mg *ClusterGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r } -// GetCondition of this Cluster_Node_Pool. -func (mg *Cluster_Node_Pool) GetCondition(ct xpv1.ConditionType) xpv1.Condition { +// GetCondition of this ClusterNodePool. +func (mg *ClusterNodePool) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) } -// GetDeletionPolicy of this Cluster_Node_Pool. -func (mg *Cluster_Node_Pool) GetDeletionPolicy() xpv1.DeletionPolicy { +// GetDeletionPolicy of this ClusterNodePool. +func (mg *ClusterNodePool) GetDeletionPolicy() xpv1.DeletionPolicy { return mg.Spec.DeletionPolicy } -// GetManagementPolicy of this Cluster_Node_Pool. -func (mg *Cluster_Node_Pool) GetManagementPolicy() xpv1.ManagementPolicy { +// GetManagementPolicy of this ClusterNodePool. +func (mg *ClusterNodePool) GetManagementPolicy() xpv1.ManagementPolicy { return mg.Spec.ManagementPolicy } -// GetProviderConfigReference of this Cluster_Node_Pool. -func (mg *Cluster_Node_Pool) GetProviderConfigReference() *xpv1.Reference { +// GetProviderConfigReference of this ClusterNodePool. +func (mg *ClusterNodePool) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } /* -GetProviderReference of this Cluster_Node_Pool. +GetProviderReference of this ClusterNodePool. Deprecated: Use GetProviderConfigReference. */ -func (mg *Cluster_Node_Pool) GetProviderReference() *xpv1.Reference { +func (mg *ClusterNodePool) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } -// GetPublishConnectionDetailsTo of this Cluster_Node_Pool. -func (mg *Cluster_Node_Pool) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { +// GetPublishConnectionDetailsTo of this ClusterNodePool. +func (mg *ClusterNodePool) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo } -// GetWriteConnectionSecretToReference of this Cluster_Node_Pool. -func (mg *Cluster_Node_Pool) GetWriteConnectionSecretToReference() *xpv1.SecretReference { +// GetWriteConnectionSecretToReference of this ClusterNodePool. +func (mg *ClusterNodePool) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference } -// SetConditions of this Cluster_Node_Pool. -func (mg *Cluster_Node_Pool) SetConditions(c ...xpv1.Condition) { +// SetConditions of this ClusterNodePool. +func (mg *ClusterNodePool) SetConditions(c ...xpv1.Condition) { mg.Status.SetConditions(c...) } -// SetDeletionPolicy of this Cluster_Node_Pool. -func (mg *Cluster_Node_Pool) SetDeletionPolicy(r xpv1.DeletionPolicy) { +// SetDeletionPolicy of this ClusterNodePool. +func (mg *ClusterNodePool) SetDeletionPolicy(r xpv1.DeletionPolicy) { mg.Spec.DeletionPolicy = r } -// SetManagementPolicy of this Cluster_Node_Pool. -func (mg *Cluster_Node_Pool) SetManagementPolicy(r xpv1.ManagementPolicy) { +// SetManagementPolicy of this ClusterNodePool. +func (mg *ClusterNodePool) SetManagementPolicy(r xpv1.ManagementPolicy) { mg.Spec.ManagementPolicy = r } -// SetProviderConfigReference of this Cluster_Node_Pool. -func (mg *Cluster_Node_Pool) SetProviderConfigReference(r *xpv1.Reference) { +// SetProviderConfigReference of this ClusterNodePool. +func (mg *ClusterNodePool) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } /* -SetProviderReference of this Cluster_Node_Pool. +SetProviderReference of this ClusterNodePool. Deprecated: Use SetProviderConfigReference. */ -func (mg *Cluster_Node_Pool) SetProviderReference(r *xpv1.Reference) { +func (mg *ClusterNodePool) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } -// SetPublishConnectionDetailsTo of this Cluster_Node_Pool. -func (mg *Cluster_Node_Pool) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { +// SetPublishConnectionDetailsTo of this ClusterNodePool. +func (mg *ClusterNodePool) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r } -// SetWriteConnectionSecretToReference of this Cluster_Node_Pool. -func (mg *Cluster_Node_Pool) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { +// SetWriteConnectionSecretToReference of this ClusterNodePool. +func (mg *ClusterNodePool) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r } @@ -387,79 +387,79 @@ func (mg *Credential) SetWriteConnectionSecretToReference(r *xpv1.SecretReferenc mg.Spec.WriteConnectionSecretToReference = r } -// GetCondition of this Custom_Policy. -func (mg *Custom_Policy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { +// GetCondition of this CustomPolicy. +func (mg *CustomPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) } -// GetDeletionPolicy of this Custom_Policy. -func (mg *Custom_Policy) GetDeletionPolicy() xpv1.DeletionPolicy { +// GetDeletionPolicy of this CustomPolicy. +func (mg *CustomPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { return mg.Spec.DeletionPolicy } -// GetManagementPolicy of this Custom_Policy. -func (mg *Custom_Policy) GetManagementPolicy() xpv1.ManagementPolicy { +// GetManagementPolicy of this CustomPolicy. +func (mg *CustomPolicy) GetManagementPolicy() xpv1.ManagementPolicy { return mg.Spec.ManagementPolicy } -// GetProviderConfigReference of this Custom_Policy. -func (mg *Custom_Policy) GetProviderConfigReference() *xpv1.Reference { +// GetProviderConfigReference of this CustomPolicy. +func (mg *CustomPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } /* -GetProviderReference of this Custom_Policy. +GetProviderReference of this CustomPolicy. Deprecated: Use GetProviderConfigReference. */ -func (mg *Custom_Policy) GetProviderReference() *xpv1.Reference { +func (mg *CustomPolicy) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } -// GetPublishConnectionDetailsTo of this Custom_Policy. -func (mg *Custom_Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { +// GetPublishConnectionDetailsTo of this CustomPolicy. +func (mg *CustomPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo } -// GetWriteConnectionSecretToReference of this Custom_Policy. -func (mg *Custom_Policy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { +// GetWriteConnectionSecretToReference of this CustomPolicy. +func (mg *CustomPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference } -// SetConditions of this Custom_Policy. -func (mg *Custom_Policy) SetConditions(c ...xpv1.Condition) { +// SetConditions of this CustomPolicy. +func (mg *CustomPolicy) SetConditions(c ...xpv1.Condition) { mg.Status.SetConditions(c...) } -// SetDeletionPolicy of this Custom_Policy. -func (mg *Custom_Policy) SetDeletionPolicy(r xpv1.DeletionPolicy) { +// SetDeletionPolicy of this CustomPolicy. +func (mg *CustomPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { mg.Spec.DeletionPolicy = r } -// SetManagementPolicy of this Custom_Policy. -func (mg *Custom_Policy) SetManagementPolicy(r xpv1.ManagementPolicy) { +// SetManagementPolicy of this CustomPolicy. +func (mg *CustomPolicy) SetManagementPolicy(r xpv1.ManagementPolicy) { mg.Spec.ManagementPolicy = r } -// SetProviderConfigReference of this Custom_Policy. -func (mg *Custom_Policy) SetProviderConfigReference(r *xpv1.Reference) { +// SetProviderConfigReference of this CustomPolicy. +func (mg *CustomPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } /* -SetProviderReference of this Custom_Policy. +SetProviderReference of this CustomPolicy. Deprecated: Use SetProviderConfigReference. */ -func (mg *Custom_Policy) SetProviderReference(r *xpv1.Reference) { +func (mg *CustomPolicy) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } -// SetPublishConnectionDetailsTo of this Custom_Policy. -func (mg *Custom_Policy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { +// SetPublishConnectionDetailsTo of this CustomPolicy. +func (mg *CustomPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r } -// SetWriteConnectionSecretToReference of this Custom_Policy. -func (mg *Custom_Policy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { +// SetWriteConnectionSecretToReference of this CustomPolicy. +func (mg *CustomPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r } @@ -539,231 +539,231 @@ func (mg *EKSCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReferenc mg.Spec.WriteConnectionSecretToReference = r } -// GetCondition of this Git_Repository. -func (mg *Git_Repository) GetCondition(ct xpv1.ConditionType) xpv1.Condition { +// GetCondition of this GitRepository. +func (mg *GitRepository) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) } -// GetDeletionPolicy of this Git_Repository. -func (mg *Git_Repository) GetDeletionPolicy() xpv1.DeletionPolicy { +// GetDeletionPolicy of this GitRepository. +func (mg *GitRepository) GetDeletionPolicy() xpv1.DeletionPolicy { return mg.Spec.DeletionPolicy } -// GetManagementPolicy of this Git_Repository. -func (mg *Git_Repository) GetManagementPolicy() xpv1.ManagementPolicy { +// GetManagementPolicy of this GitRepository. +func (mg *GitRepository) GetManagementPolicy() xpv1.ManagementPolicy { return mg.Spec.ManagementPolicy } -// GetProviderConfigReference of this Git_Repository. -func (mg *Git_Repository) GetProviderConfigReference() *xpv1.Reference { +// GetProviderConfigReference of this GitRepository. +func (mg *GitRepository) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } /* -GetProviderReference of this Git_Repository. +GetProviderReference of this GitRepository. Deprecated: Use GetProviderConfigReference. */ -func (mg *Git_Repository) GetProviderReference() *xpv1.Reference { +func (mg *GitRepository) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } -// GetPublishConnectionDetailsTo of this Git_Repository. -func (mg *Git_Repository) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { +// GetPublishConnectionDetailsTo of this GitRepository. +func (mg *GitRepository) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo } -// GetWriteConnectionSecretToReference of this Git_Repository. -func (mg *Git_Repository) GetWriteConnectionSecretToReference() *xpv1.SecretReference { +// GetWriteConnectionSecretToReference of this GitRepository. +func (mg *GitRepository) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference } -// SetConditions of this Git_Repository. -func (mg *Git_Repository) SetConditions(c ...xpv1.Condition) { +// SetConditions of this GitRepository. +func (mg *GitRepository) SetConditions(c ...xpv1.Condition) { mg.Status.SetConditions(c...) } -// SetDeletionPolicy of this Git_Repository. -func (mg *Git_Repository) SetDeletionPolicy(r xpv1.DeletionPolicy) { +// SetDeletionPolicy of this GitRepository. +func (mg *GitRepository) SetDeletionPolicy(r xpv1.DeletionPolicy) { mg.Spec.DeletionPolicy = r } -// SetManagementPolicy of this Git_Repository. -func (mg *Git_Repository) SetManagementPolicy(r xpv1.ManagementPolicy) { +// SetManagementPolicy of this GitRepository. +func (mg *GitRepository) SetManagementPolicy(r xpv1.ManagementPolicy) { mg.Spec.ManagementPolicy = r } -// SetProviderConfigReference of this Git_Repository. -func (mg *Git_Repository) SetProviderConfigReference(r *xpv1.Reference) { +// SetProviderConfigReference of this GitRepository. +func (mg *GitRepository) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } /* -SetProviderReference of this Git_Repository. +SetProviderReference of this GitRepository. Deprecated: Use SetProviderConfigReference. */ -func (mg *Git_Repository) SetProviderReference(r *xpv1.Reference) { +func (mg *GitRepository) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } -// SetPublishConnectionDetailsTo of this Git_Repository. -func (mg *Git_Repository) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { +// SetPublishConnectionDetailsTo of this GitRepository. +func (mg *GitRepository) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r } -// SetWriteConnectionSecretToReference of this Git_Repository. -func (mg *Git_Repository) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { +// SetWriteConnectionSecretToReference of this GitRepository. +func (mg *GitRepository) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r } -// GetCondition of this Iam_Policy. -func (mg *Iam_Policy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { +// GetCondition of this IamPolicy. +func (mg *IamPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) } -// GetDeletionPolicy of this Iam_Policy. -func (mg *Iam_Policy) GetDeletionPolicy() xpv1.DeletionPolicy { +// GetDeletionPolicy of this IamPolicy. +func (mg *IamPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { return mg.Spec.DeletionPolicy } -// GetManagementPolicy of this Iam_Policy. -func (mg *Iam_Policy) GetManagementPolicy() xpv1.ManagementPolicy { +// GetManagementPolicy of this IamPolicy. +func (mg *IamPolicy) GetManagementPolicy() xpv1.ManagementPolicy { return mg.Spec.ManagementPolicy } -// GetProviderConfigReference of this Iam_Policy. -func (mg *Iam_Policy) GetProviderConfigReference() *xpv1.Reference { +// GetProviderConfigReference of this IamPolicy. +func (mg *IamPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } /* -GetProviderReference of this Iam_Policy. +GetProviderReference of this IamPolicy. Deprecated: Use GetProviderConfigReference. */ -func (mg *Iam_Policy) GetProviderReference() *xpv1.Reference { +func (mg *IamPolicy) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } -// GetPublishConnectionDetailsTo of this Iam_Policy. -func (mg *Iam_Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { +// GetPublishConnectionDetailsTo of this IamPolicy. +func (mg *IamPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo } -// GetWriteConnectionSecretToReference of this Iam_Policy. -func (mg *Iam_Policy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { +// GetWriteConnectionSecretToReference of this IamPolicy. +func (mg *IamPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference } -// SetConditions of this Iam_Policy. -func (mg *Iam_Policy) SetConditions(c ...xpv1.Condition) { +// SetConditions of this IamPolicy. +func (mg *IamPolicy) SetConditions(c ...xpv1.Condition) { mg.Status.SetConditions(c...) } -// SetDeletionPolicy of this Iam_Policy. -func (mg *Iam_Policy) SetDeletionPolicy(r xpv1.DeletionPolicy) { +// SetDeletionPolicy of this IamPolicy. +func (mg *IamPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { mg.Spec.DeletionPolicy = r } -// SetManagementPolicy of this Iam_Policy. -func (mg *Iam_Policy) SetManagementPolicy(r xpv1.ManagementPolicy) { +// SetManagementPolicy of this IamPolicy. +func (mg *IamPolicy) SetManagementPolicy(r xpv1.ManagementPolicy) { mg.Spec.ManagementPolicy = r } -// SetProviderConfigReference of this Iam_Policy. -func (mg *Iam_Policy) SetProviderConfigReference(r *xpv1.Reference) { +// SetProviderConfigReference of this IamPolicy. +func (mg *IamPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } /* -SetProviderReference of this Iam_Policy. +SetProviderReference of this IamPolicy. Deprecated: Use SetProviderConfigReference. */ -func (mg *Iam_Policy) SetProviderReference(r *xpv1.Reference) { +func (mg *IamPolicy) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } -// SetPublishConnectionDetailsTo of this Iam_Policy. -func (mg *Iam_Policy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { +// SetPublishConnectionDetailsTo of this IamPolicy. +func (mg *IamPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r } -// SetWriteConnectionSecretToReference of this Iam_Policy. -func (mg *Iam_Policy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { +// SetWriteConnectionSecretToReference of this IamPolicy. +func (mg *IamPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r } -// GetCondition of this Image_Policy. -func (mg *Image_Policy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { +// GetCondition of this ImagePolicy. +func (mg *ImagePolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) } -// GetDeletionPolicy of this Image_Policy. -func (mg *Image_Policy) GetDeletionPolicy() xpv1.DeletionPolicy { +// GetDeletionPolicy of this ImagePolicy. +func (mg *ImagePolicy) GetDeletionPolicy() xpv1.DeletionPolicy { return mg.Spec.DeletionPolicy } -// GetManagementPolicy of this Image_Policy. -func (mg *Image_Policy) GetManagementPolicy() xpv1.ManagementPolicy { +// GetManagementPolicy of this ImagePolicy. +func (mg *ImagePolicy) GetManagementPolicy() xpv1.ManagementPolicy { return mg.Spec.ManagementPolicy } -// GetProviderConfigReference of this Image_Policy. -func (mg *Image_Policy) GetProviderConfigReference() *xpv1.Reference { +// GetProviderConfigReference of this ImagePolicy. +func (mg *ImagePolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } /* -GetProviderReference of this Image_Policy. +GetProviderReference of this ImagePolicy. Deprecated: Use GetProviderConfigReference. */ -func (mg *Image_Policy) GetProviderReference() *xpv1.Reference { +func (mg *ImagePolicy) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } -// GetPublishConnectionDetailsTo of this Image_Policy. -func (mg *Image_Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { +// GetPublishConnectionDetailsTo of this ImagePolicy. +func (mg *ImagePolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo } -// GetWriteConnectionSecretToReference of this Image_Policy. -func (mg *Image_Policy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { +// GetWriteConnectionSecretToReference of this ImagePolicy. +func (mg *ImagePolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference } -// SetConditions of this Image_Policy. -func (mg *Image_Policy) SetConditions(c ...xpv1.Condition) { +// SetConditions of this ImagePolicy. +func (mg *ImagePolicy) SetConditions(c ...xpv1.Condition) { mg.Status.SetConditions(c...) } -// SetDeletionPolicy of this Image_Policy. -func (mg *Image_Policy) SetDeletionPolicy(r xpv1.DeletionPolicy) { +// SetDeletionPolicy of this ImagePolicy. +func (mg *ImagePolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { mg.Spec.DeletionPolicy = r } -// SetManagementPolicy of this Image_Policy. -func (mg *Image_Policy) SetManagementPolicy(r xpv1.ManagementPolicy) { +// SetManagementPolicy of this ImagePolicy. +func (mg *ImagePolicy) SetManagementPolicy(r xpv1.ManagementPolicy) { mg.Spec.ManagementPolicy = r } -// SetProviderConfigReference of this Image_Policy. -func (mg *Image_Policy) SetProviderConfigReference(r *xpv1.Reference) { +// SetProviderConfigReference of this ImagePolicy. +func (mg *ImagePolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } /* -SetProviderReference of this Image_Policy. +SetProviderReference of this ImagePolicy. Deprecated: Use SetProviderConfigReference. */ -func (mg *Image_Policy) SetProviderReference(r *xpv1.Reference) { +func (mg *ImagePolicy) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } -// SetPublishConnectionDetailsTo of this Image_Policy. -func (mg *Image_Policy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { +// SetPublishConnectionDetailsTo of this ImagePolicy. +func (mg *ImagePolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r } -// SetWriteConnectionSecretToReference of this Image_Policy. -func (mg *Image_Policy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { +// SetWriteConnectionSecretToReference of this ImagePolicy. +func (mg *ImagePolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r } @@ -843,79 +843,79 @@ func (mg *Integration) SetWriteConnectionSecretToReference(r *xpv1.SecretReferen mg.Spec.WriteConnectionSecretToReference = r } -// GetCondition of this Kubernetes_Secret. -func (mg *Kubernetes_Secret) GetCondition(ct xpv1.ConditionType) xpv1.Condition { +// GetCondition of this KubernetesSecret. +func (mg *KubernetesSecret) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) } -// GetDeletionPolicy of this Kubernetes_Secret. -func (mg *Kubernetes_Secret) GetDeletionPolicy() xpv1.DeletionPolicy { +// GetDeletionPolicy of this KubernetesSecret. +func (mg *KubernetesSecret) GetDeletionPolicy() xpv1.DeletionPolicy { return mg.Spec.DeletionPolicy } -// GetManagementPolicy of this Kubernetes_Secret. -func (mg *Kubernetes_Secret) GetManagementPolicy() xpv1.ManagementPolicy { +// GetManagementPolicy of this KubernetesSecret. +func (mg *KubernetesSecret) GetManagementPolicy() xpv1.ManagementPolicy { return mg.Spec.ManagementPolicy } -// GetProviderConfigReference of this Kubernetes_Secret. -func (mg *Kubernetes_Secret) GetProviderConfigReference() *xpv1.Reference { +// GetProviderConfigReference of this KubernetesSecret. +func (mg *KubernetesSecret) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } /* -GetProviderReference of this Kubernetes_Secret. +GetProviderReference of this KubernetesSecret. Deprecated: Use GetProviderConfigReference. */ -func (mg *Kubernetes_Secret) GetProviderReference() *xpv1.Reference { +func (mg *KubernetesSecret) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } -// GetPublishConnectionDetailsTo of this Kubernetes_Secret. -func (mg *Kubernetes_Secret) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { +// GetPublishConnectionDetailsTo of this KubernetesSecret. +func (mg *KubernetesSecret) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo } -// GetWriteConnectionSecretToReference of this Kubernetes_Secret. -func (mg *Kubernetes_Secret) GetWriteConnectionSecretToReference() *xpv1.SecretReference { +// GetWriteConnectionSecretToReference of this KubernetesSecret. +func (mg *KubernetesSecret) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference } -// SetConditions of this Kubernetes_Secret. -func (mg *Kubernetes_Secret) SetConditions(c ...xpv1.Condition) { +// SetConditions of this KubernetesSecret. +func (mg *KubernetesSecret) SetConditions(c ...xpv1.Condition) { mg.Status.SetConditions(c...) } -// SetDeletionPolicy of this Kubernetes_Secret. -func (mg *Kubernetes_Secret) SetDeletionPolicy(r xpv1.DeletionPolicy) { +// SetDeletionPolicy of this KubernetesSecret. +func (mg *KubernetesSecret) SetDeletionPolicy(r xpv1.DeletionPolicy) { mg.Spec.DeletionPolicy = r } -// SetManagementPolicy of this Kubernetes_Secret. -func (mg *Kubernetes_Secret) SetManagementPolicy(r xpv1.ManagementPolicy) { +// SetManagementPolicy of this KubernetesSecret. +func (mg *KubernetesSecret) SetManagementPolicy(r xpv1.ManagementPolicy) { mg.Spec.ManagementPolicy = r } -// SetProviderConfigReference of this Kubernetes_Secret. -func (mg *Kubernetes_Secret) SetProviderConfigReference(r *xpv1.Reference) { +// SetProviderConfigReference of this KubernetesSecret. +func (mg *KubernetesSecret) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } /* -SetProviderReference of this Kubernetes_Secret. +SetProviderReference of this KubernetesSecret. Deprecated: Use SetProviderConfigReference. */ -func (mg *Kubernetes_Secret) SetProviderReference(r *xpv1.Reference) { +func (mg *KubernetesSecret) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } -// SetPublishConnectionDetailsTo of this Kubernetes_Secret. -func (mg *Kubernetes_Secret) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { +// SetPublishConnectionDetailsTo of this KubernetesSecret. +func (mg *KubernetesSecret) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r } -// SetWriteConnectionSecretToReference of this Kubernetes_Secret. -func (mg *Kubernetes_Secret) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { +// SetWriteConnectionSecretToReference of this KubernetesSecret. +func (mg *KubernetesSecret) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r } @@ -1071,459 +1071,459 @@ 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 { +// GetCondition of this NamespaceQuotaPolicy. +func (mg *NamespaceQuotaPolicy) 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 { +// GetDeletionPolicy of this NamespaceQuotaPolicy. +func (mg *NamespaceQuotaPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { return mg.Spec.DeletionPolicy } -// GetManagementPolicy of this Namespace_Quota_Policy. -func (mg *Namespace_Quota_Policy) GetManagementPolicy() xpv1.ManagementPolicy { +// GetManagementPolicy of this NamespaceQuotaPolicy. +func (mg *NamespaceQuotaPolicy) GetManagementPolicy() xpv1.ManagementPolicy { return mg.Spec.ManagementPolicy } -// GetProviderConfigReference of this Namespace_Quota_Policy. -func (mg *Namespace_Quota_Policy) GetProviderConfigReference() *xpv1.Reference { +// GetProviderConfigReference of this NamespaceQuotaPolicy. +func (mg *NamespaceQuotaPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } /* -GetProviderReference of this Namespace_Quota_Policy. +GetProviderReference of this NamespaceQuotaPolicy. Deprecated: Use GetProviderConfigReference. */ -func (mg *Namespace_Quota_Policy) GetProviderReference() *xpv1.Reference { +func (mg *NamespaceQuotaPolicy) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } -// GetPublishConnectionDetailsTo of this Namespace_Quota_Policy. -func (mg *Namespace_Quota_Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { +// GetPublishConnectionDetailsTo of this NamespaceQuotaPolicy. +func (mg *NamespaceQuotaPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo } -// GetWriteConnectionSecretToReference of this Namespace_Quota_Policy. -func (mg *Namespace_Quota_Policy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { +// GetWriteConnectionSecretToReference of this NamespaceQuotaPolicy. +func (mg *NamespaceQuotaPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference } -// SetConditions of this Namespace_Quota_Policy. -func (mg *Namespace_Quota_Policy) SetConditions(c ...xpv1.Condition) { +// SetConditions of this NamespaceQuotaPolicy. +func (mg *NamespaceQuotaPolicy) SetConditions(c ...xpv1.Condition) { mg.Status.SetConditions(c...) } -// SetDeletionPolicy of this Namespace_Quota_Policy. -func (mg *Namespace_Quota_Policy) SetDeletionPolicy(r xpv1.DeletionPolicy) { +// SetDeletionPolicy of this NamespaceQuotaPolicy. +func (mg *NamespaceQuotaPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { mg.Spec.DeletionPolicy = r } -// SetManagementPolicy of this Namespace_Quota_Policy. -func (mg *Namespace_Quota_Policy) SetManagementPolicy(r xpv1.ManagementPolicy) { +// SetManagementPolicy of this NamespaceQuotaPolicy. +func (mg *NamespaceQuotaPolicy) SetManagementPolicy(r xpv1.ManagementPolicy) { mg.Spec.ManagementPolicy = r } -// SetProviderConfigReference of this Namespace_Quota_Policy. -func (mg *Namespace_Quota_Policy) SetProviderConfigReference(r *xpv1.Reference) { +// SetProviderConfigReference of this NamespaceQuotaPolicy. +func (mg *NamespaceQuotaPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } /* -SetProviderReference of this Namespace_Quota_Policy. +SetProviderReference of this NamespaceQuotaPolicy. Deprecated: Use SetProviderConfigReference. */ -func (mg *Namespace_Quota_Policy) SetProviderReference(r *xpv1.Reference) { +func (mg *NamespaceQuotaPolicy) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } -// SetPublishConnectionDetailsTo of this Namespace_Quota_Policy. -func (mg *Namespace_Quota_Policy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { +// SetPublishConnectionDetailsTo of this NamespaceQuotaPolicy. +func (mg *NamespaceQuotaPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r } -// SetWriteConnectionSecretToReference of this Namespace_Quota_Policy. -func (mg *Namespace_Quota_Policy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { +// SetWriteConnectionSecretToReference of this NamespaceQuotaPolicy. +func (mg *NamespaceQuotaPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r } -// GetCondition of this Network_Policy. -func (mg *Network_Policy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { +// GetCondition of this NetworkPolicy. +func (mg *NetworkPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) } -// GetDeletionPolicy of this Network_Policy. -func (mg *Network_Policy) GetDeletionPolicy() xpv1.DeletionPolicy { +// GetDeletionPolicy of this NetworkPolicy. +func (mg *NetworkPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { return mg.Spec.DeletionPolicy } -// GetManagementPolicy of this Network_Policy. -func (mg *Network_Policy) GetManagementPolicy() xpv1.ManagementPolicy { +// GetManagementPolicy of this NetworkPolicy. +func (mg *NetworkPolicy) GetManagementPolicy() xpv1.ManagementPolicy { return mg.Spec.ManagementPolicy } -// GetProviderConfigReference of this Network_Policy. -func (mg *Network_Policy) GetProviderConfigReference() *xpv1.Reference { +// GetProviderConfigReference of this NetworkPolicy. +func (mg *NetworkPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } /* -GetProviderReference of this Network_Policy. +GetProviderReference of this NetworkPolicy. Deprecated: Use GetProviderConfigReference. */ -func (mg *Network_Policy) GetProviderReference() *xpv1.Reference { +func (mg *NetworkPolicy) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } -// GetPublishConnectionDetailsTo of this Network_Policy. -func (mg *Network_Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { +// GetPublishConnectionDetailsTo of this NetworkPolicy. +func (mg *NetworkPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo } -// GetWriteConnectionSecretToReference of this Network_Policy. -func (mg *Network_Policy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { +// GetWriteConnectionSecretToReference of this NetworkPolicy. +func (mg *NetworkPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference } -// SetConditions of this Network_Policy. -func (mg *Network_Policy) SetConditions(c ...xpv1.Condition) { +// SetConditions of this NetworkPolicy. +func (mg *NetworkPolicy) SetConditions(c ...xpv1.Condition) { mg.Status.SetConditions(c...) } -// SetDeletionPolicy of this Network_Policy. -func (mg *Network_Policy) SetDeletionPolicy(r xpv1.DeletionPolicy) { +// SetDeletionPolicy of this NetworkPolicy. +func (mg *NetworkPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { mg.Spec.DeletionPolicy = r } -// SetManagementPolicy of this Network_Policy. -func (mg *Network_Policy) SetManagementPolicy(r xpv1.ManagementPolicy) { +// SetManagementPolicy of this NetworkPolicy. +func (mg *NetworkPolicy) SetManagementPolicy(r xpv1.ManagementPolicy) { mg.Spec.ManagementPolicy = r } -// SetProviderConfigReference of this Network_Policy. -func (mg *Network_Policy) SetProviderConfigReference(r *xpv1.Reference) { +// SetProviderConfigReference of this NetworkPolicy. +func (mg *NetworkPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } /* -SetProviderReference of this Network_Policy. +SetProviderReference of this NetworkPolicy. Deprecated: Use SetProviderConfigReference. */ -func (mg *Network_Policy) SetProviderReference(r *xpv1.Reference) { +func (mg *NetworkPolicy) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } -// SetPublishConnectionDetailsTo of this Network_Policy. -func (mg *Network_Policy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { +// SetPublishConnectionDetailsTo of this NetworkPolicy. +func (mg *NetworkPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r } -// SetWriteConnectionSecretToReference of this Network_Policy. -func (mg *Network_Policy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { +// SetWriteConnectionSecretToReference of this NetworkPolicy. +func (mg *NetworkPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r } -// GetCondition of this Package_Install. -func (mg *Package_Install) GetCondition(ct xpv1.ConditionType) xpv1.Condition { +// GetCondition of this PackageInstall. +func (mg *PackageInstall) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) } -// GetDeletionPolicy of this Package_Install. -func (mg *Package_Install) GetDeletionPolicy() xpv1.DeletionPolicy { +// GetDeletionPolicy of this PackageInstall. +func (mg *PackageInstall) GetDeletionPolicy() xpv1.DeletionPolicy { return mg.Spec.DeletionPolicy } -// GetManagementPolicy of this Package_Install. -func (mg *Package_Install) GetManagementPolicy() xpv1.ManagementPolicy { +// GetManagementPolicy of this PackageInstall. +func (mg *PackageInstall) GetManagementPolicy() xpv1.ManagementPolicy { return mg.Spec.ManagementPolicy } -// GetProviderConfigReference of this Package_Install. -func (mg *Package_Install) GetProviderConfigReference() *xpv1.Reference { +// GetProviderConfigReference of this PackageInstall. +func (mg *PackageInstall) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } /* -GetProviderReference of this Package_Install. +GetProviderReference of this PackageInstall. Deprecated: Use GetProviderConfigReference. */ -func (mg *Package_Install) GetProviderReference() *xpv1.Reference { +func (mg *PackageInstall) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } -// GetPublishConnectionDetailsTo of this Package_Install. -func (mg *Package_Install) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { +// GetPublishConnectionDetailsTo of this PackageInstall. +func (mg *PackageInstall) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo } -// GetWriteConnectionSecretToReference of this Package_Install. -func (mg *Package_Install) GetWriteConnectionSecretToReference() *xpv1.SecretReference { +// GetWriteConnectionSecretToReference of this PackageInstall. +func (mg *PackageInstall) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference } -// SetConditions of this Package_Install. -func (mg *Package_Install) SetConditions(c ...xpv1.Condition) { +// SetConditions of this PackageInstall. +func (mg *PackageInstall) SetConditions(c ...xpv1.Condition) { mg.Status.SetConditions(c...) } -// SetDeletionPolicy of this Package_Install. -func (mg *Package_Install) SetDeletionPolicy(r xpv1.DeletionPolicy) { +// SetDeletionPolicy of this PackageInstall. +func (mg *PackageInstall) SetDeletionPolicy(r xpv1.DeletionPolicy) { mg.Spec.DeletionPolicy = r } -// SetManagementPolicy of this Package_Install. -func (mg *Package_Install) SetManagementPolicy(r xpv1.ManagementPolicy) { +// SetManagementPolicy of this PackageInstall. +func (mg *PackageInstall) SetManagementPolicy(r xpv1.ManagementPolicy) { mg.Spec.ManagementPolicy = r } -// SetProviderConfigReference of this Package_Install. -func (mg *Package_Install) SetProviderConfigReference(r *xpv1.Reference) { +// SetProviderConfigReference of this PackageInstall. +func (mg *PackageInstall) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } /* -SetProviderReference of this Package_Install. +SetProviderReference of this PackageInstall. Deprecated: Use SetProviderConfigReference. */ -func (mg *Package_Install) SetProviderReference(r *xpv1.Reference) { +func (mg *PackageInstall) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } -// SetPublishConnectionDetailsTo of this Package_Install. -func (mg *Package_Install) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { +// SetPublishConnectionDetailsTo of this PackageInstall. +func (mg *PackageInstall) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r } -// SetWriteConnectionSecretToReference of this Package_Install. -func (mg *Package_Install) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { +// SetWriteConnectionSecretToReference of this PackageInstall. +func (mg *PackageInstall) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r } -// GetCondition of this Package_Repository. -func (mg *Package_Repository) GetCondition(ct xpv1.ConditionType) xpv1.Condition { +// GetCondition of this PackageRepository. +func (mg *PackageRepository) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) } -// GetDeletionPolicy of this Package_Repository. -func (mg *Package_Repository) GetDeletionPolicy() xpv1.DeletionPolicy { +// GetDeletionPolicy of this PackageRepository. +func (mg *PackageRepository) GetDeletionPolicy() xpv1.DeletionPolicy { return mg.Spec.DeletionPolicy } -// GetManagementPolicy of this Package_Repository. -func (mg *Package_Repository) GetManagementPolicy() xpv1.ManagementPolicy { +// GetManagementPolicy of this PackageRepository. +func (mg *PackageRepository) GetManagementPolicy() xpv1.ManagementPolicy { return mg.Spec.ManagementPolicy } -// GetProviderConfigReference of this Package_Repository. -func (mg *Package_Repository) GetProviderConfigReference() *xpv1.Reference { +// GetProviderConfigReference of this PackageRepository. +func (mg *PackageRepository) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } /* -GetProviderReference of this Package_Repository. +GetProviderReference of this PackageRepository. Deprecated: Use GetProviderConfigReference. */ -func (mg *Package_Repository) GetProviderReference() *xpv1.Reference { +func (mg *PackageRepository) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } -// GetPublishConnectionDetailsTo of this Package_Repository. -func (mg *Package_Repository) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { +// GetPublishConnectionDetailsTo of this PackageRepository. +func (mg *PackageRepository) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo } -// GetWriteConnectionSecretToReference of this Package_Repository. -func (mg *Package_Repository) GetWriteConnectionSecretToReference() *xpv1.SecretReference { +// GetWriteConnectionSecretToReference of this PackageRepository. +func (mg *PackageRepository) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference } -// SetConditions of this Package_Repository. -func (mg *Package_Repository) SetConditions(c ...xpv1.Condition) { +// SetConditions of this PackageRepository. +func (mg *PackageRepository) SetConditions(c ...xpv1.Condition) { mg.Status.SetConditions(c...) } -// SetDeletionPolicy of this Package_Repository. -func (mg *Package_Repository) SetDeletionPolicy(r xpv1.DeletionPolicy) { +// SetDeletionPolicy of this PackageRepository. +func (mg *PackageRepository) SetDeletionPolicy(r xpv1.DeletionPolicy) { mg.Spec.DeletionPolicy = r } -// SetManagementPolicy of this Package_Repository. -func (mg *Package_Repository) SetManagementPolicy(r xpv1.ManagementPolicy) { +// SetManagementPolicy of this PackageRepository. +func (mg *PackageRepository) SetManagementPolicy(r xpv1.ManagementPolicy) { mg.Spec.ManagementPolicy = r } -// SetProviderConfigReference of this Package_Repository. -func (mg *Package_Repository) SetProviderConfigReference(r *xpv1.Reference) { +// SetProviderConfigReference of this PackageRepository. +func (mg *PackageRepository) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } /* -SetProviderReference of this Package_Repository. +SetProviderReference of this PackageRepository. Deprecated: Use SetProviderConfigReference. */ -func (mg *Package_Repository) SetProviderReference(r *xpv1.Reference) { +func (mg *PackageRepository) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } -// SetPublishConnectionDetailsTo of this Package_Repository. -func (mg *Package_Repository) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { +// SetPublishConnectionDetailsTo of this PackageRepository. +func (mg *PackageRepository) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r } -// SetWriteConnectionSecretToReference of this Package_Repository. -func (mg *Package_Repository) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { +// SetWriteConnectionSecretToReference of this PackageRepository. +func (mg *PackageRepository) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r } -// GetCondition of this Repository_Credential. -func (mg *Repository_Credential) GetCondition(ct xpv1.ConditionType) xpv1.Condition { +// GetCondition of this RepositoryCredential. +func (mg *RepositoryCredential) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) } -// GetDeletionPolicy of this Repository_Credential. -func (mg *Repository_Credential) GetDeletionPolicy() xpv1.DeletionPolicy { +// GetDeletionPolicy of this RepositoryCredential. +func (mg *RepositoryCredential) GetDeletionPolicy() xpv1.DeletionPolicy { return mg.Spec.DeletionPolicy } -// GetManagementPolicy of this Repository_Credential. -func (mg *Repository_Credential) GetManagementPolicy() xpv1.ManagementPolicy { +// GetManagementPolicy of this RepositoryCredential. +func (mg *RepositoryCredential) GetManagementPolicy() xpv1.ManagementPolicy { return mg.Spec.ManagementPolicy } -// GetProviderConfigReference of this Repository_Credential. -func (mg *Repository_Credential) GetProviderConfigReference() *xpv1.Reference { +// GetProviderConfigReference of this RepositoryCredential. +func (mg *RepositoryCredential) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } /* -GetProviderReference of this Repository_Credential. +GetProviderReference of this RepositoryCredential. Deprecated: Use GetProviderConfigReference. */ -func (mg *Repository_Credential) GetProviderReference() *xpv1.Reference { +func (mg *RepositoryCredential) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } -// GetPublishConnectionDetailsTo of this Repository_Credential. -func (mg *Repository_Credential) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { +// GetPublishConnectionDetailsTo of this RepositoryCredential. +func (mg *RepositoryCredential) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo } -// GetWriteConnectionSecretToReference of this Repository_Credential. -func (mg *Repository_Credential) GetWriteConnectionSecretToReference() *xpv1.SecretReference { +// GetWriteConnectionSecretToReference of this RepositoryCredential. +func (mg *RepositoryCredential) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference } -// SetConditions of this Repository_Credential. -func (mg *Repository_Credential) SetConditions(c ...xpv1.Condition) { +// SetConditions of this RepositoryCredential. +func (mg *RepositoryCredential) SetConditions(c ...xpv1.Condition) { mg.Status.SetConditions(c...) } -// SetDeletionPolicy of this Repository_Credential. -func (mg *Repository_Credential) SetDeletionPolicy(r xpv1.DeletionPolicy) { +// SetDeletionPolicy of this RepositoryCredential. +func (mg *RepositoryCredential) SetDeletionPolicy(r xpv1.DeletionPolicy) { mg.Spec.DeletionPolicy = r } -// SetManagementPolicy of this Repository_Credential. -func (mg *Repository_Credential) SetManagementPolicy(r xpv1.ManagementPolicy) { +// SetManagementPolicy of this RepositoryCredential. +func (mg *RepositoryCredential) SetManagementPolicy(r xpv1.ManagementPolicy) { mg.Spec.ManagementPolicy = r } -// SetProviderConfigReference of this Repository_Credential. -func (mg *Repository_Credential) SetProviderConfigReference(r *xpv1.Reference) { +// SetProviderConfigReference of this RepositoryCredential. +func (mg *RepositoryCredential) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } /* -SetProviderReference of this Repository_Credential. +SetProviderReference of this RepositoryCredential. Deprecated: Use SetProviderConfigReference. */ -func (mg *Repository_Credential) SetProviderReference(r *xpv1.Reference) { +func (mg *RepositoryCredential) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } -// SetPublishConnectionDetailsTo of this Repository_Credential. -func (mg *Repository_Credential) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { +// SetPublishConnectionDetailsTo of this RepositoryCredential. +func (mg *RepositoryCredential) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r } -// SetWriteConnectionSecretToReference of this Repository_Credential. -func (mg *Repository_Credential) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { +// SetWriteConnectionSecretToReference of this RepositoryCredential. +func (mg *RepositoryCredential) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r } -// GetCondition of this Security_Policy. -func (mg *Security_Policy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { +// GetCondition of this SecurityPolicy. +func (mg *SecurityPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) } -// GetDeletionPolicy of this Security_Policy. -func (mg *Security_Policy) GetDeletionPolicy() xpv1.DeletionPolicy { +// GetDeletionPolicy of this SecurityPolicy. +func (mg *SecurityPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { return mg.Spec.DeletionPolicy } -// GetManagementPolicy of this Security_Policy. -func (mg *Security_Policy) GetManagementPolicy() xpv1.ManagementPolicy { +// GetManagementPolicy of this SecurityPolicy. +func (mg *SecurityPolicy) GetManagementPolicy() xpv1.ManagementPolicy { return mg.Spec.ManagementPolicy } -// GetProviderConfigReference of this Security_Policy. -func (mg *Security_Policy) GetProviderConfigReference() *xpv1.Reference { +// GetProviderConfigReference of this SecurityPolicy. +func (mg *SecurityPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } /* -GetProviderReference of this Security_Policy. +GetProviderReference of this SecurityPolicy. Deprecated: Use GetProviderConfigReference. */ -func (mg *Security_Policy) GetProviderReference() *xpv1.Reference { +func (mg *SecurityPolicy) GetProviderReference() *xpv1.Reference { return mg.Spec.ProviderReference } -// GetPublishConnectionDetailsTo of this Security_Policy. -func (mg *Security_Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { +// GetPublishConnectionDetailsTo of this SecurityPolicy. +func (mg *SecurityPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo } -// GetWriteConnectionSecretToReference of this Security_Policy. -func (mg *Security_Policy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { +// GetWriteConnectionSecretToReference of this SecurityPolicy. +func (mg *SecurityPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { return mg.Spec.WriteConnectionSecretToReference } -// SetConditions of this Security_Policy. -func (mg *Security_Policy) SetConditions(c ...xpv1.Condition) { +// SetConditions of this SecurityPolicy. +func (mg *SecurityPolicy) SetConditions(c ...xpv1.Condition) { mg.Status.SetConditions(c...) } -// SetDeletionPolicy of this Security_Policy. -func (mg *Security_Policy) SetDeletionPolicy(r xpv1.DeletionPolicy) { +// SetDeletionPolicy of this SecurityPolicy. +func (mg *SecurityPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { mg.Spec.DeletionPolicy = r } -// SetManagementPolicy of this Security_Policy. -func (mg *Security_Policy) SetManagementPolicy(r xpv1.ManagementPolicy) { +// SetManagementPolicy of this SecurityPolicy. +func (mg *SecurityPolicy) SetManagementPolicy(r xpv1.ManagementPolicy) { mg.Spec.ManagementPolicy = r } -// SetProviderConfigReference of this Security_Policy. -func (mg *Security_Policy) SetProviderConfigReference(r *xpv1.Reference) { +// SetProviderConfigReference of this SecurityPolicy. +func (mg *SecurityPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } /* -SetProviderReference of this Security_Policy. +SetProviderReference of this SecurityPolicy. Deprecated: Use SetProviderConfigReference. */ -func (mg *Security_Policy) SetProviderReference(r *xpv1.Reference) { +func (mg *SecurityPolicy) SetProviderReference(r *xpv1.Reference) { mg.Spec.ProviderReference = r } -// SetPublishConnectionDetailsTo of this Security_Policy. -func (mg *Security_Policy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { +// SetPublishConnectionDetailsTo of this SecurityPolicy. +func (mg *SecurityPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r } -// SetWriteConnectionSecretToReference of this Security_Policy. -func (mg *Security_Policy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { +// SetWriteConnectionSecretToReference of this SecurityPolicy. +func (mg *SecurityPolicy) 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 b670c27..9b122f8 100644 --- a/apis/tmc/v1alpha1/zz_generated.managedlist.go +++ b/apis/tmc/v1alpha1/zz_generated.managedlist.go @@ -16,8 +16,8 @@ func (l *AksClusterList) GetItems() []resource.Managed { return items } -// GetItems of this ClusterList. -func (l *ClusterList) GetItems() []resource.Managed { +// GetItems of this ClusterGroupList. +func (l *ClusterGroupList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) for i := range l.Items { items[i] = &l.Items[i] @@ -25,8 +25,8 @@ func (l *ClusterList) GetItems() []resource.Managed { return items } -// GetItems of this Cluster_GroupList. -func (l *Cluster_GroupList) GetItems() []resource.Managed { +// GetItems of this ClusterList. +func (l *ClusterList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) for i := range l.Items { items[i] = &l.Items[i] @@ -34,8 +34,8 @@ func (l *Cluster_GroupList) GetItems() []resource.Managed { return items } -// GetItems of this Cluster_Node_PoolList. -func (l *Cluster_Node_PoolList) GetItems() []resource.Managed { +// GetItems of this ClusterNodePoolList. +func (l *ClusterNodePoolList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) for i := range l.Items { items[i] = &l.Items[i] @@ -52,8 +52,8 @@ func (l *CredentialList) GetItems() []resource.Managed { return items } -// GetItems of this Custom_PolicyList. -func (l *Custom_PolicyList) GetItems() []resource.Managed { +// GetItems of this CustomPolicyList. +func (l *CustomPolicyList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) for i := range l.Items { items[i] = &l.Items[i] @@ -70,8 +70,8 @@ func (l *EKSClusterList) GetItems() []resource.Managed { return items } -// GetItems of this Git_RepositoryList. -func (l *Git_RepositoryList) GetItems() []resource.Managed { +// GetItems of this GitRepositoryList. +func (l *GitRepositoryList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) for i := range l.Items { items[i] = &l.Items[i] @@ -79,8 +79,8 @@ func (l *Git_RepositoryList) GetItems() []resource.Managed { return items } -// GetItems of this Iam_PolicyList. -func (l *Iam_PolicyList) GetItems() []resource.Managed { +// GetItems of this IamPolicyList. +func (l *IamPolicyList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) for i := range l.Items { items[i] = &l.Items[i] @@ -88,8 +88,8 @@ func (l *Iam_PolicyList) GetItems() []resource.Managed { return items } -// GetItems of this Image_PolicyList. -func (l *Image_PolicyList) GetItems() []resource.Managed { +// GetItems of this ImagePolicyList. +func (l *ImagePolicyList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) for i := range l.Items { items[i] = &l.Items[i] @@ -106,8 +106,8 @@ func (l *IntegrationList) GetItems() []resource.Managed { return items } -// GetItems of this Kubernetes_SecretList. -func (l *Kubernetes_SecretList) GetItems() []resource.Managed { +// GetItems of this KubernetesSecretList. +func (l *KubernetesSecretList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) for i := range l.Items { items[i] = &l.Items[i] @@ -133,8 +133,8 @@ func (l *NamespaceList) GetItems() []resource.Managed { return items } -// GetItems of this Namespace_Quota_PolicyList. -func (l *Namespace_Quota_PolicyList) GetItems() []resource.Managed { +// GetItems of this NamespaceQuotaPolicyList. +func (l *NamespaceQuotaPolicyList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) for i := range l.Items { items[i] = &l.Items[i] @@ -142,8 +142,8 @@ func (l *Namespace_Quota_PolicyList) GetItems() []resource.Managed { return items } -// GetItems of this Network_PolicyList. -func (l *Network_PolicyList) GetItems() []resource.Managed { +// GetItems of this NetworkPolicyList. +func (l *NetworkPolicyList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) for i := range l.Items { items[i] = &l.Items[i] @@ -151,8 +151,8 @@ func (l *Network_PolicyList) GetItems() []resource.Managed { return items } -// GetItems of this Package_InstallList. -func (l *Package_InstallList) GetItems() []resource.Managed { +// GetItems of this PackageInstallList. +func (l *PackageInstallList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) for i := range l.Items { items[i] = &l.Items[i] @@ -160,8 +160,8 @@ func (l *Package_InstallList) GetItems() []resource.Managed { return items } -// GetItems of this Package_RepositoryList. -func (l *Package_RepositoryList) GetItems() []resource.Managed { +// GetItems of this PackageRepositoryList. +func (l *PackageRepositoryList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) for i := range l.Items { items[i] = &l.Items[i] @@ -169,8 +169,8 @@ func (l *Package_RepositoryList) GetItems() []resource.Managed { return items } -// GetItems of this Repository_CredentialList. -func (l *Repository_CredentialList) GetItems() []resource.Managed { +// GetItems of this RepositoryCredentialList. +func (l *RepositoryCredentialList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) for i := range l.Items { items[i] = &l.Items[i] @@ -178,8 +178,8 @@ func (l *Repository_CredentialList) GetItems() []resource.Managed { return items } -// GetItems of this Security_PolicyList. -func (l *Security_PolicyList) GetItems() []resource.Managed { +// GetItems of this SecurityPolicyList. +func (l *SecurityPolicyList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) for i := range l.Items { items[i] = &l.Items[i] diff --git a/apis/tmc/v1alpha1/zz_generated.resolvers.go b/apis/tmc/v1alpha1/zz_generated.resolvers.go new file mode 100644 index 0000000..7c34ac7 --- /dev/null +++ b/apis/tmc/v1alpha1/zz_generated.resolvers.go @@ -0,0 +1,39 @@ +/* +Copyright 2022 Upbound Inc. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import ( + "context" + reference "github.com/crossplane/crossplane-runtime/pkg/reference" + errors "github.com/pkg/errors" + client "sigs.k8s.io/controller-runtime/pkg/client" +) + +// ResolveReferences of this PackageInstall. +func (mg *PackageInstall) ResolveReferences(ctx context.Context, c client.Reader) error { + r := reference.NewAPIResolver(c, mg) + + var rsp reference.ResolutionResponse + var err error + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.Namespace), + Extract: reference.ExternalName(), + Reference: mg.Spec.ForProvider.NamespaceRef, + Selector: mg.Spec.ForProvider.NamespaceSelector, + To: reference.To{ + List: &NamespaceList{}, + Managed: &Namespace{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.Namespace") + } + mg.Spec.ForProvider.Namespace = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.NamespaceRef = rsp.ResolvedReference + + return nil +} diff --git a/apis/tmc/v1alpha1/zz_generated_terraformed.go b/apis/tmc/v1alpha1/zz_generated_terraformed.go index e612c33..b6faa06 100755 --- a/apis/tmc/v1alpha1/zz_generated_terraformed.go +++ b/apis/tmc/v1alpha1/zz_generated_terraformed.go @@ -161,18 +161,18 @@ func (tr *Cluster) GetTerraformSchemaVersion() int { return 0 } -// GetTerraformResourceType returns Terraform resource type for this Cluster_Group -func (mg *Cluster_Group) GetTerraformResourceType() string { +// GetTerraformResourceType returns Terraform resource type for this ClusterGroup +func (mg *ClusterGroup) GetTerraformResourceType() string { return "tanzu-mission-control_cluster_group" } -// GetConnectionDetailsMapping for this Cluster_Group -func (tr *Cluster_Group) GetConnectionDetailsMapping() map[string]string { +// GetConnectionDetailsMapping for this ClusterGroup +func (tr *ClusterGroup) GetConnectionDetailsMapping() map[string]string { return nil } -// GetObservation of this Cluster_Group -func (tr *Cluster_Group) GetObservation() (map[string]any, error) { +// GetObservation of this ClusterGroup +func (tr *ClusterGroup) GetObservation() (map[string]any, error) { o, err := json.TFParser.Marshal(tr.Status.AtProvider) if err != nil { return nil, err @@ -181,8 +181,8 @@ func (tr *Cluster_Group) GetObservation() (map[string]any, error) { return base, json.TFParser.Unmarshal(o, &base) } -// SetObservation for this Cluster_Group -func (tr *Cluster_Group) SetObservation(obs map[string]any) error { +// SetObservation for this ClusterGroup +func (tr *ClusterGroup) SetObservation(obs map[string]any) error { p, err := json.TFParser.Marshal(obs) if err != nil { return err @@ -190,16 +190,16 @@ func (tr *Cluster_Group) SetObservation(obs map[string]any) error { return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) } -// GetID returns ID of underlying Terraform resource of this Cluster_Group -func (tr *Cluster_Group) GetID() string { +// GetID returns ID of underlying Terraform resource of this ClusterGroup +func (tr *ClusterGroup) GetID() string { if tr.Status.AtProvider.ID == nil { return "" } return *tr.Status.AtProvider.ID } -// GetParameters of this Cluster_Group -func (tr *Cluster_Group) GetParameters() (map[string]any, error) { +// GetParameters of this ClusterGroup +func (tr *ClusterGroup) GetParameters() (map[string]any, error) { p, err := json.TFParser.Marshal(tr.Spec.ForProvider) if err != nil { return nil, err @@ -208,8 +208,8 @@ func (tr *Cluster_Group) GetParameters() (map[string]any, error) { return base, json.TFParser.Unmarshal(p, &base) } -// SetParameters for this Cluster_Group -func (tr *Cluster_Group) SetParameters(params map[string]any) error { +// SetParameters for this ClusterGroup +func (tr *ClusterGroup) SetParameters(params map[string]any) error { p, err := json.TFParser.Marshal(params) if err != nil { return err @@ -217,10 +217,10 @@ func (tr *Cluster_Group) SetParameters(params map[string]any) error { return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) } -// LateInitialize this Cluster_Group using its observed tfState. +// LateInitialize this ClusterGroup using its observed tfState. // returns True if there are any spec changes for the resource. -func (tr *Cluster_Group) LateInitialize(attrs []byte) (bool, error) { - params := &Cluster_GroupParameters{} +func (tr *ClusterGroup) LateInitialize(attrs []byte) (bool, error) { + params := &ClusterGroupParameters{} if err := json.TFParser.Unmarshal(attrs, params); err != nil { return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") } @@ -231,22 +231,22 @@ func (tr *Cluster_Group) LateInitialize(attrs []byte) (bool, error) { } // GetTerraformSchemaVersion returns the associated Terraform schema version -func (tr *Cluster_Group) GetTerraformSchemaVersion() int { +func (tr *ClusterGroup) GetTerraformSchemaVersion() int { return 0 } -// GetTerraformResourceType returns Terraform resource type for this Cluster_Node_Pool -func (mg *Cluster_Node_Pool) GetTerraformResourceType() string { +// GetTerraformResourceType returns Terraform resource type for this ClusterNodePool +func (mg *ClusterNodePool) GetTerraformResourceType() string { return "tanzu-mission-control_cluster_node_pool" } -// GetConnectionDetailsMapping for this Cluster_Node_Pool -func (tr *Cluster_Node_Pool) GetConnectionDetailsMapping() map[string]string { +// GetConnectionDetailsMapping for this ClusterNodePool +func (tr *ClusterNodePool) GetConnectionDetailsMapping() map[string]string { return nil } -// GetObservation of this Cluster_Node_Pool -func (tr *Cluster_Node_Pool) GetObservation() (map[string]any, error) { +// GetObservation of this ClusterNodePool +func (tr *ClusterNodePool) GetObservation() (map[string]any, error) { o, err := json.TFParser.Marshal(tr.Status.AtProvider) if err != nil { return nil, err @@ -255,8 +255,8 @@ func (tr *Cluster_Node_Pool) GetObservation() (map[string]any, error) { return base, json.TFParser.Unmarshal(o, &base) } -// SetObservation for this Cluster_Node_Pool -func (tr *Cluster_Node_Pool) SetObservation(obs map[string]any) error { +// SetObservation for this ClusterNodePool +func (tr *ClusterNodePool) SetObservation(obs map[string]any) error { p, err := json.TFParser.Marshal(obs) if err != nil { return err @@ -264,16 +264,16 @@ func (tr *Cluster_Node_Pool) SetObservation(obs map[string]any) error { return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) } -// GetID returns ID of underlying Terraform resource of this Cluster_Node_Pool -func (tr *Cluster_Node_Pool) GetID() string { +// GetID returns ID of underlying Terraform resource of this ClusterNodePool +func (tr *ClusterNodePool) GetID() string { if tr.Status.AtProvider.ID == nil { return "" } return *tr.Status.AtProvider.ID } -// GetParameters of this Cluster_Node_Pool -func (tr *Cluster_Node_Pool) GetParameters() (map[string]any, error) { +// GetParameters of this ClusterNodePool +func (tr *ClusterNodePool) GetParameters() (map[string]any, error) { p, err := json.TFParser.Marshal(tr.Spec.ForProvider) if err != nil { return nil, err @@ -282,8 +282,8 @@ func (tr *Cluster_Node_Pool) GetParameters() (map[string]any, error) { return base, json.TFParser.Unmarshal(p, &base) } -// SetParameters for this Cluster_Node_Pool -func (tr *Cluster_Node_Pool) SetParameters(params map[string]any) error { +// SetParameters for this ClusterNodePool +func (tr *ClusterNodePool) SetParameters(params map[string]any) error { p, err := json.TFParser.Marshal(params) if err != nil { return err @@ -291,10 +291,10 @@ func (tr *Cluster_Node_Pool) SetParameters(params map[string]any) error { return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) } -// LateInitialize this Cluster_Node_Pool using its observed tfState. +// LateInitialize this ClusterNodePool using its observed tfState. // returns True if there are any spec changes for the resource. -func (tr *Cluster_Node_Pool) LateInitialize(attrs []byte) (bool, error) { - params := &Cluster_Node_PoolParameters{} +func (tr *ClusterNodePool) LateInitialize(attrs []byte) (bool, error) { + params := &ClusterNodePoolParameters{} if err := json.TFParser.Unmarshal(attrs, params); err != nil { return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") } @@ -305,7 +305,7 @@ func (tr *Cluster_Node_Pool) LateInitialize(attrs []byte) (bool, error) { } // GetTerraformSchemaVersion returns the associated Terraform schema version -func (tr *Cluster_Node_Pool) GetTerraformSchemaVersion() int { +func (tr *ClusterNodePool) GetTerraformSchemaVersion() int { return 0 } @@ -383,18 +383,18 @@ func (tr *Credential) GetTerraformSchemaVersion() int { return 0 } -// GetTerraformResourceType returns Terraform resource type for this Custom_Policy -func (mg *Custom_Policy) GetTerraformResourceType() string { +// GetTerraformResourceType returns Terraform resource type for this CustomPolicy +func (mg *CustomPolicy) GetTerraformResourceType() string { return "tanzu-mission-control_custom_policy" } -// GetConnectionDetailsMapping for this Custom_Policy -func (tr *Custom_Policy) GetConnectionDetailsMapping() map[string]string { +// GetConnectionDetailsMapping for this CustomPolicy +func (tr *CustomPolicy) GetConnectionDetailsMapping() map[string]string { return nil } -// GetObservation of this Custom_Policy -func (tr *Custom_Policy) GetObservation() (map[string]any, error) { +// GetObservation of this CustomPolicy +func (tr *CustomPolicy) GetObservation() (map[string]any, error) { o, err := json.TFParser.Marshal(tr.Status.AtProvider) if err != nil { return nil, err @@ -403,8 +403,8 @@ func (tr *Custom_Policy) GetObservation() (map[string]any, error) { return base, json.TFParser.Unmarshal(o, &base) } -// SetObservation for this Custom_Policy -func (tr *Custom_Policy) SetObservation(obs map[string]any) error { +// SetObservation for this CustomPolicy +func (tr *CustomPolicy) SetObservation(obs map[string]any) error { p, err := json.TFParser.Marshal(obs) if err != nil { return err @@ -412,16 +412,16 @@ func (tr *Custom_Policy) SetObservation(obs map[string]any) error { return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) } -// GetID returns ID of underlying Terraform resource of this Custom_Policy -func (tr *Custom_Policy) GetID() string { +// GetID returns ID of underlying Terraform resource of this CustomPolicy +func (tr *CustomPolicy) GetID() string { if tr.Status.AtProvider.ID == nil { return "" } return *tr.Status.AtProvider.ID } -// GetParameters of this Custom_Policy -func (tr *Custom_Policy) GetParameters() (map[string]any, error) { +// GetParameters of this CustomPolicy +func (tr *CustomPolicy) GetParameters() (map[string]any, error) { p, err := json.TFParser.Marshal(tr.Spec.ForProvider) if err != nil { return nil, err @@ -430,8 +430,8 @@ func (tr *Custom_Policy) GetParameters() (map[string]any, error) { return base, json.TFParser.Unmarshal(p, &base) } -// SetParameters for this Custom_Policy -func (tr *Custom_Policy) SetParameters(params map[string]any) error { +// SetParameters for this CustomPolicy +func (tr *CustomPolicy) SetParameters(params map[string]any) error { p, err := json.TFParser.Marshal(params) if err != nil { return err @@ -439,10 +439,10 @@ func (tr *Custom_Policy) SetParameters(params map[string]any) error { return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) } -// LateInitialize this Custom_Policy using its observed tfState. +// LateInitialize this CustomPolicy using its observed tfState. // returns True if there are any spec changes for the resource. -func (tr *Custom_Policy) LateInitialize(attrs []byte) (bool, error) { - params := &Custom_PolicyParameters{} +func (tr *CustomPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &CustomPolicyParameters{} if err := json.TFParser.Unmarshal(attrs, params); err != nil { return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") } @@ -453,7 +453,7 @@ func (tr *Custom_Policy) LateInitialize(attrs []byte) (bool, error) { } // GetTerraformSchemaVersion returns the associated Terraform schema version -func (tr *Custom_Policy) GetTerraformSchemaVersion() int { +func (tr *CustomPolicy) GetTerraformSchemaVersion() int { return 0 } @@ -531,18 +531,18 @@ func (tr *EKSCluster) GetTerraformSchemaVersion() int { return 0 } -// GetTerraformResourceType returns Terraform resource type for this Git_Repository -func (mg *Git_Repository) GetTerraformResourceType() string { +// GetTerraformResourceType returns Terraform resource type for this GitRepository +func (mg *GitRepository) GetTerraformResourceType() string { return "tanzu-mission-control_git_repository" } -// GetConnectionDetailsMapping for this Git_Repository -func (tr *Git_Repository) GetConnectionDetailsMapping() map[string]string { +// GetConnectionDetailsMapping for this GitRepository +func (tr *GitRepository) GetConnectionDetailsMapping() map[string]string { return nil } -// GetObservation of this Git_Repository -func (tr *Git_Repository) GetObservation() (map[string]any, error) { +// GetObservation of this GitRepository +func (tr *GitRepository) GetObservation() (map[string]any, error) { o, err := json.TFParser.Marshal(tr.Status.AtProvider) if err != nil { return nil, err @@ -551,8 +551,8 @@ func (tr *Git_Repository) GetObservation() (map[string]any, error) { return base, json.TFParser.Unmarshal(o, &base) } -// SetObservation for this Git_Repository -func (tr *Git_Repository) SetObservation(obs map[string]any) error { +// SetObservation for this GitRepository +func (tr *GitRepository) SetObservation(obs map[string]any) error { p, err := json.TFParser.Marshal(obs) if err != nil { return err @@ -560,16 +560,16 @@ func (tr *Git_Repository) SetObservation(obs map[string]any) error { return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) } -// GetID returns ID of underlying Terraform resource of this Git_Repository -func (tr *Git_Repository) GetID() string { +// GetID returns ID of underlying Terraform resource of this GitRepository +func (tr *GitRepository) GetID() string { if tr.Status.AtProvider.ID == nil { return "" } return *tr.Status.AtProvider.ID } -// GetParameters of this Git_Repository -func (tr *Git_Repository) GetParameters() (map[string]any, error) { +// GetParameters of this GitRepository +func (tr *GitRepository) GetParameters() (map[string]any, error) { p, err := json.TFParser.Marshal(tr.Spec.ForProvider) if err != nil { return nil, err @@ -578,8 +578,8 @@ func (tr *Git_Repository) GetParameters() (map[string]any, error) { return base, json.TFParser.Unmarshal(p, &base) } -// SetParameters for this Git_Repository -func (tr *Git_Repository) SetParameters(params map[string]any) error { +// SetParameters for this GitRepository +func (tr *GitRepository) SetParameters(params map[string]any) error { p, err := json.TFParser.Marshal(params) if err != nil { return err @@ -587,10 +587,10 @@ func (tr *Git_Repository) SetParameters(params map[string]any) error { return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) } -// LateInitialize this Git_Repository using its observed tfState. +// LateInitialize this GitRepository using its observed tfState. // returns True if there are any spec changes for the resource. -func (tr *Git_Repository) LateInitialize(attrs []byte) (bool, error) { - params := &Git_RepositoryParameters{} +func (tr *GitRepository) LateInitialize(attrs []byte) (bool, error) { + params := &GitRepositoryParameters{} if err := json.TFParser.Unmarshal(attrs, params); err != nil { return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") } @@ -601,22 +601,22 @@ func (tr *Git_Repository) LateInitialize(attrs []byte) (bool, error) { } // GetTerraformSchemaVersion returns the associated Terraform schema version -func (tr *Git_Repository) GetTerraformSchemaVersion() int { +func (tr *GitRepository) GetTerraformSchemaVersion() int { return 0 } -// GetTerraformResourceType returns Terraform resource type for this Iam_Policy -func (mg *Iam_Policy) GetTerraformResourceType() string { +// GetTerraformResourceType returns Terraform resource type for this IamPolicy +func (mg *IamPolicy) GetTerraformResourceType() string { return "tanzu-mission-control_iam_policy" } -// GetConnectionDetailsMapping for this Iam_Policy -func (tr *Iam_Policy) GetConnectionDetailsMapping() map[string]string { +// GetConnectionDetailsMapping for this IamPolicy +func (tr *IamPolicy) GetConnectionDetailsMapping() map[string]string { return nil } -// GetObservation of this Iam_Policy -func (tr *Iam_Policy) GetObservation() (map[string]any, error) { +// GetObservation of this IamPolicy +func (tr *IamPolicy) GetObservation() (map[string]any, error) { o, err := json.TFParser.Marshal(tr.Status.AtProvider) if err != nil { return nil, err @@ -625,8 +625,8 @@ func (tr *Iam_Policy) GetObservation() (map[string]any, error) { return base, json.TFParser.Unmarshal(o, &base) } -// SetObservation for this Iam_Policy -func (tr *Iam_Policy) SetObservation(obs map[string]any) error { +// SetObservation for this IamPolicy +func (tr *IamPolicy) SetObservation(obs map[string]any) error { p, err := json.TFParser.Marshal(obs) if err != nil { return err @@ -634,16 +634,16 @@ func (tr *Iam_Policy) SetObservation(obs map[string]any) error { return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) } -// GetID returns ID of underlying Terraform resource of this Iam_Policy -func (tr *Iam_Policy) GetID() string { +// GetID returns ID of underlying Terraform resource of this IamPolicy +func (tr *IamPolicy) GetID() string { if tr.Status.AtProvider.ID == nil { return "" } return *tr.Status.AtProvider.ID } -// GetParameters of this Iam_Policy -func (tr *Iam_Policy) GetParameters() (map[string]any, error) { +// GetParameters of this IamPolicy +func (tr *IamPolicy) GetParameters() (map[string]any, error) { p, err := json.TFParser.Marshal(tr.Spec.ForProvider) if err != nil { return nil, err @@ -652,8 +652,8 @@ func (tr *Iam_Policy) GetParameters() (map[string]any, error) { return base, json.TFParser.Unmarshal(p, &base) } -// SetParameters for this Iam_Policy -func (tr *Iam_Policy) SetParameters(params map[string]any) error { +// SetParameters for this IamPolicy +func (tr *IamPolicy) SetParameters(params map[string]any) error { p, err := json.TFParser.Marshal(params) if err != nil { return err @@ -661,10 +661,10 @@ func (tr *Iam_Policy) SetParameters(params map[string]any) error { return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) } -// LateInitialize this Iam_Policy using its observed tfState. +// LateInitialize this IamPolicy using its observed tfState. // returns True if there are any spec changes for the resource. -func (tr *Iam_Policy) LateInitialize(attrs []byte) (bool, error) { - params := &Iam_PolicyParameters{} +func (tr *IamPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &IamPolicyParameters{} if err := json.TFParser.Unmarshal(attrs, params); err != nil { return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") } @@ -675,22 +675,22 @@ func (tr *Iam_Policy) LateInitialize(attrs []byte) (bool, error) { } // GetTerraformSchemaVersion returns the associated Terraform schema version -func (tr *Iam_Policy) GetTerraformSchemaVersion() int { +func (tr *IamPolicy) GetTerraformSchemaVersion() int { return 0 } -// GetTerraformResourceType returns Terraform resource type for this Image_Policy -func (mg *Image_Policy) GetTerraformResourceType() string { +// GetTerraformResourceType returns Terraform resource type for this ImagePolicy +func (mg *ImagePolicy) GetTerraformResourceType() string { return "tanzu-mission-control_image_policy" } -// GetConnectionDetailsMapping for this Image_Policy -func (tr *Image_Policy) GetConnectionDetailsMapping() map[string]string { +// GetConnectionDetailsMapping for this ImagePolicy +func (tr *ImagePolicy) GetConnectionDetailsMapping() map[string]string { return nil } -// GetObservation of this Image_Policy -func (tr *Image_Policy) GetObservation() (map[string]any, error) { +// GetObservation of this ImagePolicy +func (tr *ImagePolicy) GetObservation() (map[string]any, error) { o, err := json.TFParser.Marshal(tr.Status.AtProvider) if err != nil { return nil, err @@ -699,8 +699,8 @@ func (tr *Image_Policy) GetObservation() (map[string]any, error) { return base, json.TFParser.Unmarshal(o, &base) } -// SetObservation for this Image_Policy -func (tr *Image_Policy) SetObservation(obs map[string]any) error { +// SetObservation for this ImagePolicy +func (tr *ImagePolicy) SetObservation(obs map[string]any) error { p, err := json.TFParser.Marshal(obs) if err != nil { return err @@ -708,16 +708,16 @@ func (tr *Image_Policy) SetObservation(obs map[string]any) error { return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) } -// GetID returns ID of underlying Terraform resource of this Image_Policy -func (tr *Image_Policy) GetID() string { +// GetID returns ID of underlying Terraform resource of this ImagePolicy +func (tr *ImagePolicy) GetID() string { if tr.Status.AtProvider.ID == nil { return "" } return *tr.Status.AtProvider.ID } -// GetParameters of this Image_Policy -func (tr *Image_Policy) GetParameters() (map[string]any, error) { +// GetParameters of this ImagePolicy +func (tr *ImagePolicy) GetParameters() (map[string]any, error) { p, err := json.TFParser.Marshal(tr.Spec.ForProvider) if err != nil { return nil, err @@ -726,8 +726,8 @@ func (tr *Image_Policy) GetParameters() (map[string]any, error) { return base, json.TFParser.Unmarshal(p, &base) } -// SetParameters for this Image_Policy -func (tr *Image_Policy) SetParameters(params map[string]any) error { +// SetParameters for this ImagePolicy +func (tr *ImagePolicy) SetParameters(params map[string]any) error { p, err := json.TFParser.Marshal(params) if err != nil { return err @@ -735,10 +735,10 @@ func (tr *Image_Policy) SetParameters(params map[string]any) error { return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) } -// LateInitialize this Image_Policy using its observed tfState. +// LateInitialize this ImagePolicy using its observed tfState. // returns True if there are any spec changes for the resource. -func (tr *Image_Policy) LateInitialize(attrs []byte) (bool, error) { - params := &Image_PolicyParameters{} +func (tr *ImagePolicy) LateInitialize(attrs []byte) (bool, error) { + params := &ImagePolicyParameters{} if err := json.TFParser.Unmarshal(attrs, params); err != nil { return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") } @@ -749,7 +749,7 @@ func (tr *Image_Policy) LateInitialize(attrs []byte) (bool, error) { } // GetTerraformSchemaVersion returns the associated Terraform schema version -func (tr *Image_Policy) GetTerraformSchemaVersion() int { +func (tr *ImagePolicy) GetTerraformSchemaVersion() int { return 0 } @@ -827,18 +827,18 @@ func (tr *Integration) GetTerraformSchemaVersion() int { return 0 } -// GetTerraformResourceType returns Terraform resource type for this Kubernetes_Secret -func (mg *Kubernetes_Secret) GetTerraformResourceType() string { +// GetTerraformResourceType returns Terraform resource type for this KubernetesSecret +func (mg *KubernetesSecret) GetTerraformResourceType() string { return "tanzu-mission-control_kubernetes_secret" } -// GetConnectionDetailsMapping for this Kubernetes_Secret -func (tr *Kubernetes_Secret) GetConnectionDetailsMapping() map[string]string { +// GetConnectionDetailsMapping for this KubernetesSecret +func (tr *KubernetesSecret) GetConnectionDetailsMapping() map[string]string { return map[string]string{"spec[*].docker_config_json[*].password": "spec.forProvider.spec[*].dockerConfigJson[*].passwordSecretRef"} } -// GetObservation of this Kubernetes_Secret -func (tr *Kubernetes_Secret) GetObservation() (map[string]any, error) { +// GetObservation of this KubernetesSecret +func (tr *KubernetesSecret) GetObservation() (map[string]any, error) { o, err := json.TFParser.Marshal(tr.Status.AtProvider) if err != nil { return nil, err @@ -847,8 +847,8 @@ func (tr *Kubernetes_Secret) GetObservation() (map[string]any, error) { return base, json.TFParser.Unmarshal(o, &base) } -// SetObservation for this Kubernetes_Secret -func (tr *Kubernetes_Secret) SetObservation(obs map[string]any) error { +// SetObservation for this KubernetesSecret +func (tr *KubernetesSecret) SetObservation(obs map[string]any) error { p, err := json.TFParser.Marshal(obs) if err != nil { return err @@ -856,16 +856,16 @@ func (tr *Kubernetes_Secret) SetObservation(obs map[string]any) error { return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) } -// GetID returns ID of underlying Terraform resource of this Kubernetes_Secret -func (tr *Kubernetes_Secret) GetID() string { +// GetID returns ID of underlying Terraform resource of this KubernetesSecret +func (tr *KubernetesSecret) GetID() string { if tr.Status.AtProvider.ID == nil { return "" } return *tr.Status.AtProvider.ID } -// GetParameters of this Kubernetes_Secret -func (tr *Kubernetes_Secret) GetParameters() (map[string]any, error) { +// GetParameters of this KubernetesSecret +func (tr *KubernetesSecret) GetParameters() (map[string]any, error) { p, err := json.TFParser.Marshal(tr.Spec.ForProvider) if err != nil { return nil, err @@ -874,8 +874,8 @@ func (tr *Kubernetes_Secret) GetParameters() (map[string]any, error) { return base, json.TFParser.Unmarshal(p, &base) } -// SetParameters for this Kubernetes_Secret -func (tr *Kubernetes_Secret) SetParameters(params map[string]any) error { +// SetParameters for this KubernetesSecret +func (tr *KubernetesSecret) SetParameters(params map[string]any) error { p, err := json.TFParser.Marshal(params) if err != nil { return err @@ -883,10 +883,10 @@ func (tr *Kubernetes_Secret) SetParameters(params map[string]any) error { return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) } -// LateInitialize this Kubernetes_Secret using its observed tfState. +// LateInitialize this KubernetesSecret using its observed tfState. // returns True if there are any spec changes for the resource. -func (tr *Kubernetes_Secret) LateInitialize(attrs []byte) (bool, error) { - params := &Kubernetes_SecretParameters{} +func (tr *KubernetesSecret) LateInitialize(attrs []byte) (bool, error) { + params := &KubernetesSecretParameters{} if err := json.TFParser.Unmarshal(attrs, params); err != nil { return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") } @@ -897,7 +897,7 @@ func (tr *Kubernetes_Secret) LateInitialize(attrs []byte) (bool, error) { } // GetTerraformSchemaVersion returns the associated Terraform schema version -func (tr *Kubernetes_Secret) GetTerraformSchemaVersion() int { +func (tr *KubernetesSecret) GetTerraformSchemaVersion() int { return 0 } @@ -1049,18 +1049,18 @@ func (tr *Namespace) GetTerraformSchemaVersion() int { return 0 } -// GetTerraformResourceType returns Terraform resource type for this Namespace_Quota_Policy -func (mg *Namespace_Quota_Policy) GetTerraformResourceType() string { +// GetTerraformResourceType returns Terraform resource type for this NamespaceQuotaPolicy +func (mg *NamespaceQuotaPolicy) GetTerraformResourceType() string { return "tanzu-mission-control_namespace_quota_policy" } -// GetConnectionDetailsMapping for this Namespace_Quota_Policy -func (tr *Namespace_Quota_Policy) GetConnectionDetailsMapping() map[string]string { +// GetConnectionDetailsMapping for this NamespaceQuotaPolicy +func (tr *NamespaceQuotaPolicy) GetConnectionDetailsMapping() map[string]string { return nil } -// GetObservation of this Namespace_Quota_Policy -func (tr *Namespace_Quota_Policy) GetObservation() (map[string]any, error) { +// GetObservation of this NamespaceQuotaPolicy +func (tr *NamespaceQuotaPolicy) GetObservation() (map[string]any, error) { o, err := json.TFParser.Marshal(tr.Status.AtProvider) if err != nil { return nil, err @@ -1069,8 +1069,8 @@ func (tr *Namespace_Quota_Policy) GetObservation() (map[string]any, error) { return base, json.TFParser.Unmarshal(o, &base) } -// SetObservation for this Namespace_Quota_Policy -func (tr *Namespace_Quota_Policy) SetObservation(obs map[string]any) error { +// SetObservation for this NamespaceQuotaPolicy +func (tr *NamespaceQuotaPolicy) SetObservation(obs map[string]any) error { p, err := json.TFParser.Marshal(obs) if err != nil { return err @@ -1078,16 +1078,16 @@ func (tr *Namespace_Quota_Policy) SetObservation(obs map[string]any) error { 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 { +// GetID returns ID of underlying Terraform resource of this NamespaceQuotaPolicy +func (tr *NamespaceQuotaPolicy) 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) { +// GetParameters of this NamespaceQuotaPolicy +func (tr *NamespaceQuotaPolicy) GetParameters() (map[string]any, error) { p, err := json.TFParser.Marshal(tr.Spec.ForProvider) if err != nil { return nil, err @@ -1096,8 +1096,8 @@ func (tr *Namespace_Quota_Policy) GetParameters() (map[string]any, error) { return base, json.TFParser.Unmarshal(p, &base) } -// SetParameters for this Namespace_Quota_Policy -func (tr *Namespace_Quota_Policy) SetParameters(params map[string]any) error { +// SetParameters for this NamespaceQuotaPolicy +func (tr *NamespaceQuotaPolicy) SetParameters(params map[string]any) error { p, err := json.TFParser.Marshal(params) if err != nil { return err @@ -1105,10 +1105,10 @@ func (tr *Namespace_Quota_Policy) SetParameters(params map[string]any) error { return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) } -// LateInitialize this Namespace_Quota_Policy using its observed tfState. +// LateInitialize this NamespaceQuotaPolicy 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{} +func (tr *NamespaceQuotaPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &NamespaceQuotaPolicyParameters{} if err := json.TFParser.Unmarshal(attrs, params); err != nil { return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") } @@ -1119,22 +1119,22 @@ func (tr *Namespace_Quota_Policy) LateInitialize(attrs []byte) (bool, error) { } // GetTerraformSchemaVersion returns the associated Terraform schema version -func (tr *Namespace_Quota_Policy) GetTerraformSchemaVersion() int { +func (tr *NamespaceQuotaPolicy) GetTerraformSchemaVersion() int { return 0 } -// GetTerraformResourceType returns Terraform resource type for this Network_Policy -func (mg *Network_Policy) GetTerraformResourceType() string { +// GetTerraformResourceType returns Terraform resource type for this NetworkPolicy +func (mg *NetworkPolicy) GetTerraformResourceType() string { return "tanzu-mission-control_network_policy" } -// GetConnectionDetailsMapping for this Network_Policy -func (tr *Network_Policy) GetConnectionDetailsMapping() map[string]string { +// GetConnectionDetailsMapping for this NetworkPolicy +func (tr *NetworkPolicy) GetConnectionDetailsMapping() map[string]string { return nil } -// GetObservation of this Network_Policy -func (tr *Network_Policy) GetObservation() (map[string]any, error) { +// GetObservation of this NetworkPolicy +func (tr *NetworkPolicy) GetObservation() (map[string]any, error) { o, err := json.TFParser.Marshal(tr.Status.AtProvider) if err != nil { return nil, err @@ -1143,8 +1143,8 @@ func (tr *Network_Policy) GetObservation() (map[string]any, error) { return base, json.TFParser.Unmarshal(o, &base) } -// SetObservation for this Network_Policy -func (tr *Network_Policy) SetObservation(obs map[string]any) error { +// SetObservation for this NetworkPolicy +func (tr *NetworkPolicy) SetObservation(obs map[string]any) error { p, err := json.TFParser.Marshal(obs) if err != nil { return err @@ -1152,16 +1152,16 @@ func (tr *Network_Policy) SetObservation(obs map[string]any) error { 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 { +// GetID returns ID of underlying Terraform resource of this NetworkPolicy +func (tr *NetworkPolicy) 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) { +// GetParameters of this NetworkPolicy +func (tr *NetworkPolicy) GetParameters() (map[string]any, error) { p, err := json.TFParser.Marshal(tr.Spec.ForProvider) if err != nil { return nil, err @@ -1170,8 +1170,8 @@ func (tr *Network_Policy) GetParameters() (map[string]any, error) { return base, json.TFParser.Unmarshal(p, &base) } -// SetParameters for this Network_Policy -func (tr *Network_Policy) SetParameters(params map[string]any) error { +// SetParameters for this NetworkPolicy +func (tr *NetworkPolicy) SetParameters(params map[string]any) error { p, err := json.TFParser.Marshal(params) if err != nil { return err @@ -1179,10 +1179,10 @@ func (tr *Network_Policy) SetParameters(params map[string]any) error { return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) } -// LateInitialize this Network_Policy using its observed tfState. +// LateInitialize this NetworkPolicy 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{} +func (tr *NetworkPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &NetworkPolicyParameters{} if err := json.TFParser.Unmarshal(attrs, params); err != nil { return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") } @@ -1193,22 +1193,22 @@ func (tr *Network_Policy) LateInitialize(attrs []byte) (bool, error) { } // GetTerraformSchemaVersion returns the associated Terraform schema version -func (tr *Network_Policy) GetTerraformSchemaVersion() int { +func (tr *NetworkPolicy) GetTerraformSchemaVersion() int { return 0 } -// GetTerraformResourceType returns Terraform resource type for this Package_Install -func (mg *Package_Install) GetTerraformResourceType() string { +// GetTerraformResourceType returns Terraform resource type for this PackageInstall +func (mg *PackageInstall) GetTerraformResourceType() string { return "tanzu-mission-control_package_install" } -// GetConnectionDetailsMapping for this Package_Install -func (tr *Package_Install) GetConnectionDetailsMapping() map[string]string { +// GetConnectionDetailsMapping for this PackageInstall +func (tr *PackageInstall) 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) { +// GetObservation of this PackageInstall +func (tr *PackageInstall) GetObservation() (map[string]any, error) { o, err := json.TFParser.Marshal(tr.Status.AtProvider) if err != nil { return nil, err @@ -1217,8 +1217,8 @@ func (tr *Package_Install) GetObservation() (map[string]any, error) { return base, json.TFParser.Unmarshal(o, &base) } -// SetObservation for this Package_Install -func (tr *Package_Install) SetObservation(obs map[string]any) error { +// SetObservation for this PackageInstall +func (tr *PackageInstall) SetObservation(obs map[string]any) error { p, err := json.TFParser.Marshal(obs) if err != nil { return err @@ -1226,16 +1226,16 @@ func (tr *Package_Install) SetObservation(obs map[string]any) error { 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 { +// GetID returns ID of underlying Terraform resource of this PackageInstall +func (tr *PackageInstall) 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) { +// GetParameters of this PackageInstall +func (tr *PackageInstall) GetParameters() (map[string]any, error) { p, err := json.TFParser.Marshal(tr.Spec.ForProvider) if err != nil { return nil, err @@ -1244,8 +1244,8 @@ func (tr *Package_Install) GetParameters() (map[string]any, error) { return base, json.TFParser.Unmarshal(p, &base) } -// SetParameters for this Package_Install -func (tr *Package_Install) SetParameters(params map[string]any) error { +// SetParameters for this PackageInstall +func (tr *PackageInstall) SetParameters(params map[string]any) error { p, err := json.TFParser.Marshal(params) if err != nil { return err @@ -1253,10 +1253,10 @@ func (tr *Package_Install) SetParameters(params map[string]any) error { return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) } -// LateInitialize this Package_Install using its observed tfState. +// LateInitialize this PackageInstall 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{} +func (tr *PackageInstall) LateInitialize(attrs []byte) (bool, error) { + params := &PackageInstallParameters{} if err := json.TFParser.Unmarshal(attrs, params); err != nil { return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") } @@ -1267,22 +1267,22 @@ func (tr *Package_Install) LateInitialize(attrs []byte) (bool, error) { } // GetTerraformSchemaVersion returns the associated Terraform schema version -func (tr *Package_Install) GetTerraformSchemaVersion() int { +func (tr *PackageInstall) GetTerraformSchemaVersion() int { return 0 } -// GetTerraformResourceType returns Terraform resource type for this Package_Repository -func (mg *Package_Repository) GetTerraformResourceType() string { +// GetTerraformResourceType returns Terraform resource type for this PackageRepository +func (mg *PackageRepository) GetTerraformResourceType() string { return "tanzu-mission-control_package_repository" } -// GetConnectionDetailsMapping for this Package_Repository -func (tr *Package_Repository) GetConnectionDetailsMapping() map[string]string { +// GetConnectionDetailsMapping for this PackageRepository +func (tr *PackageRepository) GetConnectionDetailsMapping() map[string]string { return nil } -// GetObservation of this Package_Repository -func (tr *Package_Repository) GetObservation() (map[string]any, error) { +// GetObservation of this PackageRepository +func (tr *PackageRepository) GetObservation() (map[string]any, error) { o, err := json.TFParser.Marshal(tr.Status.AtProvider) if err != nil { return nil, err @@ -1291,8 +1291,8 @@ func (tr *Package_Repository) GetObservation() (map[string]any, error) { return base, json.TFParser.Unmarshal(o, &base) } -// SetObservation for this Package_Repository -func (tr *Package_Repository) SetObservation(obs map[string]any) error { +// SetObservation for this PackageRepository +func (tr *PackageRepository) SetObservation(obs map[string]any) error { p, err := json.TFParser.Marshal(obs) if err != nil { return err @@ -1300,16 +1300,16 @@ func (tr *Package_Repository) SetObservation(obs map[string]any) error { 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 { +// GetID returns ID of underlying Terraform resource of this PackageRepository +func (tr *PackageRepository) 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) { +// GetParameters of this PackageRepository +func (tr *PackageRepository) GetParameters() (map[string]any, error) { p, err := json.TFParser.Marshal(tr.Spec.ForProvider) if err != nil { return nil, err @@ -1318,8 +1318,8 @@ func (tr *Package_Repository) GetParameters() (map[string]any, error) { return base, json.TFParser.Unmarshal(p, &base) } -// SetParameters for this Package_Repository -func (tr *Package_Repository) SetParameters(params map[string]any) error { +// SetParameters for this PackageRepository +func (tr *PackageRepository) SetParameters(params map[string]any) error { p, err := json.TFParser.Marshal(params) if err != nil { return err @@ -1327,10 +1327,10 @@ func (tr *Package_Repository) SetParameters(params map[string]any) error { return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) } -// LateInitialize this Package_Repository using its observed tfState. +// LateInitialize this PackageRepository 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{} +func (tr *PackageRepository) LateInitialize(attrs []byte) (bool, error) { + params := &PackageRepositoryParameters{} if err := json.TFParser.Unmarshal(attrs, params); err != nil { return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") } @@ -1341,22 +1341,22 @@ func (tr *Package_Repository) LateInitialize(attrs []byte) (bool, error) { } // GetTerraformSchemaVersion returns the associated Terraform schema version -func (tr *Package_Repository) GetTerraformSchemaVersion() int { +func (tr *PackageRepository) GetTerraformSchemaVersion() int { return 0 } -// GetTerraformResourceType returns Terraform resource type for this Repository_Credential -func (mg *Repository_Credential) GetTerraformResourceType() string { +// GetTerraformResourceType returns Terraform resource type for this RepositoryCredential +func (mg *RepositoryCredential) GetTerraformResourceType() string { return "tanzu-mission-control_repository_credential" } -// GetConnectionDetailsMapping for this Repository_Credential -func (tr *Repository_Credential) GetConnectionDetailsMapping() map[string]string { +// GetConnectionDetailsMapping for this RepositoryCredential +func (tr *RepositoryCredential) 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) { +// GetObservation of this RepositoryCredential +func (tr *RepositoryCredential) GetObservation() (map[string]any, error) { o, err := json.TFParser.Marshal(tr.Status.AtProvider) if err != nil { return nil, err @@ -1365,8 +1365,8 @@ func (tr *Repository_Credential) GetObservation() (map[string]any, error) { return base, json.TFParser.Unmarshal(o, &base) } -// SetObservation for this Repository_Credential -func (tr *Repository_Credential) SetObservation(obs map[string]any) error { +// SetObservation for this RepositoryCredential +func (tr *RepositoryCredential) SetObservation(obs map[string]any) error { p, err := json.TFParser.Marshal(obs) if err != nil { return err @@ -1374,16 +1374,16 @@ func (tr *Repository_Credential) SetObservation(obs map[string]any) error { 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 { +// GetID returns ID of underlying Terraform resource of this RepositoryCredential +func (tr *RepositoryCredential) 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) { +// GetParameters of this RepositoryCredential +func (tr *RepositoryCredential) GetParameters() (map[string]any, error) { p, err := json.TFParser.Marshal(tr.Spec.ForProvider) if err != nil { return nil, err @@ -1392,8 +1392,8 @@ func (tr *Repository_Credential) GetParameters() (map[string]any, error) { return base, json.TFParser.Unmarshal(p, &base) } -// SetParameters for this Repository_Credential -func (tr *Repository_Credential) SetParameters(params map[string]any) error { +// SetParameters for this RepositoryCredential +func (tr *RepositoryCredential) SetParameters(params map[string]any) error { p, err := json.TFParser.Marshal(params) if err != nil { return err @@ -1401,10 +1401,10 @@ func (tr *Repository_Credential) SetParameters(params map[string]any) error { return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) } -// LateInitialize this Repository_Credential using its observed tfState. +// LateInitialize this RepositoryCredential 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{} +func (tr *RepositoryCredential) LateInitialize(attrs []byte) (bool, error) { + params := &RepositoryCredentialParameters{} if err := json.TFParser.Unmarshal(attrs, params); err != nil { return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") } @@ -1415,22 +1415,22 @@ func (tr *Repository_Credential) LateInitialize(attrs []byte) (bool, error) { } // GetTerraformSchemaVersion returns the associated Terraform schema version -func (tr *Repository_Credential) GetTerraformSchemaVersion() int { +func (tr *RepositoryCredential) GetTerraformSchemaVersion() int { return 0 } -// GetTerraformResourceType returns Terraform resource type for this Security_Policy -func (mg *Security_Policy) GetTerraformResourceType() string { +// GetTerraformResourceType returns Terraform resource type for this SecurityPolicy +func (mg *SecurityPolicy) GetTerraformResourceType() string { return "tanzu-mission-control_security_policy" } -// GetConnectionDetailsMapping for this Security_Policy -func (tr *Security_Policy) GetConnectionDetailsMapping() map[string]string { +// GetConnectionDetailsMapping for this SecurityPolicy +func (tr *SecurityPolicy) GetConnectionDetailsMapping() map[string]string { return nil } -// GetObservation of this Security_Policy -func (tr *Security_Policy) GetObservation() (map[string]any, error) { +// GetObservation of this SecurityPolicy +func (tr *SecurityPolicy) GetObservation() (map[string]any, error) { o, err := json.TFParser.Marshal(tr.Status.AtProvider) if err != nil { return nil, err @@ -1439,8 +1439,8 @@ func (tr *Security_Policy) GetObservation() (map[string]any, error) { return base, json.TFParser.Unmarshal(o, &base) } -// SetObservation for this Security_Policy -func (tr *Security_Policy) SetObservation(obs map[string]any) error { +// SetObservation for this SecurityPolicy +func (tr *SecurityPolicy) SetObservation(obs map[string]any) error { p, err := json.TFParser.Marshal(obs) if err != nil { return err @@ -1448,16 +1448,16 @@ func (tr *Security_Policy) SetObservation(obs map[string]any) error { 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 { +// GetID returns ID of underlying Terraform resource of this SecurityPolicy +func (tr *SecurityPolicy) 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) { +// GetParameters of this SecurityPolicy +func (tr *SecurityPolicy) GetParameters() (map[string]any, error) { p, err := json.TFParser.Marshal(tr.Spec.ForProvider) if err != nil { return nil, err @@ -1466,8 +1466,8 @@ func (tr *Security_Policy) GetParameters() (map[string]any, error) { return base, json.TFParser.Unmarshal(p, &base) } -// SetParameters for this Security_Policy -func (tr *Security_Policy) SetParameters(params map[string]any) error { +// SetParameters for this SecurityPolicy +func (tr *SecurityPolicy) SetParameters(params map[string]any) error { p, err := json.TFParser.Marshal(params) if err != nil { return err @@ -1475,10 +1475,10 @@ func (tr *Security_Policy) SetParameters(params map[string]any) error { return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) } -// LateInitialize this Security_Policy using its observed tfState. +// LateInitialize this SecurityPolicy 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{} +func (tr *SecurityPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &SecurityPolicyParameters{} if err := json.TFParser.Unmarshal(attrs, params); err != nil { return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") } @@ -1489,7 +1489,7 @@ func (tr *Security_Policy) LateInitialize(attrs []byte) (bool, error) { } // GetTerraformSchemaVersion returns the associated Terraform schema version -func (tr *Security_Policy) GetTerraformSchemaVersion() int { +func (tr *SecurityPolicy) GetTerraformSchemaVersion() int { return 0 } diff --git a/apis/tmc/v1alpha1/zz_git_repository_types.go b/apis/tmc/v1alpha1/zz_gitrepository_types.go similarity index 81% rename from apis/tmc/v1alpha1/zz_git_repository_types.go rename to apis/tmc/v1alpha1/zz_gitrepository_types.go index 91025b0..cac1717 100755 --- a/apis/tmc/v1alpha1/zz_git_repository_types.go +++ b/apis/tmc/v1alpha1/zz_gitrepository_types.go @@ -13,7 +13,7 @@ import ( v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" ) -type Git_RepositoryMetaObservation struct { +type GitRepositoryMetaObservation struct { // Annotations for the resource Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` @@ -31,7 +31,7 @@ type Git_RepositoryMetaObservation struct { UID *string `json:"uid,omitempty" tf:"uid,omitempty"` } -type Git_RepositoryMetaParameters struct { +type GitRepositoryMetaParameters struct { // Annotations for the resource // +kubebuilder:validation:Optional @@ -46,11 +46,11 @@ type Git_RepositoryMetaParameters struct { Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` } -type Git_RepositoryObservation struct { +type GitRepositoryObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` // Metadata for the resource - Meta []Git_RepositoryMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []GitRepositoryMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` // Name of the Repository. Name *string `json:"name,omitempty" tf:"name,omitempty"` @@ -59,20 +59,20 @@ type Git_RepositoryObservation struct { NamespaceName *string `json:"namespaceName,omitempty" tf:"namespace_name,omitempty"` // Scope for the git repository, having one of the valid scopes: cluster, cluster_group. - Scope []Git_RepositoryScopeObservation `json:"scope,omitempty" tf:"scope,omitempty"` + Scope []GitRepositoryScopeObservation `json:"scope,omitempty" tf:"scope,omitempty"` // Spec for the Repository. - Spec []Git_RepositorySpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` + Spec []GitRepositorySpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` // Status for the Repository. Status map[string]*string `json:"status,omitempty" tf:"status,omitempty"` } -type Git_RepositoryParameters struct { +type GitRepositoryParameters struct { // Metadata for the resource // +kubebuilder:validation:Optional - Meta []Git_RepositoryMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []GitRepositoryMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` // Name of the Repository. // +kubebuilder:validation:Optional @@ -84,14 +84,27 @@ type Git_RepositoryParameters struct { // Scope for the git repository, having one of the valid scopes: cluster, cluster_group. // +kubebuilder:validation:Optional - Scope []Git_RepositoryScopeParameters `json:"scope,omitempty" tf:"scope,omitempty"` + Scope []GitRepositoryScopeParameters `json:"scope,omitempty" tf:"scope,omitempty"` // Spec for the Repository. // +kubebuilder:validation:Optional - Spec []Git_RepositorySpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` + Spec []GitRepositorySpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` } -type Git_RepositoryScopeClusterObservation struct { +type GitRepositoryScopeClusterGroupObservation struct { + + // Name of the cluster group + Name *string `json:"name,omitempty" tf:"name,omitempty"` +} + +type GitRepositoryScopeClusterGroupParameters struct { + + // Name of the cluster group + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type GitRepositoryScopeClusterObservation struct { // Name of the management cluster ManagementClusterName *string `json:"managementClusterName,omitempty" tf:"management_cluster_name,omitempty"` @@ -103,7 +116,7 @@ type Git_RepositoryScopeClusterObservation struct { ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` } -type Git_RepositoryScopeClusterParameters struct { +type GitRepositoryScopeClusterParameters struct { // Name of the management cluster // +kubebuilder:validation:Optional @@ -118,27 +131,27 @@ type Git_RepositoryScopeClusterParameters struct { ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` } -type Git_RepositoryScopeObservation struct { +type GitRepositoryScopeObservation struct { // The schema for cluster full name - Cluster []Git_RepositoryScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` + Cluster []GitRepositoryScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` // The schema for cluster group full name - ClusterGroup []ScopeClusterGroupObservation `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` + ClusterGroup []GitRepositoryScopeClusterGroupObservation `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` } -type Git_RepositoryScopeParameters struct { +type GitRepositoryScopeParameters struct { // The schema for cluster full name // +kubebuilder:validation:Optional - Cluster []Git_RepositoryScopeClusterParameters `json:"cluster,omitempty" tf:"cluster,omitempty"` + Cluster []GitRepositoryScopeClusterParameters `json:"cluster,omitempty" tf:"cluster,omitempty"` // The schema for cluster group full name // +kubebuilder:validation:Optional - ClusterGroup []ScopeClusterGroupParameters `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` + ClusterGroup []GitRepositoryScopeClusterGroupParameters `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` } -type Git_RepositorySpecObservation struct { +type GitRepositorySpecObservation struct { // GitImplementation specifies which client library implementation to use. go-git is the default git implementation. GitImplementation *string `json:"gitImplementation,omitempty" tf:"git_implementation,omitempty"` @@ -156,7 +169,7 @@ type Git_RepositorySpecObservation struct { URL *string `json:"url,omitempty" tf:"url,omitempty"` } -type Git_RepositorySpecParameters struct { +type GitRepositorySpecParameters struct { // GitImplementation specifies which client library implementation to use. go-git is the default git implementation. // +kubebuilder:validation:Optional @@ -213,68 +226,55 @@ type RefParameters struct { Tag *string `json:"tag,omitempty" tf:"tag,omitempty"` } -type ScopeClusterGroupObservation struct { - - // Name of the cluster group - Name *string `json:"name,omitempty" tf:"name,omitempty"` -} - -type ScopeClusterGroupParameters struct { - - // Name of the cluster group - // +kubebuilder:validation:Required - Name *string `json:"name" tf:"name,omitempty"` -} - -// Git_RepositorySpec defines the desired state of Git_Repository -type Git_RepositorySpec struct { +// GitRepositorySpec defines the desired state of GitRepository +type GitRepositorySpec struct { v1.ResourceSpec `json:",inline"` - ForProvider Git_RepositoryParameters `json:"forProvider"` + ForProvider GitRepositoryParameters `json:"forProvider"` } -// Git_RepositoryStatus defines the observed state of Git_Repository. -type Git_RepositoryStatus struct { +// GitRepositoryStatus defines the observed state of GitRepository. +type GitRepositoryStatus struct { v1.ResourceStatus `json:",inline"` - AtProvider Git_RepositoryObservation `json:"atProvider,omitempty"` + AtProvider GitRepositoryObservation `json:"atProvider,omitempty"` } // +kubebuilder:object:root=true -// Git_Repository is the Schema for the Git_Repositorys API. +// GitRepository is the Schema for the GitRepositorys 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 Git_Repository struct { +type GitRepository 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.namespaceName)",message="namespaceName 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 Git_RepositorySpec `json:"spec"` - Status Git_RepositoryStatus `json:"status,omitempty"` + Spec GitRepositorySpec `json:"spec"` + Status GitRepositoryStatus `json:"status,omitempty"` } // +kubebuilder:object:root=true -// Git_RepositoryList contains a list of Git_Repositorys -type Git_RepositoryList struct { +// GitRepositoryList contains a list of GitRepositorys +type GitRepositoryList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` - Items []Git_Repository `json:"items"` + Items []GitRepository `json:"items"` } // Repository type metadata. var ( - Git_Repository_Kind = "Git_Repository" - Git_Repository_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Git_Repository_Kind}.String() - Git_Repository_KindAPIVersion = Git_Repository_Kind + "." + CRDGroupVersion.String() - Git_Repository_GroupVersionKind = CRDGroupVersion.WithKind(Git_Repository_Kind) + GitRepository_Kind = "GitRepository" + GitRepository_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: GitRepository_Kind}.String() + GitRepository_KindAPIVersion = GitRepository_Kind + "." + CRDGroupVersion.String() + GitRepository_GroupVersionKind = CRDGroupVersion.WithKind(GitRepository_Kind) ) func init() { - SchemeBuilder.Register(&Git_Repository{}, &Git_RepositoryList{}) + SchemeBuilder.Register(&GitRepository{}, &GitRepositoryList{}) } diff --git a/apis/tmc/v1alpha1/zz_iam_policy_types.go b/apis/tmc/v1alpha1/zz_iampolicy_types.go similarity index 78% rename from apis/tmc/v1alpha1/zz_iam_policy_types.go rename to apis/tmc/v1alpha1/zz_iampolicy_types.go index cdbc21a..a934ba8 100755 --- a/apis/tmc/v1alpha1/zz_iam_policy_types.go +++ b/apis/tmc/v1alpha1/zz_iampolicy_types.go @@ -13,7 +13,7 @@ import ( v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" ) -type Iam_PolicyMetaObservation struct { +type IamPolicyMetaObservation struct { // Annotations for the resource Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` @@ -31,7 +31,7 @@ type Iam_PolicyMetaObservation struct { UID *string `json:"uid,omitempty" tf:"uid,omitempty"` } -type Iam_PolicyMetaParameters struct { +type IamPolicyMetaParameters struct { // Annotations for the resource // +kubebuilder:validation:Optional @@ -46,24 +46,24 @@ type Iam_PolicyMetaParameters struct { Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` } -type Iam_PolicyObservation struct { +type IamPolicyObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` // Metadata for the resource - Meta []Iam_PolicyMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []IamPolicyMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` // List of role bindings associated with the policy RoleBindings []RoleBindingsObservation `json:"roleBindings,omitempty" tf:"role_bindings,omitempty"` // Scope of the resource on which the rolebinding has to be added, having one of the valid scopes: organization, cluster_group, cluster, workspace or namespace. - Scope []Iam_PolicyScopeObservation `json:"scope,omitempty" tf:"scope,omitempty"` + Scope []IamPolicyScopeObservation `json:"scope,omitempty" tf:"scope,omitempty"` } -type Iam_PolicyParameters struct { +type IamPolicyParameters struct { // Metadata for the resource // +kubebuilder:validation:Optional - Meta []Iam_PolicyMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []IamPolicyMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` // List of role bindings associated with the policy // +kubebuilder:validation:Optional @@ -71,23 +71,23 @@ type Iam_PolicyParameters struct { // Scope of the resource on which the rolebinding has to be added, having one of the valid scopes: organization, cluster_group, cluster, workspace or namespace. // +kubebuilder:validation:Optional - Scope []Iam_PolicyScopeParameters `json:"scope,omitempty" tf:"scope,omitempty"` + Scope []IamPolicyScopeParameters `json:"scope,omitempty" tf:"scope,omitempty"` } -type Iam_PolicyScopeClusterGroupObservation struct { +type IamPolicyScopeClusterGroupObservation struct { // Name of the cluster group Name *string `json:"name,omitempty" tf:"name,omitempty"` } -type Iam_PolicyScopeClusterGroupParameters struct { +type IamPolicyScopeClusterGroupParameters struct { // Name of the cluster group // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` } -type Iam_PolicyScopeClusterObservation struct { +type IamPolicyScopeClusterObservation struct { // Name of the management cluster ManagementClusterName *string `json:"managementClusterName,omitempty" tf:"management_cluster_name,omitempty"` @@ -99,7 +99,7 @@ type Iam_PolicyScopeClusterObservation struct { ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` } -type Iam_PolicyScopeClusterParameters struct { +type IamPolicyScopeClusterParameters struct { // Name of the management cluster // +kubebuilder:validation:Optional @@ -114,13 +114,13 @@ type Iam_PolicyScopeClusterParameters struct { ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` } -type Iam_PolicyScopeObservation struct { +type IamPolicyScopeObservation struct { // The schema for cluster full name - Cluster []Iam_PolicyScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` + Cluster []IamPolicyScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` // The schema for cluster group full name - ClusterGroup []Iam_PolicyScopeClusterGroupObservation `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` + ClusterGroup []IamPolicyScopeClusterGroupObservation `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` // The schema for namespace iam policy full name Namespace []NamespaceObservation `json:"namespace,omitempty" tf:"namespace,omitempty"` @@ -129,18 +129,18 @@ type Iam_PolicyScopeObservation struct { Organization []ScopeOrganizationObservation `json:"organization,omitempty" tf:"organization,omitempty"` // The schema for workspace iam policy full name - Workspace []Iam_PolicyScopeWorkspaceObservation `json:"workspace,omitempty" tf:"workspace,omitempty"` + Workspace []IamPolicyScopeWorkspaceObservation `json:"workspace,omitempty" tf:"workspace,omitempty"` } -type Iam_PolicyScopeParameters struct { +type IamPolicyScopeParameters struct { // The schema for cluster full name // +kubebuilder:validation:Optional - Cluster []Iam_PolicyScopeClusterParameters `json:"cluster,omitempty" tf:"cluster,omitempty"` + Cluster []IamPolicyScopeClusterParameters `json:"cluster,omitempty" tf:"cluster,omitempty"` // The schema for cluster group full name // +kubebuilder:validation:Optional - ClusterGroup []Iam_PolicyScopeClusterGroupParameters `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` + ClusterGroup []IamPolicyScopeClusterGroupParameters `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` // The schema for namespace iam policy full name // +kubebuilder:validation:Optional @@ -152,16 +152,16 @@ type Iam_PolicyScopeParameters struct { // The schema for workspace iam policy full name // +kubebuilder:validation:Optional - Workspace []Iam_PolicyScopeWorkspaceParameters `json:"workspace,omitempty" tf:"workspace,omitempty"` + Workspace []IamPolicyScopeWorkspaceParameters `json:"workspace,omitempty" tf:"workspace,omitempty"` } -type Iam_PolicyScopeWorkspaceObservation struct { +type IamPolicyScopeWorkspaceObservation struct { // Name of the workspace Name *string `json:"name,omitempty" tf:"name,omitempty"` } -type Iam_PolicyScopeWorkspaceParameters struct { +type IamPolicyScopeWorkspaceParameters struct { // Name of the workspace // +kubebuilder:validation:Required @@ -255,53 +255,53 @@ type SubjectsParameters struct { Name *string `json:"name" tf:"name,omitempty"` } -// Iam_PolicySpec defines the desired state of Iam_Policy -type Iam_PolicySpec struct { +// IamPolicySpec defines the desired state of IamPolicy +type IamPolicySpec struct { v1.ResourceSpec `json:",inline"` - ForProvider Iam_PolicyParameters `json:"forProvider"` + ForProvider IamPolicyParameters `json:"forProvider"` } -// Iam_PolicyStatus defines the observed state of Iam_Policy. -type Iam_PolicyStatus struct { +// IamPolicyStatus defines the observed state of IamPolicy. +type IamPolicyStatus struct { v1.ResourceStatus `json:",inline"` - AtProvider Iam_PolicyObservation `json:"atProvider,omitempty"` + AtProvider IamPolicyObservation `json:"atProvider,omitempty"` } // +kubebuilder:object:root=true -// Iam_Policy is the Schema for the Iam_Policys API. +// IamPolicy is the Schema for the IamPolicys 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 Iam_Policy struct { +type IamPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.roleBindings)",message="roleBindings is a required parameter" // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.scope)",message="scope is a required parameter" - Spec Iam_PolicySpec `json:"spec"` - Status Iam_PolicyStatus `json:"status,omitempty"` + Spec IamPolicySpec `json:"spec"` + Status IamPolicyStatus `json:"status,omitempty"` } // +kubebuilder:object:root=true -// Iam_PolicyList contains a list of Iam_Policys -type Iam_PolicyList struct { +// IamPolicyList contains a list of IamPolicys +type IamPolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` - Items []Iam_Policy `json:"items"` + Items []IamPolicy `json:"items"` } // Repository type metadata. var ( - Iam_Policy_Kind = "Iam_Policy" - Iam_Policy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Iam_Policy_Kind}.String() - Iam_Policy_KindAPIVersion = Iam_Policy_Kind + "." + CRDGroupVersion.String() - Iam_Policy_GroupVersionKind = CRDGroupVersion.WithKind(Iam_Policy_Kind) + IamPolicy_Kind = "IamPolicy" + IamPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: IamPolicy_Kind}.String() + IamPolicy_KindAPIVersion = IamPolicy_Kind + "." + CRDGroupVersion.String() + IamPolicy_GroupVersionKind = CRDGroupVersion.WithKind(IamPolicy_Kind) ) func init() { - SchemeBuilder.Register(&Iam_Policy{}, &Iam_PolicyList{}) + SchemeBuilder.Register(&IamPolicy{}, &IamPolicyList{}) } diff --git a/apis/tmc/v1alpha1/zz_image_policy_types.go b/apis/tmc/v1alpha1/zz_imagepolicy_types.go similarity index 84% rename from apis/tmc/v1alpha1/zz_image_policy_types.go rename to apis/tmc/v1alpha1/zz_imagepolicy_types.go index 8a291b0..758c1fe 100755 --- a/apis/tmc/v1alpha1/zz_image_policy_types.go +++ b/apis/tmc/v1alpha1/zz_imagepolicy_types.go @@ -107,7 +107,7 @@ type CustomRulesParameters struct { Tag []RulesTagParameters `json:"tag,omitempty" tf:"tag,omitempty"` } -type Image_PolicyMetaObservation struct { +type ImagePolicyMetaObservation struct { // Annotations for the resource Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` @@ -125,7 +125,7 @@ type Image_PolicyMetaObservation struct { UID *string `json:"uid,omitempty" tf:"uid,omitempty"` } -type Image_PolicyMetaParameters struct { +type ImagePolicyMetaParameters struct { // Annotations for the resource // +kubebuilder:validation:Optional @@ -140,27 +140,27 @@ type Image_PolicyMetaParameters struct { Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` } -type Image_PolicyObservation struct { +type ImagePolicyObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` // Metadata for the resource - Meta []Image_PolicyMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []ImagePolicyMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` // Name of the image 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 []Image_PolicyScopeObservation `json:"scope,omitempty" tf:"scope,omitempty"` + Scope []ImagePolicyScopeObservation `json:"scope,omitempty" tf:"scope,omitempty"` // Spec for the image policy - Spec []Image_PolicySpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` + Spec []ImagePolicySpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` } -type Image_PolicyParameters struct { +type ImagePolicyParameters struct { // Metadata for the resource // +kubebuilder:validation:Optional - Meta []Image_PolicyMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []ImagePolicyMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` // Name of the image policy // +kubebuilder:validation:Optional @@ -168,27 +168,27 @@ type Image_PolicyParameters struct { // 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 []Image_PolicyScopeParameters `json:"scope,omitempty" tf:"scope,omitempty"` + Scope []ImagePolicyScopeParameters `json:"scope,omitempty" tf:"scope,omitempty"` // Spec for the image policy // +kubebuilder:validation:Optional - Spec []Image_PolicySpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` + Spec []ImagePolicySpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` } -type Image_PolicyScopeClusterGroupObservation struct { +type ImagePolicyScopeClusterGroupObservation struct { // Name of this cluster group ClusterGroup *string `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` } -type Image_PolicyScopeClusterGroupParameters struct { +type ImagePolicyScopeClusterGroupParameters struct { // Name of this cluster group // +kubebuilder:validation:Required ClusterGroup *string `json:"clusterGroup" tf:"cluster_group,omitempty"` } -type Image_PolicyScopeClusterObservation struct { +type ImagePolicyScopeClusterObservation struct { // Name of the management cluster ManagementClusterName *string `json:"managementClusterName,omitempty" tf:"management_cluster_name,omitempty"` @@ -200,7 +200,7 @@ type Image_PolicyScopeClusterObservation struct { ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` } -type Image_PolicyScopeClusterParameters struct { +type ImagePolicyScopeClusterParameters struct { // Name of the management cluster // +kubebuilder:validation:Optional @@ -215,67 +215,67 @@ type Image_PolicyScopeClusterParameters struct { ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` } -type Image_PolicyScopeObservation struct { +type ImagePolicyScopeObservation struct { // The schema for cluster policy full name - Cluster []Image_PolicyScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` + Cluster []ImagePolicyScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` // The schema for cluster group policy full name - ClusterGroup []Image_PolicyScopeClusterGroupObservation `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` + ClusterGroup []ImagePolicyScopeClusterGroupObservation `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` // The schema for organization policy full name - Organization []Image_PolicyScopeOrganizationObservation `json:"organization,omitempty" tf:"organization,omitempty"` + Organization []ImagePolicyScopeOrganizationObservation `json:"organization,omitempty" tf:"organization,omitempty"` // The schema for workspace policy full name - Workspace []Image_PolicyScopeWorkspaceObservation `json:"workspace,omitempty" tf:"workspace,omitempty"` + Workspace []ImagePolicyScopeWorkspaceObservation `json:"workspace,omitempty" tf:"workspace,omitempty"` } -type Image_PolicyScopeOrganizationObservation struct { +type ImagePolicyScopeOrganizationObservation struct { // ID of this organization Organization *string `json:"organization,omitempty" tf:"organization,omitempty"` } -type Image_PolicyScopeOrganizationParameters struct { +type ImagePolicyScopeOrganizationParameters struct { // ID of this organization // +kubebuilder:validation:Required Organization *string `json:"organization" tf:"organization,omitempty"` } -type Image_PolicyScopeParameters struct { +type ImagePolicyScopeParameters struct { // The schema for cluster policy full name // +kubebuilder:validation:Optional - Cluster []Image_PolicyScopeClusterParameters `json:"cluster,omitempty" tf:"cluster,omitempty"` + Cluster []ImagePolicyScopeClusterParameters `json:"cluster,omitempty" tf:"cluster,omitempty"` // The schema for cluster group policy full name // +kubebuilder:validation:Optional - ClusterGroup []Image_PolicyScopeClusterGroupParameters `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` + ClusterGroup []ImagePolicyScopeClusterGroupParameters `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` // The schema for organization policy full name // +kubebuilder:validation:Optional - Organization []Image_PolicyScopeOrganizationParameters `json:"organization,omitempty" tf:"organization,omitempty"` + Organization []ImagePolicyScopeOrganizationParameters `json:"organization,omitempty" tf:"organization,omitempty"` // The schema for workspace policy full name // +kubebuilder:validation:Optional - Workspace []Image_PolicyScopeWorkspaceParameters `json:"workspace,omitempty" tf:"workspace,omitempty"` + Workspace []ImagePolicyScopeWorkspaceParameters `json:"workspace,omitempty" tf:"workspace,omitempty"` } -type Image_PolicyScopeWorkspaceObservation struct { +type ImagePolicyScopeWorkspaceObservation struct { // Name of this workspace Workspace *string `json:"workspace,omitempty" tf:"workspace,omitempty"` } -type Image_PolicyScopeWorkspaceParameters struct { +type ImagePolicyScopeWorkspaceParameters struct { // Name of this workspace // +kubebuilder:validation:Required Workspace *string `json:"workspace" tf:"workspace,omitempty"` } -type Image_PolicySpecObservation struct { +type ImagePolicySpecObservation struct { // Input for the image policy, having one of the valid recipes: allowed-name-tag, custom, block-latest-tag or require-digest. Input []SpecInputObservation `json:"input,omitempty" tf:"input,omitempty"` @@ -284,7 +284,7 @@ type Image_PolicySpecObservation struct { NamespaceSelector []SpecNamespaceSelectorObservation `json:"namespaceSelector,omitempty" tf:"namespace_selector,omitempty"` } -type Image_PolicySpecParameters struct { +type ImagePolicySpecParameters struct { // Input for the image policy, having one of the valid recipes: allowed-name-tag, custom, block-latest-tag or require-digest. // +kubebuilder:validation:Required @@ -442,54 +442,54 @@ type TagParameters struct { Value *string `json:"value,omitempty" tf:"value,omitempty"` } -// Image_PolicySpec defines the desired state of Image_Policy -type Image_PolicySpec struct { +// ImagePolicySpec defines the desired state of ImagePolicy +type ImagePolicySpec struct { v1.ResourceSpec `json:",inline"` - ForProvider Image_PolicyParameters `json:"forProvider"` + ForProvider ImagePolicyParameters `json:"forProvider"` } -// Image_PolicyStatus defines the observed state of Image_Policy. -type Image_PolicyStatus struct { +// ImagePolicyStatus defines the observed state of ImagePolicy. +type ImagePolicyStatus struct { v1.ResourceStatus `json:",inline"` - AtProvider Image_PolicyObservation `json:"atProvider,omitempty"` + AtProvider ImagePolicyObservation `json:"atProvider,omitempty"` } // +kubebuilder:object:root=true -// Image_Policy is the Schema for the Image_Policys API. +// ImagePolicy is the Schema for the ImagePolicys 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 Image_Policy struct { +type ImagePolicy 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 Image_PolicySpec `json:"spec"` - Status Image_PolicyStatus `json:"status,omitempty"` + Spec ImagePolicySpec `json:"spec"` + Status ImagePolicyStatus `json:"status,omitempty"` } // +kubebuilder:object:root=true -// Image_PolicyList contains a list of Image_Policys -type Image_PolicyList struct { +// ImagePolicyList contains a list of ImagePolicys +type ImagePolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` - Items []Image_Policy `json:"items"` + Items []ImagePolicy `json:"items"` } // Repository type metadata. var ( - Image_Policy_Kind = "Image_Policy" - Image_Policy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Image_Policy_Kind}.String() - Image_Policy_KindAPIVersion = Image_Policy_Kind + "." + CRDGroupVersion.String() - Image_Policy_GroupVersionKind = CRDGroupVersion.WithKind(Image_Policy_Kind) + ImagePolicy_Kind = "ImagePolicy" + ImagePolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ImagePolicy_Kind}.String() + ImagePolicy_KindAPIVersion = ImagePolicy_Kind + "." + CRDGroupVersion.String() + ImagePolicy_GroupVersionKind = CRDGroupVersion.WithKind(ImagePolicy_Kind) ) func init() { - SchemeBuilder.Register(&Image_Policy{}, &Image_PolicyList{}) + SchemeBuilder.Register(&ImagePolicy{}, &ImagePolicyList{}) } diff --git a/apis/tmc/v1alpha1/zz_kubernetes_secret_types.go b/apis/tmc/v1alpha1/zz_kubernetessecret_types.go similarity index 75% rename from apis/tmc/v1alpha1/zz_kubernetes_secret_types.go rename to apis/tmc/v1alpha1/zz_kubernetessecret_types.go index f745694..b70be3a 100755 --- a/apis/tmc/v1alpha1/zz_kubernetes_secret_types.go +++ b/apis/tmc/v1alpha1/zz_kubernetessecret_types.go @@ -37,7 +37,7 @@ type DockerConfigJSONParameters struct { Username *string `json:"username" tf:"username,omitempty"` } -type Kubernetes_SecretMetaObservation struct { +type KubernetesSecretMetaObservation struct { // Annotations for the resource Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` @@ -55,7 +55,7 @@ type Kubernetes_SecretMetaObservation struct { UID *string `json:"uid,omitempty" tf:"uid,omitempty"` } -type Kubernetes_SecretMetaParameters struct { +type KubernetesSecretMetaParameters struct { // Annotations for the resource // +kubebuilder:validation:Optional @@ -70,7 +70,7 @@ type Kubernetes_SecretMetaParameters struct { Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` } -type Kubernetes_SecretObservation struct { +type KubernetesSecretObservation struct { // Export the secret to all namespaces. Export *bool `json:"export,omitempty" tf:"export,omitempty"` @@ -78,7 +78,7 @@ type Kubernetes_SecretObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` // Metadata for the resource - Meta []Kubernetes_SecretMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []KubernetesSecretMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` // Name of the secret resource. Name *string `json:"name,omitempty" tf:"name,omitempty"` @@ -90,16 +90,16 @@ type Kubernetes_SecretObservation struct { OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Scope for the secret having one of the valid scopes for secret: currently we have only cluster scope - Scope []Kubernetes_SecretScopeObservation `json:"scope,omitempty" tf:"scope,omitempty"` + Scope []KubernetesSecretScopeObservation `json:"scope,omitempty" tf:"scope,omitempty"` // Spec for the kubernetes secret - Spec []Kubernetes_SecretSpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` + Spec []KubernetesSecretSpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` // Status for the Secret Export. Status map[string]*string `json:"status,omitempty" tf:"status,omitempty"` } -type Kubernetes_SecretParameters struct { +type KubernetesSecretParameters struct { // Export the secret to all namespaces. // +kubebuilder:validation:Optional @@ -107,7 +107,7 @@ type Kubernetes_SecretParameters struct { // Metadata for the resource // +kubebuilder:validation:Optional - Meta []Kubernetes_SecretMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []KubernetesSecretMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` // Name of the secret resource. // +kubebuilder:validation:Optional @@ -123,14 +123,14 @@ type Kubernetes_SecretParameters struct { // Scope for the secret having one of the valid scopes for secret: currently we have only cluster scope // +kubebuilder:validation:Optional - Scope []Kubernetes_SecretScopeParameters `json:"scope,omitempty" tf:"scope,omitempty"` + Scope []KubernetesSecretScopeParameters `json:"scope,omitempty" tf:"scope,omitempty"` // Spec for the kubernetes secret // +kubebuilder:validation:Optional - Spec []Kubernetes_SecretSpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` + Spec []KubernetesSecretSpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` } -type Kubernetes_SecretScopeClusterObservation struct { +type KubernetesSecretScopeClusterObservation struct { // Name of this cluster ClusterName *string `json:"clusterName,omitempty" tf:"cluster_name,omitempty"` @@ -142,7 +142,7 @@ type Kubernetes_SecretScopeClusterObservation struct { ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` } -type Kubernetes_SecretScopeClusterParameters struct { +type KubernetesSecretScopeClusterParameters struct { // Name of this cluster // +kubebuilder:validation:Required @@ -157,81 +157,81 @@ type Kubernetes_SecretScopeClusterParameters struct { ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` } -type Kubernetes_SecretScopeObservation struct { +type KubernetesSecretScopeObservation struct { // The schema for cluster secret full name - Cluster []Kubernetes_SecretScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` + Cluster []KubernetesSecretScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` } -type Kubernetes_SecretScopeParameters struct { +type KubernetesSecretScopeParameters struct { // The schema for cluster secret full name // +kubebuilder:validation:Optional - Cluster []Kubernetes_SecretScopeClusterParameters `json:"cluster,omitempty" tf:"cluster,omitempty"` + Cluster []KubernetesSecretScopeClusterParameters `json:"cluster,omitempty" tf:"cluster,omitempty"` } -type Kubernetes_SecretSpecObservation struct { +type KubernetesSecretSpecObservation struct { // SecretType definition - SECRET_TYPE_DOCKERCONFIGJSON, Kubernetes secrets type. DockerConfigJSON []DockerConfigJSONObservation `json:"dockerConfigJson,omitempty" tf:"docker_config_json,omitempty"` } -type Kubernetes_SecretSpecParameters struct { +type KubernetesSecretSpecParameters struct { // SecretType definition - SECRET_TYPE_DOCKERCONFIGJSON, Kubernetes secrets type. // +kubebuilder:validation:Required DockerConfigJSON []DockerConfigJSONParameters `json:"dockerConfigJson" tf:"docker_config_json,omitempty"` } -// Kubernetes_SecretSpec defines the desired state of Kubernetes_Secret -type Kubernetes_SecretSpec struct { +// KubernetesSecretSpec defines the desired state of KubernetesSecret +type KubernetesSecretSpec struct { v1.ResourceSpec `json:",inline"` - ForProvider Kubernetes_SecretParameters `json:"forProvider"` + ForProvider KubernetesSecretParameters `json:"forProvider"` } -// Kubernetes_SecretStatus defines the observed state of Kubernetes_Secret. -type Kubernetes_SecretStatus struct { +// KubernetesSecretStatus defines the observed state of KubernetesSecret. +type KubernetesSecretStatus struct { v1.ResourceStatus `json:",inline"` - AtProvider Kubernetes_SecretObservation `json:"atProvider,omitempty"` + AtProvider KubernetesSecretObservation `json:"atProvider,omitempty"` } // +kubebuilder:object:root=true -// Kubernetes_Secret is the Schema for the Kubernetes_Secrets API. +// KubernetesSecret is the Schema for the KubernetesSecrets 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 Kubernetes_Secret struct { +type KubernetesSecret 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.namespaceName)",message="namespaceName 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 Kubernetes_SecretSpec `json:"spec"` - Status Kubernetes_SecretStatus `json:"status,omitempty"` + Spec KubernetesSecretSpec `json:"spec"` + Status KubernetesSecretStatus `json:"status,omitempty"` } // +kubebuilder:object:root=true -// Kubernetes_SecretList contains a list of Kubernetes_Secrets -type Kubernetes_SecretList struct { +// KubernetesSecretList contains a list of KubernetesSecrets +type KubernetesSecretList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` - Items []Kubernetes_Secret `json:"items"` + Items []KubernetesSecret `json:"items"` } // Repository type metadata. var ( - Kubernetes_Secret_Kind = "Kubernetes_Secret" - Kubernetes_Secret_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Kubernetes_Secret_Kind}.String() - Kubernetes_Secret_KindAPIVersion = Kubernetes_Secret_Kind + "." + CRDGroupVersion.String() - Kubernetes_Secret_GroupVersionKind = CRDGroupVersion.WithKind(Kubernetes_Secret_Kind) + KubernetesSecret_Kind = "KubernetesSecret" + KubernetesSecret_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: KubernetesSecret_Kind}.String() + KubernetesSecret_KindAPIVersion = KubernetesSecret_Kind + "." + CRDGroupVersion.String() + KubernetesSecret_GroupVersionKind = CRDGroupVersion.WithKind(KubernetesSecret_Kind) ) func init() { - SchemeBuilder.Register(&Kubernetes_Secret{}, &Kubernetes_SecretList{}) + SchemeBuilder.Register(&KubernetesSecret{}, &KubernetesSecretList{}) } diff --git a/apis/tmc/v1alpha1/zz_namespace_quota_policy_types.go b/apis/tmc/v1alpha1/zz_namespacequotapolicy_types.go similarity index 75% rename from apis/tmc/v1alpha1/zz_namespace_quota_policy_types.go rename to apis/tmc/v1alpha1/zz_namespacequotapolicy_types.go index 3c2c243..14df3a9 100755 --- a/apis/tmc/v1alpha1/zz_namespace_quota_policy_types.go +++ b/apis/tmc/v1alpha1/zz_namespacequotapolicy_types.go @@ -94,7 +94,7 @@ type MediumObservation struct { type MediumParameters struct { } -type Namespace_Quota_PolicyMetaObservation struct { +type NamespaceQuotaPolicyMetaObservation struct { // Annotations for the resource Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` @@ -112,7 +112,7 @@ type Namespace_Quota_PolicyMetaObservation struct { UID *string `json:"uid,omitempty" tf:"uid,omitempty"` } -type Namespace_Quota_PolicyMetaParameters struct { +type NamespaceQuotaPolicyMetaParameters struct { // Annotations for the resource // +kubebuilder:validation:Optional @@ -127,27 +127,27 @@ type Namespace_Quota_PolicyMetaParameters struct { Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` } -type Namespace_Quota_PolicyObservation struct { +type NamespaceQuotaPolicyObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` // Metadata for the resource - Meta []Namespace_Quota_PolicyMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []NamespaceQuotaPolicyMetaObservation `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"` + Scope []NamespaceQuotaPolicyScopeObservation `json:"scope,omitempty" tf:"scope,omitempty"` // Spec for the namespace namespace quota policy - Spec []Namespace_Quota_PolicySpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` + Spec []NamespaceQuotaPolicySpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` } -type Namespace_Quota_PolicyParameters struct { +type NamespaceQuotaPolicyParameters struct { // Metadata for the resource // +kubebuilder:validation:Optional - Meta []Namespace_Quota_PolicyMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []NamespaceQuotaPolicyMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` // Name of the namespace quota policy // +kubebuilder:validation:Optional @@ -155,27 +155,27 @@ type Namespace_Quota_PolicyParameters struct { // 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"` + Scope []NamespaceQuotaPolicyScopeParameters `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"` + Spec []NamespaceQuotaPolicySpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` } -type Namespace_Quota_PolicyScopeClusterGroupObservation struct { +type NamespaceQuotaPolicyScopeClusterGroupObservation struct { // Name of this cluster group ClusterGroup *string `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` } -type Namespace_Quota_PolicyScopeClusterGroupParameters struct { +type NamespaceQuotaPolicyScopeClusterGroupParameters struct { // Name of this cluster group // +kubebuilder:validation:Required ClusterGroup *string `json:"clusterGroup" tf:"cluster_group,omitempty"` } -type Namespace_Quota_PolicyScopeClusterObservation struct { +type NamespaceQuotaPolicyScopeClusterObservation struct { // Name of the management cluster ManagementClusterName *string `json:"managementClusterName,omitempty" tf:"management_cluster_name,omitempty"` @@ -187,7 +187,7 @@ type Namespace_Quota_PolicyScopeClusterObservation struct { ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` } -type Namespace_Quota_PolicyScopeClusterParameters struct { +type NamespaceQuotaPolicyScopeClusterParameters struct { // Name of the management cluster // +kubebuilder:validation:Optional @@ -202,67 +202,67 @@ type Namespace_Quota_PolicyScopeClusterParameters struct { ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` } -type Namespace_Quota_PolicyScopeObservation struct { +type NamespaceQuotaPolicyScopeObservation struct { // The schema for cluster policy full name - Cluster []Namespace_Quota_PolicyScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` + Cluster []NamespaceQuotaPolicyScopeClusterObservation `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"` + ClusterGroup []NamespaceQuotaPolicyScopeClusterGroupObservation `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` // The schema for organization policy full name - Organization []Namespace_Quota_PolicyScopeOrganizationObservation `json:"organization,omitempty" tf:"organization,omitempty"` + Organization []NamespaceQuotaPolicyScopeOrganizationObservation `json:"organization,omitempty" tf:"organization,omitempty"` // The schema for workspace policy full name - Workspace []Namespace_Quota_PolicyScopeWorkspaceObservation `json:"workspace,omitempty" tf:"workspace,omitempty"` + Workspace []NamespaceQuotaPolicyScopeWorkspaceObservation `json:"workspace,omitempty" tf:"workspace,omitempty"` } -type Namespace_Quota_PolicyScopeOrganizationObservation struct { +type NamespaceQuotaPolicyScopeOrganizationObservation struct { // ID of this organization Organization *string `json:"organization,omitempty" tf:"organization,omitempty"` } -type Namespace_Quota_PolicyScopeOrganizationParameters struct { +type NamespaceQuotaPolicyScopeOrganizationParameters struct { // ID of this organization // +kubebuilder:validation:Required Organization *string `json:"organization" tf:"organization,omitempty"` } -type Namespace_Quota_PolicyScopeParameters struct { +type NamespaceQuotaPolicyScopeParameters struct { // The schema for cluster policy full name // +kubebuilder:validation:Optional - Cluster []Namespace_Quota_PolicyScopeClusterParameters `json:"cluster,omitempty" tf:"cluster,omitempty"` + Cluster []NamespaceQuotaPolicyScopeClusterParameters `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"` + ClusterGroup []NamespaceQuotaPolicyScopeClusterGroupParameters `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"` + Organization []NamespaceQuotaPolicyScopeOrganizationParameters `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"` + Workspace []NamespaceQuotaPolicyScopeWorkspaceParameters `json:"workspace,omitempty" tf:"workspace,omitempty"` } -type Namespace_Quota_PolicyScopeWorkspaceObservation struct { +type NamespaceQuotaPolicyScopeWorkspaceObservation struct { // Name of this workspace Workspace *string `json:"workspace,omitempty" tf:"workspace,omitempty"` } -type Namespace_Quota_PolicyScopeWorkspaceParameters struct { +type NamespaceQuotaPolicyScopeWorkspaceParameters struct { // Name of this workspace // +kubebuilder:validation:Required Workspace *string `json:"workspace" tf:"workspace,omitempty"` } -type Namespace_Quota_PolicySpecInputObservation struct { +type NamespaceQuotaPolicySpecInputObservation struct { // The input schema for namespace quota policy custom recipe version v1 Custom []InputCustomObservation `json:"custom,omitempty" tf:"custom,omitempty"` @@ -277,7 +277,7 @@ type Namespace_Quota_PolicySpecInputObservation struct { Small []SmallParameters `json:"small,omitempty" tf:"small,omitempty"` } -type Namespace_Quota_PolicySpecInputParameters struct { +type NamespaceQuotaPolicySpecInputParameters struct { // The input schema for namespace quota policy custom recipe version v1 // +kubebuilder:validation:Optional @@ -296,37 +296,37 @@ type Namespace_Quota_PolicySpecInputParameters struct { Small []SmallParameters `json:"small,omitempty" tf:"small,omitempty"` } -type Namespace_Quota_PolicySpecNamespaceSelectorObservation struct { +type NamespaceQuotaPolicySpecNamespaceSelectorObservation 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 { +type NamespaceQuotaPolicySpecNamespaceSelectorParameters 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 { +type NamespaceQuotaPolicySpecObservation 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"` + Input []NamespaceQuotaPolicySpecInputObservation `json:"input,omitempty" tf:"input,omitempty"` // Label based Namespace Selector for the policy - NamespaceSelector []Namespace_Quota_PolicySpecNamespaceSelectorObservation `json:"namespaceSelector,omitempty" tf:"namespace_selector,omitempty"` + NamespaceSelector []NamespaceQuotaPolicySpecNamespaceSelectorObservation `json:"namespaceSelector,omitempty" tf:"namespace_selector,omitempty"` } -type Namespace_Quota_PolicySpecParameters struct { +type NamespaceQuotaPolicySpecParameters 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"` + Input []NamespaceQuotaPolicySpecInputParameters `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"` + NamespaceSelector []NamespaceQuotaPolicySpecNamespaceSelectorParameters `json:"namespaceSelector,omitempty" tf:"namespace_selector,omitempty"` } type SmallObservation struct { @@ -362,54 +362,54 @@ type SpecNamespaceSelectorMatchExpressionsParameters struct { Values []*string `json:"values" tf:"values,omitempty"` } -// Namespace_Quota_PolicySpec defines the desired state of Namespace_Quota_Policy -type Namespace_Quota_PolicySpec struct { +// NamespaceQuotaPolicySpec defines the desired state of NamespaceQuotaPolicy +type NamespaceQuotaPolicySpec struct { v1.ResourceSpec `json:",inline"` - ForProvider Namespace_Quota_PolicyParameters `json:"forProvider"` + ForProvider NamespaceQuotaPolicyParameters `json:"forProvider"` } -// Namespace_Quota_PolicyStatus defines the observed state of Namespace_Quota_Policy. -type Namespace_Quota_PolicyStatus struct { +// NamespaceQuotaPolicyStatus defines the observed state of NamespaceQuotaPolicy. +type NamespaceQuotaPolicyStatus struct { v1.ResourceStatus `json:",inline"` - AtProvider Namespace_Quota_PolicyObservation `json:"atProvider,omitempty"` + AtProvider NamespaceQuotaPolicyObservation `json:"atProvider,omitempty"` } // +kubebuilder:object:root=true -// Namespace_Quota_Policy is the Schema for the Namespace_Quota_Policys API. +// NamespaceQuotaPolicy is the Schema for the NamespaceQuotaPolicys 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 { +type NamespaceQuotaPolicy 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"` + Spec NamespaceQuotaPolicySpec `json:"spec"` + Status NamespaceQuotaPolicyStatus `json:"status,omitempty"` } // +kubebuilder:object:root=true -// Namespace_Quota_PolicyList contains a list of Namespace_Quota_Policys -type Namespace_Quota_PolicyList struct { +// NamespaceQuotaPolicyList contains a list of NamespaceQuotaPolicys +type NamespaceQuotaPolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` - Items []Namespace_Quota_Policy `json:"items"` + Items []NamespaceQuotaPolicy `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) + NamespaceQuotaPolicy_Kind = "NamespaceQuotaPolicy" + NamespaceQuotaPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: NamespaceQuotaPolicy_Kind}.String() + NamespaceQuotaPolicy_KindAPIVersion = NamespaceQuotaPolicy_Kind + "." + CRDGroupVersion.String() + NamespaceQuotaPolicy_GroupVersionKind = CRDGroupVersion.WithKind(NamespaceQuotaPolicy_Kind) ) func init() { - SchemeBuilder.Register(&Namespace_Quota_Policy{}, &Namespace_Quota_PolicyList{}) + SchemeBuilder.Register(&NamespaceQuotaPolicy{}, &NamespaceQuotaPolicyList{}) } diff --git a/apis/tmc/v1alpha1/zz_network_policy_types.go b/apis/tmc/v1alpha1/zz_networkpolicy_types.go similarity index 86% rename from apis/tmc/v1alpha1/zz_network_policy_types.go rename to apis/tmc/v1alpha1/zz_networkpolicy_types.go index c70c163..432e8a3 100755 --- a/apis/tmc/v1alpha1/zz_network_policy_types.go +++ b/apis/tmc/v1alpha1/zz_networkpolicy_types.go @@ -230,7 +230,7 @@ type IPBlockParameters struct { Except []*string `json:"except,omitempty" tf:"except,omitempty"` } -type Network_PolicyMetaObservation struct { +type NetworkPolicyMetaObservation struct { // Annotations for the resource Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` @@ -248,7 +248,7 @@ type Network_PolicyMetaObservation struct { UID *string `json:"uid,omitempty" tf:"uid,omitempty"` } -type Network_PolicyMetaParameters struct { +type NetworkPolicyMetaParameters struct { // Annotations for the resource // +kubebuilder:validation:Optional @@ -263,27 +263,27 @@ type Network_PolicyMetaParameters struct { Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` } -type Network_PolicyObservation struct { +type NetworkPolicyObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` // Metadata for the resource - Meta []Network_PolicyMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []NetworkPolicyMetaObservation `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"` + Scope []NetworkPolicyScopeObservation `json:"scope,omitempty" tf:"scope,omitempty"` // Spec for the network policy - Spec []Network_PolicySpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` + Spec []NetworkPolicySpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` } -type Network_PolicyParameters struct { +type NetworkPolicyParameters struct { // Metadata for the resource // +kubebuilder:validation:Optional - Meta []Network_PolicyMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []NetworkPolicyMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` // Name of the network policy // +kubebuilder:validation:Optional @@ -291,27 +291,27 @@ type Network_PolicyParameters struct { // 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"` + Scope []NetworkPolicyScopeParameters `json:"scope,omitempty" tf:"scope,omitempty"` // Spec for the network policy // +kubebuilder:validation:Optional - Spec []Network_PolicySpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` + Spec []NetworkPolicySpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` } -type Network_PolicyScopeClusterGroupObservation struct { +type NetworkPolicyScopeClusterGroupObservation struct { // Name of this cluster group ClusterGroup *string `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` } -type Network_PolicyScopeClusterGroupParameters struct { +type NetworkPolicyScopeClusterGroupParameters struct { // Name of this cluster group // +kubebuilder:validation:Required ClusterGroup *string `json:"clusterGroup" tf:"cluster_group,omitempty"` } -type Network_PolicyScopeClusterObservation struct { +type NetworkPolicyScopeClusterObservation struct { // Name of the management cluster ManagementClusterName *string `json:"managementClusterName,omitempty" tf:"management_cluster_name,omitempty"` @@ -323,7 +323,7 @@ type Network_PolicyScopeClusterObservation struct { ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` } -type Network_PolicyScopeClusterParameters struct { +type NetworkPolicyScopeClusterParameters struct { // Name of the management cluster // +kubebuilder:validation:Optional @@ -338,67 +338,67 @@ type Network_PolicyScopeClusterParameters struct { ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` } -type Network_PolicyScopeObservation struct { +type NetworkPolicyScopeObservation struct { // The schema for cluster policy full name - Cluster []Network_PolicyScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` + Cluster []NetworkPolicyScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` // The schema for cluster group policy full name - ClusterGroup []Network_PolicyScopeClusterGroupObservation `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` + ClusterGroup []NetworkPolicyScopeClusterGroupObservation `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` // The schema for organization policy full name - Organization []Network_PolicyScopeOrganizationObservation `json:"organization,omitempty" tf:"organization,omitempty"` + Organization []NetworkPolicyScopeOrganizationObservation `json:"organization,omitempty" tf:"organization,omitempty"` // The schema for workspace policy full name - Workspace []Network_PolicyScopeWorkspaceObservation `json:"workspace,omitempty" tf:"workspace,omitempty"` + Workspace []NetworkPolicyScopeWorkspaceObservation `json:"workspace,omitempty" tf:"workspace,omitempty"` } -type Network_PolicyScopeOrganizationObservation struct { +type NetworkPolicyScopeOrganizationObservation struct { // ID of this organization Organization *string `json:"organization,omitempty" tf:"organization,omitempty"` } -type Network_PolicyScopeOrganizationParameters struct { +type NetworkPolicyScopeOrganizationParameters struct { // ID of this organization // +kubebuilder:validation:Required Organization *string `json:"organization" tf:"organization,omitempty"` } -type Network_PolicyScopeParameters struct { +type NetworkPolicyScopeParameters struct { // The schema for cluster policy full name // +kubebuilder:validation:Optional - Cluster []Network_PolicyScopeClusterParameters `json:"cluster,omitempty" tf:"cluster,omitempty"` + Cluster []NetworkPolicyScopeClusterParameters `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"` + ClusterGroup []NetworkPolicyScopeClusterGroupParameters `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"` + Organization []NetworkPolicyScopeOrganizationParameters `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"` + Workspace []NetworkPolicyScopeWorkspaceParameters `json:"workspace,omitempty" tf:"workspace,omitempty"` } -type Network_PolicyScopeWorkspaceObservation struct { +type NetworkPolicyScopeWorkspaceObservation struct { // Name of this workspace Workspace *string `json:"workspace,omitempty" tf:"workspace,omitempty"` } -type Network_PolicyScopeWorkspaceParameters struct { +type NetworkPolicyScopeWorkspaceParameters struct { // Name of this workspace // +kubebuilder:validation:Required Workspace *string `json:"workspace" tf:"workspace,omitempty"` } -type Network_PolicySpecInputObservation struct { +type NetworkPolicySpecInputObservation struct { // The input schema for network policy allow-all recipe version v1 AllowAll []AllowAllObservation `json:"allowAll,omitempty" tf:"allow_all,omitempty"` @@ -425,7 +425,7 @@ type Network_PolicySpecInputObservation struct { DenyAllToPods []DenyAllToPodsObservation `json:"denyAllToPods,omitempty" tf:"deny_all_to_pods,omitempty"` } -type Network_PolicySpecInputParameters struct { +type NetworkPolicySpecInputParameters struct { // The input schema for network policy allow-all recipe version v1 // +kubebuilder:validation:Optional @@ -460,7 +460,7 @@ type Network_PolicySpecInputParameters struct { DenyAllToPods []DenyAllToPodsParameters `json:"denyAllToPods,omitempty" tf:"deny_all_to_pods,omitempty"` } -type Network_PolicySpecNamespaceSelectorMatchExpressionsObservation struct { +type NetworkPolicySpecNamespaceSelectorMatchExpressionsObservation struct { // Key is the label key that the selector applies to Key *string `json:"key,omitempty" tf:"key,omitempty"` @@ -472,7 +472,7 @@ type Network_PolicySpecNamespaceSelectorMatchExpressionsObservation struct { Values []*string `json:"values,omitempty" tf:"values,omitempty"` } -type Network_PolicySpecNamespaceSelectorMatchExpressionsParameters struct { +type NetworkPolicySpecNamespaceSelectorMatchExpressionsParameters struct { // Key is the label key that the selector applies to // +kubebuilder:validation:Optional @@ -487,37 +487,37 @@ type Network_PolicySpecNamespaceSelectorMatchExpressionsParameters struct { Values []*string `json:"values" tf:"values,omitempty"` } -type Network_PolicySpecNamespaceSelectorObservation struct { +type NetworkPolicySpecNamespaceSelectorObservation struct { // Match expressions is a list of label selector requirements, the requirements are ANDed - MatchExpressions []Network_PolicySpecNamespaceSelectorMatchExpressionsObservation `json:"matchExpressions,omitempty" tf:"match_expressions,omitempty"` + MatchExpressions []NetworkPolicySpecNamespaceSelectorMatchExpressionsObservation `json:"matchExpressions,omitempty" tf:"match_expressions,omitempty"` } -type Network_PolicySpecNamespaceSelectorParameters struct { +type NetworkPolicySpecNamespaceSelectorParameters 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"` + MatchExpressions []NetworkPolicySpecNamespaceSelectorMatchExpressionsParameters `json:"matchExpressions" tf:"match_expressions,omitempty"` } -type Network_PolicySpecObservation struct { +type NetworkPolicySpecObservation 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"` + Input []NetworkPolicySpecInputObservation `json:"input,omitempty" tf:"input,omitempty"` // Label based Namespace Selector for the policy - NamespaceSelector []Network_PolicySpecNamespaceSelectorObservation `json:"namespaceSelector,omitempty" tf:"namespace_selector,omitempty"` + NamespaceSelector []NetworkPolicySpecNamespaceSelectorObservation `json:"namespaceSelector,omitempty" tf:"namespace_selector,omitempty"` } -type Network_PolicySpecParameters struct { +type NetworkPolicySpecParameters 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"` + Input []NetworkPolicySpecInputParameters `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"` + NamespaceSelector []NetworkPolicySpecNamespaceSelectorParameters `json:"namespaceSelector,omitempty" tf:"namespace_selector,omitempty"` } type PortsObservation struct { @@ -633,54 +633,54 @@ type RulesRuleSpecParameters struct { CustomSelector []RuleSpecCustomSelectorParameters `json:"customSelector,omitempty" tf:"custom_selector,omitempty"` } -// Network_PolicySpec defines the desired state of Network_Policy -type Network_PolicySpec struct { +// NetworkPolicySpec defines the desired state of NetworkPolicy +type NetworkPolicySpec struct { v1.ResourceSpec `json:",inline"` - ForProvider Network_PolicyParameters `json:"forProvider"` + ForProvider NetworkPolicyParameters `json:"forProvider"` } -// Network_PolicyStatus defines the observed state of Network_Policy. -type Network_PolicyStatus struct { +// NetworkPolicyStatus defines the observed state of NetworkPolicy. +type NetworkPolicyStatus struct { v1.ResourceStatus `json:",inline"` - AtProvider Network_PolicyObservation `json:"atProvider,omitempty"` + AtProvider NetworkPolicyObservation `json:"atProvider,omitempty"` } // +kubebuilder:object:root=true -// Network_Policy is the Schema for the Network_Policys API. +// NetworkPolicy is the Schema for the NetworkPolicys 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 { +type NetworkPolicy 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"` + Spec NetworkPolicySpec `json:"spec"` + Status NetworkPolicyStatus `json:"status,omitempty"` } // +kubebuilder:object:root=true -// Network_PolicyList contains a list of Network_Policys -type Network_PolicyList struct { +// NetworkPolicyList contains a list of NetworkPolicys +type NetworkPolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` - Items []Network_Policy `json:"items"` + Items []NetworkPolicy `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) + NetworkPolicy_Kind = "NetworkPolicy" + NetworkPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: NetworkPolicy_Kind}.String() + NetworkPolicy_KindAPIVersion = NetworkPolicy_Kind + "." + CRDGroupVersion.String() + NetworkPolicy_GroupVersionKind = CRDGroupVersion.WithKind(NetworkPolicy_Kind) ) func init() { - SchemeBuilder.Register(&Network_Policy{}, &Network_PolicyList{}) + SchemeBuilder.Register(&NetworkPolicy{}, &NetworkPolicyList{}) } diff --git a/apis/tmc/v1alpha1/zz_package_install_types.go b/apis/tmc/v1alpha1/zz_packageinstall_types.go similarity index 74% rename from apis/tmc/v1alpha1/zz_package_install_types.go rename to apis/tmc/v1alpha1/zz_packageinstall_types.go index 6211fef..dbac576 100755 --- a/apis/tmc/v1alpha1/zz_package_install_types.go +++ b/apis/tmc/v1alpha1/zz_packageinstall_types.go @@ -24,27 +24,7 @@ type GeneratedResourcesObservation struct { 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 { +type PackageInstallMetaObservation struct { // Annotations for the resource Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` @@ -62,7 +42,7 @@ type Package_InstallMetaObservation struct { UID *string `json:"uid,omitempty" tf:"uid,omitempty"` } -type Package_InstallMetaParameters struct { +type PackageInstallMetaParameters struct { // Annotations for the resource // +kubebuilder:validation:Optional @@ -77,11 +57,11 @@ type Package_InstallMetaParameters struct { Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` } -type Package_InstallObservation struct { +type PackageInstallObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` // Metadata for the resource - Meta []Package_InstallMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []PackageInstallMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` // Name of the package install resource. Name *string `json:"name,omitempty" tf:"name,omitempty"` @@ -90,39 +70,48 @@ type Package_InstallObservation struct { 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"` + Scope []PackageInstallScopeObservation `json:"scope,omitempty" tf:"scope,omitempty"` // spec for package install. - Spec []Package_InstallSpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` + Spec []PackageInstallSpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` // status for package install. Status []StatusObservation `json:"status,omitempty" tf:"status,omitempty"` } -type Package_InstallParameters struct { +type PackageInstallParameters struct { // Metadata for the resource // +kubebuilder:validation:Optional - Meta []Package_InstallMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []PackageInstallMetaParameters `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. + // +crossplane:generate:reference:type=github.com/ankasoftco/provider-tmc/apis/tmc/v1alpha1.Namespace // +kubebuilder:validation:Optional Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` + // Reference to a Namespace in tmc to populate namespace. + // +kubebuilder:validation:Optional + NamespaceRef *v1.Reference `json:"namespaceRef,omitempty" tf:"-"` + + // Selector for a Namespace in tmc to populate namespace. + // +kubebuilder:validation:Optional + NamespaceSelector *v1.Selector `json:"namespaceSelector,omitempty" tf:"-"` + // Scope for the package install, having one of the valid scopes: cluster. // +kubebuilder:validation:Optional - Scope []Package_InstallScopeParameters `json:"scope,omitempty" tf:"scope,omitempty"` + Scope []PackageInstallScopeParameters `json:"scope,omitempty" tf:"scope,omitempty"` // spec for package install. // +kubebuilder:validation:Optional - Spec []Package_InstallSpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` + Spec []PackageInstallSpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` } -type Package_InstallScopeClusterObservation struct { +type PackageInstallScopeClusterObservation struct { // Name of the management cluster ManagementClusterName *string `json:"managementClusterName,omitempty" tf:"management_cluster_name,omitempty"` @@ -134,7 +123,7 @@ type Package_InstallScopeClusterObservation struct { ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` } -type Package_InstallScopeClusterParameters struct { +type PackageInstallScopeClusterParameters struct { // Name of the management cluster // +kubebuilder:validation:Optional @@ -149,20 +138,20 @@ type Package_InstallScopeClusterParameters struct { ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` } -type Package_InstallScopeObservation struct { +type PackageInstallScopeObservation struct { // The schema for cluster full name - Cluster []Package_InstallScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` + Cluster []PackageInstallScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` } -type Package_InstallScopeParameters struct { +type PackageInstallScopeParameters struct { // The schema for cluster full name // +kubebuilder:validation:Optional - Cluster []Package_InstallScopeClusterParameters `json:"cluster,omitempty" tf:"cluster,omitempty"` + Cluster []PackageInstallScopeClusterParameters `json:"cluster,omitempty" tf:"cluster,omitempty"` } -type Package_InstallSpecObservation struct { +type PackageInstallSpecObservation struct { // Reference to the Package which will be installed. PackageRef []PackageRefObservation `json:"packageRef,omitempty" tf:"package_ref,omitempty"` @@ -171,7 +160,7 @@ type Package_InstallSpecObservation struct { RoleBindingScope *string `json:"roleBindingScope,omitempty" tf:"role_binding_scope,omitempty"` } -type Package_InstallSpecParameters struct { +type PackageInstallSpecParameters struct { // Inline values to configure the Package Install. // +kubebuilder:validation:Optional @@ -182,6 +171,26 @@ type Package_InstallSpecParameters struct { PackageRef []PackageRefParameters `json:"packageRef" tf:"package_ref,omitempty"` } +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 StatusObservation struct { GeneratedResources []GeneratedResourcesObservation `json:"generatedResources,omitempty" tf:"generated_resources,omitempty"` @@ -210,55 +219,54 @@ type VersionSelectionParameters struct { Constraints *string `json:"constraints" tf:"constraints,omitempty"` } -// Package_InstallSpec defines the desired state of Package_Install -type Package_InstallSpec struct { +// PackageInstallSpec defines the desired state of PackageInstall +type PackageInstallSpec struct { v1.ResourceSpec `json:",inline"` - ForProvider Package_InstallParameters `json:"forProvider"` + ForProvider PackageInstallParameters `json:"forProvider"` } -// Package_InstallStatus defines the observed state of Package_Install. -type Package_InstallStatus struct { +// PackageInstallStatus defines the observed state of PackageInstall. +type PackageInstallStatus struct { v1.ResourceStatus `json:",inline"` - AtProvider Package_InstallObservation `json:"atProvider,omitempty"` + AtProvider PackageInstallObservation `json:"atProvider,omitempty"` } // +kubebuilder:object:root=true -// Package_Install is the Schema for the Package_Installs API. +// PackageInstall is the Schema for the PackageInstalls 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_Install struct { +type PackageInstall 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"` + Spec PackageInstallSpec `json:"spec"` + Status PackageInstallStatus `json:"status,omitempty"` } // +kubebuilder:object:root=true -// Package_InstallList contains a list of Package_Installs -type Package_InstallList struct { +// PackageInstallList contains a list of PackageInstalls +type PackageInstallList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` - Items []Package_Install `json:"items"` + Items []PackageInstall `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) + PackageInstall_Kind = "PackageInstall" + PackageInstall_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PackageInstall_Kind}.String() + PackageInstall_KindAPIVersion = PackageInstall_Kind + "." + CRDGroupVersion.String() + PackageInstall_GroupVersionKind = CRDGroupVersion.WithKind(PackageInstall_Kind) ) func init() { - SchemeBuilder.Register(&Package_Install{}, &Package_InstallList{}) + SchemeBuilder.Register(&PackageInstall{}, &PackageInstallList{}) } diff --git a/apis/tmc/v1alpha1/zz_package_repository_types.go b/apis/tmc/v1alpha1/zz_packagerepository_types.go similarity index 72% rename from apis/tmc/v1alpha1/zz_package_repository_types.go rename to apis/tmc/v1alpha1/zz_packagerepository_types.go index b1f2e6a..188198e 100755 --- a/apis/tmc/v1alpha1/zz_package_repository_types.go +++ b/apis/tmc/v1alpha1/zz_packagerepository_types.go @@ -26,7 +26,7 @@ type ImgpkgBundleParameters struct { Image *string `json:"image" tf:"image,omitempty"` } -type Package_RepositoryMetaObservation struct { +type PackageRepositoryMetaObservation struct { // Annotations for the resource Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` @@ -44,7 +44,7 @@ type Package_RepositoryMetaObservation struct { UID *string `json:"uid,omitempty" tf:"uid,omitempty"` } -type Package_RepositoryMetaParameters struct { +type PackageRepositoryMetaParameters struct { // Annotations for the resource // +kubebuilder:validation:Optional @@ -59,7 +59,7 @@ type Package_RepositoryMetaParameters struct { Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` } -type Package_RepositoryObservation struct { +type PackageRepositoryObservation struct { // If true, Package Repository is disabled for cluster. Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"` @@ -67,7 +67,7 @@ type Package_RepositoryObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` // Metadata for the resource - Meta []Package_RepositoryMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []PackageRepositoryMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` // Name of the package repository resource. Name *string `json:"name,omitempty" tf:"name,omitempty"` @@ -76,16 +76,16 @@ type Package_RepositoryObservation struct { 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"` + Scope []PackageRepositoryScopeObservation `json:"scope,omitempty" tf:"scope,omitempty"` // spec for package repository. - Spec []Package_RepositorySpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` + Spec []PackageRepositorySpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` // status for package repository. State []StateObservation `json:"state,omitempty" tf:"state,omitempty"` } -type Package_RepositoryParameters struct { +type PackageRepositoryParameters struct { // If true, Package Repository is disabled for cluster. // +kubebuilder:validation:Optional @@ -93,7 +93,7 @@ type Package_RepositoryParameters struct { // Metadata for the resource // +kubebuilder:validation:Optional - Meta []Package_RepositoryMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []PackageRepositoryMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` // Name of the package repository resource. // +kubebuilder:validation:Optional @@ -101,14 +101,14 @@ type Package_RepositoryParameters struct { // Scope for the package repository, having one of the valid scopes: cluster. // +kubebuilder:validation:Optional - Scope []Package_RepositoryScopeParameters `json:"scope,omitempty" tf:"scope,omitempty"` + Scope []PackageRepositoryScopeParameters `json:"scope,omitempty" tf:"scope,omitempty"` // spec for package repository. // +kubebuilder:validation:Optional - Spec []Package_RepositorySpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` + Spec []PackageRepositorySpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` } -type Package_RepositoryScopeClusterObservation struct { +type PackageRepositoryScopeClusterObservation struct { // Name of the management cluster ManagementClusterName *string `json:"managementClusterName,omitempty" tf:"management_cluster_name,omitempty"` @@ -120,7 +120,7 @@ type Package_RepositoryScopeClusterObservation struct { ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` } -type Package_RepositoryScopeClusterParameters struct { +type PackageRepositoryScopeClusterParameters struct { // Name of the management cluster // +kubebuilder:validation:Optional @@ -135,26 +135,26 @@ type Package_RepositoryScopeClusterParameters struct { ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` } -type Package_RepositoryScopeObservation struct { +type PackageRepositoryScopeObservation struct { // The schema for cluster full name - Cluster []Package_RepositoryScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` + Cluster []PackageRepositoryScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` } -type Package_RepositoryScopeParameters struct { +type PackageRepositoryScopeParameters struct { // The schema for cluster full name // +kubebuilder:validation:Optional - Cluster []Package_RepositoryScopeClusterParameters `json:"cluster,omitempty" tf:"cluster,omitempty"` + Cluster []PackageRepositoryScopeClusterParameters `json:"cluster,omitempty" tf:"cluster,omitempty"` } -type Package_RepositorySpecObservation struct { +type PackageRepositorySpecObservation struct { // Docker image url; unqualified, tagged, or digest references supported. ImgpkgBundle []ImgpkgBundleObservation `json:"imgpkgBundle,omitempty" tf:"imgpkg_bundle,omitempty"` } -type Package_RepositorySpecParameters struct { +type PackageRepositorySpecParameters struct { // Docker image url; unqualified, tagged, or digest references supported. // +kubebuilder:validation:Optional @@ -174,54 +174,54 @@ type StateObservation struct { type StateParameters struct { } -// Package_RepositorySpec defines the desired state of Package_Repository -type Package_RepositorySpec struct { +// PackageRepositorySpec defines the desired state of PackageRepository +type PackageRepositorySpec struct { v1.ResourceSpec `json:",inline"` - ForProvider Package_RepositoryParameters `json:"forProvider"` + ForProvider PackageRepositoryParameters `json:"forProvider"` } -// Package_RepositoryStatus defines the observed state of Package_Repository. -type Package_RepositoryStatus struct { +// PackageRepositoryStatus defines the observed state of PackageRepository. +type PackageRepositoryStatus struct { v1.ResourceStatus `json:",inline"` - AtProvider Package_RepositoryObservation `json:"atProvider,omitempty"` + AtProvider PackageRepositoryObservation `json:"atProvider,omitempty"` } // +kubebuilder:object:root=true -// Package_Repository is the Schema for the Package_Repositorys API. +// PackageRepository is the Schema for the PackageRepositorys 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 { +type PackageRepository 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"` + Spec PackageRepositorySpec `json:"spec"` + Status PackageRepositoryStatus `json:"status,omitempty"` } // +kubebuilder:object:root=true -// Package_RepositoryList contains a list of Package_Repositorys -type Package_RepositoryList struct { +// PackageRepositoryList contains a list of PackageRepositorys +type PackageRepositoryList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` - Items []Package_Repository `json:"items"` + Items []PackageRepository `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) + PackageRepository_Kind = "PackageRepository" + PackageRepository_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PackageRepository_Kind}.String() + PackageRepository_KindAPIVersion = PackageRepository_Kind + "." + CRDGroupVersion.String() + PackageRepository_GroupVersionKind = CRDGroupVersion.WithKind(PackageRepository_Kind) ) func init() { - SchemeBuilder.Register(&Package_Repository{}, &Package_RepositoryList{}) + SchemeBuilder.Register(&PackageRepository{}, &PackageRepositoryList{}) } diff --git a/apis/tmc/v1alpha1/zz_repository_credential_types.go b/apis/tmc/v1alpha1/zz_repositorycredential_types.go similarity index 71% rename from apis/tmc/v1alpha1/zz_repository_credential_types.go rename to apis/tmc/v1alpha1/zz_repositorycredential_types.go index c5b663e..7dcd965 100755 --- a/apis/tmc/v1alpha1/zz_repository_credential_types.go +++ b/apis/tmc/v1alpha1/zz_repositorycredential_types.go @@ -13,7 +13,7 @@ import ( v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" ) -type Repository_CredentialMetaObservation struct { +type RepositoryCredentialMetaObservation struct { // Annotations for the resource Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` @@ -31,7 +31,7 @@ type Repository_CredentialMetaObservation struct { UID *string `json:"uid,omitempty" tf:"uid,omitempty"` } -type Repository_CredentialMetaParameters struct { +type RepositoryCredentialMetaParameters struct { // Annotations for the resource // +kubebuilder:validation:Optional @@ -46,11 +46,11 @@ type Repository_CredentialMetaParameters struct { Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` } -type Repository_CredentialObservation struct { +type RepositoryCredentialObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` // Metadata for the resource - Meta []Repository_CredentialMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []RepositoryCredentialMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` // Name of the source secret. Name *string `json:"name,omitempty" tf:"name,omitempty"` @@ -59,17 +59,17 @@ type Repository_CredentialObservation struct { 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"` + Scope []RepositoryCredentialScopeObservation `json:"scope,omitempty" tf:"scope,omitempty"` // Spec for source secret. - Spec []Repository_CredentialSpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` + Spec []RepositoryCredentialSpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` } -type Repository_CredentialParameters struct { +type RepositoryCredentialParameters struct { // Metadata for the resource // +kubebuilder:validation:Optional - Meta []Repository_CredentialMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []RepositoryCredentialMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` // Name of the source secret. // +kubebuilder:validation:Optional @@ -81,27 +81,27 @@ type Repository_CredentialParameters struct { // 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"` + Scope []RepositoryCredentialScopeParameters `json:"scope,omitempty" tf:"scope,omitempty"` // Spec for source secret. // +kubebuilder:validation:Optional - Spec []Repository_CredentialSpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` + Spec []RepositoryCredentialSpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` } -type Repository_CredentialScopeClusterGroupObservation struct { +type RepositoryCredentialScopeClusterGroupObservation struct { // Name of the cluster group Name *string `json:"name,omitempty" tf:"name,omitempty"` } -type Repository_CredentialScopeClusterGroupParameters struct { +type RepositoryCredentialScopeClusterGroupParameters struct { // Name of the cluster group // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` } -type Repository_CredentialScopeClusterObservation struct { +type RepositoryCredentialScopeClusterObservation struct { // Name of the management cluster ManagementClusterName *string `json:"managementClusterName,omitempty" tf:"management_cluster_name,omitempty"` @@ -113,7 +113,7 @@ type Repository_CredentialScopeClusterObservation struct { ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` } -type Repository_CredentialScopeClusterParameters struct { +type RepositoryCredentialScopeClusterParameters struct { // Name of the management cluster // +kubebuilder:validation:Optional @@ -128,33 +128,33 @@ type Repository_CredentialScopeClusterParameters struct { ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` } -type Repository_CredentialScopeObservation struct { +type RepositoryCredentialScopeObservation struct { // The schema for cluster full name - Cluster []Repository_CredentialScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` + Cluster []RepositoryCredentialScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` // The schema for cluster group full name - ClusterGroup []Repository_CredentialScopeClusterGroupObservation `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` + ClusterGroup []RepositoryCredentialScopeClusterGroupObservation `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` } -type Repository_CredentialScopeParameters struct { +type RepositoryCredentialScopeParameters struct { // The schema for cluster full name // +kubebuilder:validation:Optional - Cluster []Repository_CredentialScopeClusterParameters `json:"cluster,omitempty" tf:"cluster,omitempty"` + Cluster []RepositoryCredentialScopeClusterParameters `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"` + ClusterGroup []RepositoryCredentialScopeClusterGroupParameters `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` } -type Repository_CredentialSpecObservation struct { +type RepositoryCredentialSpecObservation struct { // The schema for spec credential type. Data []SpecDataObservation `json:"data,omitempty" tf:"data,omitempty"` } -type Repository_CredentialSpecParameters struct { +type RepositoryCredentialSpecParameters struct { // The schema for spec credential type. // +kubebuilder:validation:Required @@ -215,54 +215,54 @@ type UsernamePasswordParameters struct { Username *string `json:"username" tf:"username,omitempty"` } -// Repository_CredentialSpec defines the desired state of Repository_Credential -type Repository_CredentialSpec struct { +// RepositoryCredentialSpec defines the desired state of RepositoryCredential +type RepositoryCredentialSpec struct { v1.ResourceSpec `json:",inline"` - ForProvider Repository_CredentialParameters `json:"forProvider"` + ForProvider RepositoryCredentialParameters `json:"forProvider"` } -// Repository_CredentialStatus defines the observed state of Repository_Credential. -type Repository_CredentialStatus struct { +// RepositoryCredentialStatus defines the observed state of RepositoryCredential. +type RepositoryCredentialStatus struct { v1.ResourceStatus `json:",inline"` - AtProvider Repository_CredentialObservation `json:"atProvider,omitempty"` + AtProvider RepositoryCredentialObservation `json:"atProvider,omitempty"` } // +kubebuilder:object:root=true -// Repository_Credential is the Schema for the Repository_Credentials API. +// RepositoryCredential is the Schema for the RepositoryCredentials 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 { +type RepositoryCredential 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"` + Spec RepositoryCredentialSpec `json:"spec"` + Status RepositoryCredentialStatus `json:"status,omitempty"` } // +kubebuilder:object:root=true -// Repository_CredentialList contains a list of Repository_Credentials -type Repository_CredentialList struct { +// RepositoryCredentialList contains a list of RepositoryCredentials +type RepositoryCredentialList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` - Items []Repository_Credential `json:"items"` + Items []RepositoryCredential `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) + RepositoryCredential_Kind = "RepositoryCredential" + RepositoryCredential_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RepositoryCredential_Kind}.String() + RepositoryCredential_KindAPIVersion = RepositoryCredential_Kind + "." + CRDGroupVersion.String() + RepositoryCredential_GroupVersionKind = CRDGroupVersion.WithKind(RepositoryCredential_Kind) ) func init() { - SchemeBuilder.Register(&Repository_Credential{}, &Repository_CredentialList{}) + SchemeBuilder.Register(&RepositoryCredential{}, &RepositoryCredentialList{}) } diff --git a/apis/tmc/v1alpha1/zz_security_policy_types.go b/apis/tmc/v1alpha1/zz_securitypolicy_types.go similarity index 84% rename from apis/tmc/v1alpha1/zz_security_policy_types.go rename to apis/tmc/v1alpha1/zz_securitypolicy_types.go index a4159a5..0c7f971 100755 --- a/apis/tmc/v1alpha1/zz_security_policy_types.go +++ b/apis/tmc/v1alpha1/zz_securitypolicy_types.go @@ -267,7 +267,7 @@ type SeccompParameters struct { AllowedProfiles []*string `json:"allowedProfiles,omitempty" tf:"allowed_profiles,omitempty"` } -type Security_PolicyMetaObservation struct { +type SecurityPolicyMetaObservation struct { // Annotations for the resource Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"` @@ -285,7 +285,7 @@ type Security_PolicyMetaObservation struct { UID *string `json:"uid,omitempty" tf:"uid,omitempty"` } -type Security_PolicyMetaParameters struct { +type SecurityPolicyMetaParameters struct { // Annotations for the resource // +kubebuilder:validation:Optional @@ -300,27 +300,27 @@ type Security_PolicyMetaParameters struct { Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` } -type Security_PolicyObservation struct { +type SecurityPolicyObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` // Metadata for the resource - Meta []Security_PolicyMetaObservation `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []SecurityPolicyMetaObservation `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"` + Scope []SecurityPolicyScopeObservation `json:"scope,omitempty" tf:"scope,omitempty"` // Spec for the security policy - Spec []Security_PolicySpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` + Spec []SecurityPolicySpecObservation `json:"spec,omitempty" tf:"spec,omitempty"` } -type Security_PolicyParameters struct { +type SecurityPolicyParameters struct { // Metadata for the resource // +kubebuilder:validation:Optional - Meta []Security_PolicyMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` + Meta []SecurityPolicyMetaParameters `json:"meta,omitempty" tf:"meta,omitempty"` // Name of the security policy // +kubebuilder:validation:Optional @@ -328,27 +328,27 @@ type Security_PolicyParameters struct { // 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"` + Scope []SecurityPolicyScopeParameters `json:"scope,omitempty" tf:"scope,omitempty"` // Spec for the security policy // +kubebuilder:validation:Optional - Spec []Security_PolicySpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` + Spec []SecurityPolicySpecParameters `json:"spec,omitempty" tf:"spec,omitempty"` } -type Security_PolicyScopeClusterGroupObservation struct { +type SecurityPolicyScopeClusterGroupObservation struct { // Name of this cluster group ClusterGroup *string `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` } -type Security_PolicyScopeClusterGroupParameters struct { +type SecurityPolicyScopeClusterGroupParameters struct { // Name of this cluster group // +kubebuilder:validation:Required ClusterGroup *string `json:"clusterGroup" tf:"cluster_group,omitempty"` } -type Security_PolicyScopeClusterObservation struct { +type SecurityPolicyScopeClusterObservation struct { // Name of the management cluster ManagementClusterName *string `json:"managementClusterName,omitempty" tf:"management_cluster_name,omitempty"` @@ -360,7 +360,7 @@ type Security_PolicyScopeClusterObservation struct { ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` } -type Security_PolicyScopeClusterParameters struct { +type SecurityPolicyScopeClusterParameters struct { // Name of the management cluster // +kubebuilder:validation:Optional @@ -375,67 +375,67 @@ type Security_PolicyScopeClusterParameters struct { ProvisionerName *string `json:"provisionerName,omitempty" tf:"provisioner_name,omitempty"` } -type Security_PolicyScopeObservation struct { +type SecurityPolicyScopeObservation struct { // The schema for cluster policy full name - Cluster []Security_PolicyScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` + Cluster []SecurityPolicyScopeClusterObservation `json:"cluster,omitempty" tf:"cluster,omitempty"` // The schema for cluster group policy full name - ClusterGroup []Security_PolicyScopeClusterGroupObservation `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` + ClusterGroup []SecurityPolicyScopeClusterGroupObservation `json:"clusterGroup,omitempty" tf:"cluster_group,omitempty"` // The schema for organization policy full name - Organization []Security_PolicyScopeOrganizationObservation `json:"organization,omitempty" tf:"organization,omitempty"` + Organization []SecurityPolicyScopeOrganizationObservation `json:"organization,omitempty" tf:"organization,omitempty"` // The schema for workspace policy full name - Workspace []Security_PolicyScopeWorkspaceObservation `json:"workspace,omitempty" tf:"workspace,omitempty"` + Workspace []SecurityPolicyScopeWorkspaceObservation `json:"workspace,omitempty" tf:"workspace,omitempty"` } -type Security_PolicyScopeOrganizationObservation struct { +type SecurityPolicyScopeOrganizationObservation struct { // ID of this organization Organization *string `json:"organization,omitempty" tf:"organization,omitempty"` } -type Security_PolicyScopeOrganizationParameters struct { +type SecurityPolicyScopeOrganizationParameters struct { // ID of this organization // +kubebuilder:validation:Required Organization *string `json:"organization" tf:"organization,omitempty"` } -type Security_PolicyScopeParameters struct { +type SecurityPolicyScopeParameters struct { // The schema for cluster policy full name // +kubebuilder:validation:Optional - Cluster []Security_PolicyScopeClusterParameters `json:"cluster,omitempty" tf:"cluster,omitempty"` + Cluster []SecurityPolicyScopeClusterParameters `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"` + ClusterGroup []SecurityPolicyScopeClusterGroupParameters `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"` + Organization []SecurityPolicyScopeOrganizationParameters `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"` + Workspace []SecurityPolicyScopeWorkspaceParameters `json:"workspace,omitempty" tf:"workspace,omitempty"` } -type Security_PolicyScopeWorkspaceObservation struct { +type SecurityPolicyScopeWorkspaceObservation struct { // Name of this workspace Workspace *string `json:"workspace,omitempty" tf:"workspace,omitempty"` } -type Security_PolicyScopeWorkspaceParameters struct { +type SecurityPolicyScopeWorkspaceParameters struct { // Name of this workspace // +kubebuilder:validation:Required Workspace *string `json:"workspace" tf:"workspace,omitempty"` } -type Security_PolicySpecInputObservation struct { +type SecurityPolicySpecInputObservation struct { // The input schema for security policy baseline recipe version v1 Baseline []BaselineObservation `json:"baseline,omitempty" tf:"baseline,omitempty"` @@ -447,7 +447,7 @@ type Security_PolicySpecInputObservation struct { Strict []StrictObservation `json:"strict,omitempty" tf:"strict,omitempty"` } -type Security_PolicySpecInputParameters struct { +type SecurityPolicySpecInputParameters struct { // The input schema for security policy baseline recipe version v1 // +kubebuilder:validation:Optional @@ -462,7 +462,7 @@ type Security_PolicySpecInputParameters struct { Strict []StrictParameters `json:"strict,omitempty" tf:"strict,omitempty"` } -type Security_PolicySpecNamespaceSelectorMatchExpressionsObservation struct { +type SecurityPolicySpecNamespaceSelectorMatchExpressionsObservation struct { // Key is the label key that the selector applies to Key *string `json:"key,omitempty" tf:"key,omitempty"` @@ -474,7 +474,7 @@ type Security_PolicySpecNamespaceSelectorMatchExpressionsObservation struct { Values []*string `json:"values,omitempty" tf:"values,omitempty"` } -type Security_PolicySpecNamespaceSelectorMatchExpressionsParameters struct { +type SecurityPolicySpecNamespaceSelectorMatchExpressionsParameters struct { // Key is the label key that the selector applies to // +kubebuilder:validation:Optional @@ -489,37 +489,37 @@ type Security_PolicySpecNamespaceSelectorMatchExpressionsParameters struct { Values []*string `json:"values" tf:"values,omitempty"` } -type Security_PolicySpecNamespaceSelectorObservation struct { +type SecurityPolicySpecNamespaceSelectorObservation struct { // Match expressions is a list of label selector requirements, the requirements are ANDed - MatchExpressions []Security_PolicySpecNamespaceSelectorMatchExpressionsObservation `json:"matchExpressions,omitempty" tf:"match_expressions,omitempty"` + MatchExpressions []SecurityPolicySpecNamespaceSelectorMatchExpressionsObservation `json:"matchExpressions,omitempty" tf:"match_expressions,omitempty"` } -type Security_PolicySpecNamespaceSelectorParameters struct { +type SecurityPolicySpecNamespaceSelectorParameters 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"` + MatchExpressions []SecurityPolicySpecNamespaceSelectorMatchExpressionsParameters `json:"matchExpressions" tf:"match_expressions,omitempty"` } -type Security_PolicySpecObservation struct { +type SecurityPolicySpecObservation 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"` + Input []SecurityPolicySpecInputObservation `json:"input,omitempty" tf:"input,omitempty"` // Label based Namespace Selector for the policy - NamespaceSelector []Security_PolicySpecNamespaceSelectorObservation `json:"namespaceSelector,omitempty" tf:"namespace_selector,omitempty"` + NamespaceSelector []SecurityPolicySpecNamespaceSelectorObservation `json:"namespaceSelector,omitempty" tf:"namespace_selector,omitempty"` } -type Security_PolicySpecParameters struct { +type SecurityPolicySpecParameters 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"` + Input []SecurityPolicySpecInputParameters `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"` + NamespaceSelector []SecurityPolicySpecNamespaceSelectorParameters `json:"namespaceSelector,omitempty" tf:"namespace_selector,omitempty"` } type SpecInputCustomObservation struct { @@ -727,54 +727,54 @@ type SysctlsParameters struct { ForbiddenSysctls []*string `json:"forbiddenSysctls,omitempty" tf:"forbidden_sysctls,omitempty"` } -// Security_PolicySpec defines the desired state of Security_Policy -type Security_PolicySpec struct { +// SecurityPolicySpec defines the desired state of SecurityPolicy +type SecurityPolicySpec struct { v1.ResourceSpec `json:",inline"` - ForProvider Security_PolicyParameters `json:"forProvider"` + ForProvider SecurityPolicyParameters `json:"forProvider"` } -// Security_PolicyStatus defines the observed state of Security_Policy. -type Security_PolicyStatus struct { +// SecurityPolicyStatus defines the observed state of SecurityPolicy. +type SecurityPolicyStatus struct { v1.ResourceStatus `json:",inline"` - AtProvider Security_PolicyObservation `json:"atProvider,omitempty"` + AtProvider SecurityPolicyObservation `json:"atProvider,omitempty"` } // +kubebuilder:object:root=true -// Security_Policy is the Schema for the Security_Policys API. +// SecurityPolicy is the Schema for the SecurityPolicys 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 { +type SecurityPolicy 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"` + Spec SecurityPolicySpec `json:"spec"` + Status SecurityPolicyStatus `json:"status,omitempty"` } // +kubebuilder:object:root=true -// Security_PolicyList contains a list of Security_Policys -type Security_PolicyList struct { +// SecurityPolicyList contains a list of SecurityPolicys +type SecurityPolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` - Items []Security_Policy `json:"items"` + Items []SecurityPolicy `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) + SecurityPolicy_Kind = "SecurityPolicy" + SecurityPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SecurityPolicy_Kind}.String() + SecurityPolicy_KindAPIVersion = SecurityPolicy_Kind + "." + CRDGroupVersion.String() + SecurityPolicy_GroupVersionKind = CRDGroupVersion.WithKind(SecurityPolicy_Kind) ) func init() { - SchemeBuilder.Register(&Security_Policy{}, &Security_PolicyList{}) + SchemeBuilder.Register(&SecurityPolicy{}, &SecurityPolicyList{}) } diff --git a/config/cluster_group/config.go b/config/cluster_group/config.go index b4fac6a..935dc5d 100644 --- a/config/cluster_group/config.go +++ b/config/cluster_group/config.go @@ -6,7 +6,7 @@ import "github.com/upbound/upjet/pkg/config" func Configure(p *config.Provider) { p.AddResourceConfigurator("tanzu-mission-control_cluster_group", func(r *config.Resource) { r.ShortGroup = "tmc" - r.Kind = "Cluster_Group" + r.Kind = "ClusterGroup" r.Version = "v1alpha1" }) } \ No newline at end of file diff --git a/config/cluster_node_pool/config.go b/config/cluster_node_pool/config.go index 5334e73..723ebcf 100644 --- a/config/cluster_node_pool/config.go +++ b/config/cluster_node_pool/config.go @@ -6,7 +6,7 @@ import "github.com/upbound/upjet/pkg/config" func Configure(p *config.Provider) { p.AddResourceConfigurator("tanzu-mission-control_cluster_node_pool", func(r *config.Resource) { r.ShortGroup = "tmc" - r.Kind = "Cluster_Node_Pool" + r.Kind = "ClusterNodePool" r.Version = "v1alpha1" }) } \ No newline at end of file diff --git a/config/custom_policy/config.go b/config/custom_policy/config.go index b6ce2f2..47f4626 100644 --- a/config/custom_policy/config.go +++ b/config/custom_policy/config.go @@ -6,7 +6,7 @@ import "github.com/upbound/upjet/pkg/config" func Configure(p *config.Provider) { p.AddResourceConfigurator("tanzu-mission-control_custom_policy", func(r *config.Resource) { r.ShortGroup = "tmc" - r.Kind = "Custom_Policy" + r.Kind = "CustomPolicy" r.Version = "v1alpha1" }) } \ No newline at end of file diff --git a/config/git_repository/config.go b/config/git_repository/config.go index c7f4044..7f98eef 100644 --- a/config/git_repository/config.go +++ b/config/git_repository/config.go @@ -7,7 +7,7 @@ import "github.com/upbound/upjet/pkg/config" func Configure(p *config.Provider) { p.AddResourceConfigurator("tanzu-mission-control_git_repository", func(r *config.Resource) { r.ShortGroup = "tmc" - r.Kind = "Git_Repository" + r.Kind = "GitRepository" r.Version = "v1alpha1" }) } \ No newline at end of file diff --git a/config/iam_policy/config.go b/config/iam_policy/config.go index 5dda572..2569afd 100644 --- a/config/iam_policy/config.go +++ b/config/iam_policy/config.go @@ -7,7 +7,7 @@ import "github.com/upbound/upjet/pkg/config" func Configure(p *config.Provider) { p.AddResourceConfigurator("tanzu-mission-control_iam_policy", func(r *config.Resource) { r.ShortGroup = "tmc" - r.Kind = "Iam_Policy" + r.Kind = "IamPolicy" r.Version = "v1alpha1" }) } \ No newline at end of file diff --git a/config/image_policy/config.go b/config/image_policy/config.go index 149a6e4..e4fd4d8 100644 --- a/config/image_policy/config.go +++ b/config/image_policy/config.go @@ -6,7 +6,7 @@ import "github.com/upbound/upjet/pkg/config" func Configure(p *config.Provider) { p.AddResourceConfigurator("tanzu-mission-control_image_policy", func(r *config.Resource) { r.ShortGroup = "tmc" - r.Kind = "Image_Policy" + r.Kind = "ImagePolicy" r.Version = "v1alpha1" }) } \ No newline at end of file diff --git a/config/kubernetes_secret/config.go b/config/kubernetes_secret/config.go index adb3cdf..409eb8e 100644 --- a/config/kubernetes_secret/config.go +++ b/config/kubernetes_secret/config.go @@ -6,7 +6,7 @@ import "github.com/upbound/upjet/pkg/config" func Configure(p *config.Provider) { p.AddResourceConfigurator("tanzu-mission-control_kubernetes_secret", func(r *config.Resource) { r.ShortGroup = "tmc" - r.Kind = "Kubernetes_Secret" + r.Kind = "KubernetesSecret" r.Version = "v1alpha1" }) } \ No newline at end of file diff --git a/config/namespace_quota_policy/config.go b/config/namespace_quota_policy/config.go index bd9c02b..ab58661 100644 --- a/config/namespace_quota_policy/config.go +++ b/config/namespace_quota_policy/config.go @@ -6,7 +6,7 @@ import "github.com/upbound/upjet/pkg/config" func Configure(p *config.Provider) { p.AddResourceConfigurator("tanzu-mission-control_namespace_quota_policy", func(r *config.Resource) { r.ShortGroup = "tmc" - r.Kind = "Namespace_Quota_Policy" + r.Kind = "NamespaceQuotaPolicy" r.Version = "v1alpha1" }) } \ No newline at end of file diff --git a/config/network_policy/config.go b/config/network_policy/config.go index 5222b71..b2ba11a 100644 --- a/config/network_policy/config.go +++ b/config/network_policy/config.go @@ -6,7 +6,7 @@ import "github.com/upbound/upjet/pkg/config" func Configure(p *config.Provider) { p.AddResourceConfigurator("tanzu-mission-control_network_policy", func(r *config.Resource) { r.ShortGroup = "tmc" - r.Kind = "Network_Policy" + r.Kind = "NetworkPolicy" r.Version = "v1alpha1" }) } \ No newline at end of file diff --git a/config/package_install/config.go b/config/package_install/config.go index 5a44ebc..722538f 100644 --- a/config/package_install/config.go +++ b/config/package_install/config.go @@ -6,7 +6,10 @@ import "github.com/upbound/upjet/pkg/config" func Configure(p *config.Provider) { p.AddResourceConfigurator("tanzu-mission-control_package_install", func(r *config.Resource) { r.ShortGroup = "tmc" - r.Kind = "Package_Install" + r.Kind = "PackageInstall" r.Version = "v1alpha1" + r.References["namespace"] = config.Reference{ + Type: "github.com/ankasoftco/provider-tmc/apis/tmc/v1alpha1.Namespace", + } }) } \ No newline at end of file diff --git a/config/package_repository/config.go b/config/package_repository/config.go index 20086ce..58410ae 100644 --- a/config/package_repository/config.go +++ b/config/package_repository/config.go @@ -6,7 +6,7 @@ import "github.com/upbound/upjet/pkg/config" func Configure(p *config.Provider) { p.AddResourceConfigurator("tanzu-mission-control_package_repository", func(r *config.Resource) { r.ShortGroup = "tmc" - r.Kind = "Package_Repository" + r.Kind = "PackageRepository" r.Version = "v1alpha1" }) } \ No newline at end of file diff --git a/config/repository_credential/config.go b/config/repository_credential/config.go index dbe329e..cf3a218 100644 --- a/config/repository_credential/config.go +++ b/config/repository_credential/config.go @@ -6,7 +6,7 @@ import "github.com/upbound/upjet/pkg/config" func Configure(p *config.Provider) { p.AddResourceConfigurator("tanzu-mission-control_repository_credential", func(r *config.Resource) { r.ShortGroup = "tmc" - r.Kind = "Repository_Credential" + r.Kind = "RepositoryCredential" r.Version = "v1alpha1" }) } \ No newline at end of file diff --git a/config/security_policy/config.go b/config/security_policy/config.go index 42fa545..53f3cfb 100644 --- a/config/security_policy/config.go +++ b/config/security_policy/config.go @@ -6,7 +6,7 @@ import "github.com/upbound/upjet/pkg/config" func Configure(p *config.Provider) { p.AddResourceConfigurator("tanzu-mission-control_security_policy", func(r *config.Resource) { r.ShortGroup = "tmc" - r.Kind = "Security_Policy" + r.Kind = "SecurityPolicy" r.Version = "v1alpha1" }) } \ No newline at end of file diff --git a/internal/controller/tmc/cluster_group/zz_controller.go b/internal/controller/tmc/clustergroup/zz_controller.go similarity index 86% rename from internal/controller/tmc/cluster_group/zz_controller.go rename to internal/controller/tmc/clustergroup/zz_controller.go index 008e3f0..67d445c 100755 --- a/internal/controller/tmc/cluster_group/zz_controller.go +++ b/internal/controller/tmc/clustergroup/zz_controller.go @@ -4,7 +4,7 @@ Copyright 2022 Upbound Inc. // Code generated by upjet. DO NOT EDIT. -package cluster_group +package clustergroup import ( "time" @@ -22,9 +22,9 @@ import ( features "github.com/ankasoftco/provider-tmc/internal/features" ) -// Setup adds a controller that reconciles Cluster_Group managed resources. +// Setup adds a controller that reconciles ClusterGroup managed resources. func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { - name := managed.ControllerName(v1alpha1.Cluster_Group_GroupVersionKind.String()) + name := managed.ControllerName(v1alpha1.ClusterGroup_GroupVersionKind.String()) var initializers managed.InitializerChain cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} if o.SecretStoreConfigGVK != nil { @@ -32,7 +32,7 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { } opts := []managed.ReconcilerOption{ managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), o.WorkspaceStore, o.SetupFn, o.Provider.Resources["tanzu-mission-control_cluster_group"], tjcontroller.WithLogger(o.Logger), - tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.Cluster_Group_GroupVersionKind))), + tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.ClusterGroup_GroupVersionKind))), )), managed.WithLogger(o.Logger.WithValues("controller", name)), managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), @@ -45,11 +45,11 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } - r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Cluster_Group_GroupVersionKind), opts...) + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.ClusterGroup_GroupVersionKind), opts...) return ctrl.NewControllerManagedBy(mgr). Named(name). WithOptions(o.ForControllerRuntime()). - For(&v1alpha1.Cluster_Group{}). + For(&v1alpha1.ClusterGroup{}). Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) } diff --git a/internal/controller/tmc/cluster_node_pool/zz_controller.go b/internal/controller/tmc/clusternodepool/zz_controller.go similarity index 85% rename from internal/controller/tmc/cluster_node_pool/zz_controller.go rename to internal/controller/tmc/clusternodepool/zz_controller.go index 1f08f71..0160852 100755 --- a/internal/controller/tmc/cluster_node_pool/zz_controller.go +++ b/internal/controller/tmc/clusternodepool/zz_controller.go @@ -4,7 +4,7 @@ Copyright 2022 Upbound Inc. // Code generated by upjet. DO NOT EDIT. -package cluster_node_pool +package clusternodepool import ( "time" @@ -22,9 +22,9 @@ import ( features "github.com/ankasoftco/provider-tmc/internal/features" ) -// Setup adds a controller that reconciles Cluster_Node_Pool managed resources. +// Setup adds a controller that reconciles ClusterNodePool managed resources. func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { - name := managed.ControllerName(v1alpha1.Cluster_Node_Pool_GroupVersionKind.String()) + name := managed.ControllerName(v1alpha1.ClusterNodePool_GroupVersionKind.String()) var initializers managed.InitializerChain cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} if o.SecretStoreConfigGVK != nil { @@ -32,7 +32,7 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { } opts := []managed.ReconcilerOption{ managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), o.WorkspaceStore, o.SetupFn, o.Provider.Resources["tanzu-mission-control_cluster_node_pool"], tjcontroller.WithLogger(o.Logger), - tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.Cluster_Node_Pool_GroupVersionKind))), + tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.ClusterNodePool_GroupVersionKind))), )), managed.WithLogger(o.Logger.WithValues("controller", name)), managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), @@ -45,11 +45,11 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } - r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Cluster_Node_Pool_GroupVersionKind), opts...) + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.ClusterNodePool_GroupVersionKind), opts...) return ctrl.NewControllerManagedBy(mgr). Named(name). WithOptions(o.ForControllerRuntime()). - For(&v1alpha1.Cluster_Node_Pool{}). + For(&v1alpha1.ClusterNodePool{}). Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) } diff --git a/internal/controller/tmc/custom_policy/zz_controller.go b/internal/controller/tmc/custompolicy/zz_controller.go similarity index 86% rename from internal/controller/tmc/custom_policy/zz_controller.go rename to internal/controller/tmc/custompolicy/zz_controller.go index c818308..78e35d9 100755 --- a/internal/controller/tmc/custom_policy/zz_controller.go +++ b/internal/controller/tmc/custompolicy/zz_controller.go @@ -4,7 +4,7 @@ Copyright 2022 Upbound Inc. // Code generated by upjet. DO NOT EDIT. -package custom_policy +package custompolicy import ( "time" @@ -22,9 +22,9 @@ import ( features "github.com/ankasoftco/provider-tmc/internal/features" ) -// Setup adds a controller that reconciles Custom_Policy managed resources. +// Setup adds a controller that reconciles CustomPolicy managed resources. func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { - name := managed.ControllerName(v1alpha1.Custom_Policy_GroupVersionKind.String()) + name := managed.ControllerName(v1alpha1.CustomPolicy_GroupVersionKind.String()) var initializers managed.InitializerChain cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} if o.SecretStoreConfigGVK != nil { @@ -32,7 +32,7 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { } opts := []managed.ReconcilerOption{ managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), o.WorkspaceStore, o.SetupFn, o.Provider.Resources["tanzu-mission-control_custom_policy"], tjcontroller.WithLogger(o.Logger), - tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.Custom_Policy_GroupVersionKind))), + tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.CustomPolicy_GroupVersionKind))), )), managed.WithLogger(o.Logger.WithValues("controller", name)), managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), @@ -45,11 +45,11 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } - r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Custom_Policy_GroupVersionKind), opts...) + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.CustomPolicy_GroupVersionKind), opts...) return ctrl.NewControllerManagedBy(mgr). Named(name). WithOptions(o.ForControllerRuntime()). - For(&v1alpha1.Custom_Policy{}). + For(&v1alpha1.CustomPolicy{}). Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) } diff --git a/internal/controller/tmc/git_repository/zz_controller.go b/internal/controller/tmc/gitrepository/zz_controller.go similarity index 86% rename from internal/controller/tmc/git_repository/zz_controller.go rename to internal/controller/tmc/gitrepository/zz_controller.go index 63f766b..69d0ec8 100755 --- a/internal/controller/tmc/git_repository/zz_controller.go +++ b/internal/controller/tmc/gitrepository/zz_controller.go @@ -4,7 +4,7 @@ Copyright 2022 Upbound Inc. // Code generated by upjet. DO NOT EDIT. -package git_repository +package gitrepository import ( "time" @@ -22,9 +22,9 @@ import ( features "github.com/ankasoftco/provider-tmc/internal/features" ) -// Setup adds a controller that reconciles Git_Repository managed resources. +// Setup adds a controller that reconciles GitRepository managed resources. func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { - name := managed.ControllerName(v1alpha1.Git_Repository_GroupVersionKind.String()) + name := managed.ControllerName(v1alpha1.GitRepository_GroupVersionKind.String()) var initializers managed.InitializerChain cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} if o.SecretStoreConfigGVK != nil { @@ -32,7 +32,7 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { } opts := []managed.ReconcilerOption{ managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), o.WorkspaceStore, o.SetupFn, o.Provider.Resources["tanzu-mission-control_git_repository"], tjcontroller.WithLogger(o.Logger), - tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.Git_Repository_GroupVersionKind))), + tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.GitRepository_GroupVersionKind))), )), managed.WithLogger(o.Logger.WithValues("controller", name)), managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), @@ -45,11 +45,11 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } - r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Git_Repository_GroupVersionKind), opts...) + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.GitRepository_GroupVersionKind), opts...) return ctrl.NewControllerManagedBy(mgr). Named(name). WithOptions(o.ForControllerRuntime()). - For(&v1alpha1.Git_Repository{}). + For(&v1alpha1.GitRepository{}). Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) } diff --git a/internal/controller/tmc/iam_policy/zz_controller.go b/internal/controller/tmc/iampolicy/zz_controller.go similarity index 87% rename from internal/controller/tmc/iam_policy/zz_controller.go rename to internal/controller/tmc/iampolicy/zz_controller.go index d26b958..b09b9b4 100755 --- a/internal/controller/tmc/iam_policy/zz_controller.go +++ b/internal/controller/tmc/iampolicy/zz_controller.go @@ -4,7 +4,7 @@ Copyright 2022 Upbound Inc. // Code generated by upjet. DO NOT EDIT. -package iam_policy +package iampolicy import ( "time" @@ -22,9 +22,9 @@ import ( features "github.com/ankasoftco/provider-tmc/internal/features" ) -// Setup adds a controller that reconciles Iam_Policy managed resources. +// Setup adds a controller that reconciles IamPolicy managed resources. func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { - name := managed.ControllerName(v1alpha1.Iam_Policy_GroupVersionKind.String()) + name := managed.ControllerName(v1alpha1.IamPolicy_GroupVersionKind.String()) var initializers managed.InitializerChain cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} if o.SecretStoreConfigGVK != nil { @@ -32,7 +32,7 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { } opts := []managed.ReconcilerOption{ managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), o.WorkspaceStore, o.SetupFn, o.Provider.Resources["tanzu-mission-control_iam_policy"], tjcontroller.WithLogger(o.Logger), - tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.Iam_Policy_GroupVersionKind))), + tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.IamPolicy_GroupVersionKind))), )), managed.WithLogger(o.Logger.WithValues("controller", name)), managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), @@ -45,11 +45,11 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } - r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Iam_Policy_GroupVersionKind), opts...) + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.IamPolicy_GroupVersionKind), opts...) return ctrl.NewControllerManagedBy(mgr). Named(name). WithOptions(o.ForControllerRuntime()). - For(&v1alpha1.Iam_Policy{}). + For(&v1alpha1.IamPolicy{}). Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) } diff --git a/internal/controller/tmc/image_policy/zz_controller.go b/internal/controller/tmc/imagepolicy/zz_controller.go similarity index 86% rename from internal/controller/tmc/image_policy/zz_controller.go rename to internal/controller/tmc/imagepolicy/zz_controller.go index b49eeef..7a519ab 100755 --- a/internal/controller/tmc/image_policy/zz_controller.go +++ b/internal/controller/tmc/imagepolicy/zz_controller.go @@ -4,7 +4,7 @@ Copyright 2022 Upbound Inc. // Code generated by upjet. DO NOT EDIT. -package image_policy +package imagepolicy import ( "time" @@ -22,9 +22,9 @@ import ( features "github.com/ankasoftco/provider-tmc/internal/features" ) -// Setup adds a controller that reconciles Image_Policy managed resources. +// Setup adds a controller that reconciles ImagePolicy managed resources. func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { - name := managed.ControllerName(v1alpha1.Image_Policy_GroupVersionKind.String()) + name := managed.ControllerName(v1alpha1.ImagePolicy_GroupVersionKind.String()) var initializers managed.InitializerChain cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} if o.SecretStoreConfigGVK != nil { @@ -32,7 +32,7 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { } opts := []managed.ReconcilerOption{ managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), o.WorkspaceStore, o.SetupFn, o.Provider.Resources["tanzu-mission-control_image_policy"], tjcontroller.WithLogger(o.Logger), - tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.Image_Policy_GroupVersionKind))), + tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.ImagePolicy_GroupVersionKind))), )), managed.WithLogger(o.Logger.WithValues("controller", name)), managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), @@ -45,11 +45,11 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } - r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Image_Policy_GroupVersionKind), opts...) + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.ImagePolicy_GroupVersionKind), opts...) return ctrl.NewControllerManagedBy(mgr). Named(name). WithOptions(o.ForControllerRuntime()). - For(&v1alpha1.Image_Policy{}). + For(&v1alpha1.ImagePolicy{}). Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) } diff --git a/internal/controller/tmc/kubernetes_secret/zz_controller.go b/internal/controller/tmc/kubernetessecret/zz_controller.go similarity index 85% rename from internal/controller/tmc/kubernetes_secret/zz_controller.go rename to internal/controller/tmc/kubernetessecret/zz_controller.go index a04ef73..56506f7 100755 --- a/internal/controller/tmc/kubernetes_secret/zz_controller.go +++ b/internal/controller/tmc/kubernetessecret/zz_controller.go @@ -4,7 +4,7 @@ Copyright 2022 Upbound Inc. // Code generated by upjet. DO NOT EDIT. -package kubernetes_secret +package kubernetessecret import ( "time" @@ -22,9 +22,9 @@ import ( features "github.com/ankasoftco/provider-tmc/internal/features" ) -// Setup adds a controller that reconciles Kubernetes_Secret managed resources. +// Setup adds a controller that reconciles KubernetesSecret managed resources. func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { - name := managed.ControllerName(v1alpha1.Kubernetes_Secret_GroupVersionKind.String()) + name := managed.ControllerName(v1alpha1.KubernetesSecret_GroupVersionKind.String()) var initializers managed.InitializerChain cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} if o.SecretStoreConfigGVK != nil { @@ -32,7 +32,7 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { } opts := []managed.ReconcilerOption{ managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), o.WorkspaceStore, o.SetupFn, o.Provider.Resources["tanzu-mission-control_kubernetes_secret"], tjcontroller.WithLogger(o.Logger), - tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.Kubernetes_Secret_GroupVersionKind))), + tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.KubernetesSecret_GroupVersionKind))), )), managed.WithLogger(o.Logger.WithValues("controller", name)), managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), @@ -45,11 +45,11 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } - r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Kubernetes_Secret_GroupVersionKind), opts...) + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.KubernetesSecret_GroupVersionKind), opts...) return ctrl.NewControllerManagedBy(mgr). Named(name). WithOptions(o.ForControllerRuntime()). - For(&v1alpha1.Kubernetes_Secret{}). + For(&v1alpha1.KubernetesSecret{}). Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) } diff --git a/internal/controller/tmc/namespace_quota_policy/zz_controller.go b/internal/controller/tmc/namespacequotapolicy/zz_controller.go similarity index 84% rename from internal/controller/tmc/namespace_quota_policy/zz_controller.go rename to internal/controller/tmc/namespacequotapolicy/zz_controller.go index ff8aa47..676c71d 100755 --- a/internal/controller/tmc/namespace_quota_policy/zz_controller.go +++ b/internal/controller/tmc/namespacequotapolicy/zz_controller.go @@ -4,7 +4,7 @@ Copyright 2022 Upbound Inc. // Code generated by upjet. DO NOT EDIT. -package namespace_quota_policy +package namespacequotapolicy import ( "time" @@ -22,9 +22,9 @@ import ( features "github.com/ankasoftco/provider-tmc/internal/features" ) -// Setup adds a controller that reconciles Namespace_Quota_Policy managed resources. +// Setup adds a controller that reconciles NamespaceQuotaPolicy managed resources. func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { - name := managed.ControllerName(v1alpha1.Namespace_Quota_Policy_GroupVersionKind.String()) + name := managed.ControllerName(v1alpha1.NamespaceQuotaPolicy_GroupVersionKind.String()) var initializers managed.InitializerChain cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} if o.SecretStoreConfigGVK != nil { @@ -32,7 +32,7 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { } 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))), + tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.NamespaceQuotaPolicy_GroupVersionKind))), )), managed.WithLogger(o.Logger.WithValues("controller", name)), managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), @@ -45,11 +45,11 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } - r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Namespace_Quota_Policy_GroupVersionKind), opts...) + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.NamespaceQuotaPolicy_GroupVersionKind), opts...) return ctrl.NewControllerManagedBy(mgr). Named(name). WithOptions(o.ForControllerRuntime()). - For(&v1alpha1.Namespace_Quota_Policy{}). + For(&v1alpha1.NamespaceQuotaPolicy{}). Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) } diff --git a/internal/controller/tmc/network_policy/zz_controller.go b/internal/controller/tmc/networkpolicy/zz_controller.go similarity index 86% rename from internal/controller/tmc/network_policy/zz_controller.go rename to internal/controller/tmc/networkpolicy/zz_controller.go index 70c05d0..7ad1c92 100755 --- a/internal/controller/tmc/network_policy/zz_controller.go +++ b/internal/controller/tmc/networkpolicy/zz_controller.go @@ -4,7 +4,7 @@ Copyright 2022 Upbound Inc. // Code generated by upjet. DO NOT EDIT. -package network_policy +package networkpolicy import ( "time" @@ -22,9 +22,9 @@ import ( features "github.com/ankasoftco/provider-tmc/internal/features" ) -// Setup adds a controller that reconciles Network_Policy managed resources. +// Setup adds a controller that reconciles NetworkPolicy managed resources. func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { - name := managed.ControllerName(v1alpha1.Network_Policy_GroupVersionKind.String()) + name := managed.ControllerName(v1alpha1.NetworkPolicy_GroupVersionKind.String()) var initializers managed.InitializerChain cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} if o.SecretStoreConfigGVK != nil { @@ -32,7 +32,7 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { } 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))), + tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.NetworkPolicy_GroupVersionKind))), )), managed.WithLogger(o.Logger.WithValues("controller", name)), managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), @@ -45,11 +45,11 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } - r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Network_Policy_GroupVersionKind), opts...) + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.NetworkPolicy_GroupVersionKind), opts...) return ctrl.NewControllerManagedBy(mgr). Named(name). WithOptions(o.ForControllerRuntime()). - For(&v1alpha1.Network_Policy{}). + For(&v1alpha1.NetworkPolicy{}). Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) } diff --git a/internal/controller/tmc/package_install/zz_controller.go b/internal/controller/tmc/packageinstall/zz_controller.go similarity index 86% rename from internal/controller/tmc/package_install/zz_controller.go rename to internal/controller/tmc/packageinstall/zz_controller.go index ec17c48..7dda71c 100755 --- a/internal/controller/tmc/package_install/zz_controller.go +++ b/internal/controller/tmc/packageinstall/zz_controller.go @@ -4,7 +4,7 @@ Copyright 2022 Upbound Inc. // Code generated by upjet. DO NOT EDIT. -package package_install +package packageinstall import ( "time" @@ -22,9 +22,9 @@ import ( features "github.com/ankasoftco/provider-tmc/internal/features" ) -// Setup adds a controller that reconciles Package_Install managed resources. +// Setup adds a controller that reconciles PackageInstall managed resources. func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { - name := managed.ControllerName(v1alpha1.Package_Install_GroupVersionKind.String()) + name := managed.ControllerName(v1alpha1.PackageInstall_GroupVersionKind.String()) var initializers managed.InitializerChain cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} if o.SecretStoreConfigGVK != nil { @@ -32,7 +32,7 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { } 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))), + tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.PackageInstall_GroupVersionKind))), )), managed.WithLogger(o.Logger.WithValues("controller", name)), managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), @@ -45,11 +45,11 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } - r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Package_Install_GroupVersionKind), opts...) + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.PackageInstall_GroupVersionKind), opts...) return ctrl.NewControllerManagedBy(mgr). Named(name). WithOptions(o.ForControllerRuntime()). - For(&v1alpha1.Package_Install{}). + For(&v1alpha1.PackageInstall{}). Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) } diff --git a/internal/controller/tmc/package_repository/zz_controller.go b/internal/controller/tmc/packagerepository/zz_controller.go similarity index 85% rename from internal/controller/tmc/package_repository/zz_controller.go rename to internal/controller/tmc/packagerepository/zz_controller.go index 4e8fe25..65ccf04 100755 --- a/internal/controller/tmc/package_repository/zz_controller.go +++ b/internal/controller/tmc/packagerepository/zz_controller.go @@ -4,7 +4,7 @@ Copyright 2022 Upbound Inc. // Code generated by upjet. DO NOT EDIT. -package package_repository +package packagerepository import ( "time" @@ -22,9 +22,9 @@ import ( features "github.com/ankasoftco/provider-tmc/internal/features" ) -// Setup adds a controller that reconciles Package_Repository managed resources. +// Setup adds a controller that reconciles PackageRepository managed resources. func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { - name := managed.ControllerName(v1alpha1.Package_Repository_GroupVersionKind.String()) + name := managed.ControllerName(v1alpha1.PackageRepository_GroupVersionKind.String()) var initializers managed.InitializerChain cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} if o.SecretStoreConfigGVK != nil { @@ -32,7 +32,7 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { } 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))), + tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.PackageRepository_GroupVersionKind))), )), managed.WithLogger(o.Logger.WithValues("controller", name)), managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), @@ -45,11 +45,11 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } - r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Package_Repository_GroupVersionKind), opts...) + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.PackageRepository_GroupVersionKind), opts...) return ctrl.NewControllerManagedBy(mgr). Named(name). WithOptions(o.ForControllerRuntime()). - For(&v1alpha1.Package_Repository{}). + For(&v1alpha1.PackageRepository{}). Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) } diff --git a/internal/controller/tmc/repository_credential/zz_controller.go b/internal/controller/tmc/repositorycredential/zz_controller.go similarity index 84% rename from internal/controller/tmc/repository_credential/zz_controller.go rename to internal/controller/tmc/repositorycredential/zz_controller.go index 672626a..739c1d3 100755 --- a/internal/controller/tmc/repository_credential/zz_controller.go +++ b/internal/controller/tmc/repositorycredential/zz_controller.go @@ -4,7 +4,7 @@ Copyright 2022 Upbound Inc. // Code generated by upjet. DO NOT EDIT. -package repository_credential +package repositorycredential import ( "time" @@ -22,9 +22,9 @@ import ( features "github.com/ankasoftco/provider-tmc/internal/features" ) -// Setup adds a controller that reconciles Repository_Credential managed resources. +// Setup adds a controller that reconciles RepositoryCredential managed resources. func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { - name := managed.ControllerName(v1alpha1.Repository_Credential_GroupVersionKind.String()) + name := managed.ControllerName(v1alpha1.RepositoryCredential_GroupVersionKind.String()) var initializers managed.InitializerChain cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} if o.SecretStoreConfigGVK != nil { @@ -32,7 +32,7 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { } 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))), + tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.RepositoryCredential_GroupVersionKind))), )), managed.WithLogger(o.Logger.WithValues("controller", name)), managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), @@ -45,11 +45,11 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } - r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Repository_Credential_GroupVersionKind), opts...) + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.RepositoryCredential_GroupVersionKind), opts...) return ctrl.NewControllerManagedBy(mgr). Named(name). WithOptions(o.ForControllerRuntime()). - For(&v1alpha1.Repository_Credential{}). + For(&v1alpha1.RepositoryCredential{}). Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) } diff --git a/internal/controller/tmc/security_policy/zz_controller.go b/internal/controller/tmc/securitypolicy/zz_controller.go similarity index 86% rename from internal/controller/tmc/security_policy/zz_controller.go rename to internal/controller/tmc/securitypolicy/zz_controller.go index 4d0265a..7394cae 100755 --- a/internal/controller/tmc/security_policy/zz_controller.go +++ b/internal/controller/tmc/securitypolicy/zz_controller.go @@ -4,7 +4,7 @@ Copyright 2022 Upbound Inc. // Code generated by upjet. DO NOT EDIT. -package security_policy +package securitypolicy import ( "time" @@ -22,9 +22,9 @@ import ( features "github.com/ankasoftco/provider-tmc/internal/features" ) -// Setup adds a controller that reconciles Security_Policy managed resources. +// Setup adds a controller that reconciles SecurityPolicy managed resources. func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { - name := managed.ControllerName(v1alpha1.Security_Policy_GroupVersionKind.String()) + name := managed.ControllerName(v1alpha1.SecurityPolicy_GroupVersionKind.String()) var initializers managed.InitializerChain cps := []managed.ConnectionPublisher{managed.NewAPISecretPublisher(mgr.GetClient(), mgr.GetScheme())} if o.SecretStoreConfigGVK != nil { @@ -32,7 +32,7 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { } 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))), + tjcontroller.WithCallbackProvider(tjcontroller.NewAPICallbacks(mgr, xpresource.ManagedKind(v1alpha1.SecurityPolicy_GroupVersionKind))), )), managed.WithLogger(o.Logger.WithValues("controller", name)), managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), @@ -45,11 +45,11 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } - r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.Security_Policy_GroupVersionKind), opts...) + r := managed.NewReconciler(mgr, xpresource.ManagedKind(v1alpha1.SecurityPolicy_GroupVersionKind), opts...) return ctrl.NewControllerManagedBy(mgr). Named(name). WithOptions(o.ForControllerRuntime()). - For(&v1alpha1.Security_Policy{}). + For(&v1alpha1.SecurityPolicy{}). Complete(ratelimiter.NewReconciler(name, r, o.GlobalRateLimiter)) } diff --git a/internal/controller/zz_setup.go b/internal/controller/zz_setup.go index 1285103..f83ab63 100755 --- a/internal/controller/zz_setup.go +++ b/internal/controller/zz_setup.go @@ -12,24 +12,24 @@ import ( providerconfig "github.com/ankasoftco/provider-tmc/internal/controller/providerconfig" akscluster "github.com/ankasoftco/provider-tmc/internal/controller/tmc/akscluster" cluster "github.com/ankasoftco/provider-tmc/internal/controller/tmc/cluster" - cluster_group "github.com/ankasoftco/provider-tmc/internal/controller/tmc/cluster_group" - cluster_node_pool "github.com/ankasoftco/provider-tmc/internal/controller/tmc/cluster_node_pool" + clustergroup "github.com/ankasoftco/provider-tmc/internal/controller/tmc/clustergroup" + clusternodepool "github.com/ankasoftco/provider-tmc/internal/controller/tmc/clusternodepool" credential "github.com/ankasoftco/provider-tmc/internal/controller/tmc/credential" - custom_policy "github.com/ankasoftco/provider-tmc/internal/controller/tmc/custom_policy" + custompolicy "github.com/ankasoftco/provider-tmc/internal/controller/tmc/custompolicy" ekscluster "github.com/ankasoftco/provider-tmc/internal/controller/tmc/ekscluster" - git_repository "github.com/ankasoftco/provider-tmc/internal/controller/tmc/git_repository" - iam_policy "github.com/ankasoftco/provider-tmc/internal/controller/tmc/iam_policy" - image_policy "github.com/ankasoftco/provider-tmc/internal/controller/tmc/image_policy" + gitrepository "github.com/ankasoftco/provider-tmc/internal/controller/tmc/gitrepository" + iampolicy "github.com/ankasoftco/provider-tmc/internal/controller/tmc/iampolicy" + imagepolicy "github.com/ankasoftco/provider-tmc/internal/controller/tmc/imagepolicy" integration "github.com/ankasoftco/provider-tmc/internal/controller/tmc/integration" - kubernetes_secret "github.com/ankasoftco/provider-tmc/internal/controller/tmc/kubernetes_secret" + kubernetessecret "github.com/ankasoftco/provider-tmc/internal/controller/tmc/kubernetessecret" 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" + namespacequotapolicy "github.com/ankasoftco/provider-tmc/internal/controller/tmc/namespacequotapolicy" + networkpolicy "github.com/ankasoftco/provider-tmc/internal/controller/tmc/networkpolicy" + packageinstall "github.com/ankasoftco/provider-tmc/internal/controller/tmc/packageinstall" + packagerepository "github.com/ankasoftco/provider-tmc/internal/controller/tmc/packagerepository" + repositorycredential "github.com/ankasoftco/provider-tmc/internal/controller/tmc/repositorycredential" + securitypolicy "github.com/ankasoftco/provider-tmc/internal/controller/tmc/securitypolicy" workspace "github.com/ankasoftco/provider-tmc/internal/controller/tmc/workspace" ) @@ -40,24 +40,24 @@ func Setup(mgr ctrl.Manager, o controller.Options) error { providerconfig.Setup, akscluster.Setup, cluster.Setup, - cluster_group.Setup, - cluster_node_pool.Setup, + clustergroup.Setup, + clusternodepool.Setup, credential.Setup, - custom_policy.Setup, + custompolicy.Setup, ekscluster.Setup, - git_repository.Setup, - iam_policy.Setup, - image_policy.Setup, + gitrepository.Setup, + iampolicy.Setup, + imagepolicy.Setup, integration.Setup, - kubernetes_secret.Setup, + kubernetessecret.Setup, kustomization.Setup, namespace.Setup, - namespace_quota_policy.Setup, - network_policy.Setup, - package_install.Setup, - package_repository.Setup, - repository_credential.Setup, - security_policy.Setup, + namespacequotapolicy.Setup, + networkpolicy.Setup, + packageinstall.Setup, + packagerepository.Setup, + repositorycredential.Setup, + securitypolicy.Setup, workspace.Setup, } { if err := setup(mgr, o); err != nil { diff --git a/package/crds/tmc.crossplane.io_cluster_groups.yaml b/package/crds/tmc.crossplane.io_clustergroups.yaml similarity index 97% rename from package/crds/tmc.crossplane.io_cluster_groups.yaml rename to package/crds/tmc.crossplane.io_clustergroups.yaml index 71ba439..5ecd3a8 100644 --- a/package/crds/tmc.crossplane.io_cluster_groups.yaml +++ b/package/crds/tmc.crossplane.io_clustergroups.yaml @@ -5,7 +5,7 @@ metadata: annotations: controller-gen.kubebuilder.io/version: v0.11.3 creationTimestamp: null - name: cluster_groups.tmc.crossplane.io + name: clustergroups.tmc.crossplane.io spec: group: tmc.crossplane.io names: @@ -13,10 +13,10 @@ spec: - crossplane - managed - tmc - kind: Cluster_Group - listKind: Cluster_GroupList - plural: cluster_groups - singular: cluster_group + kind: ClusterGroup + listKind: ClusterGroupList + plural: clustergroups + singular: clustergroup scope: Cluster versions: - additionalPrinterColumns: @@ -35,7 +35,7 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: Cluster_Group is the Schema for the Cluster_Groups API. + description: ClusterGroup is the Schema for the ClusterGroups API. properties: apiVersion: description: 'APIVersion defines the versioned schema of this representation @@ -50,7 +50,7 @@ spec: metadata: type: object spec: - description: Cluster_GroupSpec defines the desired state of Cluster_Group + description: ClusterGroupSpec defines the desired state of ClusterGroup properties: deletionPolicy: default: Delete @@ -279,7 +279,7 @@ spec: - message: name is a required parameter rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name) status: - description: Cluster_GroupStatus defines the observed state of Cluster_Group. + description: ClusterGroupStatus defines the observed state of ClusterGroup. properties: atProvider: properties: diff --git a/package/crds/tmc.crossplane.io_cluster_node_pools.yaml b/package/crds/tmc.crossplane.io_clusternodepools.yaml similarity index 98% rename from package/crds/tmc.crossplane.io_cluster_node_pools.yaml rename to package/crds/tmc.crossplane.io_clusternodepools.yaml index 5be9e6b..ec8c619 100644 --- a/package/crds/tmc.crossplane.io_cluster_node_pools.yaml +++ b/package/crds/tmc.crossplane.io_clusternodepools.yaml @@ -5,7 +5,7 @@ metadata: annotations: controller-gen.kubebuilder.io/version: v0.11.3 creationTimestamp: null - name: cluster_node_pools.tmc.crossplane.io + name: clusternodepools.tmc.crossplane.io spec: group: tmc.crossplane.io names: @@ -13,10 +13,10 @@ spec: - crossplane - managed - tmc - kind: Cluster_Node_Pool - listKind: Cluster_Node_PoolList - plural: cluster_node_pools - singular: cluster_node_pool + kind: ClusterNodePool + listKind: ClusterNodePoolList + plural: clusternodepools + singular: clusternodepool scope: Cluster versions: - additionalPrinterColumns: @@ -35,8 +35,8 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: Cluster_Node_Pool is the Schema for the Cluster_Node_Pools API. - + description: ClusterNodePool is the Schema for the ClusterNodePools API. properties: apiVersion: description: 'APIVersion defines the versioned schema of this representation @@ -51,7 +51,7 @@ spec: metadata: type: object spec: - description: Cluster_Node_PoolSpec defines the desired state of Cluster_Node_Pool + description: ClusterNodePoolSpec defines the desired state of ClusterNodePool properties: deletionPolicy: default: Delete @@ -409,7 +409,7 @@ spec: - message: provisionerName is a required parameter rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.provisionerName) status: - description: Cluster_Node_PoolStatus defines the observed state of Cluster_Node_Pool. + description: ClusterNodePoolStatus defines the observed state of ClusterNodePool. properties: atProvider: properties: diff --git a/package/crds/tmc.crossplane.io_custom_policies.yaml b/package/crds/tmc.crossplane.io_custompolicies.yaml similarity index 99% rename from package/crds/tmc.crossplane.io_custom_policies.yaml rename to package/crds/tmc.crossplane.io_custompolicies.yaml index 2147d70..9f780c2 100644 --- a/package/crds/tmc.crossplane.io_custom_policies.yaml +++ b/package/crds/tmc.crossplane.io_custompolicies.yaml @@ -5,7 +5,7 @@ metadata: annotations: controller-gen.kubebuilder.io/version: v0.11.3 creationTimestamp: null - name: custom_policies.tmc.crossplane.io + name: custompolicies.tmc.crossplane.io spec: group: tmc.crossplane.io names: @@ -13,10 +13,10 @@ spec: - crossplane - managed - tmc - kind: Custom_Policy - listKind: Custom_PolicyList - plural: custom_policies - singular: custom_policy + kind: CustomPolicy + listKind: CustomPolicyList + plural: custompolicies + singular: custompolicy scope: Cluster versions: - additionalPrinterColumns: @@ -35,7 +35,7 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: Custom_Policy is the Schema for the Custom_Policys API. + description: CustomPolicy is the Schema for the CustomPolicys API. properties: apiVersion: description: 'APIVersion defines the versioned schema of this representation @@ -50,7 +50,7 @@ spec: metadata: type: object spec: - description: Custom_PolicySpec defines the desired state of Custom_Policy + description: CustomPolicySpec defines the desired state of CustomPolicy properties: deletionPolicy: default: Delete @@ -666,7 +666,7 @@ spec: - message: spec is a required parameter rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.spec) status: - description: Custom_PolicyStatus defines the observed state of Custom_Policy. + description: CustomPolicyStatus defines the observed state of CustomPolicy. properties: atProvider: properties: diff --git a/package/crds/tmc.crossplane.io_git_repositories.yaml b/package/crds/tmc.crossplane.io_gitrepositories.yaml similarity index 98% rename from package/crds/tmc.crossplane.io_git_repositories.yaml rename to package/crds/tmc.crossplane.io_gitrepositories.yaml index 08c190d..e752add 100644 --- a/package/crds/tmc.crossplane.io_git_repositories.yaml +++ b/package/crds/tmc.crossplane.io_gitrepositories.yaml @@ -5,7 +5,7 @@ metadata: annotations: controller-gen.kubebuilder.io/version: v0.11.3 creationTimestamp: null - name: git_repositories.tmc.crossplane.io + name: gitrepositories.tmc.crossplane.io spec: group: tmc.crossplane.io names: @@ -13,10 +13,10 @@ spec: - crossplane - managed - tmc - kind: Git_Repository - listKind: Git_RepositoryList - plural: git_repositories - singular: git_repository + kind: GitRepository + listKind: GitRepositoryList + plural: gitrepositories + singular: gitrepository scope: Cluster versions: - additionalPrinterColumns: @@ -35,8 +35,7 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: Git_Repository is the Schema for the Git_Repositorys API. + description: GitRepository is the Schema for the GitRepositorys API. properties: apiVersion: description: 'APIVersion defines the versioned schema of this representation @@ -51,7 +50,7 @@ spec: metadata: type: object spec: - description: Git_RepositorySpec defines the desired state of Git_Repository + description: GitRepositorySpec defines the desired state of GitRepository properties: deletionPolicy: default: Delete @@ -392,7 +391,7 @@ spec: - message: spec is a required parameter rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.spec) status: - description: Git_RepositoryStatus defines the observed state of Git_Repository. + description: GitRepositoryStatus defines the observed state of GitRepository. properties: atProvider: properties: diff --git a/package/crds/tmc.crossplane.io_iam_policies.yaml b/package/crds/tmc.crossplane.io_iampolicies.yaml similarity index 98% rename from package/crds/tmc.crossplane.io_iam_policies.yaml rename to package/crds/tmc.crossplane.io_iampolicies.yaml index 11d37a2..bb29ef4 100644 --- a/package/crds/tmc.crossplane.io_iam_policies.yaml +++ b/package/crds/tmc.crossplane.io_iampolicies.yaml @@ -5,7 +5,7 @@ metadata: annotations: controller-gen.kubebuilder.io/version: v0.11.3 creationTimestamp: null - name: iam_policies.tmc.crossplane.io + name: iampolicies.tmc.crossplane.io spec: group: tmc.crossplane.io names: @@ -13,10 +13,10 @@ spec: - crossplane - managed - tmc - kind: Iam_Policy - listKind: Iam_PolicyList - plural: iam_policies - singular: iam_policy + kind: IamPolicy + listKind: IamPolicyList + plural: iampolicies + singular: iampolicy scope: Cluster versions: - additionalPrinterColumns: @@ -35,7 +35,7 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: Iam_Policy is the Schema for the Iam_Policys API. + description: IamPolicy is the Schema for the IamPolicys API. properties: apiVersion: description: 'APIVersion defines the versioned schema of this representation @@ -50,7 +50,7 @@ spec: metadata: type: object spec: - description: Iam_PolicySpec defines the desired state of Iam_Policy + description: IamPolicySpec defines the desired state of IamPolicy properties: deletionPolicy: default: Delete @@ -389,7 +389,7 @@ spec: - message: scope is a required parameter rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.scope) status: - description: Iam_PolicyStatus defines the observed state of Iam_Policy. + description: IamPolicyStatus defines the observed state of IamPolicy. properties: atProvider: properties: diff --git a/package/crds/tmc.crossplane.io_image_policies.yaml b/package/crds/tmc.crossplane.io_imagepolicies.yaml similarity index 99% rename from package/crds/tmc.crossplane.io_image_policies.yaml rename to package/crds/tmc.crossplane.io_imagepolicies.yaml index df132c8..5ee05ce 100644 --- a/package/crds/tmc.crossplane.io_image_policies.yaml +++ b/package/crds/tmc.crossplane.io_imagepolicies.yaml @@ -5,7 +5,7 @@ metadata: annotations: controller-gen.kubebuilder.io/version: v0.11.3 creationTimestamp: null - name: image_policies.tmc.crossplane.io + name: imagepolicies.tmc.crossplane.io spec: group: tmc.crossplane.io names: @@ -13,10 +13,10 @@ spec: - crossplane - managed - tmc - kind: Image_Policy - listKind: Image_PolicyList - plural: image_policies - singular: image_policy + kind: ImagePolicy + listKind: ImagePolicyList + plural: imagepolicies + singular: imagepolicy scope: Cluster versions: - additionalPrinterColumns: @@ -35,7 +35,7 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: Image_Policy is the Schema for the Image_Policys API. + description: ImagePolicy is the Schema for the ImagePolicys API. properties: apiVersion: description: 'APIVersion defines the versioned schema of this representation @@ -50,7 +50,7 @@ spec: metadata: type: object spec: - description: Image_PolicySpec defines the desired state of Image_Policy + description: ImagePolicySpec defines the desired state of ImagePolicy properties: deletionPolicy: default: Delete @@ -513,7 +513,7 @@ spec: - message: spec is a required parameter rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.spec) status: - description: Image_PolicyStatus defines the observed state of Image_Policy. + description: ImagePolicyStatus defines the observed state of ImagePolicy. properties: atProvider: properties: diff --git a/package/crds/tmc.crossplane.io_kubernetes_secrets.yaml b/package/crds/tmc.crossplane.io_kubernetessecrets.yaml similarity index 98% rename from package/crds/tmc.crossplane.io_kubernetes_secrets.yaml rename to package/crds/tmc.crossplane.io_kubernetessecrets.yaml index 8c7a93a..b2477f0 100644 --- a/package/crds/tmc.crossplane.io_kubernetes_secrets.yaml +++ b/package/crds/tmc.crossplane.io_kubernetessecrets.yaml @@ -5,7 +5,7 @@ metadata: annotations: controller-gen.kubebuilder.io/version: v0.11.3 creationTimestamp: null - name: kubernetes_secrets.tmc.crossplane.io + name: kubernetessecrets.tmc.crossplane.io spec: group: tmc.crossplane.io names: @@ -13,10 +13,10 @@ spec: - crossplane - managed - tmc - kind: Kubernetes_Secret - listKind: Kubernetes_SecretList - plural: kubernetes_secrets - singular: kubernetes_secret + kind: KubernetesSecret + listKind: KubernetesSecretList + plural: kubernetessecrets + singular: kubernetessecret scope: Cluster versions: - additionalPrinterColumns: @@ -35,7 +35,7 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: Kubernetes_Secret is the Schema for the Kubernetes_Secrets API. + description: KubernetesSecret is the Schema for the KubernetesSecrets API. properties: apiVersion: @@ -51,7 +51,7 @@ spec: metadata: type: object spec: - description: Kubernetes_SecretSpec defines the desired state of Kubernetes_Secret + description: KubernetesSecretSpec defines the desired state of KubernetesSecret properties: deletionPolicy: default: Delete @@ -365,7 +365,7 @@ spec: - message: spec is a required parameter rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.spec) status: - description: Kubernetes_SecretStatus defines the observed state of Kubernetes_Secret. + description: KubernetesSecretStatus defines the observed state of KubernetesSecret. properties: atProvider: properties: diff --git a/package/crds/tmc.crossplane.io_namespace_quota_policies.yaml b/package/crds/tmc.crossplane.io_namespacequotapolicies.yaml similarity index 98% rename from package/crds/tmc.crossplane.io_namespace_quota_policies.yaml rename to package/crds/tmc.crossplane.io_namespacequotapolicies.yaml index bfd3c29..a4536e1 100644 --- a/package/crds/tmc.crossplane.io_namespace_quota_policies.yaml +++ b/package/crds/tmc.crossplane.io_namespacequotapolicies.yaml @@ -5,7 +5,7 @@ metadata: annotations: controller-gen.kubebuilder.io/version: v0.11.3 creationTimestamp: null - name: namespace_quota_policies.tmc.crossplane.io + name: namespacequotapolicies.tmc.crossplane.io spec: group: tmc.crossplane.io names: @@ -13,10 +13,10 @@ spec: - crossplane - managed - tmc - kind: Namespace_Quota_Policy - listKind: Namespace_Quota_PolicyList - plural: namespace_quota_policies - singular: namespace_quota_policy + kind: NamespaceQuotaPolicy + listKind: NamespaceQuotaPolicyList + plural: namespacequotapolicies + singular: namespacequotapolicy scope: Cluster versions: - additionalPrinterColumns: @@ -35,7 +35,7 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: Namespace_Quota_Policy is the Schema for the Namespace_Quota_Policys + description: NamespaceQuotaPolicy is the Schema for the NamespaceQuotaPolicys API. properties: apiVersion: @@ -51,7 +51,7 @@ spec: metadata: type: object spec: - description: Namespace_Quota_PolicySpec defines the desired state of Namespace_Quota_Policy + description: NamespaceQuotaPolicySpec defines the desired state of NamespaceQuotaPolicy properties: deletionPolicy: default: Delete @@ -465,8 +465,8 @@ spec: - 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. + description: NamespaceQuotaPolicyStatus defines the observed state of + NamespaceQuotaPolicy. properties: atProvider: properties: diff --git a/package/crds/tmc.crossplane.io_network_policies.yaml b/package/crds/tmc.crossplane.io_networkpolicies.yaml similarity index 99% rename from package/crds/tmc.crossplane.io_network_policies.yaml rename to package/crds/tmc.crossplane.io_networkpolicies.yaml index 95c9d1f..b0c6a94 100644 --- a/package/crds/tmc.crossplane.io_network_policies.yaml +++ b/package/crds/tmc.crossplane.io_networkpolicies.yaml @@ -5,7 +5,7 @@ metadata: annotations: controller-gen.kubebuilder.io/version: v0.11.3 creationTimestamp: null - name: network_policies.tmc.crossplane.io + name: networkpolicies.tmc.crossplane.io spec: group: tmc.crossplane.io names: @@ -13,10 +13,10 @@ spec: - crossplane - managed - tmc - kind: Network_Policy - listKind: Network_PolicyList - plural: network_policies - singular: network_policy + kind: NetworkPolicy + listKind: NetworkPolicyList + plural: networkpolicies + singular: networkpolicy scope: Cluster versions: - additionalPrinterColumns: @@ -35,8 +35,7 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: Network_Policy is the Schema for the Network_Policys API. + description: NetworkPolicy is the Schema for the NetworkPolicys API. properties: apiVersion: description: 'APIVersion defines the versioned schema of this representation @@ -51,7 +50,7 @@ spec: metadata: type: object spec: - description: Network_PolicySpec defines the desired state of Network_Policy + description: NetworkPolicySpec defines the desired state of NetworkPolicy properties: deletionPolicy: default: Delete @@ -691,7 +690,7 @@ spec: - 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. + description: NetworkPolicyStatus defines the observed state of NetworkPolicy. properties: atProvider: properties: diff --git a/package/crds/tmc.crossplane.io_package_installs.yaml b/package/crds/tmc.crossplane.io_packageinstalls.yaml similarity index 84% rename from package/crds/tmc.crossplane.io_package_installs.yaml rename to package/crds/tmc.crossplane.io_packageinstalls.yaml index f296555..280d05c 100644 --- a/package/crds/tmc.crossplane.io_package_installs.yaml +++ b/package/crds/tmc.crossplane.io_packageinstalls.yaml @@ -5,7 +5,7 @@ metadata: annotations: controller-gen.kubebuilder.io/version: v0.11.3 creationTimestamp: null - name: package_installs.tmc.crossplane.io + name: packageinstalls.tmc.crossplane.io spec: group: tmc.crossplane.io names: @@ -13,10 +13,10 @@ spec: - crossplane - managed - tmc - kind: Package_Install - listKind: Package_InstallList - plural: package_installs - singular: package_install + kind: PackageInstall + listKind: PackageInstallList + plural: packageinstalls + singular: packageinstall scope: Cluster versions: - additionalPrinterColumns: @@ -35,7 +35,7 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: Package_Install is the Schema for the Package_Installs API. properties: apiVersion: @@ -51,7 +51,7 @@ spec: metadata: type: object spec: - description: Package_InstallSpec defines the desired state of Package_Install + description: PackageInstallSpec defines the desired state of PackageInstall properties: deletionPolicy: default: Delete @@ -93,6 +93,79 @@ spec: namespace: description: Name of Namespace where package install will be created. type: string + namespaceRef: + description: Reference to a Namespace in tmc to populate namespace. + 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 + namespaceSelector: + description: Selector for a Namespace in tmc to populate namespace. + properties: + matchControllerRef: + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching labels + is selected. + type: object + policy: + description: Policies for selection. + 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 + type: object scope: description: 'Scope for the package install, having one of the valid scopes: cluster.' @@ -353,14 +426,12 @@ spec: x-kubernetes-validations: - message: name is a required parameter rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name) - - message: namespace is a required parameter - rule: self.managementPolicy == 'ObserveOnly' || has(self.forProvider.namespace) - 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_InstallStatus defines the observed state of Package_Install. + description: PackageInstallStatus defines the observed state of PackageInstall. properties: atProvider: properties: diff --git a/package/crds/tmc.crossplane.io_package_repositories.yaml b/package/crds/tmc.crossplane.io_packagerepositories.yaml similarity index 97% rename from package/crds/tmc.crossplane.io_package_repositories.yaml rename to package/crds/tmc.crossplane.io_packagerepositories.yaml index 30a8496..6d2365d 100644 --- a/package/crds/tmc.crossplane.io_package_repositories.yaml +++ b/package/crds/tmc.crossplane.io_packagerepositories.yaml @@ -5,7 +5,7 @@ metadata: annotations: controller-gen.kubebuilder.io/version: v0.11.3 creationTimestamp: null - name: package_repositories.tmc.crossplane.io + name: packagerepositories.tmc.crossplane.io spec: group: tmc.crossplane.io names: @@ -13,10 +13,10 @@ spec: - crossplane - managed - tmc - kind: Package_Repository - listKind: Package_RepositoryList - plural: package_repositories - singular: package_repository + kind: PackageRepository + listKind: PackageRepositoryList + plural: packagerepositories + singular: packagerepository scope: Cluster versions: - additionalPrinterColumns: @@ -35,8 +35,8 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: Package_Repository is the Schema for the Package_Repositorys - API. + description: PackageRepository is the Schema for the PackageRepositorys API. + properties: apiVersion: description: 'APIVersion defines the versioned schema of this representation @@ -51,7 +51,7 @@ spec: metadata: type: object spec: - description: Package_RepositorySpec defines the desired state of Package_Repository + description: PackageRepositorySpec defines the desired state of PackageRepository properties: deletionPolicy: default: Delete @@ -330,7 +330,7 @@ spec: - 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. + description: PackageRepositoryStatus defines the observed state of PackageRepository. properties: atProvider: properties: diff --git a/package/crds/tmc.crossplane.io_repository_credentials.yaml b/package/crds/tmc.crossplane.io_repositorycredentials.yaml similarity index 98% rename from package/crds/tmc.crossplane.io_repository_credentials.yaml rename to package/crds/tmc.crossplane.io_repositorycredentials.yaml index cb8ec92..80b5abc 100644 --- a/package/crds/tmc.crossplane.io_repository_credentials.yaml +++ b/package/crds/tmc.crossplane.io_repositorycredentials.yaml @@ -5,7 +5,7 @@ metadata: annotations: controller-gen.kubebuilder.io/version: v0.11.3 creationTimestamp: null - name: repository_credentials.tmc.crossplane.io + name: repositorycredentials.tmc.crossplane.io spec: group: tmc.crossplane.io names: @@ -13,10 +13,10 @@ spec: - crossplane - managed - tmc - kind: Repository_Credential - listKind: Repository_CredentialList - plural: repository_credentials - singular: repository_credential + kind: RepositoryCredential + listKind: RepositoryCredentialList + plural: repositorycredentials + singular: repositorycredential scope: Cluster versions: - additionalPrinterColumns: @@ -35,7 +35,7 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: Repository_Credential is the Schema for the Repository_Credentials + description: RepositoryCredential is the Schema for the RepositoryCredentials API. properties: apiVersion: @@ -51,7 +51,7 @@ spec: metadata: type: object spec: - description: Repository_CredentialSpec defines the desired state of Repository_Credential + description: RepositoryCredentialSpec defines the desired state of RepositoryCredential properties: deletionPolicy: default: Delete @@ -396,8 +396,8 @@ spec: - 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. + description: RepositoryCredentialStatus defines the observed state of + RepositoryCredential. properties: atProvider: properties: diff --git a/package/crds/tmc.crossplane.io_security_policies.yaml b/package/crds/tmc.crossplane.io_securitypolicies.yaml similarity index 99% rename from package/crds/tmc.crossplane.io_security_policies.yaml rename to package/crds/tmc.crossplane.io_securitypolicies.yaml index 5c09a32..492571d 100644 --- a/package/crds/tmc.crossplane.io_security_policies.yaml +++ b/package/crds/tmc.crossplane.io_securitypolicies.yaml @@ -5,7 +5,7 @@ metadata: annotations: controller-gen.kubebuilder.io/version: v0.11.3 creationTimestamp: null - name: security_policies.tmc.crossplane.io + name: securitypolicies.tmc.crossplane.io spec: group: tmc.crossplane.io names: @@ -13,10 +13,10 @@ spec: - crossplane - managed - tmc - kind: Security_Policy - listKind: Security_PolicyList - plural: security_policies - singular: security_policy + kind: SecurityPolicy + listKind: SecurityPolicyList + plural: securitypolicies + singular: securitypolicy scope: Cluster versions: - additionalPrinterColumns: @@ -35,7 +35,7 @@ spec: name: v1alpha1 schema: openAPIV3Schema: - description: Security_Policy is the Schema for the Security_Policys API. properties: apiVersion: @@ -51,7 +51,7 @@ spec: metadata: type: object spec: - description: Security_PolicySpec defines the desired state of Security_Policy + description: SecurityPolicySpec defines the desired state of SecurityPolicy properties: deletionPolicy: default: Delete @@ -618,7 +618,7 @@ spec: - 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. + description: SecurityPolicyStatus defines the observed state of SecurityPolicy. properties: atProvider: properties: