Documentation ¶
Index ¶
- type Assets
- type Author
- type Client
- func (c *Client) GetLatestRelease(ctx context.Context, slug string) (*Release, error)
- func (c *Client) GetRelease(ctx context.Context, slug, version string) (*Release, error)
- func (c *Client) ListReleases(ctx context.Context, slug string) ([]*Release, error)
- func (c *Client) SetBaseURL(baseURL string)
- func (c *Client) SetToken(token string)
- type Commit
- type Evidences
- type ExtendedTrailers
- type Links
- type Release
- type Sources
- type Trailers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetLatestRelease ¶
func (*Client) GetRelease ¶
func (*Client) ListReleases ¶
func (*Client) SetBaseURL ¶
type Commit ¶
type Commit struct { ID string `json:"id"` ShortID string `json:"short_id"` CreatedAt time.Time `json:"created_at"` ParentIds []string `json:"parent_ids"` Title string `json:"title"` Message string `json:"message"` AuthorName string `json:"author_name"` AuthorEmail string `json:"author_email"` AuthoredDate time.Time `json:"authored_date"` CommitterName string `json:"committer_name"` CommitterEmail string `json:"committer_email"` CommittedDate time.Time `json:"committed_date"` Trailers Trailers `json:"trailers"` ExtendedTrailers ExtendedTrailers `json:"extended_trailers"` WebURL string `json:"web_url"` }
type ExtendedTrailers ¶
type ExtendedTrailers struct { }
type Release ¶
type Release struct { Name string `json:"name"` TagName string `json:"tag_name"` Description string `json:"description"` CreatedAt time.Time `json:"created_at"` ReleasedAt time.Time `json:"released_at"` UpcomingRelease bool `json:"upcoming_release"` Author Author `json:"author"` Commit Commit `json:"commit"` CommitPath string `json:"commit_path"` TagPath string `json:"tag_path"` Assets *Assets `json:"assets"` Evidences []Evidences `json:"evidences"` }
Click to show internal directories.
Click to hide internal directories.