Skip to content

Commit

Permalink
generated
Browse files Browse the repository at this point in the history
  • Loading branch information
mortent committed Mar 5, 2021
1 parent 1e2a7f3 commit b08eb95
Show file tree
Hide file tree
Showing 14 changed files with 274 additions and 130 deletions.
13 changes: 13 additions & 0 deletions api/openapi-spec/swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pkg/apis/policy/v1beta1/zz_generated.conversion.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions pkg/apis/policy/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

299 changes: 180 additions & 119 deletions staging/src/k8s.io/api/policy/v1beta1/generated.pb.go

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions staging/src/k8s.io/api/policy/v1beta1/generated.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions staging/src/k8s.io/api/policy/v1beta1/types.go
Expand Up @@ -96,7 +96,7 @@ type PodDisruptionBudgetStatus struct {
// +patchStrategy=merge
// +listType=map
// +listMapKey=type
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type", protobuf:"bytes,7,rep,name=conditions"`
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,7,rep,name=conditions"`
}

const (
Expand All @@ -106,10 +106,10 @@ const (

// SyncFailedReason is set on the DisruptionAllowed condition if reconcile
// of the PDB failed and therefore disruption of pods are not allowed.
SyncFailedReason = "SyncFailed"
SyncFailedReason = "SyncFailed"
// SufficientPodsReason is set on the DisruptionAllowed condition if there are
// more pods covered by the PDB than required and at least one can be disrupted.
SufficientPodsReason = "SufficientPods"
SufficientPodsReason = "SufficientPods"
// InsufficientPodsReason is set on the DisruptionAllowed condition if the number
// of pods are equal to or fewer than required by the PDB.
InsufficientPodsReason = "InsufficientPods"
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -66,6 +66,16 @@
"disruptionsAllowed": -1942073618,
"currentHealthy": -2037845840,
"desiredHealthy": -1965578645,
"expectedPods": -347579237
"expectedPods": -347579237,
"conditions": [
{
"type": "26",
"status": "蓿彭聡A3fƻfʣ繡楙¯ĦE勗E濞",
"observedGeneration": -8886126363972008903,
"lastTransitionTime": "2544-09-25T10:59:09Z",
"reason": "27",
"message": "28"
}
]
}
}
Binary file not shown.
Expand Up @@ -41,6 +41,13 @@ spec:
matchLabels:
8---jop9641lg.p-g8c2-k-912e5-c-e63-n-3n/E9.8ThjT9s-j41-0-6p-JFHn7y-74.-0MUORQQ.N2.3: 68._bQw.-dG6c-.6--_x.--0wmZk1_8._3s_-_Bq.m_4
status:
conditions:
- lastTransitionTime: "2544-09-25T10:59:09Z"
message: "28"
observedGeneration: -8886126363972008903
reason: "27"
status: 蓿彭聡A3fƻfʣ繡楙¯ĦE勗E濞
type: "26"
currentHealthy: -2037845840
desiredHealthy: -1965578645
disruptedPods:
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -62,4 +62,4 @@ func ConditionsAreUpToDate(pdb *policy.PodDisruptionBudget) bool {
return cond.Status == metav1.ConditionTrue && cond.Reason == policy.SufficientPodsReason
}
return cond.Status == metav1.ConditionFalse && cond.Reason == policy.InsufficientPodsReason
}
}
1 change: 1 addition & 0 deletions vendor/modules.txt
Expand Up @@ -2241,6 +2241,7 @@ k8s.io/component-base/version/verflag
## explicit
# k8s.io/component-helpers => ./staging/src/k8s.io/component-helpers
k8s.io/component-helpers/apimachinery/lease
k8s.io/component-helpers/apps/poddisruptionbudget
k8s.io/component-helpers/auth/rbac/reconciliation
k8s.io/component-helpers/auth/rbac/validation
k8s.io/component-helpers/scheduling/corev1
Expand Down

0 comments on commit b08eb95

Please sign in to comment.