config

package
v2.5.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 11, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSwaggerClient

func GetSwaggerClient(apiURL string) (*apiclient.WorkflowManager, error)

Types

type Specification

type Specification struct {
	Port           string `default:"8080" envconfig:"PORT"`
	Polling        int    `default:"43200" envconfig:"POLL_INTERVAL_SEC"` // 43200 seconds = 12 hours
	VersionsAPIURL string `envconfig:"VERSIONS_API_URL" default:"https://versions-staging.deis.com"`
	DoctorAPIURL   string `envconfig:"DOCTOR_API_URL" default:"https://doctor-staging.deis.com"`
	APIVersion     string `envconfig:"API_VERSION" default:"v3"`
	CheckVersions  bool   `default:"true" envconfig:"CHECK_VERSIONS"`
	DeisNamespace  string `default:"deis" envconfig:"DEIS_NAMESPACE"`
}

Specification config struct

var Spec Specification

Spec is an exportable variable that contains workflow manager config data

Jump to

Keyboard shortcuts

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