Update godeps
This commit is contained in:
parent
423433bc5f
commit
701c5a0e30
482 changed files with 86915 additions and 19741 deletions
21
vendor/k8s.io/kubernetes/pkg/api/resource/generated.proto
generated
vendored
21
vendor/k8s.io/kubernetes/pkg/api/resource/generated.proto
generated
vendored
|
|
@ -83,27 +83,12 @@ option go_package = "resource";
|
|||
// writing some sort of special handling code in the hopes that that will
|
||||
// cause implementors to also use a fixed point implementation.
|
||||
//
|
||||
// +gencopy=false
|
||||
// +protobuf=true
|
||||
// +protobuf.embed=QuantityProto
|
||||
// +protobuf.embed=string
|
||||
// +protobuf.options.marshal=false
|
||||
// +protobuf.options.(gogoproto.goproto_stringer)=false
|
||||
message Quantity {
|
||||
optional QuantityProto QuantityProto = 1;
|
||||
}
|
||||
|
||||
// QuantityProto is a struct that is equivalent to Quantity, but intended for
|
||||
// protobuf marshalling/unmarshalling. It is generated into a serialization
|
||||
// that matches Quantity. Do not use in Go structs.
|
||||
//
|
||||
// +protobuf=true
|
||||
message QuantityProto {
|
||||
// The format of the quantity
|
||||
optional string format = 1;
|
||||
|
||||
// The scale dimension of the value
|
||||
optional int32 scale = 2;
|
||||
|
||||
// Bigint is serialized as a raw bytes array
|
||||
optional bytes bigint = 3;
|
||||
optional string string = 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue