run

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group struct {
	SummaryInfo
	Oldest time.Time `json:"oldest"`
	Newest time.Time `json:"newest"`

	Records []Summary `json:"records"`
}

type PlanRecord

type PlanRecord struct {
	Plan      *tfjson.Plan        `json:"plan,omitempty"`
	Start     time.Time           `json:"start-time"`
	End       time.Time           `json:"end-time"`
	CommitSHA git.SHA256          `json:"commit-sha"`
	Repo      git.Repo            `json:"repo"`
	Branch    git.Branch          `json:"branch"`
	Workspace terraform.Workspace `json:"workspace"`
	Command   string              `json:"command"`
	Output    string              `json:"output,omitempty"`
	Succeeded bool                `json:"success"`
}

type Set

type Set struct {
	SummaryInfo

	// TODO: do we need this at all levels, or just here?
	Branch    git.Branch          `json:"branch"`
	Workspace terraform.Workspace `json:"workspace"`
	Oldest    time.Time           `json:"oldest"`
	Newest    time.Time           `json:"newest"`

	Records []Group `json:"records"`
}

type Summary

type Summary struct {
	PlanRecord
	SummaryInfo
}

Summary is a run record to which summary information has been added

type SummaryInfo

type SummaryInfo struct {
	Name             string            `json:"name"`
	Changes          terraform.Changes `json:"changes"`
	UpToDate         bool              `json:"up_to_date"`
	ChangedResources string            `json:"changed_resources,omitempty"`
}

Jump to

Keyboard shortcuts

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