repo

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*client.Client
	// contains filtered or unexported fields
}

func NewClient

func NewClient(mode, host string, port int16) *Client

func (*Client) GetPlugins added in v1.0.14

func (c *Client) GetPlugins() (RepoResponse, error)

func (*Client) GetTags

func (c *Client) GetTags(repoFullName string) (TagsResponse, error)

type Commit

type Commit struct {
	Sha string `json:"sha"`
	Url string `json:"url"`
}

type RepoResponse added in v1.0.14

type RepoResponse []Repository

type Repository added in v1.0.14

type Repository struct {
	ID       uint32 `json:"id"`
	NodeID   string `json:"node_id"`
	Name     string `json:"name"`
	FullName string `json:"full_name"`
	HtmlUrl  string `json:"html_url"`
}

func (Repository) GetPackagePath added in v1.0.14

func (r Repository) GetPackagePath() string

type Tag

type Tag struct {
	Name       string `json:"name"`
	ZipBallUrl string `json:"zipball_url"`
	TarBallUrl string `json:"tarball_url"`
	Commit     Commit `json:"commit"`
	NodeID     string `json:"node_id"`
}

type TagsResponse

type TagsResponse []Tag

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL