Documentation
¶
Index ¶
- Variables
- type Service
- func (service *Service) Status(ctx context.Context, principal authn.Principal, repositoryID int64) (api.GraphStatus, error)
- func (service *Service) UploadExternal(ctx context.Context, principal authn.Principal, repositoryID int64, ...) (api.GraphStatus, error)
- func (service *Service) ValidateExternalUpload(ctx context.Context, principal authn.Principal, repositoryID int64, ...) error
- type Store
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
Store Store
Limits graphartifact.Limits
}
func (*Service) UploadExternal ¶
type Store ¶
type Store interface {
AuthorizedRepository(context.Context, int64, []int64, int64) (repository.Repository, error)
ReplaceGraph(context.Context, int64, postgres.GraphSource, graphartifact.Artifact) (postgres.GraphReplacement, error)
GraphStatus(context.Context, int64) (api.GraphStatus, error)
}
Click to show internal directories.
Click to hide internal directories.