depnotify

package
v0.0.0-...-f22496c Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const TypeName = "go2chef.step.depnotify"

TypeName is the name of this step plugin

Variables

This section is empty.

Functions

func Loader

func Loader(config map[string]interface{}) (go2chef.Step, error)

Loader provides an instantiation function for this step plugin

Types

type Step

type Step struct {
	SName   string `mapstructure:"name"`
	Status  bool
	Message string
	// contains filtered or unexported fields
}

Step implements a depnotify execution step plugin

func (*Step) Download

func (s *Step) Download() error

Download does nothing for this step since there's no downloading to be done when running any ol' command.

func (*Step) Execute

func (s *Step) Execute() error

Execute appends the status to the depnotify log file.

func (*Step) Name

func (s *Step) Name() string

Name returns the name of this step instance

func (*Step) SetName

func (s *Step) SetName(name string)

SetName sets the name of this step instance

func (*Step) String

func (s *Step) String() string

func (*Step) Type

func (s *Step) Type() string

Type returns the type of this step instance

Jump to

Keyboard shortcuts

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