storedrun

package
v0.0.158 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OutputPath      string
	ParentID        string
	AllocatedIDPath string
)

Functions

func Attach

func Attach(m proto.Message)

func SetupFlags

func SetupFlags(flags *pflag.FlagSet)

Types

type Run

type Run struct {
	Started time.Time
	// contains filtered or unexported fields
}

func New

func New() *Run

func (*Run) Output

func (s *Run) Output(ctx context.Context, execErr error) error

type StoredRunID

type StoredRunID struct {
	RunId string `json:"run_id,omitempty"`
}

func LoadStoredID

func LoadStoredID(path string) (StoredRunID, error)

Jump to

Keyboard shortcuts

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