common

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2018 License: Apache-2.0 Imports: 15 Imported by: 0 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

This section is empty.

Functions

func GetDappfile

func GetDappfile(projectDir string) ([]*config.Dimg, error)

func GetDeployTag

func GetDeployTag(cmdData *CmdData, projectDir string) (string, error)

func GetLocalGitRepo

func GetLocalGitRepo(projectDir string) *git_repo.Local

func GetNamespace

func GetNamespace(namespaceOption string) string

func GetOptionalRepoName

func GetOptionalRepoName(projectName, repoOption string) string

func GetProjectBuildDir

func GetProjectBuildDir(projectName string) (string, error)

func GetProjectDir

func GetProjectDir(cmdData *CmdData) (string, error)

func GetProjectName

func GetProjectName(cmdData *CmdData, projectDir string) (string, error)

func GetProjectTmpDir

func GetProjectTmpDir() (string, error)

func GetRequiredRepoName

func GetRequiredRepoName(projectName, repoOption string) (string, error)

func GetTagOptions

func GetTagOptions(cmdData *CmdData, projectDir string) (build.TagOptions, error)

func IsGitOwnRepoExists

func IsGitOwnRepoExists(projectDir string) (bool, error)

func RemoveProjectTmpDir

func RemoveProjectTmpDir(dir string)

func SetupDir

func SetupDir(cmdData *CmdData, cmd *cobra.Command)

func SetupHomeDir

func SetupHomeDir(cmdData *CmdData, cmd *cobra.Command)

func SetupName

func SetupName(cmdData *CmdData, cmd *cobra.Command)

func SetupSSHKey

func SetupSSHKey(cmdData *CmdData, cmd *cobra.Command)

func SetupTag

func SetupTag(cmdData *CmdData, cmd *cobra.Command)

func SetupTmpDir

func SetupTmpDir(cmdData *CmdData, cmd *cobra.Command)

Types

type CmdData

type CmdData struct {
	Name    *string
	Dir     *string
	TmpDir  *string
	HomeDir *string
	SSHKeys *[]string

	Tag        *[]string
	TagBranch  *bool
	TagBuildID *bool
	TagCI      *bool
	TagCommit  *bool
}

Jump to

Keyboard shortcuts

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