storage

package
v1.10.7 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTableConvertor added in v1.9.0

func NewTableConvertor(defaultTableConvert rest.TableConvertor, tableGenerator printers.TableGenerator) rest.TableConvertor

NewTableConvertor create TableConvertor struct with defaultTableConvert and TableGenerator

Types

type TableConvertor

type TableConvertor struct {
	printers.TableGenerator
	// contains filtered or unexported fields
}

TableConvertor struct - converts objects to metav1.Table using printers.TableGenerator

func (TableConvertor) ConvertToTable

func (c TableConvertor) ConvertToTable(ctx context.Context, obj runtime.Object, tableOptions runtime.Object) (*metav1.Table, error)

ConvertToTable method - converts objects to metav1.Table objects using TableGenerator and defaultTableConvert

Jump to

Keyboard shortcuts

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