fake

package
v1.69.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2021 License: Apache-2.0 Imports: 148 Imported by: 0

Documentation

Overview

This package has the automatically generated fake clientset.

Index

Constants

This section is empty.

Variables

View Source
var AddToScheme = localSchemeBuilder.AddToScheme

AddToScheme adds all types of this clientset into the given scheme. This allows composition of clientsets, like in:

import (
  "k8s.io/client-go/kubernetes"
  clientsetscheme "k8s.io/client-go/kubernetes/scheme"
  aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme"
)

kclientset, _ := kubernetes.NewForConfig(c)
_ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme)

After this, RawExtensions in Kubernetes types will serialize kube-aggregator types correctly.

Functions

This section is empty.

Types

type Clientset

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

Clientset implements clientset.Interface. Meant to be embedded into a struct to get a default implementation. This makes faking out just the method you want to test easier.

func NewSimpleClientset

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

NewSimpleClientset returns a clientset that will respond with the provided objects. It's backed by a very simple object tracker that processes creates, updates and deletions as-is, without applying any validations and/or defaults. It shouldn't be considered a replacement for a real clientset and is mostly useful in simple unit tests.

func (*Clientset) AccesscontextmanagerV1beta1

AccesscontextmanagerV1beta1 retrieves the AccesscontextmanagerV1beta1Client

func (*Clientset) ArtifactregistryV1beta1

ArtifactregistryV1beta1 retrieves the ArtifactregistryV1beta1Client

func (*Clientset) BigqueryV1beta1

func (c *Clientset) BigqueryV1beta1() bigqueryv1beta1.BigqueryV1beta1Interface

BigqueryV1beta1 retrieves the BigqueryV1beta1Client

func (*Clientset) BigtableV1beta1

func (c *Clientset) BigtableV1beta1() bigtablev1beta1.BigtableV1beta1Interface

BigtableV1beta1 retrieves the BigtableV1beta1Client

func (*Clientset) BinaryauthorizationV1beta1 added in v1.54.0

BinaryauthorizationV1beta1 retrieves the BinaryauthorizationV1beta1Client

func (*Clientset) CloudbuildV1beta1

CloudbuildV1beta1 retrieves the CloudbuildV1beta1Client

func (*Clientset) CloudidentityV1beta1 added in v1.48.0

CloudidentityV1beta1 retrieves the CloudidentityV1beta1Client

func (*Clientset) CloudschedulerV1beta1 added in v1.45.0

CloudschedulerV1beta1 retrieves the CloudschedulerV1beta1Client

func (*Clientset) ComputeV1beta1

func (c *Clientset) ComputeV1beta1() computev1beta1.ComputeV1beta1Interface

ComputeV1beta1 retrieves the ComputeV1beta1Client

func (*Clientset) ConfigcontrollerV1beta1 added in v1.67.0

ConfigcontrollerV1beta1 retrieves the ConfigcontrollerV1beta1Client

func (*Clientset) ContainerV1beta1

ContainerV1beta1 retrieves the ContainerV1beta1Client

func (*Clientset) ContaineranalysisV1beta1 added in v1.45.0

ContaineranalysisV1beta1 retrieves the ContaineranalysisV1beta1Client

func (*Clientset) DataflowV1beta1

func (c *Clientset) DataflowV1beta1() dataflowv1beta1.DataflowV1beta1Interface

DataflowV1beta1 retrieves the DataflowV1beta1Client

func (*Clientset) DatafusionV1beta1 added in v1.52.0

DatafusionV1beta1 retrieves the DatafusionV1beta1Client

func (*Clientset) DataprocV1beta1 added in v1.45.0

func (c *Clientset) DataprocV1beta1() dataprocv1beta1.DataprocV1beta1Interface

DataprocV1beta1 retrieves the DataprocV1beta1Client

func (*Clientset) Discovery

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

func (*Clientset) DnsV1beta1

func (c *Clientset) DnsV1beta1() dnsv1beta1.DnsV1beta1Interface

DnsV1beta1 retrieves the DnsV1beta1Client

func (*Clientset) FilestoreV1beta1 added in v1.64.0

FilestoreV1beta1 retrieves the FilestoreV1beta1Client

func (*Clientset) FirestoreV1beta1

FirestoreV1beta1 retrieves the FirestoreV1beta1Client

func (*Clientset) GameservicesV1beta1

GameservicesV1beta1 retrieves the GameservicesV1beta1Client

func (*Clientset) GkehubV1beta1 added in v1.48.0

func (c *Clientset) GkehubV1beta1() gkehubv1beta1.GkehubV1beta1Interface

GkehubV1beta1 retrieves the GkehubV1beta1Client

func (*Clientset) IamV1beta1

func (c *Clientset) IamV1beta1() iamv1beta1.IamV1beta1Interface

IamV1beta1 retrieves the IamV1beta1Client

func (*Clientset) IapV1beta1 added in v1.45.0

func (c *Clientset) IapV1beta1() iapv1beta1.IapV1beta1Interface

IapV1beta1 retrieves the IapV1beta1Client

func (*Clientset) IdentityplatformV1beta1 added in v1.45.0

IdentityplatformV1beta1 retrieves the IdentityplatformV1beta1Client

func (*Clientset) K8sV1alpha1

func (c *Clientset) K8sV1alpha1() k8sv1alpha1.K8sV1alpha1Interface

K8sV1alpha1 retrieves the K8sV1alpha1Client

func (*Clientset) KmsV1beta1

func (c *Clientset) KmsV1beta1() kmsv1beta1.KmsV1beta1Interface

KmsV1beta1 retrieves the KmsV1beta1Client

func (*Clientset) LoggingV1beta1

func (c *Clientset) LoggingV1beta1() loggingv1beta1.LoggingV1beta1Interface

LoggingV1beta1 retrieves the LoggingV1beta1Client

func (*Clientset) MemcacheV1beta1 added in v1.45.0

func (c *Clientset) MemcacheV1beta1() memcachev1beta1.MemcacheV1beta1Interface

MemcacheV1beta1 retrieves the MemcacheV1beta1Client

func (*Clientset) MonitoringV1beta1

MonitoringV1beta1 retrieves the MonitoringV1beta1Client

func (*Clientset) NetworkconnectivityV1beta1 added in v1.68.0

NetworkconnectivityV1beta1 retrieves the NetworkconnectivityV1beta1Client

func (*Clientset) NetworksecurityV1beta1 added in v1.53.0

NetworksecurityV1beta1 retrieves the NetworksecurityV1beta1Client

func (*Clientset) NetworkservicesV1beta1 added in v1.55.0

NetworkservicesV1beta1 retrieves the NetworkservicesV1beta1Client

func (*Clientset) OsconfigV1beta1 added in v1.46.0

func (c *Clientset) OsconfigV1beta1() osconfigv1beta1.OsconfigV1beta1Interface

OsconfigV1beta1 retrieves the OsconfigV1beta1Client

func (*Clientset) PrivatecaV1beta1 added in v1.67.0

PrivatecaV1beta1 retrieves the PrivatecaV1beta1Client

func (*Clientset) PubsubV1beta1

func (c *Clientset) PubsubV1beta1() pubsubv1beta1.PubsubV1beta1Interface

PubsubV1beta1 retrieves the PubsubV1beta1Client

func (*Clientset) RecaptchaenterpriseV1beta1 added in v1.68.0

RecaptchaenterpriseV1beta1 retrieves the RecaptchaenterpriseV1beta1Client

func (*Clientset) RedisV1beta1

func (c *Clientset) RedisV1beta1() redisv1beta1.RedisV1beta1Interface

RedisV1beta1 retrieves the RedisV1beta1Client

func (*Clientset) ResourcemanagerV1beta1

ResourcemanagerV1beta1 retrieves the ResourcemanagerV1beta1Client

func (*Clientset) SecretmanagerV1beta1

SecretmanagerV1beta1 retrieves the SecretmanagerV1beta1Client

func (*Clientset) ServicenetworkingV1beta1

ServicenetworkingV1beta1 retrieves the ServicenetworkingV1beta1Client

func (*Clientset) ServiceusageV1beta1

ServiceusageV1beta1 retrieves the ServiceusageV1beta1Client

func (*Clientset) SourcerepoV1beta1

SourcerepoV1beta1 retrieves the SourcerepoV1beta1Client

func (*Clientset) SpannerV1beta1

func (c *Clientset) SpannerV1beta1() spannerv1beta1.SpannerV1beta1Interface

SpannerV1beta1 retrieves the SpannerV1beta1Client

func (*Clientset) SqlV1beta1

func (c *Clientset) SqlV1beta1() sqlv1beta1.SqlV1beta1Interface

SqlV1beta1 retrieves the SqlV1beta1Client

func (*Clientset) StorageV1beta1

func (c *Clientset) StorageV1beta1() storagev1beta1.StorageV1beta1Interface

StorageV1beta1 retrieves the StorageV1beta1Client

func (*Clientset) StoragetransferV1beta1

StoragetransferV1beta1 retrieves the StoragetransferV1beta1Client

func (*Clientset) Tracker

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

func (*Clientset) VpcaccessV1beta1 added in v1.69.0

VpcaccessV1beta1 retrieves the VpcaccessV1beta1Client

Jump to

Keyboard shortcuts

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