Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdBlock ¶
func NewCmdBlockAdd ¶
func NewCmdBlockClear ¶
func NewCmdBlockDelete ¶
func NewCmdBlockList ¶
Types ¶
type BlockAddOptions ¶
type BlockAddOptions struct {
// contains filtered or unexported fields
}
func (*BlockAddOptions) Complete ¶
func (opt *BlockAddOptions) Complete(cmd *cobra.Command, args []string) error
func (*BlockAddOptions) Execute ¶
func (opt *BlockAddOptions) Execute() error
func (*BlockAddOptions) Validate ¶
func (opt *BlockAddOptions) Validate() error
type BlockClearOptions ¶
type BlockClearOptions struct {
// contains filtered or unexported fields
}
func (*BlockClearOptions) Complete ¶
func (opt *BlockClearOptions) Complete(cmd *cobra.Command, args []string) error
func (*BlockClearOptions) Execute ¶
func (opt *BlockClearOptions) Execute() error
func (*BlockClearOptions) Validate ¶
func (opt *BlockClearOptions) Validate() error
type BlockDeleteOptions ¶
type BlockDeleteOptions struct {
// contains filtered or unexported fields
}
func (*BlockDeleteOptions) Complete ¶
func (opt *BlockDeleteOptions) Complete(cmd *cobra.Command, args []string) error
func (*BlockDeleteOptions) Execute ¶
func (opt *BlockDeleteOptions) Execute() error
func (*BlockDeleteOptions) Validate ¶
func (opt *BlockDeleteOptions) Validate() error
type BlockListOptions ¶
type BlockListOptions struct {
// contains filtered or unexported fields
}
func (*BlockListOptions) Complete ¶
func (opt *BlockListOptions) Complete(cmd *cobra.Command, args []string) error
func (*BlockListOptions) Execute ¶
func (opt *BlockListOptions) Execute() error
func (*BlockListOptions) Validate ¶
func (opt *BlockListOptions) Validate() error
type BlockModel ¶
type BlockModel struct { ID int `json:"id" yaml:"id"` Name string `json:"name" yaml:"name"` Comment string `json:"comment,omitempty" yaml:"comment,omitempty"` AliasesCount int `json:"count,omitempty" yaml:"count,omitempty"` SystemAliasesCount int `json:"-" yaml:"-"` }
func NewBlocksModels ¶
func NewBlocksModels(doc *dom.Document) []*BlockModel
Click to show internal directories.
Click to hide internal directories.