mirror of
https://github.com/rancher/types.git
synced 2025-09-12 13:03:45 +00:00
generate changes
This commit is contained in:
committed by
Darren Shepherd
parent
d8329e8b0e
commit
f68ada9504
@@ -273,6 +273,16 @@ func (in *AppSpec) DeepCopy() *AppSpec {
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *AppStatus) DeepCopyInto(out *AppStatus) {
|
||||
*out = *in
|
||||
if in.StdOutput != nil {
|
||||
in, out := &in.StdOutput, &out.StdOutput
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
if in.StdError != nil {
|
||||
in, out := &in.StdError, &out.StdError
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
if in.Releases != nil {
|
||||
in, out := &in.Releases, &out.Releases
|
||||
*out = make([]ReleaseInfo, len(*in))
|
||||
|
@@ -4,9 +4,13 @@ const (
|
||||
AppStatusType = "appStatus"
|
||||
AppStatusFieldConditions = "conditions"
|
||||
AppStatusFieldReleases = "releases"
|
||||
AppStatusFieldStdError = "stdError"
|
||||
AppStatusFieldStdOutput = "stdOutput"
|
||||
)
|
||||
|
||||
type AppStatus struct {
|
||||
Conditions []AppCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
|
||||
Releases []ReleaseInfo `json:"releases,omitempty" yaml:"releases,omitempty"`
|
||||
StdError []string `json:"stdError,omitempty" yaml:"stdError,omitempty"`
|
||||
StdOutput []string `json:"stdOutput,omitempty" yaml:"stdOutput,omitempty"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user