1
0
mirror of https://github.com/rancher/types.git synced 2025-08-31 04:40:56 +00:00

go generate

This commit is contained in:
galal-hussein
2018-11-07 01:48:47 +02:00
committed by Alena Prokharchyk
parent c3a67ec64a
commit 0311581082
2 changed files with 10 additions and 1 deletions

View File

@@ -1725,6 +1725,15 @@ func (in *ETCDService) DeepCopyInto(out *ETCDService) {
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.Snapshot != nil {
in, out := &in.Snapshot, &out.Snapshot
if *in == nil {
*out = nil
} else {
*out = new(bool)
**out = **in
}
}
return
}

View File

@@ -28,5 +28,5 @@ type ETCDService struct {
Key string `json:"key,omitempty" yaml:"key,omitempty"`
Path string `json:"path,omitempty" yaml:"path,omitempty"`
Retention string `json:"retention,omitempty" yaml:"retention,omitempty"`
Snapshot bool `json:"snapshot,omitempty" yaml:"snapshot,omitempty"`
Snapshot *bool `json:"snapshot,omitempty" yaml:"snapshot,omitempty"`
}