Documentation ¶
Index ¶
- type Client
- func (c *Client) CreateTable(table string) error
- func (c *Client) Delete(table, namespace string, secrets []*secret.Secret) error
- func (c *Client) Insert(table, namespace string, secrets []*secret.Secret) error
- func (c *Client) ListNamespaces(table string) ([]string, error)
- func (c *Client) ListSecrets(table, namespace string) ([]*secret.Secret, error)
- func (c *Client) TableExists(table string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents the wrapper of DynamoDB API client
func NewClient ¶
func NewClient(api dynamodbiface.DynamoDBAPI) *Client
NewClient creates new Client object
func (*Client) CreateTable ¶
CreateTable creates new table for Valec
func (*Client) ListNamespaces ¶
ListNamespaces returns all namespaces
func (*Client) ListSecrets ¶ added in v0.3.0
ListSecrets returns all secrets in the given table and namespace
Click to show internal directories.
Click to hide internal directories.