request

package
v0.0.0-...-f54f16c Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_external_event_feed_request_event_proto protoreflect.FileDescriptor
View Source
var File_external_event_feed_request_eventstrings_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type EventExportRequest

type EventExportRequest struct {

	// JSON or CSV
	OutputType string `protobuf:"bytes,1,opt,name=output_type,json=outputType,proto3" json:"output_type,omitempty"`
	// Filters to be applied to the request.
	Filter []string `protobuf:"bytes,2,rep,name=filter,proto3" json:"filter,omitempty"`
	// Earliest events to return.
	Start int64 `protobuf:"varint,3,opt,name=start,proto3" json:"start,omitempty"`
	// Latest events to return.
	End int64 `protobuf:"varint,4,opt,name=end,proto3" json:"end,omitempty"`
	// Order the results should be returned in.
	Order query.SortOrder `protobuf:"varint,5,opt,name=order,proto3,enum=chef.automate.api.common.query.SortOrder" json:"order,omitempty"`
	// contains filtered or unexported fields
}

func (*EventExportRequest) Descriptor deprecated

func (*EventExportRequest) Descriptor() ([]byte, []int)

Deprecated: Use EventExportRequest.ProtoReflect.Descriptor instead.

func (*EventExportRequest) GetEnd

func (x *EventExportRequest) GetEnd() int64

func (*EventExportRequest) GetFilter

func (x *EventExportRequest) GetFilter() []string

func (*EventExportRequest) GetOrder

func (x *EventExportRequest) GetOrder() query.SortOrder

func (*EventExportRequest) GetOutputType

func (x *EventExportRequest) GetOutputType() string

func (*EventExportRequest) GetStart

func (x *EventExportRequest) GetStart() int64

func (*EventExportRequest) ProtoMessage

func (*EventExportRequest) ProtoMessage()

func (*EventExportRequest) ProtoReflect

func (x *EventExportRequest) ProtoReflect() protoreflect.Message

func (*EventExportRequest) Reset

func (x *EventExportRequest) Reset()

func (*EventExportRequest) String

func (x *EventExportRequest) String() string

type GetEventFeedRequest

type GetEventFeedRequest struct {

	// Filters to be applied to the request.
	Filter []string `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty"`
	// Earliest events to return.
	Start int64 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"`
	// Latest events to return.
	End int64 `protobuf:"varint,3,opt,name=end,proto3" json:"end,omitempty"`
	// Count of events to return per page.
	PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Used for pagination, to request results in ascending order.
	After int64 `protobuf:"varint,5,opt,name=after,proto3" json:"after,omitempty"`
	// Used for pagination, to request results in descending order.
	Before int64 `protobuf:"varint,6,opt,name=before,proto3" json:"before,omitempty"`
	// Used for pagination, to bookmark next set of results.
	Cursor string `protobuf:"bytes,7,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// Used to group similar events together.
	Collapse bool `protobuf:"varint,8,opt,name=collapse,proto3" json:"collapse,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventFeedRequest) Descriptor deprecated

func (*GetEventFeedRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetEventFeedRequest.ProtoReflect.Descriptor instead.

func (*GetEventFeedRequest) GetAfter

func (x *GetEventFeedRequest) GetAfter() int64

func (*GetEventFeedRequest) GetBefore

func (x *GetEventFeedRequest) GetBefore() int64

func (*GetEventFeedRequest) GetCollapse

func (x *GetEventFeedRequest) GetCollapse() bool

func (*GetEventFeedRequest) GetCursor

func (x *GetEventFeedRequest) GetCursor() string

func (*GetEventFeedRequest) GetEnd

func (x *GetEventFeedRequest) GetEnd() int64

func (*GetEventFeedRequest) GetFilter

func (x *GetEventFeedRequest) GetFilter() []string

func (*GetEventFeedRequest) GetPageSize

func (x *GetEventFeedRequest) GetPageSize() int32

func (*GetEventFeedRequest) GetStart

func (x *GetEventFeedRequest) GetStart() int64

func (*GetEventFeedRequest) ProtoMessage

func (*GetEventFeedRequest) ProtoMessage()

func (*GetEventFeedRequest) ProtoReflect

func (x *GetEventFeedRequest) ProtoReflect() protoreflect.Message

func (*GetEventFeedRequest) Reset

func (x *GetEventFeedRequest) Reset()

func (*GetEventFeedRequest) String

func (x *GetEventFeedRequest) String() string

type GetEventStringBucketsRequest

type GetEventStringBucketsRequest struct {

	// Earliest events to return.
	Start string `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
	// Latest events to return.
	End string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
	// User timezone to apply to request.
	Timezone string `protobuf:"bytes,3,opt,name=timezone,proto3" json:"timezone,omitempty"`
	// Interval for returned results, for example: 1 hour buckets.
	HoursBetween int32 `protobuf:"varint,4,opt,name=hours_between,json=hoursBetween,proto3" json:"hours_between,omitempty"`
	// Filters to be applied to the request.
	Filter []string `protobuf:"bytes,5,rep,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventStringBucketsRequest) Descriptor deprecated

func (*GetEventStringBucketsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetEventStringBucketsRequest.ProtoReflect.Descriptor instead.

func (*GetEventStringBucketsRequest) GetEnd

func (*GetEventStringBucketsRequest) GetFilter

func (x *GetEventStringBucketsRequest) GetFilter() []string

func (*GetEventStringBucketsRequest) GetHoursBetween

func (x *GetEventStringBucketsRequest) GetHoursBetween() int32

func (*GetEventStringBucketsRequest) GetStart

func (x *GetEventStringBucketsRequest) GetStart() string

func (*GetEventStringBucketsRequest) GetTimezone

func (x *GetEventStringBucketsRequest) GetTimezone() string

func (*GetEventStringBucketsRequest) ProtoMessage

func (*GetEventStringBucketsRequest) ProtoMessage()

func (*GetEventStringBucketsRequest) ProtoReflect

func (*GetEventStringBucketsRequest) Reset

func (x *GetEventStringBucketsRequest) Reset()

func (*GetEventStringBucketsRequest) String

type GetEventTaskCountsRequest

type GetEventTaskCountsRequest struct {

	// Filters to be applied to the request.
	Filter []string `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty"`
	// Earliest events to return.
	Start int64 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"`
	// Latest events to return.
	End int64 `protobuf:"varint,3,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventTaskCountsRequest) Descriptor deprecated

func (*GetEventTaskCountsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetEventTaskCountsRequest.ProtoReflect.Descriptor instead.

func (*GetEventTaskCountsRequest) GetEnd

func (x *GetEventTaskCountsRequest) GetEnd() int64

func (*GetEventTaskCountsRequest) GetFilter

func (x *GetEventTaskCountsRequest) GetFilter() []string

func (*GetEventTaskCountsRequest) GetStart

func (x *GetEventTaskCountsRequest) GetStart() int64

func (*GetEventTaskCountsRequest) ProtoMessage

func (*GetEventTaskCountsRequest) ProtoMessage()

func (*GetEventTaskCountsRequest) ProtoReflect

func (*GetEventTaskCountsRequest) Reset

func (x *GetEventTaskCountsRequest) Reset()

func (*GetEventTaskCountsRequest) String

func (x *GetEventTaskCountsRequest) String() string

type GetEventTypeCountsRequest

type GetEventTypeCountsRequest struct {

	// Filters to be applied to the request.
	Filter []string `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty"`
	// Earliest events to return.
	Start int64 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"`
	// Latest events to return.
	End int64 `protobuf:"varint,3,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventTypeCountsRequest) Descriptor deprecated

func (*GetEventTypeCountsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetEventTypeCountsRequest.ProtoReflect.Descriptor instead.

func (*GetEventTypeCountsRequest) GetEnd

func (x *GetEventTypeCountsRequest) GetEnd() int64

func (*GetEventTypeCountsRequest) GetFilter

func (x *GetEventTypeCountsRequest) GetFilter() []string

func (*GetEventTypeCountsRequest) GetStart

func (x *GetEventTypeCountsRequest) GetStart() int64

func (*GetEventTypeCountsRequest) ProtoMessage

func (*GetEventTypeCountsRequest) ProtoMessage()

func (*GetEventTypeCountsRequest) ProtoReflect

func (*GetEventTypeCountsRequest) Reset

func (x *GetEventTypeCountsRequest) Reset()

func (*GetEventTypeCountsRequest) String

func (x *GetEventTypeCountsRequest) String() string

Jump to

Keyboard shortcuts

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