Versions in this module Expand all Collapse all v0 v0.0.3 May 31, 2024 Changes in this version + var ScanSuperSet = wire.NewSet(local.SuperSet, wire.Bind(new(scanner.Driver), new(local.Scanner)), ...) + type CacheServer struct + func NewCacheServer(c cache.Cache) *CacheServer + func (s *CacheServer) DeleteBlobs(_ context.Context, in *rpcCache.DeleteBlobsRequest) (*google_protobuf.Empty, error) + func (s *CacheServer) MissingBlobs(_ context.Context, in *rpcCache.MissingBlobsRequest) (*rpcCache.MissingBlobsResponse, error) + func (s *CacheServer) PutArtifact(_ context.Context, in *rpcCache.PutArtifactRequest) (*google_protobuf.Empty, error) + func (s *CacheServer) PutBlob(_ context.Context, in *rpcCache.PutBlobRequest) (*google_protobuf.Empty, error) + type ScanServer struct + func NewScanServer(s scanner.Driver) *ScanServer + func (s *ScanServer) Scan(ctx context.Context, in *rpcScanner.ScanRequest) (*rpcScanner.ScanResponse, error) + type Server struct + func NewServer(appVersion, addr, cacheDir, token, tokenHeader, dbRepository string, ...) Server + func (s Server) ListenAndServe(serverCache cache.Cache, skipDBUpdate bool) error