Documentation ¶
Overview ¶
Package riaksvc provides a TrafficVault implementation which uses Riak as the backend.
Index ¶
- Constants
- type Config
- type Riak
- func (r *Riak) DeleteDNSSECKeys(cdnName string, tx *sql.Tx, ctx context.Context) error
- func (r *Riak) DeleteDeliveryServiceSSLKeys(xmlID string, version string, tx *sql.Tx, ctx context.Context) error
- func (r *Riak) DeleteOldDeliveryServiceSSLKeys(existingXMLIDs map[string]struct{}, cdnName string, tx *sql.Tx, ...) error
- func (r *Riak) DeleteURISigningKeys(xmlID string, tx *sql.Tx, ctx context.Context) error
- func (r *Riak) DeleteURLSigKeys(xmlID string, tx *sql.Tx, ctx context.Context) error
- func (r *Riak) GetBucketKey(bucket string, key string, tx *sql.Tx) ([]byte, bool, error)
- func (r *Riak) GetCDNSSLKeys(cdnName string, tx *sql.Tx, ctx context.Context) ([]tc.CDNSSLKey, error)
- func (r *Riak) GetDNSSECKeys(cdnName string, tx *sql.Tx, ctx context.Context) (tc.DNSSECKeysTrafficVault, bool, error)
- func (r *Riak) GetDeliveryServiceSSLKeys(xmlID string, version string, tx *sql.Tx, ctx context.Context) (tc.DeliveryServiceSSLKeysV15, bool, error)
- func (r *Riak) GetExpirationInformation(tx *sql.Tx, ctx context.Context, days int) ([]tc.SSLKeyExpirationInformation, error)
- func (r *Riak) GetURISigningKeys(xmlID string, tx *sql.Tx, ctx context.Context) ([]byte, bool, error)
- func (r *Riak) GetURLSigKeys(xmlID string, tx *sql.Tx, ctx context.Context) (tc.URLSigKeys, bool, error)
- func (r *Riak) Ping(tx *sql.Tx, ctx context.Context) (tc.TrafficVaultPing, error)
- func (r *Riak) PutDNSSECKeys(cdnName string, keys tc.DNSSECKeysTrafficVault, tx *sql.Tx, ...) error
- func (r *Riak) PutDeliveryServiceSSLKeys(key tc.DeliveryServiceSSLKeys, tx *sql.Tx, ctx context.Context) error
- func (r *Riak) PutURISigningKeys(xmlID string, keysJson []byte, tx *sql.Tx, ctx context.Context) error
- func (r *Riak) PutURLSigKeys(xmlID string, keys tc.URLSigKeys, tx *sql.Tx, ctx context.Context) error
- type RiakStorageCluster
- type ServerAddr
- type StorageCluster
- type TOAuthOptions
Constants ¶
View Source
const RiakBackendName = "riak"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Riak ¶
type Riak struct {
// contains filtered or unexported fields
}
func (*Riak) DeleteDNSSECKeys ¶
func (*Riak) DeleteDeliveryServiceSSLKeys ¶
func (*Riak) DeleteOldDeliveryServiceSSLKeys ¶
func (*Riak) DeleteURISigningKeys ¶
func (*Riak) DeleteURLSigKeys ¶
func (*Riak) GetBucketKey ¶
func (*Riak) GetCDNSSLKeys ¶
func (*Riak) GetDNSSECKeys ¶
func (*Riak) GetDeliveryServiceSSLKeys ¶
func (*Riak) GetExpirationInformation ¶
func (*Riak) GetURISigningKeys ¶
func (*Riak) GetURLSigKeys ¶
func (*Riak) PutDNSSECKeys ¶
func (*Riak) PutDeliveryServiceSSLKeys ¶
func (*Riak) PutURISigningKeys ¶
type RiakStorageCluster ¶
type RiakStorageCluster struct {
Cluster *riak.Cluster
}
RiakStorageCluster ...
func (RiakStorageCluster) Execute ¶
func (ri RiakStorageCluster) Execute(command riak.Command) error
Execute ...
type ServerAddr ¶
type StorageCluster ¶
StorageCluster ...
type TOAuthOptions ¶
Click to show internal directories.
Click to hide internal directories.