jx: github.com/jenkins-x/jx/pkg/cmd/step/helm Index | Files

package helm

import "github.com/jenkins-x/jx/pkg/cmd/step/helm"

Index

Package Files

step_helm.go step_helm_apply.go step_helm_build.go step_helm_delete.go step_helm_env.go step_helm_install.go step_helm_list.go step_helm_release.go step_helm_version.go

Constants

const (
    PROW_JOB_ID   = "PROW_JOB_ID"
    REPO_OWNER    = "REPO_OWNER"
    REPO_NAME     = "REPO_NAME"
    PULL_PULL_SHA = "PULL_PULL_SHA"
)

Variables

var (
    StepHelmApplyLong = templates.LongDesc("" /* 155 byte string literal not displayed */,
    )

    StepHelmApplyExample = templates.Examples(`
		# apply the chart in the env folder to namespace jx-staging 
		jx step helm apply --dir env --namespace jx-staging

`)
)
var (
    StepHelmBuildLong = templates.LongDesc(`
		Builds the helm chart in a given directory.

		This step is usually used to validate any GitOps Pull Requests.
`)

    StepHelmBuildExample = templates.Examples(`
		# builds the helm chart in the env directory
		jx step helm build --dir env

`)
)
var (
    StepHelmEnvLong = templates.LongDesc(`
		Generates the helm environment variables
`)

    StepHelmEnvExample = templates.Examples(`
		# output the helm environment variables that should be set to use helm directly
		jx step helm env

`)
)
var (
    StepHelmInstallLong = templates.LongDesc(`
		Installs the given chart
`)

    StepHelmInstallExample = templates.Examples(`
		# installs a helm chart
		jx step helm install foo/bar

`)
)
var (
    StepHelmListLong = templates.LongDesc(`
		List the helm releases
`)

    StepHelmListExample = templates.Examples(`
		# list all the helm releases in the current namespace
		jx step helm list

`)
)
var (
    StepHelmReleaseLong = templates.LongDesc(`
		This pipeline step releases the Helm chart in the current directory
`)

    StepHelmReleaseExample = templates.Examples(`
		jx step helm release

`)
)
var (
    StepHelmVersionLong = templates.LongDesc(`
		Updates version of the Helm Chart.yaml in the given directory 
`)

    StepHelmVersionExample = templates.Examples(`
		# updates the current Helm Chart.yaml to the latest build number version
		jx step helm version

`)
)

func DefaultEnvironments Uses

func DefaultEnvironments(c *config.RequirementsConfig, devGitInfo *gits.GitRepository)

DefaultEnvironments ensures we have valid values for environment owner and repository names. if none are configured lets default them from smart defaults

func NewCmdStepHelm Uses

func NewCmdStepHelm(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepHelm Steps a command object for the "step" command

func NewCmdStepHelmApply Uses

func NewCmdStepHelmApply(commonOpts *opts.CommonOptions) *cobra.Command

func NewCmdStepHelmBuild Uses

func NewCmdStepHelmBuild(commonOpts *opts.CommonOptions) *cobra.Command

func NewCmdStepHelmDelete Uses

func NewCmdStepHelmDelete(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepHelmDelete creates the command object

func NewCmdStepHelmEnv Uses

func NewCmdStepHelmEnv(commonOpts *opts.CommonOptions) *cobra.Command

func NewCmdStepHelmInstall Uses

func NewCmdStepHelmInstall(commonOpts *opts.CommonOptions) *cobra.Command

func NewCmdStepHelmList Uses

func NewCmdStepHelmList(commonOpts *opts.CommonOptions) *cobra.Command

func NewCmdStepHelmRelease Uses

func NewCmdStepHelmRelease(commonOpts *opts.CommonOptions) *cobra.Command

func NewCmdStepHelmVersion Uses

func NewCmdStepHelmVersion(commonOpts *opts.CommonOptions) *cobra.Command

type StepHelmApplyOptions Uses

type StepHelmApplyOptions struct {
    StepHelmOptions

    Namespace          string
    ReleaseName        string
    Wait               bool
    Force              bool
    DisableHelmVersion bool
    Boot               bool
    Vault              bool
    NoVault            bool
    NoMasking          bool
    ProviderValuesDir  string
}

StepHelmApplyOptions contains the command line flags

func (*StepHelmApplyOptions) Run Uses

func (o *StepHelmApplyOptions) Run() error

type StepHelmBuildOptions Uses

type StepHelmBuildOptions struct {
    StepHelmOptions

    Boot              bool
    ProviderValuesDir string
    // contains filtered or unexported fields
}

StepHelmBuildOptions contains the command line flags

func (*StepHelmBuildOptions) Run Uses

func (o *StepHelmBuildOptions) Run() error

type StepHelmDeleteOptions Uses

type StepHelmDeleteOptions struct {
    StepHelmOptions

    Namespace string
    Purge     bool
}

StepHelmDeleteOptions contains the command line flags

func (*StepHelmDeleteOptions) Run Uses

func (o *StepHelmDeleteOptions) Run() error

Run performs the CLI command

type StepHelmEnvOptions Uses

type StepHelmEnvOptions struct {
    StepHelmOptions
    // contains filtered or unexported fields
}

StepHelmEnvOptions contains the command line flags

func (*StepHelmEnvOptions) Run Uses

func (o *StepHelmEnvOptions) Run() error

type StepHelmInstallOptions Uses

type StepHelmInstallOptions struct {
    StepHelmOptions

    Name        string
    Namespace   string
    Version     string
    Values      []string
    ValuesFiles []string
}

StepHelmInstallOptions contains the command line flags

func (*StepHelmInstallOptions) Run Uses

func (o *StepHelmInstallOptions) Run() error

type StepHelmListOptions Uses

type StepHelmListOptions struct {
    StepHelmOptions

    Namespace string
}

StepHelmListOptions contains the command line flags

func (*StepHelmListOptions) Run Uses

func (o *StepHelmListOptions) Run() error

type StepHelmOptions Uses

type StepHelmOptions struct {
    step.StepOptions

    Dir string

    GitProvider string
    // contains filtered or unexported fields
}

StepHelmOptions contains the command line flags

func (*StepHelmOptions) Run Uses

func (o *StepHelmOptions) Run() error

Run implements this command

type StepHelmReleaseOptions Uses

type StepHelmReleaseOptions struct {
    StepHelmOptions
}

StepHelmReleaseOptions contains the command line flags

func (*StepHelmReleaseOptions) Run Uses

func (o *StepHelmReleaseOptions) Run() error

type StepHelmVersionOptions Uses

type StepHelmVersionOptions struct {
    StepHelmOptions

    Version string
}

StepHelmVersionOptions contains the command line flags

func (*StepHelmVersionOptions) Run Uses

func (o *StepHelmVersionOptions) Run() error

Package helm imports 34 packages (graph) and is imported by 3 packages. Updated 2019-09-19. Refresh now. Tools for package owners.