Documentation ¶
Index ¶
- type Verifier
- func (v *Verifier) Cleanup(ctx context.Context, out io.Writer, dryRun bool) error
- func (v *Verifier) ConfigName() string
- func (v *Verifier) Dependencies() ([]string, error)
- func (v *Verifier) GetLogger() log.Logger
- func (v *Verifier) GetStatusMonitor() status.Monitor
- func (v *Verifier) RegisterLocalImages(images []graph.Artifact)
- func (v *Verifier) TrackBuildArtifacts(artifacts []graph.Artifact)
- func (v *Verifier) TrackContainerAndJobFromBuild(artifact graph.Artifact, container tracker.Job, job *batchv1.Job)
- func (v *Verifier) Verify(ctx context.Context, out io.Writer, allbuilds []graph.Artifact) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Verifier ¶
type Verifier struct {
// contains filtered or unexported fields
}
Verifier verifies deployments using kubernetes libs/CLI.
func NewVerifier ¶
func NewVerifier(ctx context.Context, cfg kubectl.Config, labeller *label.DefaultLabeller, testCases []*latest.VerifyTestCase, artifacts []*latest.Artifact, envMap map[string]string, defaultNamespace string) (*Verifier, error)
NewVerifier returns a new Verifier for a VerifyConfig filled with the needed configuration for `kubectl apply`
func (*Verifier) ConfigName ¶
func (*Verifier) Dependencies ¶
Dependencies lists all the files that describe what needs to be verified.
func (*Verifier) GetStatusMonitor ¶
func (*Verifier) RegisterLocalImages ¶
func (*Verifier) TrackBuildArtifacts ¶
Click to show internal directories.
Click to hide internal directories.