Documentation ¶
Index ¶
- type Alias
- type Database
- func (d *Database) Close()
- func (d *Database) DeleteObject(arn string) error
- func (d *Database) ListAlias(prefix string, limit int64, marker, key string) (aliases []*Alias, err error)
- func (d *Database) ListKeys(prefix string, limit int64, marker string) (keys []cmk.Key, err error)
- func (d *Database) ListTags(prefix string, limit int64, marker string) (tags []*Tag, err error)
- func (d *Database) LoadAlias(arn string) (*Alias, error)
- func (d *Database) LoadKey(arn string) (cmk.Key, error)
- func (d *Database) SaveAlias(a *Alias) error
- func (d *Database) SaveKey(k cmk.Key) error
- func (d *Database) SaveTag(k cmk.Key, t *Tag) error
- type InvalidMarkerExceptionError
- type Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func NewDatabase ¶
func (*Database) DeleteObject ¶
Can delete any object type. e.g. key, alias, etc.
func (*Database) ListKeys ¶
Returns all keys.
If limit is set, only that given number of keys are returned. If marker is set, only key with match, and come after, the marker key are returned. i.e. an 'offset'.
type InvalidMarkerExceptionError ¶
type InvalidMarkerExceptionError struct{}
func (*InvalidMarkerExceptionError) Error ¶
func (e *InvalidMarkerExceptionError) Error() string
Click to show internal directories.
Click to hide internal directories.