...

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

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/securitycenter/v1alpha1

     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 v1alpha1
    26  
    27  import (
    28  	k8sv1alpha1 "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 *NotificationconfigStreamingConfig) DeepCopyInto(out *NotificationconfigStreamingConfig) {
    34  	*out = *in
    35  	return
    36  }
    37  
    38  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationconfigStreamingConfig.
    39  func (in *NotificationconfigStreamingConfig) DeepCopy() *NotificationconfigStreamingConfig {
    40  	if in == nil {
    41  		return nil
    42  	}
    43  	out := new(NotificationconfigStreamingConfig)
    44  	in.DeepCopyInto(out)
    45  	return out
    46  }
    47  
    48  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    49  func (in *SecurityCenterNotificationConfig) DeepCopyInto(out *SecurityCenterNotificationConfig) {
    50  	*out = *in
    51  	out.TypeMeta = in.TypeMeta
    52  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    53  	in.Spec.DeepCopyInto(&out.Spec)
    54  	in.Status.DeepCopyInto(&out.Status)
    55  	return
    56  }
    57  
    58  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityCenterNotificationConfig.
    59  func (in *SecurityCenterNotificationConfig) DeepCopy() *SecurityCenterNotificationConfig {
    60  	if in == nil {
    61  		return nil
    62  	}
    63  	out := new(SecurityCenterNotificationConfig)
    64  	in.DeepCopyInto(out)
    65  	return out
    66  }
    67  
    68  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    69  func (in *SecurityCenterNotificationConfig) DeepCopyObject() runtime.Object {
    70  	if c := in.DeepCopy(); c != nil {
    71  		return c
    72  	}
    73  	return nil
    74  }
    75  
    76  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    77  func (in *SecurityCenterNotificationConfigList) DeepCopyInto(out *SecurityCenterNotificationConfigList) {
    78  	*out = *in
    79  	out.TypeMeta = in.TypeMeta
    80  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    81  	if in.Items != nil {
    82  		in, out := &in.Items, &out.Items
    83  		*out = make([]SecurityCenterNotificationConfig, len(*in))
    84  		for i := range *in {
    85  			(*in)[i].DeepCopyInto(&(*out)[i])
    86  		}
    87  	}
    88  	return
    89  }
    90  
    91  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityCenterNotificationConfigList.
    92  func (in *SecurityCenterNotificationConfigList) DeepCopy() *SecurityCenterNotificationConfigList {
    93  	if in == nil {
    94  		return nil
    95  	}
    96  	out := new(SecurityCenterNotificationConfigList)
    97  	in.DeepCopyInto(out)
    98  	return out
    99  }
   100  
   101  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   102  func (in *SecurityCenterNotificationConfigList) DeepCopyObject() runtime.Object {
   103  	if c := in.DeepCopy(); c != nil {
   104  		return c
   105  	}
   106  	return nil
   107  }
   108  
   109  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   110  func (in *SecurityCenterNotificationConfigSpec) DeepCopyInto(out *SecurityCenterNotificationConfigSpec) {
   111  	*out = *in
   112  	if in.Description != nil {
   113  		in, out := &in.Description, &out.Description
   114  		*out = new(string)
   115  		**out = **in
   116  	}
   117  	out.OrganizationRef = in.OrganizationRef
   118  	if in.ResourceID != nil {
   119  		in, out := &in.ResourceID, &out.ResourceID
   120  		*out = new(string)
   121  		**out = **in
   122  	}
   123  	out.StreamingConfig = in.StreamingConfig
   124  	return
   125  }
   126  
   127  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityCenterNotificationConfigSpec.
   128  func (in *SecurityCenterNotificationConfigSpec) DeepCopy() *SecurityCenterNotificationConfigSpec {
   129  	if in == nil {
   130  		return nil
   131  	}
   132  	out := new(SecurityCenterNotificationConfigSpec)
   133  	in.DeepCopyInto(out)
   134  	return out
   135  }
   136  
   137  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   138  func (in *SecurityCenterNotificationConfigStatus) DeepCopyInto(out *SecurityCenterNotificationConfigStatus) {
   139  	*out = *in
   140  	if in.Conditions != nil {
   141  		in, out := &in.Conditions, &out.Conditions
   142  		*out = make([]k8sv1alpha1.Condition, len(*in))
   143  		copy(*out, *in)
   144  	}
   145  	if in.Name != nil {
   146  		in, out := &in.Name, &out.Name
   147  		*out = new(string)
   148  		**out = **in
   149  	}
   150  	if in.ObservedGeneration != nil {
   151  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   152  		*out = new(int)
   153  		**out = **in
   154  	}
   155  	if in.ServiceAccount != nil {
   156  		in, out := &in.ServiceAccount, &out.ServiceAccount
   157  		*out = new(string)
   158  		**out = **in
   159  	}
   160  	return
   161  }
   162  
   163  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityCenterNotificationConfigStatus.
   164  func (in *SecurityCenterNotificationConfigStatus) DeepCopy() *SecurityCenterNotificationConfigStatus {
   165  	if in == nil {
   166  		return nil
   167  	}
   168  	out := new(SecurityCenterNotificationConfigStatus)
   169  	in.DeepCopyInto(out)
   170  	return out
   171  }
   172  
   173  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   174  func (in *SecurityCenterSource) DeepCopyInto(out *SecurityCenterSource) {
   175  	*out = *in
   176  	out.TypeMeta = in.TypeMeta
   177  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   178  	in.Spec.DeepCopyInto(&out.Spec)
   179  	in.Status.DeepCopyInto(&out.Status)
   180  	return
   181  }
   182  
   183  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityCenterSource.
   184  func (in *SecurityCenterSource) DeepCopy() *SecurityCenterSource {
   185  	if in == nil {
   186  		return nil
   187  	}
   188  	out := new(SecurityCenterSource)
   189  	in.DeepCopyInto(out)
   190  	return out
   191  }
   192  
   193  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   194  func (in *SecurityCenterSource) DeepCopyObject() runtime.Object {
   195  	if c := in.DeepCopy(); c != nil {
   196  		return c
   197  	}
   198  	return nil
   199  }
   200  
   201  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   202  func (in *SecurityCenterSourceList) DeepCopyInto(out *SecurityCenterSourceList) {
   203  	*out = *in
   204  	out.TypeMeta = in.TypeMeta
   205  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   206  	if in.Items != nil {
   207  		in, out := &in.Items, &out.Items
   208  		*out = make([]SecurityCenterSource, len(*in))
   209  		for i := range *in {
   210  			(*in)[i].DeepCopyInto(&(*out)[i])
   211  		}
   212  	}
   213  	return
   214  }
   215  
   216  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityCenterSourceList.
   217  func (in *SecurityCenterSourceList) DeepCopy() *SecurityCenterSourceList {
   218  	if in == nil {
   219  		return nil
   220  	}
   221  	out := new(SecurityCenterSourceList)
   222  	in.DeepCopyInto(out)
   223  	return out
   224  }
   225  
   226  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   227  func (in *SecurityCenterSourceList) DeepCopyObject() runtime.Object {
   228  	if c := in.DeepCopy(); c != nil {
   229  		return c
   230  	}
   231  	return nil
   232  }
   233  
   234  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   235  func (in *SecurityCenterSourceSpec) DeepCopyInto(out *SecurityCenterSourceSpec) {
   236  	*out = *in
   237  	if in.Description != nil {
   238  		in, out := &in.Description, &out.Description
   239  		*out = new(string)
   240  		**out = **in
   241  	}
   242  	out.OrganizationRef = in.OrganizationRef
   243  	if in.ResourceID != nil {
   244  		in, out := &in.ResourceID, &out.ResourceID
   245  		*out = new(string)
   246  		**out = **in
   247  	}
   248  	return
   249  }
   250  
   251  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityCenterSourceSpec.
   252  func (in *SecurityCenterSourceSpec) DeepCopy() *SecurityCenterSourceSpec {
   253  	if in == nil {
   254  		return nil
   255  	}
   256  	out := new(SecurityCenterSourceSpec)
   257  	in.DeepCopyInto(out)
   258  	return out
   259  }
   260  
   261  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   262  func (in *SecurityCenterSourceStatus) DeepCopyInto(out *SecurityCenterSourceStatus) {
   263  	*out = *in
   264  	if in.Conditions != nil {
   265  		in, out := &in.Conditions, &out.Conditions
   266  		*out = make([]k8sv1alpha1.Condition, len(*in))
   267  		copy(*out, *in)
   268  	}
   269  	if in.Name != nil {
   270  		in, out := &in.Name, &out.Name
   271  		*out = new(string)
   272  		**out = **in
   273  	}
   274  	if in.ObservedGeneration != nil {
   275  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   276  		*out = new(int)
   277  		**out = **in
   278  	}
   279  	return
   280  }
   281  
   282  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityCenterSourceStatus.
   283  func (in *SecurityCenterSourceStatus) DeepCopy() *SecurityCenterSourceStatus {
   284  	if in == nil {
   285  		return nil
   286  	}
   287  	out := new(SecurityCenterSourceStatus)
   288  	in.DeepCopyInto(out)
   289  	return out
   290  }
   291  

View as plain text