info

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInfoHelper

func NewInfoHelper(factory util.Factory) *infoHelper

Types

type InfoHelper

type InfoHelper interface {
	// UpdateInfos sets the mapping and client for the provided Info
	// objects. This must be called at a time when all needed resource
	// types are available in the RESTMapper.
	UpdateInfos(infos []*resource.Info) error

	BuildInfos(objs []*unstructured.Unstructured) ([]*resource.Info, error)
}

InfoHelper provides functions for interacting with Info objects.

Jump to

Keyboard shortcuts

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