adding deepcopy to root

This commit is contained in:
Jacob Zhou 2019-07-10 15:07:11 +10:00
parent e3bc21446b
commit 2bf6429fad
3 changed files with 31 additions and 1 deletions

View File

@ -1,2 +1,2 @@
deepcopy:
deepcopy-gen -i ./aws/models/,./azure/models/,./aws/,./azure/ -h ./hack/boilerplate.go.txt -v 3
deepcopy-gen -i ./,./aws/...,./azure/... -h ./hack/boilerplate.go.txt -v 3

28
deepcopy_generated.go Normal file
View File

@ -0,0 +1,28 @@
// +build !ignore_autogenerated
// Code generated by deepcopy-gen. DO NOT EDIT.
package databricks
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DBClientOption) DeepCopyInto(out *DBClientOption) {
*out = *in
if in.DefaultHeaders != nil {
in, out := &in.DefaultHeaders, &out.DefaultHeaders
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBClientOption.
func (in *DBClientOption) DeepCopy() *DBClientOption {
if in == nil {
return nil
}
out := new(DBClientOption)
in.DeepCopyInto(out)
return out
}

2
doc.go Normal file
View File

@ -0,0 +1,2 @@
// +k8s:deepcopy-gen=package
package databricks