Documentation
¶
Index ¶
- Variables
- type Filter
- func (*Filter) Descriptor() ([]byte, []int)deprecated
- func (x *Filter) GetExclude() bool
- func (x *Filter) GetKey() string
- func (x *Filter) GetValues() []string
- func (*Filter) ProtoMessage()
- func (x *Filter) ProtoReflect() protoreflect.Message
- func (x *Filter) Reset()
- func (x *Filter) String() string
- type Kv
- type Pagination
- type SortOrder
- type Sorting
- type Suggestion
- func (*Suggestion) Descriptor() ([]byte, []int)deprecated
- func (x *Suggestion) GetFilter() []string
- func (x *Suggestion) GetText() string
- func (x *Suggestion) GetType() string
- func (*Suggestion) ProtoMessage()
- func (x *Suggestion) ProtoReflect() protoreflect.Message
- func (x *Suggestion) Reset()
- func (x *Suggestion) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SortOrder_name = map[int32]string{ 0: "ASC", 1: "DESC", } SortOrder_value = map[string]int32{ "ASC": 0, "DESC": 1, } )
Enum value maps for SortOrder.
View Source
var File_external_common_query_parameters_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter struct {
// Field to filter on.
Key string `protobuf:"bytes,20,opt,name=key,proto3" json:"key,omitempty"`
// Include matches for this filter.(boolean)
// `true` (default) *includes* all nodes that match this filter.
// `false` *excludes* all nodes that match this filter.
Exclude bool `protobuf:"varint,22,opt,name=exclude,proto3" json:"exclude,omitempty"`
// Field values to filter on.
Values []string `protobuf:"bytes,23,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
func (*Filter) Descriptor
deprecated
func (*Filter) GetExclude ¶
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
func (*Filter) ProtoReflect ¶
func (x *Filter) ProtoReflect() protoreflect.Message
type Kv ¶
type Kv struct {
// Tag key.
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// Tag value.
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*Kv) Descriptor
deprecated
func (*Kv) ProtoMessage ¶
func (*Kv) ProtoMessage()
func (*Kv) ProtoReflect ¶
func (x *Kv) ProtoReflect() protoreflect.Message
type Pagination ¶
type Pagination struct {
// Page number of the results to return.
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
// Amount of results to include per page.
Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
// contains filtered or unexported fields
}
func (*Pagination) Descriptor
deprecated
func (*Pagination) Descriptor() ([]byte, []int)
Deprecated: Use Pagination.ProtoReflect.Descriptor instead.
func (*Pagination) GetPage ¶
func (x *Pagination) GetPage() int32
func (*Pagination) GetSize ¶
func (x *Pagination) GetSize() int32
func (*Pagination) ProtoMessage ¶
func (*Pagination) ProtoMessage()
func (*Pagination) ProtoReflect ¶
func (x *Pagination) ProtoReflect() protoreflect.Message
func (*Pagination) Reset ¶
func (x *Pagination) Reset()
func (*Pagination) String ¶
func (x *Pagination) String() string
type SortOrder ¶
type SortOrder int32
func (SortOrder) Descriptor ¶
func (SortOrder) Descriptor() protoreflect.EnumDescriptor
func (SortOrder) EnumDescriptor
deprecated
func (SortOrder) Number ¶
func (x SortOrder) Number() protoreflect.EnumNumber
func (SortOrder) Type ¶
func (SortOrder) Type() protoreflect.EnumType
type Sorting ¶
type Sorting struct {
// Field to sort the list results on.
Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
// Order the results should be returned in.
Order SortOrder `protobuf:"varint,2,opt,name=order,proto3,enum=chef.automate.api.common.query.SortOrder" json:"order,omitempty"`
// contains filtered or unexported fields
}
func (*Sorting) Descriptor
deprecated
func (*Sorting) ProtoMessage ¶
func (*Sorting) ProtoMessage()
func (*Sorting) ProtoReflect ¶
func (x *Sorting) ProtoReflect() protoreflect.Message
type Suggestion ¶
type Suggestion struct {
// Field for which suggestions are being returned.
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// Text to search on for the type value.
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
// Filters to be applied to the results.
Filter []string `protobuf:"bytes,3,rep,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
func (*Suggestion) Descriptor
deprecated
func (*Suggestion) Descriptor() ([]byte, []int)
Deprecated: Use Suggestion.ProtoReflect.Descriptor instead.
func (*Suggestion) GetFilter ¶
func (x *Suggestion) GetFilter() []string
func (*Suggestion) GetText ¶
func (x *Suggestion) GetText() string
func (*Suggestion) GetType ¶
func (x *Suggestion) GetType() string
func (*Suggestion) ProtoMessage ¶
func (*Suggestion) ProtoMessage()
func (*Suggestion) ProtoReflect ¶
func (x *Suggestion) ProtoReflect() protoreflect.Message
func (*Suggestion) Reset ¶
func (x *Suggestion) Reset()
func (*Suggestion) String ¶
func (x *Suggestion) String() string
Click to show internal directories.
Click to hide internal directories.