gitea

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: MIT Imports: 4 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 {
	// contains filtered or unexported fields
}

Client holds connection data

func New

func New(url, token, orgName string) (*Client, error)

New creates a new Client for given organization

func (*Client) CloneRepo

func (c *Client) CloneRepo(repoName string, verbose bool) error

CloneRepo clones a repository in the current path

func (*Client) ListRepos

func (c *Client) ListRepos() []string

ListRepos return a list of the available repositories in the Client organization

Jump to

Keyboard shortcuts

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