Documentation ¶
Index ¶
- Variables
- type BucketRule
- type CacheConfig
- type CacheProvider
- type Config
- type DebugInfoClient
- type FilesystemCacheConfig
- type Store
- func (s *Store) Exists(ctx context.Context, req *debuginfopb.ExistsRequest) (*debuginfopb.ExistsResponse, error)
- func (s *Store) Symbolize(ctx context.Context, m *pb.Mapping, locations ...*metastore.Location) (map[*metastore.Location][]metastore.LocationLine, error)
- func (s *Store) Upload(stream debuginfopb.DebugInfoService_UploadServer) error
- type UploadReader
- type ValidRule
Constants ¶
This section is empty.
Variables ¶
View Source
var BucketValid = BucketRule{}
View Source
var ErrDebugInfoNotFound = errors.New("debug info not found")
View Source
var Valid = ValidRule{}
Valid is the ValidRule
Functions ¶
This section is empty.
Types ¶
type BucketRule ¶ added in v0.2.0
type BucketRule struct{}
func (BucketRule) Validate ¶ added in v0.2.0
func (r BucketRule) Validate(value interface{}) error
Validate the bucket config
type CacheConfig ¶
type CacheConfig struct { Type CacheProvider `yaml:"type"` Config interface{} `yaml:"config"` }
type Config ¶
type Config struct { Bucket *client.BucketConfig `yaml:"bucket"` Cache *CacheConfig `yaml:"cache"` }
type DebugInfoClient ¶
type DebugInfoClient struct {
// contains filtered or unexported fields
}
func NewDebugInfoClient ¶
func NewDebugInfoClient(conn *grpc.ClientConn) *DebugInfoClient
type FilesystemCacheConfig ¶
type FilesystemCacheConfig struct {
Directory string `yaml:"directory"`
}
type Store ¶
type Store struct { debuginfopb.UnimplementedDebugInfoServiceServer // contains filtered or unexported fields }
func (*Store) Exists ¶
func (s *Store) Exists(ctx context.Context, req *debuginfopb.ExistsRequest) (*debuginfopb.ExistsResponse, error)
func (*Store) Upload ¶
func (s *Store) Upload(stream debuginfopb.DebugInfoService_UploadServer) error
type UploadReader ¶
type UploadReader struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.