create

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGitRequirementsOptions

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

AddGitRequirementsOptions adds git specific overrides to the given requirements

func AddRequirementsFlagsOptions

func AddRequirementsFlagsOptions(cmd *cobra.Command, flags *reqhelpers.RequirementFlags)

AddRequirementsFlagsOptions add CLI options to the flags

func AddRequirementsOptions

func AddRequirementsOptions(cmd *cobra.Command, o *Options)

AddRequirementsOptions add CLI flags to the requirements

Types

type Options

type Options struct {
	envfactory.EnvFactory
	Operator              operator.Options
	DisableVerifyPackages bool
	Requirements          jxcore.Requirements
	Flags                 reqhelpers.RequirementFlags
	Environment           string
	InitialGitURL         string
	Dir                   string
	RequirementsFile      string
	DevGitKind            string
	DevGitURL             string
	Cmd                   *cobra.Command
	Args                  []string
	AddApps               []string
	RemoveApps            []string
	NoOperator            bool
}

Options the options for creating a repository

func NewCmdCreate

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

NewCmdCreate creates a command object for the command

func (*Options) Run

func (o *Options) Run() error

Run implements the command

Jump to

Keyboard shortcuts

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