Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddCommand ¶
type AddCommand struct {
Add []Add `json:"add"`
}
func CreateAddCommand ¶
func CreateAddCommand(values map[string]string) AddCommand
type DeleteIdCommand ¶
type DeleteIdCommand struct {
Delete DeleteId `json:"delete"`
}
func CreateDeleteIdCommand ¶
func CreateDeleteIdCommand(ids []string) DeleteIdCommand
type DeleteValue ¶
type DeleteValue struct {
Values []string `json:"values"`
}
type DeleteValueCommand ¶
type DeleteValueCommand struct {
Delete DeleteValue `json:"delete"`
}
func CreateDeleteValueCommand ¶
func CreateDeleteValueCommand(rules []string) DeleteValueCommand
type RulesError ¶
type RulesResponse ¶
func AddRule ¶
func AddRule(cmd AddCommand, dryRun bool) (jsonResponse RulesResponse, err error)
func GetRules ¶
func GetRules() (jsonResponse RulesResponse, err error)
type StreamResponse ¶
Click to show internal directories.
Click to hide internal directories.