env

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2017 License: GPL-3.0 Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// CacheComposer is an identifier for composer cache.
	CacheComposer = "cache-composer"

	// CacheYarn is an identifier for yarn cache.
	CacheYarn = "cache-yarn"
)
View Source
const (
	// SecretSSH is the identifier for storing the "id_rsa" and known_hosts file
	// secrets are stored.
	SecretSSH = "ssh"
	// SecretDockerCfg is the identifier for storing Docker configuration.
	SecretDockerCfg = "dockercfg"
)

Variables

This section is empty.

Functions

func Ingress

func Ingress(namespace, name string, annotations []*pb.Annotation, secret, retention string, domains []string) (*extensions.Ingress, error)

Ingress converts a Docker Compose file into a Kubernetes Ingress object.

func PersistentVolumeClaim

func PersistentVolumeClaim(namespace, name, storage string) *v1.PersistentVolumeClaim

PersistentVolumeClaim is used for creating a new PersistentVolumeClaim object.

func Pod

func Pod(namespace, name string, annotations []*pb.Annotation, repository, revision, retention string, services []*pb.ComposeService, promPort int32) (*v1.Pod, error)

Pod converts a Docker Compose file into a Kubernetes Deployment object.

func Secret

func Secret(namespace, name string, annotations []*pb.Annotation, user, pass, retention string) (*v1.Secret, error)

Secret is used for generating a "basic auth" secret for our PR environment. @todo, Needs a test.

func Service

func Service(namespace, name, retention string, annotations []*pb.Annotation) (*v1.Service, error)

Service converts a Docker Compose file into a Kubernetes Service object.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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