open-cluster-management.io/governance-policy-propagator@v0.13.0/api/v1beta1/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  
     3  // Copyright (c) 2021 Red Hat, Inc.
     4  // Copyright Contributors to the Open Cluster Management project
     5  
     6  // Code generated by controller-gen. DO NOT EDIT.
     7  
     8  package v1beta1
     9  
    10  import (
    11  	"k8s.io/apimachinery/pkg/runtime"
    12  )
    13  
    14  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    15  func (in *AutomationDef) DeepCopyInto(out *AutomationDef) {
    16  	*out = *in
    17  	if in.ExtraVars != nil {
    18  		in, out := &in.ExtraVars, &out.ExtraVars
    19  		*out = new(runtime.RawExtension)
    20  		(*in).DeepCopyInto(*out)
    21  	}
    22  	if in.JobTTL != nil {
    23  		in, out := &in.JobTTL, &out.JobTTL
    24  		*out = new(int)
    25  		**out = **in
    26  	}
    27  	if in.PolicyViolationsLimit != nil {
    28  		in, out := &in.PolicyViolationsLimit, &out.PolicyViolationsLimit
    29  		*out = new(uint)
    30  		**out = **in
    31  	}
    32  }
    33  
    34  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomationDef.
    35  func (in *AutomationDef) DeepCopy() *AutomationDef {
    36  	if in == nil {
    37  		return nil
    38  	}
    39  	out := new(AutomationDef)
    40  	in.DeepCopyInto(out)
    41  	return out
    42  }
    43  
    44  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    45  func (in *ClusterEvent) DeepCopyInto(out *ClusterEvent) {
    46  	*out = *in
    47  }
    48  
    49  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterEvent.
    50  func (in *ClusterEvent) DeepCopy() *ClusterEvent {
    51  	if in == nil {
    52  		return nil
    53  	}
    54  	out := new(ClusterEvent)
    55  	in.DeepCopyInto(out)
    56  	return out
    57  }
    58  
    59  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    60  func (in *PolicyAutomation) DeepCopyInto(out *PolicyAutomation) {
    61  	*out = *in
    62  	out.TypeMeta = in.TypeMeta
    63  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    64  	in.Spec.DeepCopyInto(&out.Spec)
    65  	in.Status.DeepCopyInto(&out.Status)
    66  }
    67  
    68  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAutomation.
    69  func (in *PolicyAutomation) DeepCopy() *PolicyAutomation {
    70  	if in == nil {
    71  		return nil
    72  	}
    73  	out := new(PolicyAutomation)
    74  	in.DeepCopyInto(out)
    75  	return out
    76  }
    77  
    78  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    79  func (in *PolicyAutomation) DeepCopyObject() runtime.Object {
    80  	if c := in.DeepCopy(); c != nil {
    81  		return c
    82  	}
    83  	return nil
    84  }
    85  
    86  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    87  func (in *PolicyAutomationList) DeepCopyInto(out *PolicyAutomationList) {
    88  	*out = *in
    89  	out.TypeMeta = in.TypeMeta
    90  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    91  	if in.Items != nil {
    92  		in, out := &in.Items, &out.Items
    93  		*out = make([]PolicyAutomation, len(*in))
    94  		for i := range *in {
    95  			(*in)[i].DeepCopyInto(&(*out)[i])
    96  		}
    97  	}
    98  }
    99  
   100  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAutomationList.
   101  func (in *PolicyAutomationList) DeepCopy() *PolicyAutomationList {
   102  	if in == nil {
   103  		return nil
   104  	}
   105  	out := new(PolicyAutomationList)
   106  	in.DeepCopyInto(out)
   107  	return out
   108  }
   109  
   110  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   111  func (in *PolicyAutomationList) DeepCopyObject() runtime.Object {
   112  	if c := in.DeepCopy(); c != nil {
   113  		return c
   114  	}
   115  	return nil
   116  }
   117  
   118  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   119  func (in *PolicyAutomationSpec) DeepCopyInto(out *PolicyAutomationSpec) {
   120  	*out = *in
   121  	in.Automation.DeepCopyInto(&out.Automation)
   122  }
   123  
   124  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAutomationSpec.
   125  func (in *PolicyAutomationSpec) DeepCopy() *PolicyAutomationSpec {
   126  	if in == nil {
   127  		return nil
   128  	}
   129  	out := new(PolicyAutomationSpec)
   130  	in.DeepCopyInto(out)
   131  	return out
   132  }
   133  
   134  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   135  func (in *PolicyAutomationStatus) DeepCopyInto(out *PolicyAutomationStatus) {
   136  	*out = *in
   137  	if in.ClustersWithEvent != nil {
   138  		in, out := &in.ClustersWithEvent, &out.ClustersWithEvent
   139  		*out = make(map[string]ClusterEvent, len(*in))
   140  		for key, val := range *in {
   141  			(*out)[key] = val
   142  		}
   143  	}
   144  }
   145  
   146  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAutomationStatus.
   147  func (in *PolicyAutomationStatus) DeepCopy() *PolicyAutomationStatus {
   148  	if in == nil {
   149  		return nil
   150  	}
   151  	out := new(PolicyAutomationStatus)
   152  	in.DeepCopyInto(out)
   153  	return out
   154  }
   155  
   156  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   157  func (in *PolicySet) DeepCopyInto(out *PolicySet) {
   158  	*out = *in
   159  	out.TypeMeta = in.TypeMeta
   160  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   161  	in.Spec.DeepCopyInto(&out.Spec)
   162  	in.Status.DeepCopyInto(&out.Status)
   163  }
   164  
   165  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySet.
   166  func (in *PolicySet) DeepCopy() *PolicySet {
   167  	if in == nil {
   168  		return nil
   169  	}
   170  	out := new(PolicySet)
   171  	in.DeepCopyInto(out)
   172  	return out
   173  }
   174  
   175  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   176  func (in *PolicySet) DeepCopyObject() runtime.Object {
   177  	if c := in.DeepCopy(); c != nil {
   178  		return c
   179  	}
   180  	return nil
   181  }
   182  
   183  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   184  func (in *PolicySetList) DeepCopyInto(out *PolicySetList) {
   185  	*out = *in
   186  	out.TypeMeta = in.TypeMeta
   187  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   188  	if in.Items != nil {
   189  		in, out := &in.Items, &out.Items
   190  		*out = make([]PolicySet, len(*in))
   191  		for i := range *in {
   192  			(*in)[i].DeepCopyInto(&(*out)[i])
   193  		}
   194  	}
   195  }
   196  
   197  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySetList.
   198  func (in *PolicySetList) DeepCopy() *PolicySetList {
   199  	if in == nil {
   200  		return nil
   201  	}
   202  	out := new(PolicySetList)
   203  	in.DeepCopyInto(out)
   204  	return out
   205  }
   206  
   207  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   208  func (in *PolicySetList) DeepCopyObject() runtime.Object {
   209  	if c := in.DeepCopy(); c != nil {
   210  		return c
   211  	}
   212  	return nil
   213  }
   214  
   215  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   216  func (in *PolicySetSpec) DeepCopyInto(out *PolicySetSpec) {
   217  	*out = *in
   218  	if in.Policies != nil {
   219  		in, out := &in.Policies, &out.Policies
   220  		*out = make([]NonEmptyString, len(*in))
   221  		copy(*out, *in)
   222  	}
   223  }
   224  
   225  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySetSpec.
   226  func (in *PolicySetSpec) DeepCopy() *PolicySetSpec {
   227  	if in == nil {
   228  		return nil
   229  	}
   230  	out := new(PolicySetSpec)
   231  	in.DeepCopyInto(out)
   232  	return out
   233  }
   234  
   235  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   236  func (in *PolicySetStatus) DeepCopyInto(out *PolicySetStatus) {
   237  	*out = *in
   238  	if in.Placement != nil {
   239  		in, out := &in.Placement, &out.Placement
   240  		*out = make([]PolicySetStatusPlacement, len(*in))
   241  		copy(*out, *in)
   242  	}
   243  }
   244  
   245  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySetStatus.
   246  func (in *PolicySetStatus) DeepCopy() *PolicySetStatus {
   247  	if in == nil {
   248  		return nil
   249  	}
   250  	out := new(PolicySetStatus)
   251  	in.DeepCopyInto(out)
   252  	return out
   253  }
   254  
   255  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   256  func (in *PolicySetStatusPlacement) DeepCopyInto(out *PolicySetStatusPlacement) {
   257  	*out = *in
   258  }
   259  
   260  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySetStatusPlacement.
   261  func (in *PolicySetStatusPlacement) DeepCopy() *PolicySetStatusPlacement {
   262  	if in == nil {
   263  		return nil
   264  	}
   265  	out := new(PolicySetStatusPlacement)
   266  	in.DeepCopyInto(out)
   267  	return out
   268  }
   269  
   270  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   271  func (in *ReplicatedComplianceHistory) DeepCopyInto(out *ReplicatedComplianceHistory) {
   272  	*out = *in
   273  	in.LastTimestamp.DeepCopyInto(&out.LastTimestamp)
   274  }
   275  
   276  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicatedComplianceHistory.
   277  func (in *ReplicatedComplianceHistory) DeepCopy() *ReplicatedComplianceHistory {
   278  	if in == nil {
   279  		return nil
   280  	}
   281  	out := new(ReplicatedComplianceHistory)
   282  	in.DeepCopyInto(out)
   283  	return out
   284  }
   285  
   286  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   287  func (in *ReplicatedDetailsPerTemplate) DeepCopyInto(out *ReplicatedDetailsPerTemplate) {
   288  	*out = *in
   289  	if in.History != nil {
   290  		in, out := &in.History, &out.History
   291  		*out = make([]ReplicatedComplianceHistory, len(*in))
   292  		for i := range *in {
   293  			(*in)[i].DeepCopyInto(&(*out)[i])
   294  		}
   295  	}
   296  }
   297  
   298  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicatedDetailsPerTemplate.
   299  func (in *ReplicatedDetailsPerTemplate) DeepCopy() *ReplicatedDetailsPerTemplate {
   300  	if in == nil {
   301  		return nil
   302  	}
   303  	out := new(ReplicatedDetailsPerTemplate)
   304  	in.DeepCopyInto(out)
   305  	return out
   306  }
   307  
   308  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   309  func (in *ReplicatedPolicyStatus) DeepCopyInto(out *ReplicatedPolicyStatus) {
   310  	*out = *in
   311  	if in.Details != nil {
   312  		in, out := &in.Details, &out.Details
   313  		*out = make([]ReplicatedDetailsPerTemplate, len(*in))
   314  		for i := range *in {
   315  			(*in)[i].DeepCopyInto(&(*out)[i])
   316  		}
   317  	}
   318  }
   319  
   320  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicatedPolicyStatus.
   321  func (in *ReplicatedPolicyStatus) DeepCopy() *ReplicatedPolicyStatus {
   322  	if in == nil {
   323  		return nil
   324  	}
   325  	out := new(ReplicatedPolicyStatus)
   326  	in.DeepCopyInto(out)
   327  	return out
   328  }
   329  
   330  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   331  func (in *ViolationContext) DeepCopyInto(out *ViolationContext) {
   332  	*out = *in
   333  	if in.TargetClusters != nil {
   334  		in, out := &in.TargetClusters, &out.TargetClusters
   335  		*out = make([]string, len(*in))
   336  		copy(*out, *in)
   337  	}
   338  	if in.PolicySets != nil {
   339  		in, out := &in.PolicySets, &out.PolicySets
   340  		*out = make([]string, len(*in))
   341  		copy(*out, *in)
   342  	}
   343  	if in.PolicyViolations != nil {
   344  		in, out := &in.PolicyViolations, &out.PolicyViolations
   345  		*out = make(map[string]ReplicatedPolicyStatus, len(*in))
   346  		for key, val := range *in {
   347  			(*out)[key] = *val.DeepCopy()
   348  		}
   349  	}
   350  }
   351  
   352  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ViolationContext.
   353  func (in *ViolationContext) DeepCopy() *ViolationContext {
   354  	if in == nil {
   355  		return nil
   356  	}
   357  	out := new(ViolationContext)
   358  	in.DeepCopyInto(out)
   359  	return out
   360  }