bare

package
v0.0.0-...-d0b32f8 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2021 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 Config

type Config struct {
}

Config contains the configuration for this runner.

type Dependencies

type Dependencies struct {
	Logger zerolog.Logger
	Storer providers.Storer
}

Dependencies any providers which this provider needs.

type Runner

type Runner struct {
	Config
	Dependencies
}

Runner is a bare runner

func NewBareRunner

func NewBareRunner(cfg Config, deps Dependencies) *Runner

NewBareRunner creates a new Bare runner.

func (*Runner) Run

func (r *Runner) Run(ctx context.Context, name string, args []string) error

Run executes a bare metal plugin.

Jump to

Keyboard shortcuts

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