sequence

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dependencies

func Dependencies(items List) (allDeps [][]string)

Dependencies just collects the deps for filtering purposes.

Types

type Item

type Item struct {
	BodyRange *hcl.Range
	Name      string
	// contains filtered or unexported fields
}

func NewBackendItem added in v1.10.0

func NewBackendItem(name string) *Item

func (*Item) Add

func (s *Item) Add(ref *Item) *Item

func (*Item) Deps

func (s *Item) Deps() List

Deps returns sequence dependency in reversed order since they have to be solved first.

func (*Item) HasParent

func (s *Item) HasParent() bool

type List

type List []*Item

Jump to

Keyboard shortcuts

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