sigs.k8s.io/cluster-api-provider-aws@v1.5.5/iam/api/v1beta1/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright The Kubernetes Authors.
     6  
     7  Licensed under the Apache License, Version 2.0 (the "License");
     8  you may not use this file except in compliance with the License.
     9  You may obtain a copy of the License at
    10  
    11  	http://www.apache.org/licenses/LICENSE-2.0
    12  
    13  Unless required by applicable law or agreed to in writing, software
    14  distributed under the License is distributed on an "AS IS" BASIS,
    15  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    16  See the License for the specific language governing permissions and
    17  limitations under the License.
    18  */
    19  
    20  // Code generated by controller-gen. DO NOT EDIT.
    21  
    22  package v1beta1
    23  
    24  import ()
    25  
    26  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    27  func (in Actions) DeepCopyInto(out *Actions) {
    28  	{
    29  		in := &in
    30  		*out = make(Actions, len(*in))
    31  		copy(*out, *in)
    32  	}
    33  }
    34  
    35  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Actions.
    36  func (in Actions) DeepCopy() Actions {
    37  	if in == nil {
    38  		return nil
    39  	}
    40  	out := new(Actions)
    41  	in.DeepCopyInto(out)
    42  	return *out
    43  }
    44  
    45  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    46  func (in *PolicyDocument) DeepCopyInto(out *PolicyDocument) {
    47  	*out = *in
    48  	if in.Statement != nil {
    49  		in, out := &in.Statement, &out.Statement
    50  		*out = make(Statements, len(*in))
    51  		for i := range *in {
    52  			(*in)[i].DeepCopyInto(&(*out)[i])
    53  		}
    54  	}
    55  }
    56  
    57  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyDocument.
    58  func (in *PolicyDocument) DeepCopy() *PolicyDocument {
    59  	if in == nil {
    60  		return nil
    61  	}
    62  	out := new(PolicyDocument)
    63  	in.DeepCopyInto(out)
    64  	return out
    65  }
    66  
    67  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    68  func (in PrincipalID) DeepCopyInto(out *PrincipalID) {
    69  	{
    70  		in := &in
    71  		*out = make(PrincipalID, len(*in))
    72  		copy(*out, *in)
    73  	}
    74  }
    75  
    76  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrincipalID.
    77  func (in PrincipalID) DeepCopy() PrincipalID {
    78  	if in == nil {
    79  		return nil
    80  	}
    81  	out := new(PrincipalID)
    82  	in.DeepCopyInto(out)
    83  	return *out
    84  }
    85  
    86  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    87  func (in Principals) DeepCopyInto(out *Principals) {
    88  	{
    89  		in := &in
    90  		*out = make(Principals, len(*in))
    91  		for key, val := range *in {
    92  			var outVal []string
    93  			if val == nil {
    94  				(*out)[key] = nil
    95  			} else {
    96  				in, out := &val, &outVal
    97  				*out = make(PrincipalID, len(*in))
    98  				copy(*out, *in)
    99  			}
   100  			(*out)[key] = outVal
   101  		}
   102  	}
   103  }
   104  
   105  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Principals.
   106  func (in Principals) DeepCopy() Principals {
   107  	if in == nil {
   108  		return nil
   109  	}
   110  	out := new(Principals)
   111  	in.DeepCopyInto(out)
   112  	return *out
   113  }
   114  
   115  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   116  func (in Resources) DeepCopyInto(out *Resources) {
   117  	{
   118  		in := &in
   119  		*out = make(Resources, len(*in))
   120  		copy(*out, *in)
   121  	}
   122  }
   123  
   124  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources.
   125  func (in Resources) DeepCopy() Resources {
   126  	if in == nil {
   127  		return nil
   128  	}
   129  	out := new(Resources)
   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 *StatementEntry) DeepCopyInto(out *StatementEntry) {
   136  	*out = *in
   137  	if in.Principal != nil {
   138  		in, out := &in.Principal, &out.Principal
   139  		*out = make(Principals, len(*in))
   140  		for key, val := range *in {
   141  			var outVal []string
   142  			if val == nil {
   143  				(*out)[key] = nil
   144  			} else {
   145  				in, out := &val, &outVal
   146  				*out = make(PrincipalID, len(*in))
   147  				copy(*out, *in)
   148  			}
   149  			(*out)[key] = outVal
   150  		}
   151  	}
   152  	if in.NotPrincipal != nil {
   153  		in, out := &in.NotPrincipal, &out.NotPrincipal
   154  		*out = make(Principals, len(*in))
   155  		for key, val := range *in {
   156  			var outVal []string
   157  			if val == nil {
   158  				(*out)[key] = nil
   159  			} else {
   160  				in, out := &val, &outVal
   161  				*out = make(PrincipalID, len(*in))
   162  				copy(*out, *in)
   163  			}
   164  			(*out)[key] = outVal
   165  		}
   166  	}
   167  	if in.Action != nil {
   168  		in, out := &in.Action, &out.Action
   169  		*out = make(Actions, len(*in))
   170  		copy(*out, *in)
   171  	}
   172  	if in.Resource != nil {
   173  		in, out := &in.Resource, &out.Resource
   174  		*out = make(Resources, len(*in))
   175  		copy(*out, *in)
   176  	}
   177  	out.Condition = in.Condition.DeepCopy()
   178  }
   179  
   180  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatementEntry.
   181  func (in *StatementEntry) DeepCopy() *StatementEntry {
   182  	if in == nil {
   183  		return nil
   184  	}
   185  	out := new(StatementEntry)
   186  	in.DeepCopyInto(out)
   187  	return out
   188  }
   189  
   190  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   191  func (in Statements) DeepCopyInto(out *Statements) {
   192  	{
   193  		in := &in
   194  		*out = make(Statements, len(*in))
   195  		for i := range *in {
   196  			(*in)[i].DeepCopyInto(&(*out)[i])
   197  		}
   198  	}
   199  }
   200  
   201  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Statements.
   202  func (in Statements) DeepCopy() Statements {
   203  	if in == nil {
   204  		return nil
   205  	}
   206  	out := new(Statements)
   207  	in.DeepCopyInto(out)
   208  	return *out
   209  }