Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DirSpec ¶ added in v0.2.0
type DirSpec struct { VendorFolder string Kind string Name string Registry bool Provider ProviderOptSpec }
DirSpec is the abstraction of the fields needed for generating a destination directory
type Furyconf ¶
type Furyconf struct { VendorFolderName string `yaml:"vendorFolderName"` Versions VersionPattern `yaml:"versions"` Roles []Package `yaml:"roles"` Modules []Package `yaml:"modules"` Bases []Package `yaml:"bases"` Provider ProviderPattern `mapstructure:"provider"` }
Furyconf is reponsible for the structure of the Furyfile
type Package ¶
type Package struct { Name string `yaml:"name"` Version string `yaml:"version"` ProviderOpt ProviderOptSpec `mapstructure:"provider"` Registry bool `mapstructure:"registry"` // contains filtered or unexported fields }
Package is the type to contain the definition of a single package
type ProviderKind ¶ added in v0.2.0
type ProviderKind map[string][]RegistrySpec
ProviderKind is the abstraction of the following structure:
modules:
aws - uri: https://github.com/terraform-aws-modules label: official-modules
type ProviderOptSpec ¶ added in v0.2.0
type ProviderOptSpec struct { Name string `mapstructure:"name"` Label string `mapstructure:"label"` }
ProviderSpec is the type that allows to explicit name of cloud provider and referenced label
type ProviderPattern ¶ added in v0.2.0
type ProviderPattern map[string]ProviderKind
ProviderPattern is the abstraction of the following structure: provider:
modules: aws - uri: https://github.com/terraform-aws-modules label: official-modules
type RegistrySpec ¶ added in v0.2.0
type RegistrySpec struct { BaseURI string `mapstructure:"url"` Label string `mapstructure:"label"` }
RegistrySpec contains the couple uri/label to identify each tf new repo declared
type URLSpec ¶ added in v0.2.0
type URLSpec struct { Prefix string Blocks []string DotGitParticle string Kind string Version string Registry bool CloudProvider ProviderOptSpec KindSpec ProviderKind }
URLSpec is the representation of the fields needed to elaborate a url
type VersionPattern ¶ added in v0.1.3
VersionPattern Map from glob pattern to version associated (e.g. {"aws/*" : "v1.15.4-1"}