Documentation
¶
Overview ¶
Package command provides functionality for handling GitLab Shell commands
Index ¶
- func Build(args *commandargs.Shell, config *config.Config, ...) command.Command
- func New(arguments []string, env sshenv.Env, config *config.Config, ...) (command.Command, error)
- func NewWithKey(gitlabKeyID string, env sshenv.Env, config *config.Config, ...) (command.Command, error)
- func NewWithKrb5Principal(gitlabKrb5Principal string, env sshenv.Env, config *config.Config, ...) (command.Command, error)
- func NewWithUsername(gitlabUsername string, env sshenv.Env, config *config.Config, ...) (command.Command, error)
- func Parse(arguments []string, env sshenv.Env) (*commandargs.Shell, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build(args *commandargs.Shell, config *config.Config, readWriter *readwriter.ReadWriter) command.Command
Build constructs a command based on the provided arguments, config, and readWriter
func New ¶
func New(arguments []string, env sshenv.Env, config *config.Config, readWriter *readwriter.ReadWriter) (command.Command, error)
New creates a new command based on the provided arguments, environment, config, and readWriter
func NewWithKey ¶
func NewWithKey(gitlabKeyID string, env sshenv.Env, config *config.Config, readWriter *readwriter.ReadWriter) (command.Command, error)
NewWithKey creates a new command with the provided key ID
func NewWithKrb5Principal ¶ added in v14.16.0
func NewWithKrb5Principal(gitlabKrb5Principal string, env sshenv.Env, config *config.Config, readWriter *readwriter.ReadWriter) (command.Command, error)
NewWithKrb5Principal creates a new command with the provided Kerberos 5 principal
func NewWithUsername ¶ added in v14.27.0
func NewWithUsername(gitlabUsername string, env sshenv.Env, config *config.Config, readWriter *readwriter.ReadWriter) (command.Command, error)
NewWithUsername creates a new command with the provided username
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.