insightstore

package
v0.27.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationCountStore added in v0.27.2

type ApplicationCountStore interface {
	LoadApplicationCounts(ctx context.Context, projectID string) (*insight.ApplicationCounts, error)
	PutApplicationCounts(ctx context.Context, projectID string, counts insight.ApplicationCounts) error
}

type DeploymentStore added in v0.27.2

type DeploymentStore interface {
	// List returns slice of Deployment sorted by CompletedAt ASC.
	List(ctx context.Context, projectID string, from, to int64, minimumVersion model.InsightDeploymentVersion) ([]*model.InsightDeployment, error)

	// Put deployments must be sorted by CompletedAt,
	Put(ctx context.Context, projectID string, deployments []*model.InsightDeployment, version model.InsightDeploymentVersion) error
}

type MileStoneStore added in v0.27.2

type MileStoneStore interface {
	LoadMilestone(ctx context.Context) (*insight.Milestone, error)
	PutMilestone(ctx context.Context, m *insight.Milestone) error
}

type Store

func NewStore

func NewStore(fs filestore.Store) Store

Directories

Path Synopsis
Package insightstoretest is a generated GoMock package.
Package insightstoretest is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL