fuzzyfinder

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Containers

func Containers(containers []corev1.Container) (corev1.Container, error)

func Infos added in v1.1.0

func Infos(infos []*resource.Info, opts ...Option) (*resource.Info, error)

Infos will start a fuzzy finder based on the received infos and returns the selected info.

Types

type Option added in v1.5.1

type Option func(*opt)

Option represents available fuzzy-finding options.

func WithAllNamespaces added in v1.5.1

func WithAllNamespaces(allNamespace bool) Option

WithAllNamespaces specifies whether to display the namespace during fuzzy-finding. Default is false.

func WithPreview added in v1.5.1

func WithPreview(printer kprinters.ResourcePrinter) Option

WithPreview specifies whether to show a preview during fuzzy-finding. The output of the preview is done using the ResourcePrinter.

func WithRawPreview added in v1.5.1

func WithRawPreview(rawPreview bool) Option

WithRawPreview specifies whether an unsimplified object should be displayed in the fuzzy-finding preview. Default is false.

Jump to

Keyboard shortcuts

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