Documentation ¶
Index ¶
- Variables
- type Opaque
- type OpaqueEntry
- func (*OpaqueEntry) Descriptor() ([]byte, []int)deprecated
- func (x *OpaqueEntry) GetDecoder() string
- func (x *OpaqueEntry) GetValue() []byte
- func (*OpaqueEntry) ProtoMessage()
- func (x *OpaqueEntry) ProtoReflect() protoreflect.Message
- func (x *OpaqueEntry) Reset()
- func (x *OpaqueEntry) String() string
- type Timestamp
Constants ¶
This section is empty.
Variables ¶
var File_cs3_types_v1beta1_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Opaque ¶
type Opaque struct { // REQUIRED. Map map[string]*OpaqueEntry `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
Opaque represents opaque information in a form on a map. For example, a local filesystem can use this message to include filesystem extended attributes.
func (*Opaque) Descriptor
deprecated
func (*Opaque) GetMap ¶
func (x *Opaque) GetMap() map[string]*OpaqueEntry
func (*Opaque) ProtoMessage ¶
func (*Opaque) ProtoMessage()
func (*Opaque) ProtoReflect ¶
func (x *Opaque) ProtoReflect() protoreflect.Message
type OpaqueEntry ¶
type OpaqueEntry struct { // REQUIRED. // The decoder to use: json, xml, toml, ... // TODO(labkode): make encoder a fixed set using a enum type? Decoder string `protobuf:"bytes,1,opt,name=decoder,proto3" json:"decoder,omitempty"` // REQUIRED. // The encoded value. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
OpaqueEntry represents the encoded opaque value.
func (*OpaqueEntry) Descriptor
deprecated
func (*OpaqueEntry) Descriptor() ([]byte, []int)
Deprecated: Use OpaqueEntry.ProtoReflect.Descriptor instead.
func (*OpaqueEntry) GetDecoder ¶
func (x *OpaqueEntry) GetDecoder() string
func (*OpaqueEntry) GetValue ¶
func (x *OpaqueEntry) GetValue() []byte
func (*OpaqueEntry) ProtoMessage ¶
func (*OpaqueEntry) ProtoMessage()
func (*OpaqueEntry) ProtoReflect ¶
func (x *OpaqueEntry) ProtoReflect() protoreflect.Message
func (*OpaqueEntry) Reset ¶
func (x *OpaqueEntry) Reset()
func (*OpaqueEntry) String ¶
func (x *OpaqueEntry) String() string
type Timestamp ¶
type Timestamp struct { // Represents seconds of UTC time since Unix epoch // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to // 9999-12-31T23:59:59Z inclusive. Seconds uint64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` // Non-negative fractions of a second at nanosecond resolution. Negative // second values with fractions must still have non-negative nanos values // that count forward in time. // Value MUST be from 0 to 999,999,999 // inclusive. Nanos uint32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"` // contains filtered or unexported fields }
Adapted from Google google/protobuf/timestamp.proto. A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one.
The range MUST be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. Restricting to this range ensures the conversion from and to [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
func (*Timestamp) Descriptor
deprecated
func (*Timestamp) GetSeconds ¶
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) ProtoReflect ¶
func (x *Timestamp) ProtoReflect() protoreflect.Message