Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListProviderResources ¶
func ListProviders ¶
func ListProviders() []string
func YAMLDecode ¶
Types ¶
type Provider ¶
type Provider struct {
ProviderDefinition `hcl:"provider"`
}
func NewProvider ¶
func SelectProvider ¶
type ProviderDefinition ¶
type ProviderDefinition struct { Name string `hcl:",key"` Spec interface{} `hcl:",squash"` }
type Resource ¶
type Resource struct {
ResourceDefinition `hcl:"resource"`
}
func BuildResource ¶
func NewResource ¶
func NewResource(s ResourceSpec) *Resource
func SelectResource ¶
type ResourceDefinition ¶
type ResourceDefinition struct { Type string `hcl:",key"` Name string `hcl:",key"` ResourceSpec `hcl:",squash"` }
type ResourceSpec ¶
type Resources ¶
type Resources []string
func ListResources ¶
func (Resources) ApplyCommand ¶
func (Resources) DestroyCommand ¶
func (Resources) SelectMany ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.