Documentation ¶
Overview ¶
Package client contains the client implementations for several providers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrExtractHashFromFileUploadURL = errors.New("could not extract hash from gitlab file upload url")
ErrExtractHashFromFileUploadURL indicates the file upload hash could not ne extracted from the url
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { CreateRelease(ctx *context.Context, body string) (releaseID string, err error) CreateFile(ctx *context.Context, commitAuthor config.CommitAuthor, repo config.Repo, content []byte, path, message string) (err error) Upload(ctx *context.Context, releaseID string, artifact *artifact.Artifact, file *os.File) (err error) }
Client interface
Click to show internal directories.
Click to hide internal directories.