Documentation ¶
Index ¶
- func AmazonSecret(bucket string, id string, secret string, token string, region string) *api.Secret
- func EtcdRc(hostPath string) *api.ReplicationController
- func EtcdService(local bool) *api.Service
- func GoogleSecret(bucket string) *api.Secret
- func MicrosoftSecret(container string, id string, secret string) *api.Secret
- func MinioSecret(bucket string, id string, secret string, endpoint string, secure bool) *api.Secret
- func PachdRc(opts *AssetOpts, objectStoreBackend backend, hostPath string) *api.ReplicationController
- func PachdService() *api.Service
- func ServiceAccount() *api.ServiceAccount
- func WriteAmazonAssets(w io.Writer, opts *AssetOpts, bucket string, id string, secret string, ...) error
- func WriteAssets(w io.Writer, opts *AssetOpts, objectStoreBackend backend, ...) error
- func WriteCustomAssets(w io.Writer, opts *AssetOpts, args []string, objectStoreBackend string, ...) error
- func WriteGoogleAssets(w io.Writer, opts *AssetOpts, bucket string, volumeNames []string, ...) error
- func WriteLocalAssets(w io.Writer, opts *AssetOpts, hostPath string) error
- func WriteMicrosoftAssets(w io.Writer, opts *AssetOpts, container string, id string, secret string, ...) error
- type AssetOpts
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 MinioSecret ¶ added in v1.3.5
MinioSecret creates an amazon secret with the following parameters:
bucket - S3 bucket name id - S3 access key id secret - S3 secret access key endpoint - S3 compatible endpoint secure - set to true for a secure connection.
func PachdRc ¶
func PachdRc(opts *AssetOpts, objectStoreBackend backend, hostPath string) *api.ReplicationController
PachdRc returns a pachd replication controller.
func ServiceAccount ¶
func ServiceAccount() *api.ServiceAccount
ServiceAccount returns a kubernetes service account for use with Pachyderm.
func WriteAmazonAssets ¶
func WriteAmazonAssets(w io.Writer, opts *AssetOpts, bucket string, id string, secret string, token string, region string, volumeNames []string, volumeSize int) error
WriteAmazonAssets writes assets to an amazon backend.
func WriteAssets ¶
func WriteAssets(w io.Writer, opts *AssetOpts, objectStoreBackend backend, persistentDiskBackend backend, volumeNames []string, volumeSize int, hostPath string) error
WriteAssets writes the assets to w.
func WriteCustomAssets ¶ added in v1.3.12
func WriteCustomAssets(w io.Writer, opts *AssetOpts, args []string, objectStoreBackend string, persistentDiskBackend string, secure bool) error
WriteCustomAssets writes assets to a custom combination of object-store and persistent disk.
func WriteGoogleAssets ¶
func WriteGoogleAssets(w io.Writer, opts *AssetOpts, bucket string, volumeNames []string, volumeSize int) error
WriteGoogleAssets writes assets to a google backend.
func WriteLocalAssets ¶
WriteLocalAssets writes assets to a local backend.
Types ¶
type AssetOpts ¶ added in v1.2.4
type AssetOpts struct { PachdShards uint64 Version string LogLevel string Metrics bool // BlockCacheSize is the amount of memory each PachD node allocates towards // its cache of PFS blocks. BlockCacheSize string }
AssetOpts are options that are applicable to all the asset types.