block

package
v0.0.1-beta1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// BlockBlock identifier of plugin.
	BlockBlock = "block"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block struct {
	*actions.Base
	// contains filtered or unexported fields
}

Set common block used to define variables.

func (*Block) Execute

func (b *Block) Execute(ctx context.FeatureContext) errors.Error

Execute method to run the plugin.

type Decoder

type Decoder struct{}

Decoder implement interface Decoder.

func (*Decoder) BlockHeaderSchema

func (dec *Decoder) BlockHeaderSchema() hcl.BlockHeaderSchema

BlockHeaderSchema return the header schema for the plugin.

func (*Decoder) DecodeBlock

func (dec *Decoder) DecodeBlock(block *hcl.Block) (actions.Action, errors.Error)

DecodeBlock inherited method from interface Decoder.

Jump to

Keyboard shortcuts

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