Documentation
¶
Index ¶
- Variables
- func ListenAndServe(c config.Config, fsCache cache.FSCache) error
- type CacheServer
- func (s *CacheServer) MissingLayers(_ context.Context, in *rpcCache.MissingLayersRequest) (*rpcCache.MissingLayersResponse, error)
- func (s *CacheServer) PutImage(_ context.Context, in *rpcCache.PutImageRequest) (*google_protobuf.Empty, error)
- func (s *CacheServer) PutLayer(_ context.Context, in *rpcCache.PutLayerRequest) (*google_protobuf.Empty, error)
- type ScanServer
Constants ¶
This section is empty.
Variables ¶
View Source
var DBWorkerSuperSet = wire.NewSet( dbFile.SuperSet, newDBWorker, )
Functions ¶
Types ¶
type CacheServer ¶ added in v0.5.0
type CacheServer struct {
// contains filtered or unexported fields
}
func NewCacheServer ¶ added in v0.5.0
func NewCacheServer(c cache.Cache) *CacheServer
func (*CacheServer) MissingLayers ¶ added in v0.5.0
func (s *CacheServer) MissingLayers(_ context.Context, in *rpcCache.MissingLayersRequest) (*rpcCache.MissingLayersResponse, error)
func (*CacheServer) PutImage ¶ added in v0.5.0
func (s *CacheServer) PutImage(_ context.Context, in *rpcCache.PutImageRequest) (*google_protobuf.Empty, error)
func (*CacheServer) PutLayer ¶ added in v0.5.0
func (s *CacheServer) PutLayer(_ context.Context, in *rpcCache.PutLayerRequest) (*google_protobuf.Empty, error)
type ScanServer ¶ added in v0.5.0
type ScanServer struct {
// contains filtered or unexported fields
}
func NewScanServer ¶ added in v0.5.0
func NewScanServer(s scanner.Driver, vulnClient vulnerability.Operation) *ScanServer
func (*ScanServer) Scan ¶ added in v0.5.0
func (s *ScanServer) Scan(_ context.Context, in *rpcScanner.ScanRequest) (*rpcScanner.ScanResponse, error)
Click to show internal directories.
Click to hide internal directories.