mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-14 15:23:53 +01:00
feat(modules): migrate to go modules and bump go version 1.14.4
- migrate to go module - bump go version 1.14.4 Signed-off-by: prateekpandey14 <prateek.pandey@mayadata.io>
This commit is contained in:
parent
f5ae3ff476
commit
fa76b346a0
837 changed files with 104140 additions and 158314 deletions
6
vendor/k8s.io/apimachinery/pkg/api/resource/quantity.go
generated
vendored
6
vendor/k8s.io/apimachinery/pkg/api/resource/quantity.go
generated
vendored
|
|
@ -584,6 +584,12 @@ func (q *Quantity) Neg() {
|
|||
q.d.Dec.Neg(q.d.Dec)
|
||||
}
|
||||
|
||||
// Equal checks equality of two Quantities. This is useful for testing with
|
||||
// cmp.Equal.
|
||||
func (q Quantity) Equal(v Quantity) bool {
|
||||
return q.Cmp(v) == 0
|
||||
}
|
||||
|
||||
// int64QuantityExpectedBytes is the expected width in bytes of the canonical string representation
|
||||
// of most Quantity values.
|
||||
const int64QuantityExpectedBytes = 18
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue