Documentation ¶
Index ¶
- func AcknowledgeBuilder() *cobra.Command
- func Builder() *cobra.Command
- func ConfigBuilder() *cobra.Command
- func ConfigCreateBuilder() *cobra.Command
- func ConfigDeleteBuilder() *cobra.Command
- func ConfigListBuilder() *cobra.Command
- func ConfigUpdateBuilder() *cobra.Command
- func ConfigsFieldsBuilder() *cobra.Command
- func ConfigsFieldsTypeBuilder() *cobra.Command
- func DescribeBuilder() *cobra.Command
- func GlobalBuilder() *cobra.Command
- func GlobalListBuilder() *cobra.Command
- func ListBuilder() *cobra.Command
- func UnacknowledgeBuilder() *cobra.Command
- type AcknowledgeOpts
- type ConfigCreateOpts
- type ConfigDeleteOpts
- type ConfigFieldsTypeOpts
- type ConfigListOpts
- type ConfigOpts
- type ConfigUpdateOpts
- type DescribeOpts
- type GlobalListOpts
- type ListOpts
- type UnacknowledgeOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcknowledgeBuilder ¶
mongocli atlas alerts acknowledge <ID> --projectId projectId --forever --comment comment --until until
func ConfigBuilder ¶
func ConfigCreateBuilder ¶
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 ¶
mongocli atlas alerts config(s) delete <ID> --projectId projectId [--confirm]
func ConfigListBuilder ¶
mongocli atlas alerts config(s) list --projectId projectId [--page N] [--limit N]
func ConfigUpdateBuilder ¶
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 ConfigsFieldsTypeBuilder ¶
mongocli atlas alerts config(s) fields type
func DescribeBuilder ¶
mongocli atlas alerts describe <ID> --projectId projectId
func GlobalBuilder ¶
func GlobalListBuilder ¶
mongocli om|cm alert(s) global list [--status status]
func ListBuilder ¶
mongocli atlas alerts list [--status status] [--projectId projectId] [--page N] [--limit N]
func UnacknowledgeBuilder ¶
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 ¶
func (*GlobalListOpts) Run ¶
func (opts *GlobalListOpts) Run() error
type ListOpts ¶
type ListOpts struct { cli.GlobalOpts cli.ListOpts // contains filtered or unexported fields }
type UnacknowledgeOpts ¶
type UnacknowledgeOpts struct { cli.GlobalOpts // contains filtered or unexported fields }
func (*UnacknowledgeOpts) Run ¶
func (opts *UnacknowledgeOpts) Run() error