Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddOptions ¶
type AddOptions struct {
RemoveOptions
Ip string `required:"false" short:"i" long:"ip"`
}
type ListOptions ¶
type ListOptions struct {
File string `default:"" short:"f" long:"file" required:"false"`
}
type Options ¶
type Options struct {
AddOptions *AddOptions
RemoveOptions *RemoveOptions
ListOptions *ListOptions
// contains filtered or unexported fields
}
func NewOptions ¶
type RemoveOptions ¶
type RemoveOptions struct {
ListOptions
Host string `required:"true" short:"p" long:"host"`
}
Click to show internal directories.
Click to hide internal directories.