Documentation ¶
Index ¶
- Constants
- Variables
- func Execute() int
- func NewAddCommand(o *AddOption) *cobra.Command
- func NewNodesCommand(o *NodesOption) *cobra.Command
- func NewRemoveCommand(o *RemoveOption) *cobra.Command
- func NewRootCommand() *cobra.Command
- func NewVersionCommand() *cobra.Command
- type AddOption
- type Config
- type ErrFileNotExist
- type NodesOption
- type RemoveOption
Constants ¶
View Source
const Version = "v0.0.1"
Variables ¶
View Source
var Revision = "development"
Functions ¶
func NewAddCommand ¶
func NewNodesCommand ¶
func NewNodesCommand(o *NodesOption) *cobra.Command
func NewRemoveCommand ¶
func NewRemoveCommand(o *RemoveOption) *cobra.Command
func NewRootCommand ¶
func NewVersionCommand ¶
Types ¶
type Config ¶
type ErrFileNotExist ¶
type ErrFileNotExist struct {
// contains filtered or unexported fields
}
func (ErrFileNotExist) Error ¶
func (e ErrFileNotExist) Error() string
type NodesOption ¶
type NodesOption struct {
// contains filtered or unexported fields
}
type RemoveOption ¶
type RemoveOption struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.