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

package git

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

Index

Package Files

step_git.go step_git_close.go step_git_credentials.go step_git_envs.go step_git_fork_and_clone.go step_git_merge.go step_git_validate.go

Variables

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

    StepGitCloseExample = templates.Examples("" /* 317 byte string literal not displayed */,
    )
)
var (
    StepGitCredentialsLong = templates.LongDesc(`
		This pipeline step generates a Git credentials file for the current Git provider pipeline Secrets

`)

    StepGitCredentialsExample = templates.Examples("" /* 187 byte string literal not displayed */,
    )
)
var (
    StepGitEnvsLong = templates.LongDesc(`
		This pipeline step generates a Git environment variables from the current Git provider pipeline Secrets

`)

    StepGitEnvsExample = templates.Examples("" /* 206 byte string literal not displayed */,
    )
)
var (
    StepGitForkAndCloneLong = templates.LongDesc("" /* 197 byte string literal not displayed */,
    )

    StepGitForkAndCloneExample = templates.Examples("" /* 348 byte string literal not displayed */,
    )
)
var (
    StepGitMergeLong = templates.LongDesc("" /* 368 byte string literal not displayed */,
    )

    StepGitMergeExample = templates.Examples("" /* 259 byte string literal not displayed */,
    )
)

func NewCmdStepGit Uses

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

NewCmdStepGit Steps a command object for the "step" command

func NewCmdStepGitClose Uses

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

NewCmdStepGitClose create the 'step git envs' command

func NewCmdStepGitCredentials Uses

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

func NewCmdStepGitEnvs Uses

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

NewCmdStepGitEnvs create the 'step git envs' command

func NewCmdStepGitForkAndClone Uses

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

NewCmdStepGitForkAndClone create the 'step git envs' command

func NewCmdStepGitMerge Uses

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

NewCmdStepGitMerge create the 'step git envs' command

func NewCmdStepGitValidate Uses

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

NewCmdStepGitValidate creates a command to validate gitconfig

type StepGitCloseOptions Uses

type StepGitCloseOptions struct {
    step.StepOptions
    Dir      string
    Orgs     []string
    Excludes []string
    Includes []string
    DryRun   bool
}

StepGitCloseOptions contains the command line flags

func (*StepGitCloseOptions) Run Uses

func (o *StepGitCloseOptions) Run() error

Run implements the command

type StepGitCredentialsOptions Uses

type StepGitCredentialsOptions struct {
    step.StepOptions

    OutputFile string
}

StepGitCredentialsOptions contains the command line flags

func (*StepGitCredentialsOptions) CreateGitCredentialsFromSecrets Uses

func (o *StepGitCredentialsOptions) CreateGitCredentialsFromSecrets(secretList *corev1.SecretList) []byte

CreateGitCredentialsFromSecrets Creates git credentials from secrets

func (*StepGitCredentialsOptions) Run Uses

func (o *StepGitCredentialsOptions) Run() error

type StepGitEnvsOptions Uses

type StepGitEnvsOptions struct {
    step.StepOptions

    ServiceKind string
}

StepGitEnvsOptions contains the command line flags

func (*StepGitEnvsOptions) Run Uses

func (o *StepGitEnvsOptions) Run() error

Run implements the command

type StepGitForkAndCloneOptions Uses

type StepGitForkAndCloneOptions struct {
    step.StepOptions
    Dir         string
    BaseRef     string
    PrintOutDir bool
    OutputDir   string
}

StepGitForkAndCloneOptions contains the command line flags

func (*StepGitForkAndCloneOptions) Run Uses

func (o *StepGitForkAndCloneOptions) Run() error

Run implements the command

type StepGitMergeOptions Uses

type StepGitMergeOptions struct {
    step.StepOptions

    SHAs       []string
    Remote     string
    Dir        string
    BaseBranch string
    BaseSHA    string
}

StepGitMergeOptions contains the command line flags

func (*StepGitMergeOptions) Run Uses

func (o *StepGitMergeOptions) Run() error

Run implements the command

type StepGitOptions Uses

type StepGitOptions struct {
    step.StepOptions
}

StepGitOptions contains the command line flags

func (*StepGitOptions) Run Uses

func (o *StepGitOptions) Run() error

Run implements this command

type StepGitValidateOptions Uses

type StepGitValidateOptions struct {
    step.StepOptions
}

StepGitValidateOptions contains the command line flags

func (*StepGitValidateOptions) Run Uses

func (o *StepGitValidateOptions) Run() error

Run validates git config

Package git imports 20 packages (graph) and is imported by 6 packages. Updated 2019-08-25. Refresh now. Tools for package owners.