Documentation ¶
Index ¶
Constants ¶
View Source
const (
// AddEnvRecommendedCommandName the recommended command name
AddEnvRecommendedCommandName = "add"
)
View Source
const EnvRecommendedCommandName = "environment"
EnvRecommendedCommandName is the recommended environment command name.
Variables ¶
This section is empty.
Functions ¶
func NewCmdAddEnv ¶
NewCmdAddEnv creates the project add environment command.
Types ¶
type AddEnvParameters ¶
type AddEnvParameters struct {
// contains filtered or unexported fields
}
AddEnvParameters encapsulates the parameters for the kam pipelines init command.
func NewAddEnvParameters ¶
func NewAddEnvParameters() *AddEnvParameters
NewAddEnvParameters bootstraps a AddEnvParameters instance.
func (*AddEnvParameters) Complete ¶
Complete completes AddEnvParameters after they've been created.
If the prefix provided doesn't have a "-" then one is added, this makes the generated environment names nicer to read.
func (*AddEnvParameters) Run ¶
func (eo *AddEnvParameters) Run() error
Run runs the project bootstrap command.
func (*AddEnvParameters) Validate ¶
func (eo *AddEnvParameters) Validate() error
Validate validates the parameters of the EnvParameters.
Click to show internal directories.
Click to hide internal directories.