query

package
v0.0.0-...-0490640 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SortOrder_name = map[int32]string{
	0: "ASC",
	1: "DESC",
}
View Source
var SortOrder_value = map[string]int32{
	"ASC":  0,
	"DESC": 1,
}

Functions

This section is empty.

Types

type Pagination

type Pagination struct {
	Page                 int32    `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	Size                 int32    `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Pagination) Descriptor

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

func (*Pagination) GetPage

func (m *Pagination) GetPage() int32

func (*Pagination) GetSize

func (m *Pagination) GetSize() int32

func (*Pagination) ProtoMessage

func (*Pagination) ProtoMessage()

func (*Pagination) Reset

func (m *Pagination) Reset()

func (*Pagination) String

func (m *Pagination) String() string

func (*Pagination) XXX_DiscardUnknown

func (m *Pagination) XXX_DiscardUnknown()

func (*Pagination) XXX_Marshal

func (m *Pagination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Pagination) XXX_Merge

func (dst *Pagination) XXX_Merge(src proto.Message)

func (*Pagination) XXX_Size

func (m *Pagination) XXX_Size() int

func (*Pagination) XXX_Unmarshal

func (m *Pagination) XXX_Unmarshal(b []byte) error

type SortOrder

type SortOrder int32
const (
	SortOrder_ASC  SortOrder = 0
	SortOrder_DESC SortOrder = 1
)

func (SortOrder) EnumDescriptor

func (SortOrder) EnumDescriptor() ([]byte, []int)

func (SortOrder) String

func (x SortOrder) String() string

type Sorting

type Sorting struct {
	Field                string    `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	Order                SortOrder `protobuf:"varint,2,opt,name=order,proto3,enum=chef.automate.api.common.query.SortOrder" json:"order,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*Sorting) Descriptor

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

func (*Sorting) GetField

func (m *Sorting) GetField() string

func (*Sorting) GetOrder

func (m *Sorting) GetOrder() SortOrder

func (*Sorting) ProtoMessage

func (*Sorting) ProtoMessage()

func (*Sorting) Reset

func (m *Sorting) Reset()

func (*Sorting) String

func (m *Sorting) String() string

func (*Sorting) XXX_DiscardUnknown

func (m *Sorting) XXX_DiscardUnknown()

func (*Sorting) XXX_Marshal

func (m *Sorting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Sorting) XXX_Merge

func (dst *Sorting) XXX_Merge(src proto.Message)

func (*Sorting) XXX_Size

func (m *Sorting) XXX_Size() int

func (*Sorting) XXX_Unmarshal

func (m *Sorting) XXX_Unmarshal(b []byte) error

type Suggestion

type Suggestion struct {
	Type                 string   `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Text                 string   `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Suggestion) Descriptor

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

func (*Suggestion) GetText

func (m *Suggestion) GetText() string

func (*Suggestion) GetType

func (m *Suggestion) GetType() string

func (*Suggestion) ProtoMessage

func (*Suggestion) ProtoMessage()

func (*Suggestion) Reset

func (m *Suggestion) Reset()

func (*Suggestion) String

func (m *Suggestion) String() string

func (*Suggestion) XXX_DiscardUnknown

func (m *Suggestion) XXX_DiscardUnknown()

func (*Suggestion) XXX_Marshal

func (m *Suggestion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Suggestion) XXX_Merge

func (dst *Suggestion) XXX_Merge(src proto.Message)

func (*Suggestion) XXX_Size

func (m *Suggestion) XXX_Size() int

func (*Suggestion) XXX_Unmarshal

func (m *Suggestion) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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