cmd

package
v1.0.16 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Flags = []cli.Flag{
	&cli.StringFlag{
		Name:     "profile",
		Aliases:  []string{"p"},
		Required: false,
	},
	&cli.StringFlag{
		Name:     "region",
		Aliases:  []string{"r"},
		Required: false,
	},
	&cli.TimestampFlag{
		Name:     "start-time",
		Aliases:  []string{"s"},
		Layout:   "2006-01-02T15:04:05",
		Timezone: time.UTC,
		Usage:    "Timestamp in 2023-01-01T00:00:00 format (UTC)",
		Required: false,
	},
	&cli.TimestampFlag{
		Name:     "end-time",
		Aliases:  []string{"e"},
		Layout:   "2006-01-02T15:04:05",
		Timezone: time.UTC,
		Usage:    "Timestamp in 2023-01-01T00:00:00 format (UTC)",
		Required: false,
	},
	&cli.StringFlag{
		Name:     "event-id",
		Usage:    "Filter events with event id",
		Required: false,
	},
	&cli.StringFlag{
		Name:     "event-name",
		Usage:    "Filter events with event name",
		Required: false,
	},
	&cli.StringFlag{
		Name:     "user-name",
		Usage:    "Filter events with user name",
		Required: false,
	},
	&cli.StringFlag{
		Name:     "resource-name",
		Usage:    "Filter events with resource name",
		Required: false,
	},
	&cli.StringFlag{
		Name:     "resource-type",
		Usage:    "Filter events with resource type",
		Required: false,
	},
	&cli.StringFlag{
		Name:     "event-source",
		Usage:    "Filter events with event source",
		Required: false,
	},
	&cli.StringFlag{
		Name:     "access-key-id",
		Usage:    "Filter events with access key id",
		Required: false,
	},
	&cli.BoolFlag{
		Name:     "read-only",
		Usage:    "Filter events with ReadOnly=true",
		Required: false,
	},
	&cli.BoolFlag{
		Name:     "no-read-only",
		Usage:    "Filter events with ReadOnly=false",
		Required: false,
	},
	&cli.StringFlag{
		Name:     "max-results",
		Aliases:  []string{"n"},
		Value:    "20",
		Required: false,
	},
	&cli.BoolFlag{
		Name:     "error-only",
		Usage:    "Filter events with errors",
		Required: false,
	},
	&cli.BoolFlag{
		Name:     "truncate-user-name",
		Usage:    "Truncate user name string",
		Value:    false,
		Required: false,
	},
	&cli.BoolFlag{
		Name:     "truncate-user-agent",
		Usage:    "Truncate user agent string",
		Value:    false,
		Required: false,
	},
}

Functions

func Wrapper added in v1.0.3

func Wrapper(c *cli.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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