partition

package
v0.7.13 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2025 License: Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package partition represents listing parameters. They can be used to specify which namespaces a caller would like included in a response, or which specific objects they are looking for.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Partition

type Partition struct {
	// if true, do not apply any filtering, return all results. Overrides all other fields
	Passthrough bool

	// if non-empty, only resources in the specified namespaces will be returned
	Namespace string

	// if true, return all results, while still honoring Namespace. Overrides Names
	All bool

	// if non-empty, only resources with matching names will be returned
	Names sets.Set[string]
}

Partition represents filtering of a request's results

Jump to

Keyboard shortcuts

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