Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotAuthorized = errors.New("not authorized")
View Source
var ErrProjectNotFound = errors.New("project not found")
Functions ¶
This section is empty.
Types ¶
type I ¶
type I interface {
UploadArtifact(ctx context.Context, projectName string, artifactID string, src io.Reader, size int64) (err error)
ListArtifacts(ctx context.Context, projectName string) (artifactIds []string, err error)
GetArtifact(ctx context.Context, projectName string, artifactId string) (rc io.ReadCloser, size int64, err error)
}
Click to show internal directories.
Click to hide internal directories.