atlantis

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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 (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
}

type SimpleAtlantisConfig added in v0.0.9

type SimpleAtlantisConfig struct {
	Version  int
	Projects []valid.Project
}

func ParseRepoConfig

func ParseRepoConfig(body string) (*SimpleAtlantisConfig, error)

func ParseRepoConfigFromDir

func ParseRepoConfigFromDir(dir string) (*SimpleAtlantisConfig, error)

type TemporaryError added in v0.0.9

type TemporaryError interface {
	Temporary() bool
	error
}

Jump to

Keyboard shortcuts

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