Documentation
¶
Index ¶
- func WithClient(client *client.T) funcopt.O
- func WithConfigFilterDisabled() funcopt.O
- func WithLocal(v bool) funcopt.O
- func WithPaths(paths naming.Paths) funcopt.O
- type Selection
- func (t *Selection) CheckFilters() error
- func (t *Selection) Expand() (naming.Paths, error)
- func (t *Selection) ExpandRelaxed() (naming.Paths, error)
- func (t *Selection) MustExpand() (naming.Paths, error)
- func (t *Selection) Objects(opts ...funcopt.O) ([]interface{}, error)
- func (t *Selection) SetPaths(installed naming.Paths)
- func (t *Selection) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithConfigFilterDisabled ¶
WithConfigFilterDisabled disable config filtering.
Types ¶
type Selection ¶
type Selection struct {
// contains filtered or unexported fields
}
Selection is the selection structure
func (*Selection) CheckFilters ¶
CheckFilters checks the filters
func (*Selection) Expand ¶
Expand resolves a selector expression into a list of object paths.
First try to resolve using the daemon (remote or local), as the daemons know all cluster objects, even remote ones. If executed on a cluster node, fallback to a local selector, which looks up installed configuration files.
func (*Selection) Objects ¶
Objects returns the selected list of objects. This function relays its funcopts to the object.NewFromPath() function.
Click to show internal directories.
Click to hide internal directories.