testutils

package
v0.0.1-test Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package testutils is for test utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLoader

type MockLoader struct {
	Resources []*un.Unstructured
	Err       error
}

MockLoader represents a mock Loader for testing.

func (*MockLoader) Load

func (m *MockLoader) Load() ([]*un.Unstructured, error)

Load returns the resources and/or error on this mock.

Jump to

Keyboard shortcuts

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