config

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2018 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Global

type Global struct {
	Image                          string
	GlobalAccessKeyID              string
	GlobalSecretAccessKey          string
	GlobalRepoPassword             string
	GlobalS3Endpoint               string
	GlobalS3Bucket                 string
	GlobalStatsURL                 string
	GlobalRestoreS3Endpoint        string
	GlobalRestoreS3Bucket          string
	GlobalRestoreS3AccessKeyID     string
	GlobalRestoreS3SecretAccessKey string
	GlobalArchiveS3Endpoint        string
	GlobalArchiveS3Bucket          string
	GlobalArchiveS3AccessKeyID     string
	GlobalArchiveS3SecretAccessKey string
	Label                          string
	Identifier                     string
	RestartPolicy                  string
	GlobalPromURL                  string
	GlobalKeepJobs                 int
}

Global contains configuration that is the same for all services

func New

func New() Global

New returns an instance of Global with the fields set to the approriate env variables.

Jump to

Keyboard shortcuts

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