...

Source file src/github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/kms/v1beta1/zz_generated.deepcopy.go

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/kms/v1beta1

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  // Copyright 2020 Google LLC
     5  //
     6  // Licensed under the Apache License, Version 2.0 (the "License");
     7  // you may not use this file except in compliance with the License.
     8  // You may obtain a copy of the License at
     9  //
    10  //     http://www.apache.org/licenses/LICENSE-2.0
    11  //
    12  // Unless required by applicable law or agreed to in writing, software
    13  // distributed under the License is distributed on an "AS IS" BASIS,
    14  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    15  // See the License for the specific language governing permissions and
    16  // limitations under the License.
    17  
    18  // *** DISCLAIMER ***
    19  // Config Connector's go-client for CRDs is currently in ALPHA, which means
    20  // that future versions of the go-client may include breaking changes.
    21  // Please try it out and give us feedback!
    22  
    23  // Code generated by main. DO NOT EDIT.
    24  
    25  package v1beta1
    26  
    27  import (
    28  	v1alpha1 "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/k8s/v1alpha1"
    29  	runtime "k8s.io/apimachinery/pkg/runtime"
    30  )
    31  
    32  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    33  func (in *CryptokeyVersionTemplate) DeepCopyInto(out *CryptokeyVersionTemplate) {
    34  	*out = *in
    35  	if in.ProtectionLevel != nil {
    36  		in, out := &in.ProtectionLevel, &out.ProtectionLevel
    37  		*out = new(string)
    38  		**out = **in
    39  	}
    40  	return
    41  }
    42  
    43  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CryptokeyVersionTemplate.
    44  func (in *CryptokeyVersionTemplate) DeepCopy() *CryptokeyVersionTemplate {
    45  	if in == nil {
    46  		return nil
    47  	}
    48  	out := new(CryptokeyVersionTemplate)
    49  	in.DeepCopyInto(out)
    50  	return out
    51  }
    52  
    53  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    54  func (in *KMSCryptoKey) DeepCopyInto(out *KMSCryptoKey) {
    55  	*out = *in
    56  	out.TypeMeta = in.TypeMeta
    57  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    58  	in.Spec.DeepCopyInto(&out.Spec)
    59  	in.Status.DeepCopyInto(&out.Status)
    60  	return
    61  }
    62  
    63  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSCryptoKey.
    64  func (in *KMSCryptoKey) DeepCopy() *KMSCryptoKey {
    65  	if in == nil {
    66  		return nil
    67  	}
    68  	out := new(KMSCryptoKey)
    69  	in.DeepCopyInto(out)
    70  	return out
    71  }
    72  
    73  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    74  func (in *KMSCryptoKey) DeepCopyObject() runtime.Object {
    75  	if c := in.DeepCopy(); c != nil {
    76  		return c
    77  	}
    78  	return nil
    79  }
    80  
    81  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    82  func (in *KMSCryptoKeyList) DeepCopyInto(out *KMSCryptoKeyList) {
    83  	*out = *in
    84  	out.TypeMeta = in.TypeMeta
    85  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    86  	if in.Items != nil {
    87  		in, out := &in.Items, &out.Items
    88  		*out = make([]KMSCryptoKey, len(*in))
    89  		for i := range *in {
    90  			(*in)[i].DeepCopyInto(&(*out)[i])
    91  		}
    92  	}
    93  	return
    94  }
    95  
    96  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSCryptoKeyList.
    97  func (in *KMSCryptoKeyList) DeepCopy() *KMSCryptoKeyList {
    98  	if in == nil {
    99  		return nil
   100  	}
   101  	out := new(KMSCryptoKeyList)
   102  	in.DeepCopyInto(out)
   103  	return out
   104  }
   105  
   106  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   107  func (in *KMSCryptoKeyList) DeepCopyObject() runtime.Object {
   108  	if c := in.DeepCopy(); c != nil {
   109  		return c
   110  	}
   111  	return nil
   112  }
   113  
   114  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   115  func (in *KMSCryptoKeySpec) DeepCopyInto(out *KMSCryptoKeySpec) {
   116  	*out = *in
   117  	if in.DestroyScheduledDuration != nil {
   118  		in, out := &in.DestroyScheduledDuration, &out.DestroyScheduledDuration
   119  		*out = new(string)
   120  		**out = **in
   121  	}
   122  	if in.ImportOnly != nil {
   123  		in, out := &in.ImportOnly, &out.ImportOnly
   124  		*out = new(bool)
   125  		**out = **in
   126  	}
   127  	out.KeyRingRef = in.KeyRingRef
   128  	if in.Purpose != nil {
   129  		in, out := &in.Purpose, &out.Purpose
   130  		*out = new(string)
   131  		**out = **in
   132  	}
   133  	if in.ResourceID != nil {
   134  		in, out := &in.ResourceID, &out.ResourceID
   135  		*out = new(string)
   136  		**out = **in
   137  	}
   138  	if in.RotationPeriod != nil {
   139  		in, out := &in.RotationPeriod, &out.RotationPeriod
   140  		*out = new(string)
   141  		**out = **in
   142  	}
   143  	if in.SkipInitialVersionCreation != nil {
   144  		in, out := &in.SkipInitialVersionCreation, &out.SkipInitialVersionCreation
   145  		*out = new(bool)
   146  		**out = **in
   147  	}
   148  	if in.VersionTemplate != nil {
   149  		in, out := &in.VersionTemplate, &out.VersionTemplate
   150  		*out = new(CryptokeyVersionTemplate)
   151  		(*in).DeepCopyInto(*out)
   152  	}
   153  	return
   154  }
   155  
   156  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSCryptoKeySpec.
   157  func (in *KMSCryptoKeySpec) DeepCopy() *KMSCryptoKeySpec {
   158  	if in == nil {
   159  		return nil
   160  	}
   161  	out := new(KMSCryptoKeySpec)
   162  	in.DeepCopyInto(out)
   163  	return out
   164  }
   165  
   166  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   167  func (in *KMSCryptoKeyStatus) DeepCopyInto(out *KMSCryptoKeyStatus) {
   168  	*out = *in
   169  	if in.Conditions != nil {
   170  		in, out := &in.Conditions, &out.Conditions
   171  		*out = make([]v1alpha1.Condition, len(*in))
   172  		copy(*out, *in)
   173  	}
   174  	if in.ObservedGeneration != nil {
   175  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   176  		*out = new(int)
   177  		**out = **in
   178  	}
   179  	if in.SelfLink != nil {
   180  		in, out := &in.SelfLink, &out.SelfLink
   181  		*out = new(string)
   182  		**out = **in
   183  	}
   184  	return
   185  }
   186  
   187  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSCryptoKeyStatus.
   188  func (in *KMSCryptoKeyStatus) DeepCopy() *KMSCryptoKeyStatus {
   189  	if in == nil {
   190  		return nil
   191  	}
   192  	out := new(KMSCryptoKeyStatus)
   193  	in.DeepCopyInto(out)
   194  	return out
   195  }
   196  
   197  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   198  func (in *KMSKeyRing) DeepCopyInto(out *KMSKeyRing) {
   199  	*out = *in
   200  	out.TypeMeta = in.TypeMeta
   201  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   202  	in.Spec.DeepCopyInto(&out.Spec)
   203  	in.Status.DeepCopyInto(&out.Status)
   204  	return
   205  }
   206  
   207  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyRing.
   208  func (in *KMSKeyRing) DeepCopy() *KMSKeyRing {
   209  	if in == nil {
   210  		return nil
   211  	}
   212  	out := new(KMSKeyRing)
   213  	in.DeepCopyInto(out)
   214  	return out
   215  }
   216  
   217  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   218  func (in *KMSKeyRing) DeepCopyObject() runtime.Object {
   219  	if c := in.DeepCopy(); c != nil {
   220  		return c
   221  	}
   222  	return nil
   223  }
   224  
   225  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   226  func (in *KMSKeyRingList) DeepCopyInto(out *KMSKeyRingList) {
   227  	*out = *in
   228  	out.TypeMeta = in.TypeMeta
   229  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   230  	if in.Items != nil {
   231  		in, out := &in.Items, &out.Items
   232  		*out = make([]KMSKeyRing, len(*in))
   233  		for i := range *in {
   234  			(*in)[i].DeepCopyInto(&(*out)[i])
   235  		}
   236  	}
   237  	return
   238  }
   239  
   240  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyRingList.
   241  func (in *KMSKeyRingList) DeepCopy() *KMSKeyRingList {
   242  	if in == nil {
   243  		return nil
   244  	}
   245  	out := new(KMSKeyRingList)
   246  	in.DeepCopyInto(out)
   247  	return out
   248  }
   249  
   250  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   251  func (in *KMSKeyRingList) DeepCopyObject() runtime.Object {
   252  	if c := in.DeepCopy(); c != nil {
   253  		return c
   254  	}
   255  	return nil
   256  }
   257  
   258  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   259  func (in *KMSKeyRingSpec) DeepCopyInto(out *KMSKeyRingSpec) {
   260  	*out = *in
   261  	if in.ResourceID != nil {
   262  		in, out := &in.ResourceID, &out.ResourceID
   263  		*out = new(string)
   264  		**out = **in
   265  	}
   266  	return
   267  }
   268  
   269  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyRingSpec.
   270  func (in *KMSKeyRingSpec) DeepCopy() *KMSKeyRingSpec {
   271  	if in == nil {
   272  		return nil
   273  	}
   274  	out := new(KMSKeyRingSpec)
   275  	in.DeepCopyInto(out)
   276  	return out
   277  }
   278  
   279  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   280  func (in *KMSKeyRingStatus) DeepCopyInto(out *KMSKeyRingStatus) {
   281  	*out = *in
   282  	if in.Conditions != nil {
   283  		in, out := &in.Conditions, &out.Conditions
   284  		*out = make([]v1alpha1.Condition, len(*in))
   285  		copy(*out, *in)
   286  	}
   287  	if in.ObservedGeneration != nil {
   288  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   289  		*out = new(int)
   290  		**out = **in
   291  	}
   292  	if in.SelfLink != nil {
   293  		in, out := &in.SelfLink, &out.SelfLink
   294  		*out = new(string)
   295  		**out = **in
   296  	}
   297  	return
   298  }
   299  
   300  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyRingStatus.
   301  func (in *KMSKeyRingStatus) DeepCopy() *KMSKeyRingStatus {
   302  	if in == nil {
   303  		return nil
   304  	}
   305  	out := new(KMSKeyRingStatus)
   306  	in.DeepCopyInto(out)
   307  	return out
   308  }
   309  

View as plain text