...

Source file src/k8s.io/kubernetes/pkg/apis/abac/zz_generated.deepcopy.go

Documentation: k8s.io/kubernetes/pkg/apis/abac

     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 deepcopy-gen. DO NOT EDIT.
    21  
    22  package abac
    23  
    24  import (
    25  	runtime "k8s.io/apimachinery/pkg/runtime"
    26  )
    27  
    28  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    29  func (in *Policy) DeepCopyInto(out *Policy) {
    30  	*out = *in
    31  	out.TypeMeta = in.TypeMeta
    32  	out.Spec = in.Spec
    33  	return
    34  }
    35  
    36  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
    37  func (in *Policy) DeepCopy() *Policy {
    38  	if in == nil {
    39  		return nil
    40  	}
    41  	out := new(Policy)
    42  	in.DeepCopyInto(out)
    43  	return out
    44  }
    45  
    46  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    47  func (in *Policy) DeepCopyObject() runtime.Object {
    48  	if c := in.DeepCopy(); c != nil {
    49  		return c
    50  	}
    51  	return nil
    52  }
    53  
    54  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    55  func (in *PolicySpec) DeepCopyInto(out *PolicySpec) {
    56  	*out = *in
    57  	return
    58  }
    59  
    60  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec.
    61  func (in *PolicySpec) DeepCopy() *PolicySpec {
    62  	if in == nil {
    63  		return nil
    64  	}
    65  	out := new(PolicySpec)
    66  	in.DeepCopyInto(out)
    67  	return out
    68  }
    69  

View as plain text