query

package
v0.0.0-...-58d9a08 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TableFormat = "table"
	JsonFormat  = "json"
)

Variables

This section is empty.

Functions

func PrintExpByOption

func PrintExpByOption(ctx context.Context, o *OptionExpQuery, ifAll bool, format string)

Types

type OptionExpQuery

type OptionExpQuery struct {
	Uid              string `json:"uid,omitempty"`
	Status           string `json:"status,omitempty"`
	Target           string `json:"target,omitempty"`
	Fault            string `json:"fault,omitempty"`
	Creator          string `json:"creator,omitempty"`
	ContainerId      string `json:"container_id,omitempty"`
	ContainerRuntime string `json:"container_runtime,omitempty"`
	Offset           uint   `json:"offset"`
	Limit            uint   `json:"limit"`
}

Jump to

Keyboard shortcuts

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