Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamoDbHostRepository ¶
type DynamoDbHostRepository struct {
// contains filtered or unexported fields
}
type DynamoDbRepositoryOwnerRepository ¶
type DynamoDbRepositoryOwnerRepository struct {
// contains filtered or unexported fields
}
func (*DynamoDbRepositoryOwnerRepository) Get ¶
func (r *DynamoDbRepositoryOwnerRepository) Get(host string, organization string, repository string, expiry time.Time) ([]*models.RepositoryOwnerData, error)
func (*DynamoDbRepositoryOwnerRepository) Save ¶
func (r *DynamoDbRepositoryOwnerRepository) Save(data []*models.RepositoryOwnerData, expiry time.Time) error
type HostRepository ¶
type HostRepository interface { GetAll() ([]*models.Host, error) Get(identifier string) (*models.Host, error) }
func NewHostRepository ¶
func NewHostRepository(appConfig *config.AppConfig, secretClient clients.SecretClient) HostRepository
type RepositoryOwnerRepository ¶
type RepositoryOwnerRepository interface { Get(host string, organization string, repository string, expiry time.Time) ([]*models.RepositoryOwnerData, error) Save(data []*models.RepositoryOwnerData, expiry time.Time) error }
func NewRepositoryOwnerRepository ¶
func NewRepositoryOwnerRepository(appConfig *config.AppConfig, secretClient clients.SecretClient) RepositoryOwnerRepository
Click to show internal directories.
Click to hide internal directories.