service

package
v0.0.0-...-e120e2b Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2023 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = &cobra.Command{
	Use: "service",
}
View Source
var Env = struct {
	Gopath string
	YcHome string
}{}

Functions

This section is empty.

Types

type CreateCommand

type CreateCommand struct {
	Name      string
	WorkDir   string
	OutputDir string
}

func (*CreateCommand) BeforeRun

func (t *CreateCommand) BeforeRun(cmd *cobra.Command)

func (*CreateCommand) InitFlag

func (t *CreateCommand) InitFlag(cmd *cobra.Command)

func (*CreateCommand) Prepare

func (t *CreateCommand) Prepare(cmd *cobra.Command)

func (*CreateCommand) Run

func (t *CreateCommand) Run()

type UpdateCommand

type UpdateCommand struct {
	WorkDir  string
	Override bool
}

func (*UpdateCommand) BeforeRun

func (t *UpdateCommand) BeforeRun(cmd *cobra.Command)

func (*UpdateCommand) InitFlag

func (t *UpdateCommand) InitFlag(cmd *cobra.Command)

func (*UpdateCommand) Prepare

func (t *UpdateCommand) Prepare(cmd *cobra.Command)

func (*UpdateCommand) Run

func (t *UpdateCommand) Run()

Jump to

Keyboard shortcuts

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