Documentation ¶
Index ¶
- func NewCockroachDBFromConfig(ctx context.Context, coverageConfig *config.CoverageConfig) (pool.Pool, error)
- func NewCoverageService(coverageStore coveragestore.Store) *coverageService
- func NewCoverageStoreFromConfig(ctx context.Context, coverageConfig *config.CoverageConfig) (coveragestore.Store, error)
- type Coverage
- type CoverageService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCockroachDBFromConfig ¶
func NewCockroachDBFromConfig(ctx context.Context, coverageConfig *config.CoverageConfig) (pool.Pool, error)
NewCockroachDBFromConfig opens an existing CockroachDB database.
func NewCoverageService ¶
func NewCoverageService(coverageStore coveragestore.Store) *coverageService
New returns a new instance of the coverage service.
func NewCoverageStoreFromConfig ¶
func NewCoverageStoreFromConfig(ctx context.Context, coverageConfig *config.CoverageConfig) (coveragestore.Store, error)
NewCoverageStoreFromConfig creates a new coverage.Store from the CoverageConfig which provides access to the coverage data.
Types ¶
type Coverage ¶
type Coverage struct {
// contains filtered or unexported fields
}
Coverage provides a struct for the application.
func New ¶
func New(config *config.CoverageConfig, coverageStore coveragestore.Store) (*Coverage, error)
New creates a new instance of Coverage application.
func (*Coverage) Cleanup ¶
func (c *Coverage) Cleanup()
Cleanup performs a graceful shutdown of the grpc server.
type CoverageService ¶
type CoverageService interface { // RegisterGrpc registers the grpc service with the server instance. RegisterGrpc(server *grpc.Server) // GetServiceDescriptor returns the service descriptor for the service. GetServiceDescriptor() grpc.ServiceDesc }
CoverageService provides an interface for a service to be hosted on Coverage application.
Directories ¶
Path | Synopsis |
---|---|
sqlcoveragestore/tosql
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. |
This application creates the 'coverage' database on a local CockroachDB instance and also applies the latest schema.
|
This application creates the 'coverage' database on a local CockroachDB instance and also applies the latest schema. |
proto
|
|
Click to show internal directories.
Click to hide internal directories.