cmd

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2026 License: Apache-2.0 Imports: 28 Imported by: 5 modules, 4 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanonizeBuilderImageArg added in v1.3.1

func CanonizeBuilderImageArg(builderImage string) string

CanonizeBuilderImageArg appends 'docker://' if the builder image doesn't contain the a schema.

func NewCmdBuild

func NewCmdBuild(cfg *api.Config) *cobra.Command

NewCmdBuild implements the S2I cli build command.

func NewCmdCompletion

func NewCmdCompletion(root *cobra.Command) *cobra.Command

NewCmdCompletion implements the S2I cli completion command.

func NewCmdCreate

func NewCmdCreate() *cobra.Command

NewCmdCreate implements the S2I cli create command.

func NewCmdGenerate added in v1.3.0

func NewCmdGenerate(cfg *api.Config) *cobra.Command

NewCmdGenerate implements the S2I cli generate command.

func NewCmdRebuild

func NewCmdRebuild(cfg *api.Config) *cobra.Command

NewCmdRebuild implements the S2i cli rebuild command.

func NewCmdUsage

func NewCmdUsage(cfg *api.Config) *cobra.Command

NewCmdUsage implements the S2I cli usage command.

func NewCmdVersion

func NewCmdVersion() *cobra.Command

NewCmdVersion implements the S2i cli version command.

func RunCompletion

func RunCompletion(out io.Writer, cmd *cobra.Command, root *cobra.Command, args []string) error

RunCompletion first checks args[0] to decide compose zsh or bash then write the content into the out bytes.Buffer if command input error will call UsageError with `cmd cobra.Command` `root cobra.Command` mainly for GenBashCompletion function

Types

This section is empty.

Jump to

Keyboard shortcuts

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