cloudconfig

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete() error

Delete removes the cloud config file from the set config path

func Write

func Write(config CloudConfig) error

Write saves the cloudconfig file to the set config path

Types

type CloudConfig

type CloudConfig struct {
	Aws models.AwsConfig `yaml:"aws"`
}

CloudConfig contains all configuration values / credentials for cloud storage

func Load

func Load() (CloudConfig, bool)

Load loads cloud storage configuration / credentials from env variables or data/cloudconfig.yml

Jump to

Keyboard shortcuts

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