Documentation
¶
Index ¶
- func IsInvalidStorageKind(err error) bool
- type Command
- func (c *Command) Boot()
- func (c *Command) Execute(cmd *cobra.Command, args []string)
- func (c *Command) ForceShutdown()
- func (c *Command) ListenToSignal()
- func (c *Command) New() *cobra.Command
- func (c *Command) SetConfigCollection(configCollection *config.Collection)
- func (c *Command) SetGitCommit(gitCommit string)
- func (c *Command) SetGoArch(goArch string)
- func (c *Command) SetGoOS(goOS string)
- func (c *Command) SetGoVersion(goVersion string)
- func (c *Command) SetProjectVersion(projectVersion string)
- func (c *Command) Shutdown()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidStorageKind ¶
IsInvalidStorageKind asserts invalidStorageKindError.
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
Command represents the boot command.
func (*Command) ForceShutdown ¶
func (c *Command) ForceShutdown()
ForceShutdown forces the process to stop immediately.
func (*Command) ListenToSignal ¶
func (c *Command) ListenToSignal()
ListenToSignal listens to OS signals to be catched and processed if desired.
func (*Command) SetConfigCollection ¶
func (c *Command) SetConfigCollection(configCollection *config.Collection)
SetConfigCollection sets the config collection for the boot command to configure the neural network.
func (*Command) SetGitCommit ¶
SetGitCommit sets the git commit for the version command to be displayed.
func (*Command) SetGoArch ¶
SetGoArch sets the go architecture for the version command to be displayed.
func (*Command) SetGoVersion ¶
SetGoVersion sets the go version for the version command to be displayed.
func (*Command) SetProjectVersion ¶
SetProjectVersion sets the project version for the version command to be displayed.
Click to show internal directories.
Click to hide internal directories.