atlantis

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseRepoConfig

func ParseRepoConfig(body string) (*valid.RepoCfg, error)

func ParseRepoConfigFromDir

func ParseRepoConfigFromDir(dir string) (*valid.RepoCfg, error)

Types

type Client

type Client struct {
	AtlantisHostname string
	Token            string
	HTTPClient       *http.Client
}

func (*Client) PlanSummary

func (c *Client) PlanSummary(ctx context.Context, req *PlanSummaryRequest) (*PlanResult, error)

type DirectoriesWithWorkspaces

type DirectoriesWithWorkspaces map[string][]string

func ConfigToWorkspaces

func ConfigToWorkspaces(cfg *valid.RepoCfg) DirectoriesWithWorkspaces

func (DirectoriesWithWorkspaces) SortedKeys

func (d DirectoriesWithWorkspaces) SortedKeys() []string

type PlanResult

type PlanResult struct {
	Summaries []PlanSummary
}

func (*PlanResult) HasChanges

func (p *PlanResult) HasChanges() bool

func (*PlanResult) IsLocked

func (p *PlanResult) IsLocked() bool

type PlanSummary

type PlanSummary struct {
	HasLock bool
	Summary string
}

type PlanSummaryRequest

type PlanSummaryRequest struct {
	Repo      string
	Ref       string
	Type      string
	Dir       string
	Workspace string
}

Jump to

Keyboard shortcuts

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