gitea

package
v0.0.0-...-34d171d Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var URLTemplate = "https://gitea-tooling.az.%s.gdpdentsu.net"

Functions

func GetRepoId

func GetRepoId(srv, org, repo string) string

Types

type GiteaRepoStatus

type GiteaRepoStatus struct {
	Repo          string
	Identifier    string
	GiteaOrg      string
	GithubOrg     string
	GiteaWebhook  string
	GithubWebhook string
	GiteaServer   string
	Archived      bool
	Migrated      bool
}

func List

func List(cmd *cobra.Command, args []string, auth *setup.Auth) []GiteaRepoStatus

List prints results on the stdout

func (GiteaRepoStatus) GiteaUrl

func (x GiteaRepoStatus) GiteaUrl() string

func (GiteaRepoStatus) TableRow

func (x GiteaRepoStatus) TableRow() []string

type Job

type Job struct {
	Client *gitea.Client
	Org    string
	Srv    string
}

type Result

type Result struct {
	RepoStats []*gitea.Repository
	Srv       string
	Org       string
	Cached    bool
}

Jump to

Keyboard shortcuts

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