service

package
v0.0.31 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const RecommendedCommandName = "service"

RecommendedCommandName is the recommended environment command name.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(name, fullName string) *cobra.Command

NewCmd creates a new environment command

Types

type AddServiceOptions

type AddServiceOptions struct {
	*pipelines.AddServiceOptions
}

AddServiceOptions encapsulates the parameters for service add command

func (*AddServiceOptions) Complete

func (o *AddServiceOptions) Complete(name string, cmd *cobra.Command, args []string) error

Complete is called when the command is completed

func (*AddServiceOptions) Run

func (o *AddServiceOptions) Run() error

Run runs the project bootstrap command.

func (*AddServiceOptions) Validate

func (o *AddServiceOptions) Validate() error

Validate validates the parameters of the EnvParameters.

Jump to

Keyboard shortcuts

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