diff --git a/exp/api/v1beta1/zz_generated.deepcopy.go b/exp/api/v1beta1/zz_generated.deepcopy.go index a261db319..cd10bbd19 100644 --- a/exp/api/v1beta1/zz_generated.deepcopy.go +++ b/exp/api/v1beta1/zz_generated.deepcopy.go @@ -27,6 +27,91 @@ import ( cluster_apiapiv1beta1 "sigs.k8s.io/cluster-api/api/v1beta1" ) +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AddonsConfig) DeepCopyInto(out *AddonsConfig) { + *out = *in + if in.DNSCacheConfig != nil { + in, out := &in.DNSCacheConfig, &out.DNSCacheConfig + *out = new(DNSCacheConfig) + **out = **in + } + if in.GcePersistentDiskCsiDriverConfig != nil { + in, out := &in.GcePersistentDiskCsiDriverConfig, &out.GcePersistentDiskCsiDriverConfig + *out = new(GcePersistentDiskCsiDriverConfig) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonsConfig. +func (in *AddonsConfig) DeepCopy() *AddonsConfig { + if in == nil { + return nil + } + out := new(AddonsConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DNSCacheConfig) DeepCopyInto(out *DNSCacheConfig) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSCacheConfig. +func (in *DNSCacheConfig) DeepCopy() *DNSCacheConfig { + if in == nil { + return nil + } + out := new(DNSCacheConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DNSConfig) DeepCopyInto(out *DNSConfig) { + *out = *in + if in.ClusterDNS != nil { + in, out := &in.ClusterDNS, &out.ClusterDNS + *out = new(ClusterDNS) + **out = **in + } + if in.ClusterDNSScope != nil { + in, out := &in.ClusterDNSScope, &out.ClusterDNSScope + *out = new(ClusterDNSScope) + **out = **in + } + if in.ClusterDNSDomain != nil { + in, out := &in.ClusterDNSDomain, &out.ClusterDNSDomain + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSConfig. +func (in *DNSConfig) DeepCopy() *DNSConfig { + if in == nil { + return nil + } + out := new(DNSConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DailyMaintenanceWindow) DeepCopyInto(out *DailyMaintenanceWindow) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DailyMaintenanceWindow. +func (in *DailyMaintenanceWindow) DeepCopy() *DailyMaintenanceWindow { + if in == nil { + return nil + } + out := new(DailyMaintenanceWindow) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *GCPManagedCluster) DeepCopyInto(out *GCPManagedCluster) { *out = *in @@ -207,6 +292,11 @@ func (in *GCPManagedControlPlaneList) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *GCPManagedControlPlaneSpec) DeepCopyInto(out *GCPManagedControlPlaneSpec) { *out = *in + if in.ClusterIpv4Cidr != nil { + in, out := &in.ClusterIpv4Cidr, &out.ClusterIpv4Cidr + *out = new(string) + **out = **in + } if in.ReleaseChannel != nil { in, out := &in.ReleaseChannel, &out.ReleaseChannel *out = new(ReleaseChannel) @@ -218,11 +308,36 @@ func (in *GCPManagedControlPlaneSpec) DeepCopyInto(out *GCPManagedControlPlaneSp **out = **in } out.Endpoint = in.Endpoint + if in.AddonsConfig != nil { + in, out := &in.AddonsConfig, &out.AddonsConfig + *out = new(AddonsConfig) + (*in).DeepCopyInto(*out) + } + if in.LoggingConfig != nil { + in, out := &in.LoggingConfig, &out.LoggingConfig + *out = new(LoggingConfig) + (*in).DeepCopyInto(*out) + } if in.MasterAuthorizedNetworksConfig != nil { in, out := &in.MasterAuthorizedNetworksConfig, &out.MasterAuthorizedNetworksConfig *out = new(MasterAuthorizedNetworksConfig) (*in).DeepCopyInto(*out) } + if in.NetworkConfig != nil { + in, out := &in.NetworkConfig, &out.NetworkConfig + *out = new(NetworkConfig) + (*in).DeepCopyInto(*out) + } + if in.PrivateClusterConfig != nil { + in, out := &in.PrivateClusterConfig, &out.PrivateClusterConfig + *out = new(PrivateClusterConfig) + (*in).DeepCopyInto(*out) + } + if in.WorkloadIdentityConfig != nil { + in, out := &in.WorkloadIdentityConfig, &out.WorkloadIdentityConfig + *out = new(WorkloadIdentityConfig) + **out = **in + } if in.ResourceLabels != nil { in, out := &in.ResourceLabels, &out.ResourceLabels *out = make(map[string]string, len(*in)) @@ -230,6 +345,26 @@ func (in *GCPManagedControlPlaneSpec) DeepCopyInto(out *GCPManagedControlPlaneSp (*out)[key] = val } } + if in.IPAllocationPolicy != nil { + in, out := &in.IPAllocationPolicy, &out.IPAllocationPolicy + *out = new(IPAllocationPolicy) + (*in).DeepCopyInto(*out) + } + if in.MaintenancePolicy != nil { + in, out := &in.MaintenancePolicy, &out.MaintenancePolicy + *out = new(MaintenancePolicy) + (*in).DeepCopyInto(*out) + } + if in.DefaultMaxPodsConstraint != nil { + in, out := &in.DefaultMaxPodsConstraint, &out.DefaultMaxPodsConstraint + *out = new(MaxPodsConstraint) + **out = **in + } + if in.ShieldedNodes != nil { + in, out := &in.ShieldedNodes, &out.ShieldedNodes + *out = new(ShieldedNodes) + **out = **in + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPManagedControlPlaneSpec. @@ -389,6 +524,121 @@ func (in *GCPManagedMachinePoolStatus) DeepCopy() *GCPManagedMachinePoolStatus { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GcePersistentDiskCsiDriverConfig) DeepCopyInto(out *GcePersistentDiskCsiDriverConfig) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GcePersistentDiskCsiDriverConfig. +func (in *GcePersistentDiskCsiDriverConfig) DeepCopy() *GcePersistentDiskCsiDriverConfig { + if in == nil { + return nil + } + out := new(GcePersistentDiskCsiDriverConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPAllocationPolicy) DeepCopyInto(out *IPAllocationPolicy) { + *out = *in + if in.UseIPAliases != nil { + in, out := &in.UseIPAliases, &out.UseIPAliases + *out = new(bool) + **out = **in + } + if in.ClusterSecondaryRangeName != nil { + in, out := &in.ClusterSecondaryRangeName, &out.ClusterSecondaryRangeName + *out = new(string) + **out = **in + } + if in.ServicesSecondaryRangeName != nil { + in, out := &in.ServicesSecondaryRangeName, &out.ServicesSecondaryRangeName + *out = new(string) + **out = **in + } + if in.ClusterIpv4CidrBlock != nil { + in, out := &in.ClusterIpv4CidrBlock, &out.ClusterIpv4CidrBlock + *out = new(string) + **out = **in + } + if in.ServicesIpv4CidrBlock != nil { + in, out := &in.ServicesIpv4CidrBlock, &out.ServicesIpv4CidrBlock + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAllocationPolicy. +func (in *IPAllocationPolicy) DeepCopy() *IPAllocationPolicy { + if in == nil { + return nil + } + out := new(IPAllocationPolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LoggingConfig) DeepCopyInto(out *LoggingConfig) { + *out = *in + if in.EnableComponents != nil { + in, out := &in.EnableComponents, &out.EnableComponents + *out = make([]LoggingComponent, len(*in)) + copy(*out, *in) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingConfig. +func (in *LoggingConfig) DeepCopy() *LoggingConfig { + if in == nil { + return nil + } + out := new(LoggingConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MaintenancePolicy) DeepCopyInto(out *MaintenancePolicy) { + *out = *in + if in.DailyMaintenanceWindow != nil { + in, out := &in.DailyMaintenanceWindow, &out.DailyMaintenanceWindow + *out = new(DailyMaintenanceWindow) + **out = **in + } + if in.RecurringMaintenanceWindow != nil { + in, out := &in.RecurringMaintenanceWindow, &out.RecurringMaintenanceWindow + *out = new(RecurringMaintenanceWindow) + (*in).DeepCopyInto(*out) + } + if in.MaintenanceExclusions != nil { + in, out := &in.MaintenanceExclusions, &out.MaintenanceExclusions + *out = make(map[string]*TimeWindow, len(*in)) + for key, val := range *in { + var outVal *TimeWindow + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(TimeWindow) + (*in).DeepCopyInto(*out) + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenancePolicy. +func (in *MaintenancePolicy) DeepCopy() *MaintenancePolicy { + if in == nil { + return nil + } + out := new(MaintenancePolicy) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MasterAuthorizedNetworksConfig) DeepCopyInto(out *MasterAuthorizedNetworksConfig) { *out = *in @@ -435,6 +685,46 @@ func (in *MasterAuthorizedNetworksConfigCidrBlock) DeepCopy() *MasterAuthorizedN return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MaxPodsConstraint) DeepCopyInto(out *MaxPodsConstraint) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaxPodsConstraint. +func (in *MaxPodsConstraint) DeepCopy() *MaxPodsConstraint { + if in == nil { + return nil + } + out := new(MaxPodsConstraint) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkConfig) DeepCopyInto(out *NetworkConfig) { + *out = *in + if in.DatapathProvider != nil { + in, out := &in.DatapathProvider, &out.DatapathProvider + *out = new(DatapathProvider) + **out = **in + } + if in.DNSConfig != nil { + in, out := &in.DNSConfig, &out.DNSConfig + *out = new(DNSConfig) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfig. +func (in *NetworkConfig) DeepCopy() *NetworkConfig { + if in == nil { + return nil + } + out := new(NetworkConfig) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NodePoolAutoScaling) DeepCopyInto(out *NodePoolAutoScaling) { *out = *in @@ -460,6 +750,71 @@ func (in *NodePoolAutoScaling) DeepCopy() *NodePoolAutoScaling { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateClusterConfig) DeepCopyInto(out *PrivateClusterConfig) { + *out = *in + if in.MasterIpv4CidrBlock != nil { + in, out := &in.MasterIpv4CidrBlock, &out.MasterIpv4CidrBlock + *out = new(string) + **out = **in + } + if in.PrivateClusterMasterGlobalAccessEnabled != nil { + in, out := &in.PrivateClusterMasterGlobalAccessEnabled, &out.PrivateClusterMasterGlobalAccessEnabled + *out = new(bool) + **out = **in + } + if in.PrivateEndpointSubnetwork != nil { + in, out := &in.PrivateEndpointSubnetwork, &out.PrivateEndpointSubnetwork + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateClusterConfig. +func (in *PrivateClusterConfig) DeepCopy() *PrivateClusterConfig { + if in == nil { + return nil + } + out := new(PrivateClusterConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecurringMaintenanceWindow) DeepCopyInto(out *RecurringMaintenanceWindow) { + *out = *in + if in.Window != nil { + in, out := &in.Window, &out.Window + *out = new(TimeWindow) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecurringMaintenanceWindow. +func (in *RecurringMaintenanceWindow) DeepCopy() *RecurringMaintenanceWindow { + if in == nil { + return nil + } + out := new(RecurringMaintenanceWindow) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShieldedNodes) DeepCopyInto(out *ShieldedNodes) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShieldedNodes. +func (in *ShieldedNodes) DeepCopy() *ShieldedNodes { + if in == nil { + return nil + } + out := new(ShieldedNodes) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Taint) DeepCopyInto(out *Taint) { *out = *in @@ -493,3 +848,38 @@ func (in Taints) DeepCopy() Taints { in.DeepCopyInto(out) return *out } + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeWindow) DeepCopyInto(out *TimeWindow) { + *out = *in + if in.MaintenanceExclusionOption != nil { + in, out := &in.MaintenanceExclusionOption, &out.MaintenanceExclusionOption + *out = new(MaintenanceExclusionOption) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeWindow. +func (in *TimeWindow) DeepCopy() *TimeWindow { + if in == nil { + return nil + } + out := new(TimeWindow) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkloadIdentityConfig) DeepCopyInto(out *WorkloadIdentityConfig) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadIdentityConfig. +func (in *WorkloadIdentityConfig) DeepCopy() *WorkloadIdentityConfig { + if in == nil { + return nil + } + out := new(WorkloadIdentityConfig) + in.DeepCopyInto(out) + return out +}