Documentation ¶
Overview ¶
Package disabled provides a TrafficVault implementation that simply returns an error for every method stating that Traffic Vault is disabled. This is used instead of passing around a nil TrafficVault instance when Traffic Vault is not enabled, in order to reduce the likelihood of accidentally de-referencing a nil pointer.
Index ¶
- type Disabled
- func (d *Disabled) DeleteDNSSECKeys(cdnName string, tx *sql.Tx, ctx context.Context) error
- func (d *Disabled) DeleteDeliveryServiceSSLKeys(xmlID string, version string, tx *sql.Tx, ctx context.Context) error
- func (d *Disabled) DeleteOldDeliveryServiceSSLKeys(existingXMLIDs map[string]struct{}, cdnName string, tx *sql.Tx, ...) error
- func (d *Disabled) DeleteURISigningKeys(xmlID string, tx *sql.Tx, ctx context.Context) error
- func (d *Disabled) DeleteURLSigKeys(xmlID string, tx *sql.Tx, ctx context.Context) error
- func (d *Disabled) GetBucketKey(bucket string, key string, tx *sql.Tx) ([]byte, bool, error)
- func (d *Disabled) GetCDNSSLKeys(cdnName string, tx *sql.Tx, ctx context.Context) ([]tc.CDNSSLKey, error)
- func (d *Disabled) GetDNSSECKeys(cdnName string, tx *sql.Tx, ctx context.Context) (tc.DNSSECKeysTrafficVault, bool, error)
- func (d *Disabled) GetDeliveryServiceSSLKeys(xmlID string, version string, tx *sql.Tx, ctx context.Context) (tc.DeliveryServiceSSLKeysV15, bool, error)
- func (d *Disabled) GetURISigningKeys(xmlID string, tx *sql.Tx, ctx context.Context) ([]byte, bool, error)
- func (d *Disabled) GetURLSigKeys(xmlID string, tx *sql.Tx, ctx context.Context) (tc.URLSigKeys, bool, error)
- func (d *Disabled) Ping(tx *sql.Tx, ctx context.Context) (tc.TrafficVaultPing, error)
- func (d *Disabled) PutDNSSECKeys(cdnName string, keys tc.DNSSECKeysTrafficVault, tx *sql.Tx, ...) error
- func (d *Disabled) PutDeliveryServiceSSLKeys(key tc.DeliveryServiceSSLKeys, tx *sql.Tx, ctx context.Context) error
- func (d *Disabled) PutURISigningKeys(xmlID string, keysJson []byte, tx *sql.Tx, ctx context.Context) error
- func (d *Disabled) PutURLSigKeys(xmlID string, keys tc.URLSigKeys, tx *sql.Tx, ctx context.Context) error
- type Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Disabled ¶
type Disabled struct { }
func (*Disabled) DeleteDNSSECKeys ¶
func (*Disabled) DeleteDeliveryServiceSSLKeys ¶
func (*Disabled) DeleteOldDeliveryServiceSSLKeys ¶
func (*Disabled) DeleteURISigningKeys ¶
func (*Disabled) DeleteURLSigKeys ¶
func (*Disabled) GetBucketKey ¶
func (*Disabled) GetCDNSSLKeys ¶
func (*Disabled) GetDNSSECKeys ¶
func (*Disabled) GetDeliveryServiceSSLKeys ¶
func (*Disabled) GetURISigningKeys ¶
func (*Disabled) GetURLSigKeys ¶
func (*Disabled) PutDNSSECKeys ¶
func (*Disabled) PutDeliveryServiceSSLKeys ¶
func (*Disabled) PutURISigningKeys ¶
Click to show internal directories.
Click to hide internal directories.