Update k8s dependencies to v1.22.0-rc.0
This commit is contained in:
1
vendor/k8s.io/apimachinery/pkg/api/errors/OWNERS
generated
vendored
1
vendor/k8s.io/apimachinery/pkg/api/errors/OWNERS
generated
vendored
@@ -11,7 +11,6 @@ reviewers:
|
||||
- caesarxuchao
|
||||
- mikedanese
|
||||
- liggitt
|
||||
- erictune
|
||||
- saad-ali
|
||||
- janetkuo
|
||||
- tallclair
|
||||
|
2
vendor/k8s.io/apimachinery/pkg/api/errors/errors.go
generated
vendored
2
vendor/k8s.io/apimachinery/pkg/api/errors/errors.go
generated
vendored
@@ -274,7 +274,7 @@ func NewBadRequest(reason string) *StatusError {
|
||||
|
||||
// NewTooManyRequests creates an error that indicates that the client must try again later because
|
||||
// the specified endpoint is not accepting requests. More specific details should be provided
|
||||
// if client should know why the failure was limited4.
|
||||
// if client should know why the failure was limited.
|
||||
func NewTooManyRequests(message string, retryAfterSeconds int) *StatusError {
|
||||
return &StatusError{metav1.Status{
|
||||
Status: metav1.StatusFailure,
|
||||
|
9
vendor/k8s.io/apimachinery/pkg/api/resource/quantity.go
generated
vendored
9
vendor/k8s.io/apimachinery/pkg/api/resource/quantity.go
generated
vendored
@@ -696,6 +696,15 @@ func (q *Quantity) UnmarshalJSON(value []byte) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// NewDecimalQuantity returns a new Quantity representing the given
|
||||
// value in the given format.
|
||||
func NewDecimalQuantity(b inf.Dec, format Format) *Quantity {
|
||||
return &Quantity{
|
||||
d: infDecAmount{&b},
|
||||
Format: format,
|
||||
}
|
||||
}
|
||||
|
||||
// NewQuantity returns a new Quantity representing the given
|
||||
// value in the given format.
|
||||
func NewQuantity(value int64, format Format) *Quantity {
|
||||
|
2
vendor/k8s.io/apimachinery/pkg/api/resource/quantity_proto.go
generated
vendored
2
vendor/k8s.io/apimachinery/pkg/api/resource/quantity_proto.go
generated
vendored
@@ -166,7 +166,7 @@ func (m *Quantity) Unmarshal(data []byte) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if skippy < 0 {
|
||||
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
||||
return ErrInvalidLengthGenerated
|
||||
}
|
||||
if (iNdEx + skippy) > l {
|
||||
|
Reference in New Issue
Block a user