worker

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const Dir_RWX_RX_R = 0754

Variables

This section is empty.

Functions

This section is empty.

Types

type BranchDeleteEventWorker added in v0.5.0

type BranchDeleteEventWorker struct {
	// contains filtered or unexported fields
}

func NewBranchDeleteEventWorker added in v0.5.0

func NewBranchDeleteEventWorker(
	tokenManager customScm.NonImpersonatedTokenManager,
	cachePath string,
	dao *store.Store,
) *BranchDeleteEventWorker

func (*BranchDeleteEventWorker) Run added in v0.5.0

func (r *BranchDeleteEventWorker) Run()

type GitopsWorker

type GitopsWorker struct {
	// contains filtered or unexported fields
}

func NewGitopsWorker

func NewGitopsWorker(
	store *store.Store,
	gitopsRepo string,
	gitopsRepoDeployKeyPath string,
	tokenManager customScm.NonImpersonatedTokenManager,
	notificationsManager notifications.Manager,
	eventsProcessed prometheus.Counter,
	repoCache *nativeGit.GitopsRepoCache,
) *GitopsWorker

func (*GitopsWorker) Run

func (w *GitopsWorker) Run()

type ReleaseStateWorker added in v0.2.0

type ReleaseStateWorker struct {
	GitopsRepo string
	RepoCache  *nativeGit.GitopsRepoCache
	Releases   *prometheus.GaugeVec
	Perf       *prometheus.HistogramVec
}

func (*ReleaseStateWorker) Run added in v0.2.0

func (w *ReleaseStateWorker) Run()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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