events

package
v0.3.11-8 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	R = shell.R

	InvalidUpdateError = shell.InvalidUpdateError
)

Functions

Types

type BaseEventListOptions

type BaseEventListOptions struct {
	Scope      string   `help:"scope" choices:"project|domain|system"`
	Since      string   `help:"Show logs since specific date" metavar:"DATETIME"`
	Until      string   `help:"Show logs until specific date" metavar:"DATETIME"`
	Limit      int64    `help:"Limit number of logs" default:"20"`
	Offset     int64    `help:"Offset"`
	Ascending  bool     `help:"Ascending order"`
	Descending bool     `help:"Descending order"`
	OrderBy    string   `help:"order by specific field"`
	Action     []string `help:"Log action"`

	User    string `help:"filter by operator user"`
	Project string `help:"filter by operator user's project"`

	OwnerProjectIds []string `help:"filter by owner project ids"`
	OwnerDomainIds  []string `help:"filter by owner domain ids"`

	PagingMarker string `help:"marker for pagination"`
	PagingOrder  string `help:"pagination order" choices:"DESC|ASC"`

	Filter []string `help:"Filters"`
}

type EventListOptions

type EventListOptions struct {
	BaseEventListOptions
	Id   []string `help:"object IDs" metavar:"OBJ_ID"`
	Name []string `help:"object names" metavar:"OBJ_NAME"`
	Type []string `help:"Type of relevant object" metavar:"OBJ_TYPE"`
}

type TypeEventListOptions

type TypeEventListOptions struct {
	BaseEventListOptions
	ID []string `help:"object IDs" metavar:"OBJ_ID"`
}

Jump to

Keyboard shortcuts

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