Documentation ¶
Index ¶
- type Connector
- func (c Connector) Delete(ctx context.Context, id string) error
- func (c Connector) Destroy(ctx context.Context, id string) error
- func (c Connector) Get(ctx context.Context, id, version string) (*entities.Secret, error)
- func (c Connector) GetDeleted(ctx context.Context, id string) (*entities.Secret, error)
- func (c Connector) List(ctx context.Context, limit, offset uint64) ([]string, error)
- func (c Connector) ListDeleted(ctx context.Context, limit, offset uint64) ([]string, error)
- func (c Connector) Restore(ctx context.Context, id string) error
- func (c Connector) Set(ctx context.Context, id, value string, attr *entities.Attributes) (*entities.Secret, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connector ¶
type Connector struct {
// contains filtered or unexported fields
}
func NewConnector ¶
func NewConnector(store stores.SecretStore, db database.Secrets, authorizator auth.Authorizator, logger log.Logger) *Connector
func (Connector) GetDeleted ¶
func (Connector) ListDeleted ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.