repotool

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2019 License: Apache-2.0 Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RepoRegistry = map[string]RepoTool{}

Functions

func GenericLogin added in v0.10.0

func GenericLogin(project *domain.Project, repo string) error

Types

type DockerRepotool added in v0.10.0

type DockerRepotool struct{}

func (*DockerRepotool) DownloadDependency added in v0.10.0

func (g *DockerRepotool) DownloadDependency(project *domain.Project, repo string, dependencyFile, dependencyPath string) error

func (*DockerRepotool) Login added in v0.10.0

func (r *DockerRepotool) Login(project *domain.Project, repo string) error

func (*DockerRepotool) Release added in v0.10.0

func (r *DockerRepotool) Release(project *domain.Project, repo string) error

func (*DockerRepotool) UploadDependency added in v0.10.0

func (r *DockerRepotool) UploadDependency(project *domain.Project, repo string, dependencyFile, dependencyPath string) error

type GithubRepoTool added in v0.5.0

type GithubRepoTool struct{}

func (*GithubRepoTool) DownloadDependency added in v0.10.0

func (g *GithubRepoTool) DownloadDependency(project *domain.Project, repo string, dependencyFile, dependencyPath string) error

func (*GithubRepoTool) Login added in v0.5.0

func (g *GithubRepoTool) Login(project *domain.Project, repo string) error

func (*GithubRepoTool) Release added in v0.5.0

func (g *GithubRepoTool) Release(project *domain.Project, repo string) error

func (*GithubRepoTool) UploadDependency added in v0.10.0

func (g *GithubRepoTool) UploadDependency(project *domain.Project, repo string, dependencyFile, dependencyPath string) error

type MavenRepoTool added in v0.9.0

type MavenRepoTool struct{}

func (*MavenRepoTool) DownloadDependency added in v0.10.0

func (m *MavenRepoTool) DownloadDependency(project *domain.Project, repo string, dependencyFile, dependencyPath string) error

func (*MavenRepoTool) Login added in v0.9.0

func (m *MavenRepoTool) Login(project *domain.Project, repo string) error

func (*MavenRepoTool) Release added in v0.9.0

func (m *MavenRepoTool) Release(project *domain.Project, repo string) error

func (*MavenRepoTool) UploadDependency added in v0.10.0

func (m *MavenRepoTool) UploadDependency(project *domain.Project, repo string, dependencyFile, dependencyPath string) error

type RepoTool

type RepoTool interface {
	Login(project *domain.Project, repo string) error
	Release(project *domain.Project, repo string) error
	UploadDependency(project *domain.Project, repo string, dependencyFile, dependencyPath string) error
	DownloadDependency(project *domain.Project, repo string, dependencyFile, dependencyPath string) error
}

Jump to

Keyboard shortcuts

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