Documentation
¶
Index ¶
- Variables
- type Header
- func (*Header) Descriptor() ([]byte, []int)deprecated
- func (x *Header) GetAccessedAt() int64
- func (x *Header) GetCreatedAt() int64
- func (x *Header) GetIdentifier() string
- func (x *Header) GetTags() map[string]string
- func (x *Header) GetUpdatedAt() int64
- func (*Header) ProtoMessage()
- func (x *Header) ProtoReflect() protoreflect.Message
- func (x *Header) Reset()
- func (x *Header) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_header_header_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Header ¶
type Header struct {
// identifier - A UUID v5 based on an immutable property of the object this header is attached to.
Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty" bson:"identifier"` // @gotags: bson:"identifier"
// created_at - A unix timestamp representing when the object was created
CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" bson:"created_at"` // @gotags: bson:"created_at"
// updated_at - A unix timestamp representing when the object was last updated
UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" bson:"updated_at"` // @gotags: bson:"updated_at"
// accessed_at - A unix timestamp representing when the object was last accessed
AccessedAt int64 `protobuf:"varint,4,opt,name=accessed_at,json=accessedAt,proto3" json:"accessed_at,omitempty" bson:"accessed_at"` // @gotags: bson:"accessed_at"
// tags - Arbitrary tags that can be applied to any object
Tags map[string]string `` // @gotags: bson:"tags"
/* 147-byte string literal not displayed */
// contains filtered or unexported fields
}
Header - A message representing shared data that is applied to all objects created by credstack
func (*Header) Descriptor
deprecated
func (*Header) GetAccessedAt ¶
func (*Header) GetCreatedAt ¶
func (*Header) GetIdentifier ¶
func (*Header) GetUpdatedAt ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶
func (x *Header) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.