fake

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clientset

type Clientset struct {
	testing.Fake
	// contains filtered or unexported fields
}

Clientset contains the fake clients for groups.

func NewSimpleClientset

func NewSimpleClientset(objects ...runtime.Object) *Clientset

NewSimpleClientset returns a Clientset that will respond with the provided objects.

func (*Clientset) AppsV1

func (c *Clientset) AppsV1() appsv1.AppsV1Interface

AppsV1 retrieves the AppsV1Client.

func (*Clientset) Discovery

func (c *Clientset) Discovery() discovery.DiscoveryInterface

Discovery retrieves the DiscoveryClient.

func (*Clientset) IsWatchListSemanticsUnSupported

func (c *Clientset) IsWatchListSemanticsUnSupported() bool

IsWatchListSemanticsUnSupported informs the reflector that this client doesn't support WatchList semantics.

This is a synthetic method whose sole purpose is to satisfy the optional interface check performed by the reflector. Returning true signals that WatchList can NOT be used. No additional logic is implemented here.

func (*Clientset) Tracker

func (c *Clientset) Tracker() testing.ObjectTracker

Tracker allows access to the object tracker.

Jump to

Keyboard shortcuts

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