mongodb

package
v2.21.2 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	*pkgMongo.Store
}

func NewStore

func NewStore(ctx context.Context, cfg pkgMongo.Config, tls *tls.Config, tracerProvider trace.TracerProvider) (*Store, error)

func (*Store) InsertLinkedAccount

func (s *Store) InsertLinkedAccount(ctx context.Context, sub store.LinkedAccount) error

func (*Store) InsertLinkedCloud

func (s *Store) InsertLinkedCloud(ctx context.Context, sub store.LinkedCloud) error

func (*Store) LoadLinkedAccounts

func (s *Store) LoadLinkedAccounts(ctx context.Context, query store.Query, h store.LinkedAccountHandler) error

func (*Store) LoadLinkedClouds

func (s *Store) LoadLinkedClouds(ctx context.Context, query store.Query, h store.LinkedCloudHandler) error

func (*Store) RemoveLinkedAccount

func (s *Store) RemoveLinkedAccount(ctx context.Context, linkedAccountID string) error

func (*Store) RemoveLinkedCloud

func (s *Store) RemoveLinkedCloud(ctx context.Context, linkedCloudID string) error

func (*Store) UpdateLinkedAccount

func (s *Store) UpdateLinkedAccount(ctx context.Context, sub store.LinkedAccount) error

func (*Store) UpdateLinkedCloud

func (s *Store) UpdateLinkedCloud(ctx context.Context, sub store.LinkedCloud) error

Jump to

Keyboard shortcuts

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