store

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB interface {
	Insert(ctx context.Context, d dto.DMS) (string, error)
	SelectAll(ctx context.Context, queryParameters filters.QueryParameters) ([]dto.DMS, int, error)
	SelectByID(ctx context.Context, id string) (dto.DMS, error)
	SelectBySerialNumber(ctx context.Context, SerialNumber string) (string, error)
	UpdateByID(ctx context.Context, id string, status string, serialNumber string, encodedCsr string) (dto.DMS, error)
	Delete(ctx context.Context, id string) error
	InsertAuthorizedCAs(ctx context.Context, dmsid string, CAs []string) error
	DeleteAuthorizedCAs(ctx context.Context, dmsid string) error
	SelectByDMSIDAuthorizedCAs(ctx context.Context, dmsid string) ([]dms.AuthorizedCAs, error)
	SelectAllAuthorizedCAs(ctx context.Context) ([]dms.AuthorizedCAs, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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