Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWS ¶
type AWS struct {
// contains filtered or unexported fields
}
AWS is a state provider type, leveraging S3 and DynamoDB
func NewAWSCollection ¶
NewAWSCollection instantiate all needed AWS objects configurated by the user and return a slice
type GCP ¶
type GCP struct {
// contains filtered or unexported fields
}
GCP is a state provider type, leveraging GCS
func NewGCPCollection ¶
NewGCPCollection instantiate all needed GCP objects configurated by the user and return a slice
type Gitlab ¶
Gitlab is a state provider type, leveraging GitLab
func NewGitlab ¶
func NewGitlab(gl config.GitlabConfig, noLocks, noVersioning bool) *Gitlab
NewGitlab creates a new Gitlab object
func NewGitlabCollection ¶
NewGitlabCollection instantiate all needed Gitlab objects configurated by the user and return a slice
type LockInfo ¶
type LockInfo struct { ID string Operation string Info string Who string Version string Created *time.Time Path string }
LockInfo stores information on a State Lock
type Provider ¶
type Provider interface { GetLocks() (map[string]LockInfo, error) GetVersions(string) ([]Version, error) GetStates() ([]string, error) GetState(string, string) (*statefile.File, error) }
Provider is an interface for supported state providers
type TFE ¶
TFE is a state provider type, leveraging Terraform Enterprise
func NewTFECollection ¶
NewTFECollection instantiate all needed GCP objects configurated by the user and return a slice