tableconvertor

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2021 License: Apache-2.0 Imports: 27 Imported by: 8

Documentation

Index

Constants

View Source
const ValueNone = "<none>"

Variables

This section is empty.

Functions

Types

type TableConvertor

type TableConvertor interface {
	ConvertToTable(ctx context.Context, object runtime.Object, tableOptions runtime.Object) (*v1alpha1.Table, error)
}

func New

func New(fieldPath string, columns []v1alpha1.ResourceColumnDefinition) (TableConvertor, error)

New creates a new table convertor for the provided CRD column definition. If the printer definition cannot be parsed, error will be returned along with a default table convertor.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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