fake

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: Apache-2.0 Imports: 202 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) AccesscontextV1alpha1

AccesscontextV1alpha1 retrieves the AccesscontextV1alpha1Client

func (*Clientset) ActiveV1alpha1

func (c *Clientset) ActiveV1alpha1() activev1alpha1.ActiveV1alpha1Interface

ActiveV1alpha1 retrieves the ActiveV1alpha1Client

func (*Clientset) ApigeeV1alpha1

func (c *Clientset) ApigeeV1alpha1() apigeev1alpha1.ApigeeV1alpha1Interface

ApigeeV1alpha1 retrieves the ApigeeV1alpha1Client

func (*Clientset) AppengineV1alpha1

AppengineV1alpha1 retrieves the AppengineV1alpha1Client

func (*Clientset) AssuredV1alpha1 added in v0.4.0

func (c *Clientset) AssuredV1alpha1() assuredv1alpha1.AssuredV1alpha1Interface

AssuredV1alpha1 retrieves the AssuredV1alpha1Client

func (*Clientset) BigqueryV1alpha1

BigqueryV1alpha1 retrieves the BigqueryV1alpha1Client

func (*Clientset) BigtableV1alpha1

BigtableV1alpha1 retrieves the BigtableV1alpha1Client

func (*Clientset) BillingaccountV1alpha1

BillingaccountV1alpha1 retrieves the BillingaccountV1alpha1Client

func (*Clientset) BillingbudgetV1alpha1

BillingbudgetV1alpha1 retrieves the BillingbudgetV1alpha1Client

func (*Clientset) BillingsubaccountV1alpha1

BillingsubaccountV1alpha1 retrieves the BillingsubaccountV1alpha1Client

func (*Clientset) BinaryauthorizationV1alpha1

BinaryauthorizationV1alpha1 retrieves the BinaryauthorizationV1alpha1Client

func (*Clientset) CloudV1alpha1

func (c *Clientset) CloudV1alpha1() cloudv1alpha1.CloudV1alpha1Interface

CloudV1alpha1 retrieves the CloudV1alpha1Client

func (*Clientset) CloudbuildV1alpha1

CloudbuildV1alpha1 retrieves the CloudbuildV1alpha1Client

func (*Clientset) CloudfunctionsfunctionV1alpha1

CloudfunctionsfunctionV1alpha1 retrieves the CloudfunctionsfunctionV1alpha1Client

func (*Clientset) CloudiotV1alpha1

CloudiotV1alpha1 retrieves the CloudiotV1alpha1Client

func (*Clientset) ComposerV1alpha1

ComposerV1alpha1 retrieves the ComposerV1alpha1Client

func (*Clientset) ComputeV1alpha1

func (c *Clientset) ComputeV1alpha1() computev1alpha1.ComputeV1alpha1Interface

ComputeV1alpha1 retrieves the ComputeV1alpha1Client

func (*Clientset) ContainerV1alpha1

ContainerV1alpha1 retrieves the ContainerV1alpha1Client

func (*Clientset) DataV1alpha1

func (c *Clientset) DataV1alpha1() datav1alpha1.DataV1alpha1Interface

DataV1alpha1 retrieves the DataV1alpha1Client

func (*Clientset) DataflowV1alpha1

DataflowV1alpha1 retrieves the DataflowV1alpha1Client

func (*Clientset) DataprocV1alpha1

DataprocV1alpha1 retrieves the DataprocV1alpha1Client

func (*Clientset) DatastoreV1alpha1

DatastoreV1alpha1 retrieves the DatastoreV1alpha1Client

func (*Clientset) DeploymentV1alpha1

DeploymentV1alpha1 retrieves the DeploymentV1alpha1Client

func (*Clientset) DialogflowV1alpha1

DialogflowV1alpha1 retrieves the DialogflowV1alpha1Client

func (*Clientset) Discovery

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

func (*Clientset) DnsV1alpha1

func (c *Clientset) DnsV1alpha1() dnsv1alpha1.DnsV1alpha1Interface

DnsV1alpha1 retrieves the DnsV1alpha1Client

func (*Clientset) EndpointsV1alpha1

EndpointsV1alpha1 retrieves the EndpointsV1alpha1Client

func (*Clientset) EssentialV1alpha1 added in v0.4.0

EssentialV1alpha1 retrieves the EssentialV1alpha1Client

func (*Clientset) EventarcV1alpha1

EventarcV1alpha1 retrieves the EventarcV1alpha1Client

func (*Clientset) FilestoreV1alpha1

FilestoreV1alpha1 retrieves the FilestoreV1alpha1Client

func (*Clientset) FirestoreV1alpha1

FirestoreV1alpha1 retrieves the FirestoreV1alpha1Client

func (*Clientset) FolderV1alpha1

func (c *Clientset) FolderV1alpha1() folderv1alpha1.FolderV1alpha1Interface

FolderV1alpha1 retrieves the FolderV1alpha1Client

func (*Clientset) GameV1alpha1

func (c *Clientset) GameV1alpha1() gamev1alpha1.GameV1alpha1Interface

GameV1alpha1 retrieves the GameV1alpha1Client

func (*Clientset) GkeV1alpha1 added in v0.4.0

func (c *Clientset) GkeV1alpha1() gkev1alpha1.GkeV1alpha1Interface

GkeV1alpha1 retrieves the GkeV1alpha1Client

func (*Clientset) HealthcareV1alpha1

HealthcareV1alpha1 retrieves the HealthcareV1alpha1Client

func (*Clientset) IapV1alpha1

func (c *Clientset) IapV1alpha1() iapv1alpha1.IapV1alpha1Interface

IapV1alpha1 retrieves the IapV1alpha1Client

func (*Clientset) IdentityV1alpha1

IdentityV1alpha1 retrieves the IdentityV1alpha1Client

func (*Clientset) KmsV1alpha1

func (c *Clientset) KmsV1alpha1() kmsv1alpha1.KmsV1alpha1Interface

KmsV1alpha1 retrieves the KmsV1alpha1Client

func (*Clientset) LoggingV1alpha1

func (c *Clientset) LoggingV1alpha1() loggingv1alpha1.LoggingV1alpha1Interface

LoggingV1alpha1 retrieves the LoggingV1alpha1Client

func (*Clientset) MemcacheV1alpha1

MemcacheV1alpha1 retrieves the MemcacheV1alpha1Client

func (*Clientset) MlV1alpha1

func (c *Clientset) MlV1alpha1() mlv1alpha1.MlV1alpha1Interface

MlV1alpha1 retrieves the MlV1alpha1Client

func (*Clientset) MonitoringV1alpha1

MonitoringV1alpha1 retrieves the MonitoringV1alpha1Client

func (*Clientset) NetworkV1alpha1

func (c *Clientset) NetworkV1alpha1() networkv1alpha1.NetworkV1alpha1Interface

NetworkV1alpha1 retrieves the NetworkV1alpha1Client

func (*Clientset) NotebooksV1alpha1

NotebooksV1alpha1 retrieves the NotebooksV1alpha1Client

func (*Clientset) OrgV1alpha1 added in v0.4.0

func (c *Clientset) OrgV1alpha1() orgv1alpha1.OrgV1alpha1Interface

OrgV1alpha1 retrieves the OrgV1alpha1Client

func (*Clientset) OrganizationV1alpha1

OrganizationV1alpha1 retrieves the OrganizationV1alpha1Client

func (*Clientset) OsV1alpha1

func (c *Clientset) OsV1alpha1() osv1alpha1.OsV1alpha1Interface

OsV1alpha1 retrieves the OsV1alpha1Client

func (*Clientset) PrivatecaV1alpha1 added in v0.4.0

PrivatecaV1alpha1 retrieves the PrivatecaV1alpha1Client

func (*Clientset) ProjectV1alpha1

func (c *Clientset) ProjectV1alpha1() projectv1alpha1.ProjectV1alpha1Interface

ProjectV1alpha1 retrieves the ProjectV1alpha1Client

func (*Clientset) PubsubV1alpha1

func (c *Clientset) PubsubV1alpha1() pubsubv1alpha1.PubsubV1alpha1Interface

PubsubV1alpha1 retrieves the PubsubV1alpha1Client

func (*Clientset) RedisV1alpha1

func (c *Clientset) RedisV1alpha1() redisv1alpha1.RedisV1alpha1Interface

RedisV1alpha1 retrieves the RedisV1alpha1Client

func (*Clientset) ResourceV1alpha1

ResourceV1alpha1 retrieves the ResourceV1alpha1Client

func (*Clientset) RuntimeconfigV1alpha1

RuntimeconfigV1alpha1 retrieves the RuntimeconfigV1alpha1Client

func (*Clientset) SccV1alpha1

func (c *Clientset) SccV1alpha1() sccv1alpha1.SccV1alpha1Interface

SccV1alpha1 retrieves the SccV1alpha1Client

func (*Clientset) SecretV1alpha1

func (c *Clientset) SecretV1alpha1() secretv1alpha1.SecretV1alpha1Interface

SecretV1alpha1 retrieves the SecretV1alpha1Client

func (*Clientset) ServiceV1alpha1

func (c *Clientset) ServiceV1alpha1() servicev1alpha1.ServiceV1alpha1Interface

ServiceV1alpha1 retrieves the ServiceV1alpha1Client

func (*Clientset) SourcereporepositoryV1alpha1

SourcereporepositoryV1alpha1 retrieves the SourcereporepositoryV1alpha1Client

func (*Clientset) SpannerV1alpha1

func (c *Clientset) SpannerV1alpha1() spannerv1alpha1.SpannerV1alpha1Interface

SpannerV1alpha1 retrieves the SpannerV1alpha1Client

func (*Clientset) SqlV1alpha1

func (c *Clientset) SqlV1alpha1() sqlv1alpha1.SqlV1alpha1Interface

SqlV1alpha1 retrieves the SqlV1alpha1Client

func (*Clientset) StorageV1alpha1

func (c *Clientset) StorageV1alpha1() storagev1alpha1.StorageV1alpha1Interface

StorageV1alpha1 retrieves the StorageV1alpha1Client

func (*Clientset) TagsV1alpha1

func (c *Clientset) TagsV1alpha1() tagsv1alpha1.TagsV1alpha1Interface

TagsV1alpha1 retrieves the TagsV1alpha1Client

func (*Clientset) TpuV1alpha1

func (c *Clientset) TpuV1alpha1() tpuv1alpha1.TpuV1alpha1Interface

TpuV1alpha1 retrieves the TpuV1alpha1Client

func (*Clientset) Tracker

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

func (*Clientset) VertexV1alpha1

func (c *Clientset) VertexV1alpha1() vertexv1alpha1.VertexV1alpha1Interface

VertexV1alpha1 retrieves the VertexV1alpha1Client

func (*Clientset) VpcV1alpha1

func (c *Clientset) VpcV1alpha1() vpcv1alpha1.VpcV1alpha1Interface

VpcV1alpha1 retrieves the VpcV1alpha1Client

func (*Clientset) WorkflowsV1alpha1

WorkflowsV1alpha1 retrieves the WorkflowsV1alpha1Client

Jump to

Keyboard shortcuts

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