Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( R = shell.R InvalidUpdateError = shell.InvalidUpdateError )
Functions ¶
func DoEventList ¶
func DoEventList(man modulebase.ResourceManager, s *mcclient.ClientSession, args *EventListOptions) error
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"` }
Click to show internal directories.
Click to hide internal directories.