Documentation
¶
Index ¶
- type Apps
- func (r *Apps) Create(ctx context.Context, app *domain.Application) error
- func (r *Apps) FindByID(ctx context.Context, id domain.ID) (*domain.Application, error)
- func (r *Apps) FindByUser(ctx context.Context, id domain.UserID) ([]*domain.Application, error)
- func (r *Apps) FindByUserIdent(ctx context.Context, userID domain.UserID, ident string) (*domain.Application, error)
- func (r *Apps) Update(ctx context.Context, app *domain.Application) error
- type Builds
- type Tokens
- func (r *Tokens) Create(ctx context.Context, Token *domain.Token) error
- func (r *Tokens) Delete(ctx context.Context, id string) error
- func (r *Tokens) DeleteByUser(ctx context.Context, userID domain.UserID, onlyPersonal bool) error
- func (r *Tokens) FindByID(ctx context.Context, id string) (*domain.Token, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Apps ¶
type Apps struct {
// contains filtered or unexported fields
}
func NewAppRepository ¶
func (*Apps) FindByUser ¶
func (*Apps) FindByUserIdent ¶
type Builds ¶
type Builds struct {
// contains filtered or unexported fields
}
func NewBuildRepository ¶
type Tokens ¶
type Tokens struct {
// contains filtered or unexported fields
}
func NewTokenRepository ¶
func (*Tokens) DeleteByUser ¶
Click to show internal directories.
Click to hide internal directories.