verifier

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command added in v0.0.2

type Command struct {
	Logger *log.Entry
}

Command is an arbitrary implementation of a verifier. It really is just a wrapper to execute arbitrary commands.

func (*Command) Verify added in v0.0.2

func (c *Command) Verify(configuration config.ParticleConfiguration, cmd cmd.Cmd) error

Verify executes all the commands from its section like 'bash -c "$commands"'.

type Verifier

type Verifier interface {
	Verify(config.ParticleConfiguration, cmd.Cmd) error
}

Driver is the interface that verifies that the state of what is deployed, is in the desired state.

Jump to

Keyboard shortcuts

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