alert

package
v0.9.0-alpha.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2024 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAlertCmd

func NewAlertCmd(f cmdutil.Factory, streams genericiooptions.IOStreams) *cobra.Command

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
	// 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL