Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExternalDependency ¶ added in v0.6.19
type ExternalGVKDependency ¶ added in v0.6.19
type ExternalGVKDependency map[schema.GroupVersionKind]*ExternalGVKUpdates
type ExternalGVKUpdates ¶ added in v0.6.19
type ExternalGVKUpdates struct {
AffectedGVK schema.GroupVersionKind
ExternalDependencies []ExternalDependency
ExternalLabelDependencies []ExternalLabelDependency
}
type ExternalInfoPacket ¶ added in v0.6.19
type ExternalInfoPacket struct {
ExternalDependencies []ExternalDependency
ExternalLabelDependencies []ExternalLabelDependency
ExternalGVKDependencies ExternalGVKDependency
}
type ExternalLabelDependency ¶ added in v0.6.19
type Filter ¶
Filter represents a field to filter by. A subfield in an object is represented in a request query using . notation, e.g. 'metadata.name'. The subfield is internally represented as a slice, e.g. [metadata, name]. Complex subfields need to be expressed with square brackets, as in `metadata.labels[example.com/moose]`, but are mapped to the string slice ["metadata", "labels", "example.com/moose"]
If more than one value is given for the `Match` field, we do an "IN (<values>)" test
type ListOptions ¶
type ListOptions struct {
Filters []OrFilter
ProjectsOrNamespaces OrFilter
SortList SortList
SummaryFieldList SummaryFieldList
Pagination Pagination
Revision string
}
ListOptions represents the query parameters that may be included in a list request.
type OrFilter ¶
type OrFilter struct {
Filters []Filter
}
OrFilter represents a set of possible fields to filter by, where an item may match any filter in the set to be included in the result.
type Pagination ¶
Pagination represents how to return paginated results.
type Sort ¶
Sort represents the criteria to sort on. The subfield to sort by is represented in a request query using . notation, e.g. 'metadata.name'. The subfield is internally represented as a slice, e.g. [metadata, name]. The order is represented by prefixing the sort key by '-', e.g. sort=-metadata.name. e.g. To sort internal clusters first followed by clusters in alpha order: sort=-spec.internal,spec.displayName
type SortList ¶
type SortList struct {
SortDirectives []Sort
}
func NewSortList ¶
func NewSortList() *SortList
type SortOrder ¶
type SortOrder int
SortOrder represents whether the list should be ascending or descending.
type SummaryFieldList ¶ added in v0.8.1
type SummaryFieldList [][]string