v1alpha1

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2021 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIResponse

type APIResponse struct {
	Events     *events.Events     `json:"query,omitempty" description:"query results"`
	Statistics *events.Statistics `json:"statistics,omitempty" description:"statistics results"`
	Histogram  *events.Histogram  `json:"histogram,omitempty" description:"histogram results"`
}

type Query

type Query struct {
	Operation                     string `json:"operation,omitempty"`
	WorkspaceFilter               string `json:"workspace_filter,omitempty"`
	WorkspaceSearch               string `json:"workspace_search,omitempty"`
	InvolvedObjectNamespaceFilter string `json:"involved_object_namespace_filter,omitempty"`
	InvolvedObjectNamespaceSearch string `json:"involved_object_namespace_search,omitempty"`
	InvolvedObjectNameFilter      string `json:"involved_object_name_filter,omitempty"`
	InvolvedObjectNameSearch      string `json:"involved_object_name_search,omitempty"`
	InvolvedObjectKindFilter      string `json:"involved_object_kind_filter,omitempty"`
	ReasonFilter                  string `json:"reason_filter,omitempty"`
	ReasonSearch                  string `json:"reason_search,omitempty"`
	MessageSearch                 string `json:"message_search,omitempty"`
	TypeFilter                    string `json:"type_filter,omitempty"`

	StartTime *time.Time `json:"start_time,omitempty"`
	EndTime   *time.Time `json:"end_time,omitempty"`

	Interval string `json:"interval,omitempty"`
	Sort     string `json:"sort,omitempty"`
	From     int64  `json:"from,omitempty"`
	Size     int64  `json:"size,omitempty"`
}

func ParseQueryParameter

func ParseQueryParameter(req *restful.Request) (*Query, error)

Jump to

Keyboard shortcuts

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