handler

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockVal

type BlockVal struct {
	Labels []string
}

type Handler

type Handler interface {
	HandleBody(body *hclwrite.Body, name string, keyTrail []string) error
	HandleObject(object *ast.Object, name string, keyTrail []string) error
}

func New

func New(input interface{}, comment, afterKey string) (Handler, error)

func NewReadHandler

func NewReadHandler(results map[string]cty.Value) (Handler, error)

type RawVal

type RawVal struct {
	RawString string
}

Jump to

Keyboard shortcuts

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