Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶ added in v1.1.0
type AuthService interface {
// Namespace ...
Namespace(c echo.Context, namespaceID int64, auth enums.Auth) (bool, error)
// Repository ...
Repository(c echo.Context, repositoryID int64, auth enums.Auth) (bool, error)
// Tag ...
Tag(c echo.Context, tagID int64, auth enums.Auth) (bool, error)
// Artifact ...
Artifact(c echo.Context, artifactID int64, auth enums.Auth) (bool, error)
}
AuthService is the interface for the auth service
type AuthServiceFactory ¶ added in v1.1.0
type AuthServiceFactory interface {
New() AuthService
}
AuthServiceFactory is the interface that provides the artifact service factory methods.
func NewAuthServiceFactory ¶ added in v1.1.0
func NewAuthServiceFactory(injects ...inject) AuthServiceFactory
NewAuthServiceFactory creates a new auth service factory.
Click to show internal directories.
Click to hide internal directories.