fake

package
v0.31.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 4 Imported by: 1

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