Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAWSStorage ¶
func NewAWSStorage(config aws.Config, bucket string, c storagebackend.ConfigForResource, newFunc func() runtime.Object) storage.Interface
NewAWSStorage creates a new storage backend based on provided aws config.
Types ¶
type ObjectState ¶
type Txn ¶
type Txn interface { Create(ctx context.Context, key string, value []byte, ttl uint64) error Delete(ctx context.Context, key string, origRev uint64) (ObjectState, error) Update(ctx context.Context, key string, value []byte, origRev uint64) (state ObjectState, err error) }
Txn is the interface that wraps mini-transactions.
Click to show internal directories.
Click to hide internal directories.