project

package
v2.7.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Local     = "local"
	Remote    = "remote"
	Virtual   = "virtual"
	RemoteUrl = "url"

	// Defaults Repositories
	MavenLocalDefaultName    = "default-maven-local"
	MavenRemoteDefaultName   = "default-maven-remote"
	MavenRemoteDefaultUrl    = "https://repo.maven.apache.org/maven2"
	MavenVirtualDefaultName  = "default-maven-virtual"
	GradleLocalDefaultName   = "default-gradle-local"
	GradleRemoteDefaultName  = "default-gradle-remote"
	GradleRemoteDefaultUrl   = "https://repo.maven.apache.org/maven2"
	GradleVirtualDefaultName = "default-gradle-virtual"
	NpmLocalDefaultName      = "default-npm-local"
	NpmRemoteDefaultName     = "default-npm-remote"
	NpmRemoteDefaultUrl      = "https://registry.npmjs.org"
	NpmVirtualDefaultName    = "default-npm-virtual"
	GoLocalDefaultName       = "default-go-local"
	GoRemoteDefaultName      = "default-go-remote"
	GoRemoteDefaultUrl       = "https://gocenter.io/"
	GoVirtualDefaultName     = "default-go-virtual"
	PypiLocalDefaultName     = "default-pypi-local"
	PypiRemoteDefaultName    = "default-pypi-remote"
	PypiRemoteDefaultUrl     = "https://files.pythonhosted.org"
	PypiVirtualDefaultName   = "default-pypi-virtual"
	NugetLocalDefaultName    = "default-nuget-local"
	NugetRemoteDefaultName   = "default-nuget-remote"
	NugetRemoteDefaultUrl    = "https://www.nuget.org/"
	NugetVirtualDefaultName  = "default-nuget-virtual"
)

Variables

Functions

func CreateDefaultLocalRepo

func CreateDefaultLocalRepo(technologyType coreutils.Technology, serverId string) error

func CreateDefaultRemoteRepo

func CreateDefaultRemoteRepo(technologyType coreutils.Technology, serverId string) error

func CreateDefaultVirtualRepo

func CreateDefaultVirtualRepo(technologyType coreutils.Technology, serverId string) error

Types

type BuildConfigFile

type BuildConfigFile struct {
	Version    int    `yaml:"version,omitempty"`
	ConfigType string `yaml:"type,omitempty"`
	BuildName  string `yaml:"name,omitempty"`
}

type ProjectInitCommand

type ProjectInitCommand struct {
	// contains filtered or unexported fields
}

func NewProjectInitCommand

func NewProjectInitCommand() *ProjectInitCommand

func (*ProjectInitCommand) Run

func (pic *ProjectInitCommand) Run() (err error)

func (*ProjectInitCommand) SetProjectPath

func (pic *ProjectInitCommand) SetProjectPath(path string) *ProjectInitCommand

func (*ProjectInitCommand) SetServerId

func (pic *ProjectInitCommand) SetServerId(id string) *ProjectInitCommand

Jump to

Keyboard shortcuts

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