mirror of https://github.com/k3s-io/k3s
Mark apps/v1beta2 runtime Objects for code-gen
parent
f6c5392de6
commit
9b157d5adb
|
@ -59,6 +59,7 @@ type ScaleStatus struct {
|
|||
|
||||
// +genclient=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.
|
||||
// Scale represents a scaling request for a resource.
|
||||
|
@ -78,6 +79,7 @@ type Scale struct {
|
|||
}
|
||||
|
||||
// +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.
|
||||
// StatefulSet represents a set of pods with consistent identities.
|
||||
|
@ -248,6 +250,8 @@ type StatefulSetStatus struct {
|
|||
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.
|
||||
// StatefulSetList is a collection of StatefulSets.
|
||||
type StatefulSetList struct {
|
||||
|
@ -258,6 +262,7 @@ type StatefulSetList struct {
|
|||
}
|
||||
|
||||
// +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.
|
||||
// Deployment enables declarative updates for Pods and ReplicaSets.
|
||||
|
@ -326,6 +331,8 @@ type DeploymentSpec struct {
|
|||
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.
|
||||
// DeploymentRollback stores the information required to rollback a deployment.
|
||||
type DeploymentRollback struct {
|
||||
|
@ -483,6 +490,8 @@ type DeploymentCondition struct {
|
|||
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.
|
||||
// DeploymentList is a list of Deployments.
|
||||
type DeploymentList struct {
|
||||
|
|
Loading…
Reference in New Issue