testutil

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFakeRESTMapper

func NewFakeRESTMapper(gvks ...schema.GroupVersionKind) meta.RESTMapper

func YamlToUnstructured

func YamlToUnstructured(t *testing.T, yml string) *unstructured.Unstructured

Types

type NoopClusterReader

type NoopClusterReader struct{}

func NewNoopClusterReader

func NewNoopClusterReader() *NoopClusterReader

func (*NoopClusterReader) Get

func (*NoopClusterReader) ListClusterScoped

func (*NoopClusterReader) ListNamespaceScoped

func (*NoopClusterReader) Sync

Jump to

Keyboard shortcuts

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