create

package
v0.0.36 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGitRequirementsOptions

func AddGitRequirementsOptions(cmd *cobra.Command, r *config.RequirementsConfig)

AddGitRequirementsOptions adds git specific overrides to the given requirements

func AddRequirementsOptions

func AddRequirementsOptions(cmd *cobra.Command, r *config.RequirementsConfig)

Types

type CreateOptions

type CreateOptions struct {
	envfactory.EnvFactory
	InitialGitURL         string
	Dir                   string
	Requirements          config.RequirementsConfig
	Flags                 RequirementBools
	Cmd                   *cobra.Command
	Args                  []string
	DisableVerifyPackages bool
}

CreateOptions the options for viewing running PRs

func NewCmdCreate

func NewCmdCreate() (*cobra.Command, *CreateOptions)

NewCmdCreate creates a command object for the "create" command

func (*CreateOptions) FlagChanged added in v0.0.33

func (o *CreateOptions) FlagChanged(name string) bool

FlagChanged returns true if the given flag was supplied on the command line

func (*CreateOptions) Run

func (o *CreateOptions) Run() error

Run implements the command

type RequirementBools added in v0.0.33

type RequirementBools struct {
	AutoUpgrade, EnvironmentGitPublic, GitPublic, GitOps, Kaniko, Terraform bool
	VaultRecreateBucket, VaultDisableURLDiscover                            bool
}

RequirementBools for the boolean flags we only update if specified on the CLI

Jump to

Keyboard shortcuts

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