Documentation
¶
Index ¶
Constants ¶
View Source
const (
PluginRemoveCmdPrefix = "remove-"
)
Variables ¶
View Source
var (
PluginName = "label"
)
Functions ¶
func NewLabelPlugin ¶
func NewLabelPlugin(cli client.ClientInterface, notifier notify.NotifyInterface, options plugin.PluginOptions) (plugin.Plugin, error)
Types ¶
type Extra ¶
type Extra map[string]LabelStatus
type LabelStatus ¶
type LabelStatus struct { AddPreconditions []config.Precondition `json:"add_preconditions"` RemovePreconditions []config.Precondition `json:"remove_preconditions"` Labels []string `json:"labels"` }
type LablePlugin ¶
type LablePlugin struct { *plugin.BasePlugin // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.