logger

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: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	R = shell.R
)

Functions

This section is empty.

Types

type ActionListOptions

type ActionListOptions struct {
	BaseActionListOptions
	Service []string `help:"service name`
	Id      string   `help:"" metavar:"OBJ_ID"`
	Type    []string `help:"Type of relevant object" metavar:"OBJ_TYPE"`
}

type BaseActionListOptions

type BaseActionListOptions 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"`
	Action        []string `help:"Log action"`
	Search        string   `help:"Filter action logs by obj_name, using 'like' syntax."`
	Admin         bool     `help:"admin mode"`
	Succ          bool     `help:"Show success action log only"`
	Fail          bool     `help:"Show failed action log only"`
	SystemAccount bool     `help:"Show system account log"`
	NormalAccount bool     `help:"Show normal account log"`

	User    []string `help:"filter by operator user"`
	Project []string `help:"filter by owner project"`

	PagingMarker string `help:"marker for pagination"`
}

type TypeActionListOptions

type TypeActionListOptions struct {
	BaseActionListOptions
	ID string `help:"" metavar:"OBJ_ID"`
}

Jump to

Keyboard shortcuts

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