gitreceive

package
v0.0.0-...-439d2e9 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2016 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(conf *Config) error

Types

type Config

type Config struct {
	// k8s service discovery env vars
	WorkflowHost string `envconfig:"DEIS_WORKFLOW_SERVICE_HOST" required:"true"`
	WorkflowPort string `envconfig:"DEIS_WORKFLOW_SERVICE_PORT" required:"true"`
	RegistryHost string `envconfig:"DEIS_REGISTRY_SERVICE_HOST" required:"true"`
	RegistryPort string `envconfig:"DEIS_REGISTRY_SERVICE_PORT" required:"true"`

	GitHome            string `envconfig:"GIT_HOME" required:"true"`
	SSHConnection      string `envconfig:"SSH_CONNECTION" required:"true"`
	SSHOriginalCommand string `envconfig:"SSH_ORIGINAL_COMMAND" required:"true"`
	Repository         string `envconfig:"REPOSITORY" required:"true"`
	Username           string `envconfig:"USERNAME" required:"true"`
	Fingerprint        string `envconfig:"FINGERPRINT" required:"true"`
	PodNamespace       string `envconfig:"POD_NAMESPACE" required:"true"`
}

func (Config) App

func (c Config) App() string

Directories

Path Synopsis
Package log is a convenience wrapper for logging messages of various levels (associated colors to come) to the terminal.
Package log is a convenience wrapper for logging messages of various levels (associated colors to come) to the terminal.

Jump to

Keyboard shortcuts

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