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(version string) *extensions.Job
- func MicrosoftSecret(container string, id string, secret string) *api.Secret
- func PachdRc(shards uint64, backend backend, hostPath string, version string) *api.ReplicationController
- func PachdService() *api.Service
- func RegistryRc() *api.ReplicationController
- func RegistryService() *api.Service
- func RethinkRc(backend backend, volume string, hostPath string, rethinkdbCacheSize string) *api.ReplicationController
- func RethinkService() *api.Service
- func RethinkVolume(backend backend, hostPath string, 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, registry bool, ...)
- func WriteMicrosoftAssets(w io.Writer, shards uint64, container string, id string, secret string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AmazonSecret ¶
AmazonSecret creates an amazon secret with the following parameters:
bucket - S3 bucket name id - AWS access key id secret - AWS secret access key token - AWS access token region - AWS region
func EtcdRc ¶
func EtcdRc(hostPath string) *api.ReplicationController
EtcdRc returns an etcd replication controller.
func GoogleSecret ¶
GoogleSecret creates a google secret with a bucket name.
func MicrosoftSecret ¶ added in v1.2.3
MicrosoftSecret creates a microsoft secret with following parameters:
container - Azure blob container id - Azure storage account name secret - Azure storage account key
func PachdRc ¶
func PachdRc(shards uint64, backend backend, hostPath string, version string) *api.ReplicationController
PachdRc returns a pachd replication controller.
func RegistryRc ¶ added in v1.2.3
func RegistryRc() *api.ReplicationController
RegistryRc returns a registry Replication Controller.
func RegistryService ¶ added in v1.2.3
RegistryService returns a registry service.
func RethinkRc ¶
func RethinkRc(backend backend, volume string, hostPath string, rethinkdbCacheSize string) *api.ReplicationController
RethinkRc returns a rethinkdb replication controller.
func RethinkService ¶
RethinkService returns a rethinkdb service.
func RethinkVolume ¶
func RethinkVolume(backend backend, hostPath string, name string, size int) *api.PersistentVolume
RethinkVolume creates a persistent volume with a backend (local, amazon, google), a name, and a size in gigabytes.
func RethinkVolumeClaim ¶
func RethinkVolumeClaim(size int) *api.PersistentVolumeClaim
RethinkVolumeClaim creates a persistent volume claim with a size in gigabytes.
func ServiceAccount ¶
func ServiceAccount() *api.ServiceAccount
ServiceAccount returns a kubernetes service account for use with Pachyderm.
func WriteAmazonAssets ¶
func WriteAmazonAssets(w io.Writer, shards uint64, bucket string, id string, secret string, token string, region string, volumeName string, volumeSize int, registry bool, rethinkdbCacheSize string, version string)
WriteAmazonAssets writes assets to an amazon backend.
func WriteAssets ¶
func WriteAssets(w io.Writer, shards uint64, backend backend, volumeName string, volumeSize int, hostPath string, registry bool, rethinkdbCacheSize string, version string)
WriteAssets writes the assets to w.
func WriteGoogleAssets ¶
func WriteGoogleAssets(w io.Writer, shards uint64, bucket string, volumeName string, volumeSize int, registry bool, rethinkdbCacheSize string, version string)
WriteGoogleAssets writes assets to a google backend.
Types ¶
This section is empty.