config

package
v0.0.0-...-310a06b Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse() (*config, error)

Types

type ClusterCredentials

type ClusterCredentials struct {
	CAData string `envconfig:"CA_DATA"`
	Server string `envconfig:"SERVER"`
	Token  string `envconfig:"TOKEN"`
}

type RegistryConfig

type RegistryConfig struct {
	Server string `envconfig:"REG_SERVER"`
	User   string `envconfig:"REG_USER"`
	Pass   string `envconfig:"REG_PASS"`
	Email  string `envconfig:"REG_EMAIL"`
}

func (RegistryConfig) GetDockerConfigJson

func (r RegistryConfig) GetDockerConfigJson() ([]byte, error)

func (RegistryConfig) HasRegistryConfig

func (r RegistryConfig) HasRegistryConfig() bool

Jump to

Keyboard shortcuts

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