status

package
v0.0.0-...-c29577e Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RepoStatusManager

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

Allows changing a Repo resource state. Objects passed by the informer must not be modified. Hence the DeepCopy() before every operation.

func NewRepoStatusManager

func NewRepoStatusManager(repoclientset clientset.Interface) RepoStatusManager

func (RepoStatusManager) IsNewRepoRun

func (statusManager RepoStatusManager) IsNewRepoRun(repo *repo.Repo) bool

func (RepoStatusManager) SetJobRunStatus

func (statusManager RepoStatusManager) SetJobRunStatus(repo *repo.Repo, job *batchv1.Job) error

func (RepoStatusManager) SetNewJobRun

func (statusManager RepoStatusManager) SetNewJobRun(repo *repo.Repo, newGitSha string) error

Set desired state as new job run

Jump to

Keyboard shortcuts

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