header

package
v1.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2025 License: GPL-3.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_header_header_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

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) Descriptor() ([]byte, []int)

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetAccessedAt

func (x *Header) GetAccessedAt() int64

func (*Header) GetCreatedAt

func (x *Header) GetCreatedAt() int64

func (*Header) GetIdentifier

func (x *Header) GetIdentifier() string

func (*Header) GetTags

func (x *Header) GetTags() map[string]string

func (*Header) GetUpdatedAt

func (x *Header) GetUpdatedAt() int64

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) ProtoReflect

func (x *Header) ProtoReflect() protoreflect.Message

func (*Header) Reset

func (x *Header) Reset()

func (*Header) String

func (x *Header) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL