Documentation
¶
Overview ¶
Package command provides command execution API handlers.
Index ¶
- func Handler(logger *slog.Logger, jobClient client.JobClient, signingKey string, ...) []func(e *echo.Echo)
- type Command
- func (s *Command) PostNodeCommandExec(ctx context.Context, request gen.PostNodeCommandExecRequestObject) (gen.PostNodeCommandExecResponseObject, error)
- func (s *Command) PostNodeCommandShell(ctx context.Context, request gen.PostNodeCommandShellRequestObject) (gen.PostNodeCommandShellResponseObject, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Command ¶
type Command struct {
// JobClient provides job-based operations for command execution.
JobClient client.JobClient
// contains filtered or unexported fields
}
Command implementation of the Command APIs operations.
func (*Command) PostNodeCommandExec ¶
func (s *Command) PostNodeCommandExec( ctx context.Context, request gen.PostNodeCommandExecRequestObject, ) (gen.PostNodeCommandExecResponseObject, error)
PostNodeCommandExec post the node command exec API endpoint.
func (*Command) PostNodeCommandShell ¶
func (s *Command) PostNodeCommandShell( ctx context.Context, request gen.PostNodeCommandShellRequestObject, ) (gen.PostNodeCommandShellResponseObject, error)
PostNodeCommandShell post the node command shell API endpoint.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.