update tags in types for new genclient syntax

This commit is contained in:
Michal Fojtik
2017-07-18 14:12:01 +02:00
parent d7e3029d7a
commit 976488efec
53 changed files with 201 additions and 201 deletions

View File

@@ -77,7 +77,7 @@ type PodDisruptionBudgetStatus struct {
ExpectedPods int32
}
// +genclient=true
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
@@ -104,8 +104,8 @@ type PodDisruptionBudgetList struct {
Items []PodDisruptionBudget
}
// +genclient=true
// +noMethods=true
// +genclient
// +genclient:noVerbs
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// Eviction evicts a pod from its node subject to certain policies and safety constraints.

View File

@@ -52,7 +52,7 @@ type PodDisruptionBudgetStatus struct {
ExpectedPods int32 `json:"expectedPods" protobuf:"varint,4,opt,name=expectedPods"`
}
// +genclient=true
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods