Documentation ¶
Index ¶
- type Store
- func (db *Store) BatchGet(ctx context.Context, names []apiaccount.AccountName) (map[apiaccount.AccountName]*apiaccount.Account, error)
- func (as *Store) Create(ctx context.Context, name apiaccount.AccountName, ...) error
- func (as *Store) Get(ctx context.Context, name apiaccount.AccountName) (*apiaccount.Account, error)
- func (as *Store) Setup(ctx context.Context) error
- func (as *Store) Teardown(ctx context.Context) error
- func (as *Store) Update(ctx context.Context, name apiaccount.AccountName, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct{ Client pbaccountsvc.AccountsClient }
func (*Store) BatchGet ¶
func (db *Store) BatchGet(ctx context.Context, names []apiaccount.AccountName) (map[apiaccount.AccountName]*apiaccount.Account, error)
func (*Store) Create ¶
func (as *Store) Create(ctx context.Context, name apiaccount.AccountName, d *apiaccount.AccountSettings) error
func (*Store) Get ¶
func (as *Store) Get(ctx context.Context, name apiaccount.AccountName) (*apiaccount.Account, error)
func (*Store) Update ¶
func (as *Store) Update(ctx context.Context, name apiaccount.AccountName, d *apiaccount.AccountSettings) error
Click to show internal directories.
Click to hide internal directories.