state

package
v0.0.0-...-7bbb3e1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStates

func GetStates() (map[string]State, error)

Types

type State

type State struct {
	Name     string
	FileName string
	Path     string
	ModTime  time.Time
}

func GetState

func GetState(name string) (*State, error)

func List

func List() ([]State, error)

func (*State) GetOutput

func (s *State) GetOutput(name string, result interface{}) error

func (*State) OutputKeys

func (s *State) OutputKeys() ([]string, error)

func (*State) Outputs

func (s *State) Outputs() (map[string]gjson.Result, error)

Jump to

Keyboard shortcuts

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