Documentation ¶
Index ¶
Constants ¶
View Source
const ( PipelineTypeRelease = PipelineType("release") PipelineTypePullRequest = PipelineType("pullrequest") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deployment ¶
type Deployment struct { Owner string Repository string Version string Environment string DeploymentTime time.Time }
func (Deployment) String ¶
func (d Deployment) String() string
type DeploymentStore ¶
type DeploymentStore struct {
// contains filtered or unexported fields
}
func (*DeploymentStore) Add ¶
func (s *DeploymentStore) Add(ctx context.Context, d Deployment) error
func (*DeploymentStore) Migrations ¶
func (s *DeploymentStore) Migrations() []migration.Func
func (*DeploymentStore) TableName ¶
func (s *DeploymentStore) TableName() string
type PipelineStore ¶
type PipelineStore struct {
// contains filtered or unexported fields
}
func (*PipelineStore) Migrations ¶
func (s *PipelineStore) Migrations() []migration.Func
func (*PipelineStore) TableName ¶
func (s *PipelineStore) TableName() string
type PipelineType ¶
type PipelineType string
type PullRequest ¶
type PullRequest struct { Owner string Repository string PullRequest int Author string State string Reviews int Reviewers []string CreationTime *time.Time ReadyForReviewTime *time.Time ApprovedTime *time.Time TimeToReview time.Duration MergedTime *time.Time TimeToMerge time.Duration }
func (*PullRequest) CalculateDurations ¶
func (pr *PullRequest) CalculateDurations()
func (*PullRequest) MergeWith ¶
func (pr *PullRequest) MergeWith(other PullRequest)
func (PullRequest) String ¶
func (pr PullRequest) String() string
type PullRequestStore ¶
type PullRequestStore struct {
// contains filtered or unexported fields
}
func (*PullRequestStore) Add ¶
func (s *PullRequestStore) Add(ctx context.Context, pr PullRequest) error
func (*PullRequestStore) Migrations ¶
func (s *PullRequestStore) Migrations() []migration.Func
func (*PullRequestStore) TableName ¶
func (s *PullRequestStore) TableName() string
type Release ¶
type ReleaseStore ¶
type ReleaseStore struct {
// contains filtered or unexported fields
}
func (*ReleaseStore) Migrations ¶
func (s *ReleaseStore) Migrations() []migration.Func
func (*ReleaseStore) TableName ¶
func (s *ReleaseStore) TableName() string
type SimplifiedActivityStep ¶ added in v0.1.0
type Store ¶
type Store struct { Pipelines *PipelineStore PullRequests *PullRequestStore Releases *ReleaseStore Deployments *DeploymentStore }
Click to show internal directories.
Click to hide internal directories.