hcl

package
v0.0.0-...-a5247d6 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2017 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Resources []*Resource
	Edges     []*Edge
	Collector []collectorResConfig
}

Config defines the structure of the hcl config.

type Edge

type Edge struct {
	Name   string
	From   vertex
	To     vertex
	Notify bool
}

Edge defines an edge in hcl.

type GAPI

type GAPI struct {
	File *string
	// contains filtered or unexported fields
}

GAPI ...

func NewGAPI

func NewGAPI(data gapi.Data, file *string) (*GAPI, error)

NewGAPI ...

func (*GAPI) Close

func (obj *GAPI) Close() error

Close ...

func (*GAPI) Graph

func (obj *GAPI) Graph() (*pgraph.Graph, error)

Graph ...

func (*GAPI) Init

func (obj *GAPI) Init(d gapi.Data) error

Init ...

func (*GAPI) Next

func (obj *GAPI) Next() chan gapi.Next

Next ...

type Resource

type Resource struct {
	Name string
	Kind string

	Meta resources.MetaParams
	// contains filtered or unexported fields
}

Resource ...

type Resources

type Resources struct {
	Resources []resources.Res
}

Resources define the state for resources.

Jump to

Keyboard shortcuts

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