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: 0

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