Documentation ¶
Overview ¶
Package assert contains types and methods used by the plugin
Index ¶
Constants ¶
View Source
const (
// BlockAssert identifier of the plugin.
BlockAssert = "assert"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assert ¶
Assert plugin definition.
func (*Assert) Assertion ¶
func (a *Assert) Assertion() hcl.Expression
Assertion obtain the assertion.
func (*Assert) Execute ¶
func (a *Assert) Execute(ctx context.FeatureContext) errors.Error
Execute execute the assert plugin.
func (*Assert) SetAssertion ¶
func (a *Assert) SetAssertion(assertion hcl.Expression)
SetAssertion establish the assertion.
type Decoder ¶
type Decoder struct{}
Decoder implements interface plugin.Decoder.
func (*Decoder) BlockHeaderSchema ¶
func (dec *Decoder) BlockHeaderSchema() hcl.BlockHeaderSchema
BlockHeaderSchema return the header schema for the plugin.
Click to show internal directories.
Click to hide internal directories.