mirror of
https://github.com/rancher/types.git
synced 2025-08-29 09:02:45 +00:00
generated changes
This commit is contained in:
parent
7932d4fcec
commit
7f49e582af
@ -21,6 +21,10 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
in.(*App).DeepCopyInto(out.(*App))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&App{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*AppCondition).DeepCopyInto(out.(*AppCondition))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&AppCondition{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*AppList).DeepCopyInto(out.(*AppList))
|
||||
return nil
|
||||
@ -166,6 +170,22 @@ func (in *App) DeepCopyObject() runtime.Object {
|
||||
}
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *AppCondition) DeepCopyInto(out *AppCondition) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppCondition.
|
||||
func (in *AppCondition) DeepCopy() *AppCondition {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(AppCondition)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *AppList) DeepCopyInto(out *AppList) {
|
||||
*out = *in
|
||||
@ -250,6 +270,11 @@ func (in *AppStatus) DeepCopyInto(out *AppStatus) {
|
||||
*out = make([]ReleaseInfo, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
if in.Conditions != nil {
|
||||
in, out := &in.Conditions, &out.Conditions
|
||||
*out = make([]AppCondition, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
20
client/project/v3/zz_generated_app_condition.go
Normal file
20
client/project/v3/zz_generated_app_condition.go
Normal file
@ -0,0 +1,20 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
AppConditionType = "appCondition"
|
||||
AppConditionFieldLastTransitionTime = "lastTransitionTime"
|
||||
AppConditionFieldLastUpdateTime = "lastUpdateTime"
|
||||
AppConditionFieldMessage = "message"
|
||||
AppConditionFieldReason = "reason"
|
||||
AppConditionFieldStatus = "status"
|
||||
AppConditionFieldType = "type"
|
||||
)
|
||||
|
||||
type AppCondition struct {
|
||||
LastTransitionTime string `json:"lastTransitionTime,omitempty"`
|
||||
LastUpdateTime string `json:"lastUpdateTime,omitempty"`
|
||||
Message string `json:"message,omitempty"`
|
||||
Reason string `json:"reason,omitempty"`
|
||||
Status string `json:"status,omitempty"`
|
||||
Type string `json:"type,omitempty"`
|
||||
}
|
@ -1,10 +1,12 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
AppStatusType = "appStatus"
|
||||
AppStatusFieldReleases = "releases"
|
||||
AppStatusType = "appStatus"
|
||||
AppStatusFieldConditions = "conditions"
|
||||
AppStatusFieldReleases = "releases"
|
||||
)
|
||||
|
||||
type AppStatus struct {
|
||||
Releases []ReleaseInfo `json:"releases,omitempty"`
|
||||
Conditions []AppCondition `json:"conditions,omitempty"`
|
||||
Releases []ReleaseInfo `json:"releases,omitempty"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user