Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAlertCmd ¶
Types ¶
type AddReceiverOptions ¶ added in v0.7.3
type AddReceiverOptions struct {
Emails []string
Webhooks []string
Slacks []string
Clusters []string
Severities []string
Types []string
Rules []string
Name string
InputName []string
SendResolved bool
RepeatInterval string
MuteTimeInterval *timeinterval.TimeInterval
CustomMatchers []string
// contains filtered or unexported fields
}
func NewAddReceiverOption ¶ added in v0.7.3
func NewAddReceiverOption(f cmdutil.Factory, streams genericiooptions.IOStreams) *AddReceiverOptions
func (*AddReceiverOptions) Exec ¶ added in v0.7.3
func (o *AddReceiverOptions) Exec() error
type DeleteReceiverOptions ¶ added in v0.7.3
type DeleteReceiverOptions struct {
Names []string
// contains filtered or unexported fields
}
func NewDeleteReceiverOption ¶ added in v0.7.3
func NewDeleteReceiverOption(f cmdutil.Factory, streams genericiooptions.IOStreams) *DeleteReceiverOptions
func (*DeleteReceiverOptions) Exec ¶ added in v0.7.3
func (o *DeleteReceiverOptions) Exec() error
type TimeInterval ¶ added in v0.7.3
Click to show internal directories.
Click to hide internal directories.