alerts

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcknowledgeBuilder

func AcknowledgeBuilder() *cobra.Command

mongocli atlas alerts acknowledge <ID> --projectId projectId --forever --comment comment --until until

func Builder

func Builder() *cobra.Command

func ConfigBuilder

func ConfigBuilder() *cobra.Command

func ConfigCreateBuilder

func ConfigCreateBuilder() *cobra.Command

mongocli atlas alerts config(s) create [--event event] [--enabled enabled][--matcherField fieldName --matcherOperator operator --matcherValue value] [--notificationType type --notificationDelayMin min --notificationEmailEnabled --notificationSmsEnabled --notificationUsername username --notificationTeamID id [--notificationEmailAddress email --notificationMobileNumber number --notificationChannelName channel --notificationApiToken --notificationRegion region] [--projectId projectId]

func ConfigDeleteBuilder

func ConfigDeleteBuilder() *cobra.Command

mongocli atlas alerts config(s) delete <ID> --projectId projectId [--confirm]

func ConfigListBuilder

func ConfigListBuilder() *cobra.Command

mongocli atlas alerts config(s) list --projectId projectId [--page N] [--limit N]

func ConfigUpdateBuilder

func ConfigUpdateBuilder() *cobra.Command

mongocli atlas alerts config(s) update <ID> [--event event] [--enabled enabled][--matcherField fieldName --matcherOperator operator --matcherValue value] [--notificationType type --notificationDelayMin min --notificationEmailEnabled --notificationSmsEnabled --notificationUsername username --notificationTeamID id [--notificationEmailAddress email --notificationMobileNumber number --notificationChannelName channel --notificationApiToken --notificationRegion region] [--projectId projectId]

func ConfigsFieldsBuilder

func ConfigsFieldsBuilder() *cobra.Command

func ConfigsFieldsTypeBuilder

func ConfigsFieldsTypeBuilder() *cobra.Command

mongocli atlas alerts config(s) fields type

func DescribeBuilder

func DescribeBuilder() *cobra.Command

mongocli atlas alerts describe <ID> --projectId projectId

func GlobalBuilder

func GlobalBuilder() *cobra.Command

func GlobalListBuilder

func GlobalListBuilder() *cobra.Command

mongocli om|cm alert(s) global list [--status status]

func ListBuilder

func ListBuilder() *cobra.Command

mongocli atlas alerts list [--status status] [--projectId projectId] [--page N] [--limit N]

func UnacknowledgeBuilder

func UnacknowledgeBuilder() *cobra.Command

mongocli atlas alerts unacknowledge <ID> --projectId projectId --comment comment

Types

type AcknowledgeOpts

type AcknowledgeOpts struct {
	cli.GlobalOpts
	// contains filtered or unexported fields
}

func (*AcknowledgeOpts) Run

func (opts *AcknowledgeOpts) Run() error

type ConfigCreateOpts

type ConfigCreateOpts struct {
	cli.GlobalOpts
	ConfigOpts
	// contains filtered or unexported fields
}

func (*ConfigCreateOpts) Run

func (opts *ConfigCreateOpts) Run() error

type ConfigDeleteOpts

type ConfigDeleteOpts struct {
	cli.GlobalOpts
	*cli.DeleteOpts
	// contains filtered or unexported fields
}

func (*ConfigDeleteOpts) Run

func (opts *ConfigDeleteOpts) Run() error

type ConfigFieldsTypeOpts

type ConfigFieldsTypeOpts struct {
	// contains filtered or unexported fields
}

func (*ConfigFieldsTypeOpts) Run

func (opts *ConfigFieldsTypeOpts) Run() error

type ConfigListOpts

type ConfigListOpts struct {
	cli.GlobalOpts
	cli.ListOpts
	// contains filtered or unexported fields
}

func (*ConfigListOpts) Run

func (opts *ConfigListOpts) Run() error

type ConfigOpts

type ConfigOpts struct {
	// contains filtered or unexported fields
}

ConfigOpts contains all the information and functions to manage an alert configuration

func (*ConfigOpts) NewAlertConfiguration

func (opts *ConfigOpts) NewAlertConfiguration(projectID string) *atlas.AlertConfiguration

type ConfigUpdateOpts

type ConfigUpdateOpts struct {
	cli.GlobalOpts
	ConfigOpts
	// contains filtered or unexported fields
}

func (*ConfigUpdateOpts) Run

func (opts *ConfigUpdateOpts) Run() error

type DescribeOpts

type DescribeOpts struct {
	cli.GlobalOpts
	// contains filtered or unexported fields
}

func (*DescribeOpts) Run

func (opts *DescribeOpts) Run() error

type GlobalListOpts

type GlobalListOpts struct {
	cli.ListOpts
	// contains filtered or unexported fields
}

func (*GlobalListOpts) Run

func (opts *GlobalListOpts) Run() error

type ListOpts

type ListOpts struct {
	cli.GlobalOpts
	cli.ListOpts
	// contains filtered or unexported fields
}

func (*ListOpts) Run

func (opts *ListOpts) Run() error

type UnacknowledgeOpts

type UnacknowledgeOpts struct {
	cli.GlobalOpts
	// contains filtered or unexported fields
}

func (*UnacknowledgeOpts) Run

func (opts *UnacknowledgeOpts) Run() error

Jump to

Keyboard shortcuts

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