...
1
2
3
4
19
20
21
22 package v1
23
24 import (
25 runtime "k8s.io/apimachinery/pkg/runtime"
26 )
27
28
29 func (in *Cluster) DeepCopyInto(out *Cluster) {
30 *out = *in
31 if in.CertificateAuthorityData != nil {
32 in, out := &in.CertificateAuthorityData, &out.CertificateAuthorityData
33 *out = make([]byte, len(*in))
34 copy(*out, *in)
35 }
36 in.Config.DeepCopyInto(&out.Config)
37 return
38 }
39
40
41 func (in *Cluster) DeepCopy() *Cluster {
42 if in == nil {
43 return nil
44 }
45 out := new(Cluster)
46 in.DeepCopyInto(out)
47 return out
48 }
49
50
51 func (in *ExecCredential) DeepCopyInto(out *ExecCredential) {
52 *out = *in
53 out.TypeMeta = in.TypeMeta
54 in.Spec.DeepCopyInto(&out.Spec)
55 if in.Status != nil {
56 in, out := &in.Status, &out.Status
57 *out = new(ExecCredentialStatus)
58 (*in).DeepCopyInto(*out)
59 }
60 return
61 }
62
63
64 func (in *ExecCredential) DeepCopy() *ExecCredential {
65 if in == nil {
66 return nil
67 }
68 out := new(ExecCredential)
69 in.DeepCopyInto(out)
70 return out
71 }
72
73
74 func (in *ExecCredential) DeepCopyObject() runtime.Object {
75 if c := in.DeepCopy(); c != nil {
76 return c
77 }
78 return nil
79 }
80
81
82 func (in *ExecCredentialSpec) DeepCopyInto(out *ExecCredentialSpec) {
83 *out = *in
84 if in.Cluster != nil {
85 in, out := &in.Cluster, &out.Cluster
86 *out = new(Cluster)
87 (*in).DeepCopyInto(*out)
88 }
89 return
90 }
91
92
93 func (in *ExecCredentialSpec) DeepCopy() *ExecCredentialSpec {
94 if in == nil {
95 return nil
96 }
97 out := new(ExecCredentialSpec)
98 in.DeepCopyInto(out)
99 return out
100 }
101
102
103 func (in *ExecCredentialStatus) DeepCopyInto(out *ExecCredentialStatus) {
104 *out = *in
105 if in.ExpirationTimestamp != nil {
106 in, out := &in.ExpirationTimestamp, &out.ExpirationTimestamp
107 *out = (*in).DeepCopy()
108 }
109 return
110 }
111
112
113 func (in *ExecCredentialStatus) DeepCopy() *ExecCredentialStatus {
114 if in == nil {
115 return nil
116 }
117 out := new(ExecCredentialStatus)
118 in.DeepCopyInto(out)
119 return out
120 }
121
View as plain text