Help us shape the future of Go! Take the 2026 Go Developer Survey

fake

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterReader

type ClusterReader struct {
	NoopClusterReader

	GetResource *unstructured.Unstructured
	GetErr      error

	ListResources *unstructured.UnstructuredList
	ListErr       error

	SyncErr error
}

func (*ClusterReader) Get

func (*ClusterReader) ListNamespaceScoped

func (f *ClusterReader) ListNamespaceScoped(_ context.Context, list *unstructured.UnstructuredList, _ string, _ labels.Selector) error

func (*ClusterReader) Sync

func (f *ClusterReader) Sync(_ context.Context) error

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