fake

package
v0.29.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package fake has the automatically generated cluster clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PolicyV1Client

type PolicyV1Client struct {
	*kcptesting.Fake
	ClusterPath logicalcluster.Path
}

func (*PolicyV1Client) Evictions

func (c *PolicyV1Client) Evictions(namespace string) policyv1.EvictionInterface

func (*PolicyV1Client) PodDisruptionBudgets

func (c *PolicyV1Client) PodDisruptionBudgets(namespace string) policyv1.PodDisruptionBudgetInterface

func (*PolicyV1Client) RESTClient

func (c *PolicyV1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

type PolicyV1ClusterClient

type PolicyV1ClusterClient struct {
	*kcptesting.Fake
}

func (*PolicyV1ClusterClient) Cluster

func (c *PolicyV1ClusterClient) Cluster(clusterPath logicalcluster.Path) policyv1.PolicyV1Interface

func (*PolicyV1ClusterClient) Evictions

func (*PolicyV1ClusterClient) PodDisruptionBudgets

Jump to

Keyboard shortcuts

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