cachepb

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_cache_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Cache

type Cache struct {
	Samples map[string]*Entries `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Cache) Descriptor deprecated

func (*Cache) Descriptor() ([]byte, []int)

Deprecated: Use Cache.ProtoReflect.Descriptor instead.

func (*Cache) GetSamples

func (x *Cache) GetSamples() map[string]*Entries

func (*Cache) ProtoMessage

func (*Cache) ProtoMessage()

func (*Cache) ProtoReflect

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

func (*Cache) Reset

func (x *Cache) Reset()

func (*Cache) String

func (x *Cache) String() string

type CacheEntry

type CacheEntry struct {
	SourceId   string   `protobuf:"bytes,1,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
	SourceHash string   `protobuf:"bytes,2,opt,name=source_hash,json=sourceHash,proto3" json:"source_hash,omitempty"`
	Path       []string `protobuf:"bytes,3,rep,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*CacheEntry) Descriptor deprecated

func (*CacheEntry) Descriptor() ([]byte, []int)

Deprecated: Use CacheEntry.ProtoReflect.Descriptor instead.

func (*CacheEntry) GetPath

func (x *CacheEntry) GetPath() []string

func (*CacheEntry) GetSourceHash

func (x *CacheEntry) GetSourceHash() string

func (*CacheEntry) GetSourceId

func (x *CacheEntry) GetSourceId() string

func (*CacheEntry) ProtoMessage

func (*CacheEntry) ProtoMessage()

func (*CacheEntry) ProtoReflect

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

func (*CacheEntry) Reset

func (x *CacheEntry) Reset()

func (*CacheEntry) String

func (x *CacheEntry) String() string

type Entries

type Entries struct {
	LastUpdated *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	Entries     []*CacheEntry          `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*Entries) Descriptor deprecated

func (*Entries) Descriptor() ([]byte, []int)

Deprecated: Use Entries.ProtoReflect.Descriptor instead.

func (*Entries) GetEntries

func (x *Entries) GetEntries() []*CacheEntry

func (*Entries) GetLastUpdated

func (x *Entries) GetLastUpdated() *timestamppb.Timestamp

func (*Entries) ProtoMessage

func (*Entries) ProtoMessage()

func (*Entries) ProtoReflect

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

func (*Entries) Reset

func (x *Entries) Reset()

func (*Entries) String

func (x *Entries) String() string

Jump to

Keyboard shortcuts

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