From 7f49e582af76442c0b4b2568d0fb7aec3ee47833 Mon Sep 17 00:00:00 2001 From: Daishan Peng Date: Thu, 15 Feb 2018 15:59:15 -0700 Subject: [PATCH] generated changes --- .../v3/zz_generated_deepcopy.go | 25 +++++++++++++++++++ .../project/v3/zz_generated_app_condition.go | 20 +++++++++++++++ client/project/v3/zz_generated_app_status.go | 8 +++--- 3 files changed, 50 insertions(+), 3 deletions(-) create mode 100644 client/project/v3/zz_generated_app_condition.go diff --git a/apis/project.cattle.io/v3/zz_generated_deepcopy.go b/apis/project.cattle.io/v3/zz_generated_deepcopy.go index 4e20ade4..17ac1ac8 100644 --- a/apis/project.cattle.io/v3/zz_generated_deepcopy.go +++ b/apis/project.cattle.io/v3/zz_generated_deepcopy.go @@ -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 } diff --git a/client/project/v3/zz_generated_app_condition.go b/client/project/v3/zz_generated_app_condition.go new file mode 100644 index 00000000..5e3e1b1b --- /dev/null +++ b/client/project/v3/zz_generated_app_condition.go @@ -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"` +} diff --git a/client/project/v3/zz_generated_app_status.go b/client/project/v3/zz_generated_app_status.go index a8ea7edb..a0e9891c 100644 --- a/client/project/v3/zz_generated_app_status.go +++ b/client/project/v3/zz_generated_app_status.go @@ -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"` }