settings

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultAccountNumber  = "271828182845"
	DefaultRegion         = "us-west-2"
	DefaultLambdaEndpoint = "http://localhost:9050"

	DefaultBasePort = 9000
	DefaultDataPath = "data"
	DefaultImage    = "bitnami/minio:2022.2.16"

	DefaultNetworks = "rainbow"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	AccountNumber  string
	IsDebug        bool
	IsLocal        bool
	Region         string
	LambdaEndpoint string

	BasePort int

	Image string

	Networks []string
	// contains filtered or unexported fields
}

func DefaultConfig

func DefaultConfig() *Config

func FromFlags

func FromFlags(name string, args []string) (*Config, string, error)

func (*Config) DataPath

func (config *Config) DataPath() string

func (*Config) MinioUrl

func (config *Config) MinioUrl() string

type NetworkValue

type NetworkValue struct {
	// contains filtered or unexported fields
}

func (*NetworkValue) Set

func (v *NetworkValue) Set(s string) error

func (*NetworkValue) String

func (v *NetworkValue) String() string

Jump to

Keyboard shortcuts

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