Documentation ¶
Overview ¶
Package ctlcmd contains the various snapctl subcommands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ForbiddenCommandError ¶
type ForbiddenCommandError struct {
Message string
}
ForbiddenCommandError conveys that a command cannot be invoked in some context
func (ForbiddenCommandError) Error ¶
func (f ForbiddenCommandError) Error() string
type KModInsertCmd ¶
type KModInsertCmd struct { Positional struct { Module string `positional-arg-name:"<module>" required:"yes" description:"kernel module name"` Options []string `positional-arg-name:"<options>" description:"kernel module options"` } `positional-args:"yes" required:"yes"` // contains filtered or unexported fields }
func (*KModInsertCmd) Execute ¶
func (k *KModInsertCmd) Execute([]string) error
type KModRemoveCmd ¶
type KModRemoveCmd struct { Positional struct { Module string `positional-arg-name:"<module>" required:"yes" description:"kernel module name"` } `positional-args:"yes" required:"yes"` // contains filtered or unexported fields }
func (*KModRemoveCmd) Execute ¶
func (k *KModRemoveCmd) Execute([]string) error
type MissingContextError ¶
type MissingContextError struct {
// contains filtered or unexported fields
}
func (*MissingContextError) Error ¶
func (e *MissingContextError) Error() string
type NoAttributeError ¶
type NoAttributeError struct {
Attribute string
}
NoAttributeError indicates that an interface attribute is not set.
func (*NoAttributeError) Error ¶
func (e *NoAttributeError) Error() string
type UnsuccessfulError ¶
type UnsuccessfulError struct {
ExitCode int
}
UnsuccessfulError carries a specific exit code to be returned to the client.
func (UnsuccessfulError) Error ¶
func (e UnsuccessfulError) Error() string
Click to show internal directories.
Click to hide internal directories.