Documentation ¶
Index ¶
- Constants
- func FindAndReadConfig(fs afero.Fs, configFile string) (*v2.Config, error)
- func FindConfig(fs afero.Fs, configFile string) ([]byte, int, error)
- func InitConfig(project, region, bucket, table, awsProfile, owner, awsProviderVersion string) *v2.Config
- func UpgradeConfigVersion(c1 *v1.Config) (*v2.Config, error)
Constants ¶
View Source
const DefaultFoggVersion = 2
DefaultFoggVersion is the version that fogg will generate by default
Variables ¶
This section is empty.
Functions ¶
func FindAndReadConfig ¶
FindAndReadConfig locates config file and reads it based on the version
func FindConfig ¶ added in v0.22.0
FindConfig loads a config and its version into memory
func InitConfig ¶
func InitConfig(project, region, bucket, table, awsProfile, owner, awsProviderVersion string) *v2.Config
InitConfig initializes the config file using user input
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.