config

package
v0.92.15 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 10 Imported by: 7

Documentation

Index

Constants

View Source
const DefaultFoggVersion = 2

DefaultFoggVersion is the version that fogg will generate by default

Variables

This section is empty.

Functions

func FindAndReadConfig

func FindAndReadConfig(fs afero.Fs, configFile string) (*v2.Config, error)

FindAndReadConfig locates config file and reads it based on the version

func FindConfig added in v0.22.0

func FindConfig(fs afero.Fs, configFile string) ([]byte, int, error)

FindConfig loads a config and its version into memory

func InitConfig

func InitConfig(project, region, bucket, table, awsProfile, owner, awsAccountID *string, awsProviderVersion string) *v2.Config

InitConfig initializes the config file using user input

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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