root

package
v0.2.53 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2022 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCreateSpring

func NewCmdCreateSpring() *cobra.Command

NewCmdCreateSpring creates a command object for the "create" command

func SameRootDomain

func SameRootDomain(u1, u2 string) (bool, error)

SameRootDomain returns true if the same last 2 paths of the domain are the same. e.g. *.github.com or *.mygitserver.com

Types

type CreateMLQuickstartOptions added in v0.2.0

type CreateMLQuickstartOptions struct {
	Options

	GitHubOrganisations []string
	Filter              quickstarts.QuickstartFilter
	GitHost             string
	QuickstartAuth      string
	IgnoreTeam          bool
}

CreateMLQuickstartOptions the options for the create quickstart command

func NewCmdCreateMLQuickstart added in v0.2.0

func NewCmdCreateMLQuickstart() (*cobra.Command, *CreateMLQuickstartOptions)

NewCmdCreateMLQuickstart creates a command object for the "project" command

func (*CreateMLQuickstartOptions) Run added in v0.2.0

Run implements the generic Create command

type CreateQuickstartOptions

type CreateQuickstartOptions struct {
	Options

	GitHubOrganisations []string
	Filter              quickstarts.QuickstartFilter
	GitHost             string
	QuickstartAuth      string
	IgnoreTeam          bool
}

CreateQuickstartOptions the options for the create quickstart command

func NewCmdCreateQuickstart

func NewCmdCreateQuickstart() (*cobra.Command, *CreateQuickstartOptions)

NewCmdCreateQuickstart creates a command object for the "create" command

func (*CreateQuickstartOptions) CreateQuickStart

func (o *CreateQuickstartOptions) CreateQuickStart(q *quickstarts.QuickstartForm) error

CreateQuickStart helper method to create a quickstart from a quickstart resource

func (*CreateQuickstartOptions) Run

func (o *CreateQuickstartOptions) Run() error

Run implements the generic Create command

type CreateSpringOptions

type CreateSpringOptions struct {
	Options

	Advanced   bool
	SpringForm spring.BootForm
}

CreateSpringOptions the options for the create spring command

func (*CreateSpringOptions) Run

func (o *CreateSpringOptions) Run() error

Run implements the command

type Options

type Options struct {
	importcmd.ImportOptions

	OutDir             string
	DisableImport      bool
	GithubAppInstalled bool
}

Options contains the command line options

func (*Options) ImportCreatedProject

func (o *Options) ImportCreatedProject(outDir string) error

DoImport imports the project created at the given directory

type WizardOptions

type WizardOptions struct {
	Input input.Interface
}

WizardOptions the options for the command

func NewCmdMain

func NewCmdMain() (*cobra.Command, *WizardOptions)

NewCmdMain creates a command object for the command

func (*WizardOptions) Run

func (o *WizardOptions) 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