Documentation
¶
Index ¶
- Variables
- type CreateReleaseInput
- type Release
- type ReleaseClient
- func (c *ReleaseClient) CreateRelease(input CreateReleaseInput) (*Release, error)
- func (c *ReleaseClient) GetOrCreateRelease(tag string) (*Release, error)
- func (c *ReleaseClient) GetReleaseByTag(tag string) (*Release, error)
- func (c *ReleaseClient) UploadReleaseAsset(releaseID int64, filePath string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrReleaseNotFound = errors.New("release not found")
Functions ¶
This section is empty.
Types ¶
type CreateReleaseInput ¶ added in v0.0.109
type ReleaseClient ¶
func NewReleaseClient ¶
func NewReleaseClient(token, owner, repo string) *ReleaseClient
func (*ReleaseClient) CreateRelease ¶ added in v0.0.109
func (c *ReleaseClient) CreateRelease(input CreateReleaseInput) (*Release, error)
func (*ReleaseClient) GetOrCreateRelease ¶ added in v0.0.109
func (c *ReleaseClient) GetOrCreateRelease(tag string) (*Release, error)
func (*ReleaseClient) GetReleaseByTag ¶
func (c *ReleaseClient) GetReleaseByTag(tag string) (*Release, error)
func (*ReleaseClient) UploadReleaseAsset ¶
func (c *ReleaseClient) UploadReleaseAsset(releaseID int64, filePath string) error
Click to show internal directories.
Click to hide internal directories.