handler

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 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, beforeNewline bool) (Handler, error)

func NewReadHandler

func NewReadHandler(results map[string]cty.Value, fallbackToRawString bool) (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