query_result

package
v0.4.27 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_goten_runtime_resource_query_result_query_result_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type QueryResult

type QueryResult struct {
	Results    []*any.Any `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	NextCursor []byte     `protobuf:"bytes,2,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"`
	PrevCursor []byte     `protobuf:"bytes,3,opt,name=prev_cursor,json=prevCursor,proto3" json:"prev_cursor,omitempty"`
	// contains filtered or unexported fields
}

Object representing query result snapshot OR change. In case of snapshot, it contains list of resources. Otherwise contains list of changes from previous QueryResult.

func (*QueryResult) Descriptor deprecated

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

Deprecated: Use QueryResult.ProtoReflect.Descriptor instead.

func (*QueryResult) GetNextCursor

func (x *QueryResult) GetNextCursor() []byte

func (*QueryResult) GetPrevCursor

func (x *QueryResult) GetPrevCursor() []byte

func (*QueryResult) GetResults

func (x *QueryResult) GetResults() []*any.Any

func (*QueryResult) ProtoMessage

func (*QueryResult) ProtoMessage()

func (*QueryResult) ProtoReflect

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

func (*QueryResult) Reset

func (x *QueryResult) Reset()

func (*QueryResult) String

func (x *QueryResult) String() string

Jump to

Keyboard shortcuts

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