Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RelationshipFilter ¶
type RelationshipFilter struct {
Id string
Kind string
Greedy bool //when set to true - instead of an exact match, kind will be prefix matched
SubType string
RelationshipType string
Version string
ModelName string
OrderOn string
Sort string //asc or desc. Default behavior is asc
Limit int //If 0 or unspecified then all records are returned and limit is not used
Offset int
Status string
}
For now, only filtering by Kind and SubType are allowed. In the future, we will add support to query using `selectors` (using CUE) TODO: Add support for Model
func (*RelationshipFilter) Create ¶
func (rf *RelationshipFilter) Create(m map[string]interface{})
Create the filter from map[string]interface{}
Click to show internal directories.
Click to hide internal directories.