Documentation ¶
Index ¶
- Constants
- func CreateRemoteRepo(serviceDetails *utilsconfig.ServerDetails, technologyType cisetup.Technology, ...) error
- func CreateVirtualRepo(serviceDetails *utilsconfig.ServerDetails, technologyType cisetup.Technology, ...) error
- func CreateXrayServiceManager(serviceDetails *utilsconfig.ServerDetails) (*xray.XrayServicesManager, error)
- func GetAllRepos(serviceDetails *utilsconfig.ServerDetails, repoType, packageType string) (*[]services.RepositoryDetails, error)
- func GetRemoteDefaultName(technologyType cisetup.Technology) string
- func GetRemoteDefaultUrl(technologyType cisetup.Technology) string
- func GetVirtualDefaultName(technologyType cisetup.Technology) string
- func GetVirtualRepo(serviceDetails *utilsconfig.ServerDetails, repoKey string) (*services.VirtualRepositoryBaseParams, error)
- func RunCiSetupCmd() error
- type CiSetupCommand
Constants ¶
View Source
const ( VcsConfigFile = "jfrog-cli-vcs.conf" DefaultFirstBuildNumber = "0" DefaultWorkspace = "./ci-setup-workspace" )
View Source
const ( // Repo types Remote = "remote" Virtual = "virtual" Local = "local" NewRepository = "[Create new repository]" // Repos defaults MavenRemoteDefaultName = "maven-central-remote" MavenRemoteDefaultUrl = "https://repo.maven.apache.org/maven2" MavenVirtualDefaultName = "maven-virtual" GradleRemoteDefaultName = "gradle-remote" GradleRemoteDefaultUrl = "https://repo.maven.apache.org/maven2" GradleVirtualDefaultName = "gradle-virtual" NpmRemoteDefaultName = "npm-remote" NpmRemoteDefaultUrl = "https://registry.npmjs.org" NpmVirtualDefaultName = "npm-virtual" )
Variables ¶
This section is empty.
Functions ¶
func CreateRemoteRepo ¶
func CreateRemoteRepo(serviceDetails *utilsconfig.ServerDetails, technologyType cisetup.Technology, repoName, remoteUrl string) error
func CreateVirtualRepo ¶
func CreateVirtualRepo(serviceDetails *utilsconfig.ServerDetails, technologyType cisetup.Technology, repoName string, repositories ...string) error
func CreateXrayServiceManager ¶
func CreateXrayServiceManager(serviceDetails *utilsconfig.ServerDetails) (*xray.XrayServicesManager, error)
func GetAllRepos ¶
func GetAllRepos(serviceDetails *utilsconfig.ServerDetails, repoType, packageType string) (*[]services.RepositoryDetails, error)
func GetRemoteDefaultName ¶
func GetRemoteDefaultName(technologyType cisetup.Technology) string
func GetRemoteDefaultUrl ¶
func GetRemoteDefaultUrl(technologyType cisetup.Technology) string
func GetVirtualDefaultName ¶
func GetVirtualDefaultName(technologyType cisetup.Technology) string
func GetVirtualRepo ¶
func GetVirtualRepo(serviceDetails *utilsconfig.ServerDetails, repoKey string) (*services.VirtualRepositoryBaseParams, error)
func RunCiSetupCmd ¶
func RunCiSetupCmd() error
Types ¶
type CiSetupCommand ¶
type CiSetupCommand struct {
// contains filtered or unexported fields
}
func (*CiSetupCommand) Run ¶
func (cc *CiSetupCommand) Run() error
Click to show internal directories.
Click to hide internal directories.