tool

package
v0.0.0-...-417737b Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: BSD-3-Clause Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Comparer

type Comparer = base.Comparer

Comparer exports the base.Comparer type.

type FilterPolicy

type FilterPolicy = base.FilterPolicy

FilterPolicy exports the base.FilterPolicy type.

type Merger

type Merger = base.Merger

Merger exports the base.Merger type.

type Option

type Option func(*T)

A Option configures the Pebble introspection tool.

func Comparers

func Comparers(cmps ...*Comparer) Option

Comparers may be passed to New to register comparers for use by the introspesction tools.

func DefaultComparer

func DefaultComparer(c *Comparer) Option

DefaultComparer registers a comparer for use by the introspection tools and sets it as the default.

func FS

func FS(fs vfs.FS) Option

FS sets the filesystem implementation to use by the introspection tools.

func Filters

func Filters(filters ...FilterPolicy) Option

Filters may be passed to New to register filter policies for use by the introspection tools.

func Mergers

func Mergers(mergers ...*Merger) Option

Mergers may be passed to New to register mergers for use by the introspection tools.

type T

type T struct {
	Commands []*cobra.Command
	// contains filtered or unexported fields
}

T is the container for all of the introspection tools.

func New

func New(opts ...Option) *T

New creates a new introspection tool.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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