Documentation ¶
Index ¶
- Constants
- type CoverageStore
- func (s *CoverageStore) Add(ctx context.Context, req *pb.CoverageChangeRequest) error
- func (s *CoverageStore) Delete(ctx context.Context, req *pb.CoverageChangeRequest) error
- func (s *CoverageStore) List(ctx context.Context, req *pb.CoverageListRequest) ([]string, error)
- func (s *CoverageStore) ListAll(ctx context.Context, req *pb.CoverageRequest) ([]*pb.CoverageResponse, error)
Constants ¶
View Source
const ( CockroachDB string = "cockroachdb" Spanner string = "spanner" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoverageStore ¶
type CoverageStore struct {
// contains filtered or unexported fields
}
coverageStore implements the coverage.Store interface.
func New ¶
func New(db pool.Pool, config *config.CoverageConfig) (*CoverageStore, error)
func (*CoverageStore) Add ¶
func (s *CoverageStore) Add(ctx context.Context, req *pb.CoverageChangeRequest) error
Add implements the coverage.CoverageStore interface.
func (*CoverageStore) Delete ¶
func (s *CoverageStore) Delete(ctx context.Context, req *pb.CoverageChangeRequest) error
Delete removes the Filename with the given filename.
func (*CoverageStore) List ¶
func (s *CoverageStore) List(ctx context.Context, req *pb.CoverageListRequest) ([]string, error)
List retrieves all the Coverage mapppings.
func (*CoverageStore) ListAll ¶
func (s *CoverageStore) ListAll(ctx context.Context, req *pb.CoverageRequest) ([]*pb.CoverageResponse, error)
List retrieves all the Coverage mapppings.
Directories ¶
Path | Synopsis |
---|---|
This executable generates a go file that contains the SQL schema for machineserver defined as a string.
|
This executable generates a go file that contains the SQL schema for machineserver defined as a string. |
Click to show internal directories.
Click to hide internal directories.