update
This commit is contained in:
@ -31,7 +31,7 @@ type AppServiceSpec struct {
|
||||
// Important: Run "make" to regenerate code after modifying this file
|
||||
|
||||
// Foo is an example field of AppService. Edit appservice_types.go to remove/update
|
||||
Size int32 `json:"size"`
|
||||
Size *int32 `json:"size"`
|
||||
Image string `json:"image"`
|
||||
Resource *Resources `json:"resource,omitempty"`
|
||||
Envs []corev1.EnvVar `json:"envs,omitempty"`
|
||||
|
@ -88,6 +88,11 @@ func (in *AppServiceList) DeepCopyObject() runtime.Object {
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *AppServiceSpec) DeepCopyInto(out *AppServiceSpec) {
|
||||
*out = *in
|
||||
if in.Size != nil {
|
||||
in, out := &in.Size, &out.Size
|
||||
*out = new(int32)
|
||||
**out = **in
|
||||
}
|
||||
if in.Resource != nil {
|
||||
in, out := &in.Resource, &out.Resource
|
||||
*out = new(Resources)
|
||||
|
Reference in New Issue
Block a user