common

package
v1.0.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2019 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.Dappfile, error)

func GetDeployTag

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

func GetHelmRelease

func GetHelmRelease(releaseOption string, environmentOption string, dappfile *config.Dappfile) (string, error)

func GetKubernetesNamespace

func GetKubernetesNamespace(namespaceOption string, environmentOption string, dappfile *config.Dappfile) (string, error)

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 GetRequiredRepoName

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

func GetTagOptions

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

func SetupDir

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

func SetupEnvironment

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

func SetupHomeDir

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

func SetupKubeContext

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

func SetupNamespace

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

func SetupRelease

func SetupRelease(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 {
	Dir     *string
	TmpDir  *string
	HomeDir *string
	SSHKeys *[]string

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

	Environment *string
	Release     *string
	Namespace   *string
	KubeContext *string
}

Jump to

Keyboard shortcuts

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