Documentation ¶
Index ¶
- func AmazonSecret(bucket string, id string, secret string, token string, region string) *api.Secret
- func EtcdRc(hostPath string) *api.ReplicationController
- func EtcdService() *api.Service
- func GoogleSecret(bucket string) *api.Secret
- func InitJob() *extensions.Job
- func PachdRc(shards uint64, backend backend, hostPath string) *api.ReplicationController
- func PachdService() *api.Service
- func RethinkRc(backend backend, volume string, hostPath string) *api.ReplicationController
- func RethinkService() *api.Service
- func RethinkVolume(backend backend, name string, size int) *api.PersistentVolume
- func RethinkVolumeClaim(size int) *api.PersistentVolumeClaim
- func ServiceAccount() *api.ServiceAccount
- func WriteAmazonAssets(w io.Writer, shards uint64, bucket string, id string, secret string, ...)
- func WriteAssets(w io.Writer, shards uint64, backend backend, volumeName string, volumeSize int, ...)
- func WriteGoogleAssets(w io.Writer, shards uint64, bucket string, volumeName string, volumeSize int)
- func WriteLocalAssets(w io.Writer, shards uint64, hostPath string, version string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AmazonSecret ¶
func EtcdRc ¶
func EtcdRc(hostPath string) *api.ReplicationController
func EtcdService ¶
func GoogleSecret ¶
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 RethinkRc ¶
func RethinkRc(backend backend, volume string, hostPath string) *api.ReplicationController
func RethinkService ¶
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 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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.