assets

package
v1.0.1-RCX12 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AmazonSecret

func AmazonSecret(bucket string, id string, secret string, token string, region string) *api.Secret

func EtcdRc

func EtcdRc(hostPath string) *api.ReplicationController

func EtcdService

func EtcdService() *api.Service

func GoogleSecret

func GoogleSecret(bucket string) *api.Secret

func InitJob

func InitJob() *extensions.Job

func PachdRc

func PachdRc(shards uint64, backend backend, hostPath string) *api.ReplicationController

PachdRc TODO secrets is only necessary because dockerized kube chokes on them

func PachdService

func PachdService() *api.Service

func RethinkRc

func RethinkRc(backend backend, volume string, hostPath string) *api.ReplicationController

func RethinkService

func RethinkService() *api.Service

func RethinkVolume

func RethinkVolume(backend backend, name string, size int) *api.PersistentVolume

func RethinkVolumeClaim

func RethinkVolumeClaim(size int) *api.PersistentVolumeClaim

func ServiceAccount

func ServiceAccount() *api.ServiceAccount

func WriteAmazonAssets

func WriteAmazonAssets(w io.Writer, shards uint64, bucket string, id string, secret string, token string, region string, volumeName string, volumeSize int)

func WriteAssets

func WriteAssets(w io.Writer, shards uint64, backend backend, volumeName string, volumeSize int, hostPath string)

WriteAssets creates the assets in a dir. It expects dir to already exist.

func WriteGoogleAssets

func WriteGoogleAssets(w io.Writer, shards uint64, bucket string, volumeName string, volumeSize int)

func WriteLocalAssets

func WriteLocalAssets(w io.Writer, shards uint64, hostPath string, version string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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