types

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: Apache-2.0 Imports: 0 Imported by: 5

Documentation

Index

Constants

View Source
const (
	// MessageDestroyJobNotCompleted is the message when Configuration deletion isn't completed
	MessageDestroyJobNotCompleted = "Configuration deletion isn't completed"
	// MessageApplyJobNotCompleted is the message when cloud resources are not created completed
	MessageApplyJobNotCompleted = "cloud resources are not created completed"
	// MessageCloudResourceProvisioningAndChecking is the message when cloud resource is being provisioned
	MessageCloudResourceProvisioningAndChecking = "Cloud resources are being provisioned and provisioning status is checking..."
	// ErrUpdateTerraformApplyJob means hitting  an issue to update Terraform apply job
	ErrUpdateTerraformApplyJob = "Hit an issue to update Terraform apply job"
	// MessageCloudResourceDeployed means Cloud resources are deployed and ready to use
	MessageCloudResourceDeployed = "Cloud resources are deployed and ready to use"
	// MessageCloudResourceDestroying is the message when cloud resource is being destroyed
	MessageCloudResourceDestroying = "Cloud resources is being destroyed..."
	// ErrProviderNotFound means provider not found
	ErrProviderNotFound = "provider not found"
	// ErrProviderNotReady means provider object is not ready
	ErrProviderNotReady = "Provider is not ready"
	// ConfigurationReloadingAsHCLChanged means Configuration changed and needs reloading
	ConfigurationReloadingAsHCLChanged = "Configuration's HCL has changed, and starts reloading"
	// ConfigurationReloadingAsVariableChanged means Configuration changed and needs reloading
	ConfigurationReloadingAsVariableChanged = "Configuration's variable has changed, and starts reloading"
	// ErrGenerateOutputs means error to generate outputs
	ErrGenerateOutputs = "Hit an issue to generate outputs"
)
View Source
const (
	// TerraformHCLConfigurationName is the file name for Terraform hcl Configuration
	TerraformHCLConfigurationName = "main.tf"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigurationState added in v0.1.18

type ConfigurationState string

A ConfigurationState represents the status of a resource

const (
	Authorizing                          ConfigurationState = "Authorizing"
	ProviderNotFound                     ConfigurationState = "ProviderNotFound"
	ProviderNotReady                     ConfigurationState = "ProviderNotReady"
	ConfigurationStaticCheckFailed       ConfigurationState = "ConfigurationSpecNotValid"
	Available                            ConfigurationState = "Available"
	ConfigurationProvisioningAndChecking ConfigurationState = "ProvisioningAndChecking"
	ConfigurationDestroying              ConfigurationState = "Destroying"
	ConfigurationApplyFailed             ConfigurationState = "ApplyFailed"
	ConfigurationDestroyFailed           ConfigurationState = "DestroyFailed"
	ConfigurationReloading               ConfigurationState = "ConfigurationReloading"
	GeneratingOutputs                    ConfigurationState = "GeneratingTerraformOutputs"
	InvalidRegion                        ConfigurationState = "InvalidRegion"
	TerraformInitError                   ConfigurationState = "TerraformInitError"
)

Reasons a resource is or is not ready.

type ConfigurationType added in v0.1.18

type ConfigurationType string

ConfigurationType is the type for Terraform Configuration

const (
	// ConfigurationHCL is the HCL type Configuration
	ConfigurationHCL ConfigurationType = "HCL"
	// ConfigurationRemote means HCL stores in a remote git repository
	ConfigurationRemote ConfigurationType = "Remote"
)

type ProviderState added in v0.1.18

type ProviderState string

ProviderState is the type for Provider state

const (
	// ProviderIsReady is the `ready` state
	ProviderIsReady ProviderState = "ready"
	// ProviderIsNotReady marks the state of a Provider is not ready
	ProviderIsNotReady ProviderState = "ProviderNotReady"
)

type Stage added in v0.4.7

type Stage string

Stage is the Terraform stage

const (
	TerraformInit  Stage = "TerraformInit"
	TerraformApply Stage = "TerraformApply"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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