repository

package
v0.0.0-...-30dbe51 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AccountRepository

type AccountRepository interface {
	Find(conditions interface{}) (account *account.Account, err error)

	Exist(condition interface{}) (bool, error)

	Create(record metav1.Resource) error
}

func NewAccountRepository

func NewAccountRepository(logger *zap.Logger, db *gorm.DB) AccountRepository

NewAccountRepository returns new account AccountRepository.

Jump to

Keyboard shortcuts

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