repo

package
v1.2.10 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 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, org string) *Client

func (*Client) GetPlugins

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

func (*Client) GetTags

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

type Commit

type Commit struct {
	Sha  string    `json:"sha"`
	Date time.Time `json:"url"`
}

type RepoResponse

type RepoResponse []Repository

type Repository

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

func (Repository) GetPackagePath

func (r Repository) GetPackagePath() string

type Tag

type Tag struct {
	Name   string `json:"name"`
	Commit Commit `json:"commit"`
}

type TagsResponse

type TagsResponse []Tag

Jump to

Keyboard shortcuts

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