Documentation ¶
Index ¶
- type BlobStoreConfig
- type BlobStoreType
- type Config
- func (c *Config) ActiveBlobStore() BlobStoreType
- func (c *Config) BlobStore() BlobStoreConfig
- func (c *Config) Load() error
- func (c *Config) Loggregator() string
- func (c *Config) Password() string
- func (c *Config) Receptor() string
- func (c *Config) S3BlobStore() S3BlobStoreConfig
- func (c *Config) Save() error
- func (c *Config) SetBlobStore(host, port, username, password string)
- func (c *Config) SetLogin(username, password string)
- func (c *Config) SetS3BlobStore(accessKey, secretKey, bucketName, region string)
- func (c *Config) SetTarget(target string)
- func (c *Config) Target() string
- func (c *Config) Username() string
- type Data
- type S3BlobStoreConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobStoreConfig ¶
type BlobStoreType ¶
type BlobStoreType int
const ( DAVBlobStore BlobStoreType = iota S3BlobStore )
func (BlobStoreType) String ¶
func (b BlobStoreType) String() string
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) ActiveBlobStore ¶
func (c *Config) ActiveBlobStore() BlobStoreType
func (*Config) BlobStore ¶
func (c *Config) BlobStore() BlobStoreConfig
func (*Config) Loggregator ¶
func (*Config) S3BlobStore ¶
func (c *Config) S3BlobStore() S3BlobStoreConfig
func (*Config) SetBlobStore ¶
func (*Config) SetS3BlobStore ¶
type Data ¶
type Data struct { Target string `json:"target"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` ActiveBlobStore BlobStoreType `json:"active_blob_store"` BlobStore BlobStoreConfig `json:"dav_blob_store,omitempty"` S3BlobStore S3BlobStoreConfig `json:"s3_blob_store,omitempty"` }
Directories ¶
Path | Synopsis |
---|---|
fake_blob_store_verifier
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
fake_target_verifier
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.