quickonf

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service is a quickonf service

func New

func New(steps []Step) (*Service, error)

New creates a new quickonf service containing the given steps

func (*Service) List

func (s *Service) List()

List lists the steps contained in the quickonf service

func (*Service) Run

func (s *Service) Run(dryrun bool)

Run runs the steps contained in the quickonf service

func (*Service) Steps

func (s *Service) Steps(steps []string, dryrun bool)

Steps runs the selected steps

type Step

type Step map[string][]map[string]interface{}

Step is a step definition, which includes instructions

func (Step) Always

func (step Step) Always() bool

Always returns true if the step must always run

func (Step) Name

func (step Step) Name() string

Name returns the step name

Jump to

Keyboard shortcuts

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