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
type RetriableError ¶ added in v0.130.0
type RetriableError struct {
Err error
}
RetriableError is an error that will cause the action to be retried.
func (RetriableError) Error ¶ added in v0.130.0
func (e RetriableError) Error() string
Click to show internal directories.
Click to hide internal directories.