outputs

package
v0.10.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Output

type Output struct {
	Name      string `json:"name"`
	Sensitive bool   `json:"sensitive"`
	Type      string `json:"type"`
	Value     string `json:"value"`
}

Output represents a bundle output

func ReadBundleOutput

func ReadBundleOutput(c *config.Config, name, claim string) (*Output, error)

ReadBundleOutput reads the provided output associated with the provided bundle, via the filesystem provided by the config.Config object, returning the output's full Output representation

func (*Output) JSONMarshal

func (o *Output) JSONMarshal() ([]byte, error)

JSONMarshal marshals an Output to JSON, returning a byte array or error

type Outputs

type Outputs []Output

Outputs is a slice of Outputs

func (Outputs) Len

func (l Outputs) Len() int

func (Outputs) Less

func (l Outputs) Less(i, j int) bool

func (Outputs) Swap

func (l Outputs) Swap(i, j int)

Jump to

Keyboard shortcuts

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