Commit 9b157d5a authored by Janet Kuo's avatar Janet Kuo

Mark apps/v1beta2 runtime Objects for code-gen

parent f6c5392d
...@@ -59,6 +59,7 @@ type ScaleStatus struct { ...@@ -59,6 +59,7 @@ type ScaleStatus struct {
// +genclient=true // +genclient=true
// +noMethods=true // +noMethods=true
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// WIP: This is not ready to be used and we plan to make breaking changes to it. // WIP: This is not ready to be used and we plan to make breaking changes to it.
// Scale represents a scaling request for a resource. // Scale represents a scaling request for a resource.
...@@ -78,6 +79,7 @@ type Scale struct { ...@@ -78,6 +79,7 @@ type Scale struct {
} }
// +genclient=true // +genclient=true
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// WIP: This is not ready to be used and we plan to make breaking changes to it. // WIP: This is not ready to be used and we plan to make breaking changes to it.
// StatefulSet represents a set of pods with consistent identities. // StatefulSet represents a set of pods with consistent identities.
...@@ -248,6 +250,8 @@ type StatefulSetStatus struct { ...@@ -248,6 +250,8 @@ type StatefulSetStatus struct {
UpdateRevision string `json:"updateRevision,omitempty" protobuf:"bytes,7,opt,name=updateRevision"` UpdateRevision string `json:"updateRevision,omitempty" protobuf:"bytes,7,opt,name=updateRevision"`
} }
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// WIP: This is not ready to be used and we plan to make breaking changes to it. // WIP: This is not ready to be used and we plan to make breaking changes to it.
// StatefulSetList is a collection of StatefulSets. // StatefulSetList is a collection of StatefulSets.
type StatefulSetList struct { type StatefulSetList struct {
...@@ -258,6 +262,7 @@ type StatefulSetList struct { ...@@ -258,6 +262,7 @@ type StatefulSetList struct {
} }
// +genclient=true // +genclient=true
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// WIP: This is not ready to be used and we plan to make breaking changes to it. // WIP: This is not ready to be used and we plan to make breaking changes to it.
// Deployment enables declarative updates for Pods and ReplicaSets. // Deployment enables declarative updates for Pods and ReplicaSets.
...@@ -326,6 +331,8 @@ type DeploymentSpec struct { ...@@ -326,6 +331,8 @@ type DeploymentSpec struct {
ProgressDeadlineSeconds *int32 `json:"progressDeadlineSeconds,omitempty" protobuf:"varint,9,opt,name=progressDeadlineSeconds"` ProgressDeadlineSeconds *int32 `json:"progressDeadlineSeconds,omitempty" protobuf:"varint,9,opt,name=progressDeadlineSeconds"`
} }
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// WIP: This is not ready to be used and we plan to make breaking changes to it. // WIP: This is not ready to be used and we plan to make breaking changes to it.
// DeploymentRollback stores the information required to rollback a deployment. // DeploymentRollback stores the information required to rollback a deployment.
type DeploymentRollback struct { type DeploymentRollback struct {
...@@ -483,6 +490,8 @@ type DeploymentCondition struct { ...@@ -483,6 +490,8 @@ type DeploymentCondition struct {
Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"` Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"`
} }
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// WIP: This is not ready to be used and we plan to make breaking changes to it. // WIP: This is not ready to be used and we plan to make breaking changes to it.
// DeploymentList is a list of Deployments. // DeploymentList is a list of Deployments.
type DeploymentList struct { type DeploymentList struct {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment