edit

package
v2.1.138 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2020 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdEdit

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

NewCmdEdit creates the edit command

func NewCmdEditAddon

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

NewCmdEditAddon creates a command object for the "create" command

func NewCmdEditAppJenkinsPlugins

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

NewCmdEditAppJenkinsPlugins creates a command object for the "create" command

func NewCmdEditBuildpack

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

NewCmdEditBuildpack creates a command object for the "create" command

func NewCmdEditConfig

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

NewCmdEditConfig creates a command object for the "create" command

func NewCmdEditDeployKind

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

NewCmdEditDeployKind creates a command object for the "create" command

func NewCmdEditEnv

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

NewCmdEditEnv creates a command object for the "create" command

func NewCmdEditHelmBin

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

NewCmdEditHelmBin creates a command object for the "create" command

func NewCmdEditStorage

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

NewCmdEditStorage creates a command object for the "create" command

func NewCmdEditUserRole

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

NewCmdEditUserRole creates a command object for the "create" command

func ToDeployArguments

func ToDeployArguments(optionsKind string, kind string, canary bool, hpa bool) []string

ToDeployArguments converts the given deploy kind, canary and HPA to CLI arguments we can parse on the command object

Types

type EditAddonOptions

type EditAddonOptions struct {
	EditOptions

	Name    string
	Enabled string

	IssuesAuthConfigSvc auth.ConfigService
}

EditAddonOptions the options for the create spring command

func (*EditAddonOptions) Run

func (o *EditAddonOptions) Run() error

Run implements the command

type EditAppJenkinsPluginsOptions

type EditAppJenkinsPluginsOptions struct {
	EditOptions

	Name    string
	Enabled string

	IssuesAuthConfigSvc auth.ConfigService
}

EditAppJenkinsPluginsOptions the options for the create spring command

func (*EditAppJenkinsPluginsOptions) Run

Run implements the command

type EditBuildPackOptions

type EditBuildPackOptions struct {
	EditOptions

	BuildPackName string
	BuildPackURL  string
	BuildPackRef  string
}

EditBuildPackOptions the options for the create spring command

func (*EditBuildPackOptions) Run

func (o *EditBuildPackOptions) Run() error

Run implements the command

type EditConfigOptions

type EditConfigOptions struct {
	EditOptions

	Dir  string
	Kind string

	IssuesAuthConfigSvc auth.ConfigService
	ChatAuthConfigSvc   auth.ConfigService
}

EditConfigOptions the options for the create spring command

func (*EditConfigOptions) EditChat

func (o *EditConfigOptions) EditChat(pc *config.ProjectConfig) (bool, error)

func (*EditConfigOptions) EditIssueTracker

func (o *EditConfigOptions) EditIssueTracker(pc *config.ProjectConfig) (bool, error)

func (*EditConfigOptions) Run

func (o *EditConfigOptions) Run() error

Run implements the command

type EditDeployKindOptions

type EditDeployKindOptions struct {
	EditOptions

	Kind          string
	DeployOptions v1.DeployOptions
	Dir           string
	Team          bool
}

EditDeployKindOptions the options for the create spring command

func NewCmdEditDeployKindAndOption

func NewCmdEditDeployKindAndOption(commonOpts *opts.CommonOptions) (*cobra.Command, *EditDeployKindOptions)

NewCmdEditDeployKindAndOption creates a command object for the "create" command

func (*EditDeployKindOptions) FindDefaultDeployKindInValuesYaml

func (o *EditDeployKindOptions) FindDefaultDeployKindInValuesYaml(yamlText string) (string, v1.DeployOptions)

FindDefaultDeployKindInValuesYaml finds the deployment values for the given values.yaml text

func (*EditDeployKindOptions) Run

func (o *EditDeployKindOptions) Run() error

Run implements the command

type EditEnvOptions

type EditEnvOptions struct {
	*opts.CommonOptions

	Options                v1.Environment
	HelmValuesConfig       config.HelmValuesConfig
	PromotionStrategy      string
	NoGitOps               bool
	ForkEnvironmentGitRepo string
	EnvJobCredentials      string
	GitRepositoryOptions   gits.GitRepositoryOptions
	Prefix                 string
	BranchPattern          string
}

EditEnvOptions the options for the create spring command

func (*EditEnvOptions) Run

func (o *EditEnvOptions) Run() error

Run implements the command

type EditHelmBinOptions

type EditHelmBinOptions struct {
	*opts.CommonOptions
}

EditHelmBinOptions the options for the create spring command

func (*EditHelmBinOptions) Run

func (o *EditHelmBinOptions) Run() error

Run implements the command

type EditOptions

type EditOptions struct {
	*opts.CommonOptions
}

EditOptions contains the CLI options

func (*EditOptions) Run

func (o *EditOptions) Run() error

Run implements this command

type EditStorageOptions

type EditStorageOptions struct {
	*opts.CommonOptions

	StorageLocation    jenkinsv1.StorageLocation
	CreateBucketValues opts.CreateBucketValues
}

EditStorageOptions the options for the create spring command

func (*EditStorageOptions) Run

func (o *EditStorageOptions) Run() error

Run implements the command

type EditUserRoleOptions

type EditUserRoleOptions struct {
	EditOptions

	Login string
	Roles []string
}

EditUserRoleOptions the options for the create spring command

func (*EditUserRoleOptions) Run

func (o *EditUserRoleOptions) Run() error

Run implements the command

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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