stores

package
v0.0.0-...-f5bbbf4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

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(roles auth.Roles, db database.Database, vaultsService vaults.Vaults, logger log.Logger) *Connector

func (*Connector) CreateEthereum

func (c *Connector) CreateEthereum(ctx context.Context, name, keyStore string, allowedTenants []string, userInfo *auth.UserInfo) error

func (*Connector) CreateKey

func (c *Connector) CreateKey(ctx context.Context, name, vaultName, secretStore string, allowedTenants []string, userInfo *authtypes.UserInfo) error

func (*Connector) CreateSecret

func (c *Connector) CreateSecret(ctx context.Context, name, vaultName string, allowedTenants []string, userInfo *auth.UserInfo) error

func (*Connector) Ethereum

func (c *Connector) Ethereum(ctx context.Context, storeName string, userInfo *authtypes.UserInfo) (stores.EthStore, error)

func (*Connector) EthereumByAddr

func (c *Connector) EthereumByAddr(ctx context.Context, addr common.Address, userInfo *authtypes.UserInfo) (stores.EthStore, error)

func (*Connector) ImportEthereum

func (c *Connector) ImportEthereum(ctx context.Context, storeName string, userInfo *authtypes.UserInfo) error

func (*Connector) ImportKeys

func (c *Connector) ImportKeys(ctx context.Context, storeName string, userInfo *authtypes.UserInfo) error

func (*Connector) ImportSecrets

func (c *Connector) ImportSecrets(ctx context.Context, storeName string, userInfo *authtypes.UserInfo) error

func (*Connector) Key

func (c *Connector) Key(ctx context.Context, storeName string, userInfo *authtypes.UserInfo) (stores.KeyStore, error)

func (*Connector) List

func (c *Connector) List(ctx context.Context, storeType string, userInfo *authtypes.UserInfo) ([]string, error)

func (*Connector) ListAllAccounts

func (c *Connector) ListAllAccounts(ctx context.Context, userInfo *authtypes.UserInfo) ([]common.Address, error)

func (*Connector) Secret

func (c *Connector) Secret(ctx context.Context, storeName string, userInfo *authtypes.UserInfo) (stores.SecretStore, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL