Documentation ¶
Overview ¶
This package has the automatically generated fake clientset.
Index ¶
- Variables
- type Clientset
- func (c *Clientset) AccesscontextmanagerV1beta1() accesscontextmanagerv1beta1.AccesscontextmanagerV1beta1Interface
- func (c *Clientset) ArtifactregistryV1beta1() artifactregistryv1beta1.ArtifactregistryV1beta1Interface
- func (c *Clientset) BigqueryV1beta1() bigqueryv1beta1.BigqueryV1beta1Interface
- func (c *Clientset) BigtableV1beta1() bigtablev1beta1.BigtableV1beta1Interface
- func (c *Clientset) CloudbuildV1beta1() cloudbuildv1beta1.CloudbuildV1beta1Interface
- func (c *Clientset) CloudidentityV1beta1() cloudidentityv1beta1.CloudidentityV1beta1Interface
- func (c *Clientset) CloudschedulerV1beta1() cloudschedulerv1beta1.CloudschedulerV1beta1Interface
- func (c *Clientset) ComputeV1beta1() computev1beta1.ComputeV1beta1Interface
- func (c *Clientset) ContainerV1beta1() containerv1beta1.ContainerV1beta1Interface
- func (c *Clientset) ContaineranalysisV1beta1() containeranalysisv1beta1.ContaineranalysisV1beta1Interface
- func (c *Clientset) DataflowV1beta1() dataflowv1beta1.DataflowV1beta1Interface
- func (c *Clientset) DataprocV1beta1() dataprocv1beta1.DataprocV1beta1Interface
- func (c *Clientset) Discovery() discovery.DiscoveryInterface
- func (c *Clientset) DnsV1beta1() dnsv1beta1.DnsV1beta1Interface
- func (c *Clientset) FirestoreV1beta1() firestorev1beta1.FirestoreV1beta1Interface
- func (c *Clientset) GameservicesV1beta1() gameservicesv1beta1.GameservicesV1beta1Interface
- func (c *Clientset) GkehubV1beta1() gkehubv1beta1.GkehubV1beta1Interface
- func (c *Clientset) IamV1beta1() iamv1beta1.IamV1beta1Interface
- func (c *Clientset) IapV1beta1() iapv1beta1.IapV1beta1Interface
- func (c *Clientset) IdentityplatformV1beta1() identityplatformv1beta1.IdentityplatformV1beta1Interface
- func (c *Clientset) K8sV1alpha1() k8sv1alpha1.K8sV1alpha1Interface
- func (c *Clientset) KmsV1beta1() kmsv1beta1.KmsV1beta1Interface
- func (c *Clientset) LoggingV1beta1() loggingv1beta1.LoggingV1beta1Interface
- func (c *Clientset) MemcacheV1beta1() memcachev1beta1.MemcacheV1beta1Interface
- func (c *Clientset) MonitoringV1beta1() monitoringv1beta1.MonitoringV1beta1Interface
- func (c *Clientset) OsconfigV1beta1() osconfigv1beta1.OsconfigV1beta1Interface
- func (c *Clientset) PubsubV1beta1() pubsubv1beta1.PubsubV1beta1Interface
- func (c *Clientset) RedisV1beta1() redisv1beta1.RedisV1beta1Interface
- func (c *Clientset) ResourcemanagerV1beta1() resourcemanagerv1beta1.ResourcemanagerV1beta1Interface
- func (c *Clientset) SecretmanagerV1beta1() secretmanagerv1beta1.SecretmanagerV1beta1Interface
- func (c *Clientset) ServicenetworkingV1beta1() servicenetworkingv1beta1.ServicenetworkingV1beta1Interface
- func (c *Clientset) ServiceusageV1beta1() serviceusagev1beta1.ServiceusageV1beta1Interface
- func (c *Clientset) SourcerepoV1beta1() sourcerepov1beta1.SourcerepoV1beta1Interface
- func (c *Clientset) SpannerV1beta1() spannerv1beta1.SpannerV1beta1Interface
- func (c *Clientset) SqlV1beta1() sqlv1beta1.SqlV1beta1Interface
- func (c *Clientset) StorageV1beta1() storagev1beta1.StorageV1beta1Interface
- func (c *Clientset) StoragetransferV1beta1() storagetransferv1beta1.StoragetransferV1beta1Interface
- func (c *Clientset) Tracker() testing.ObjectTracker
Constants ¶
This section is empty.
Variables ¶
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 ¶
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 ¶
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 ¶
func (c *Clientset) AccesscontextmanagerV1beta1() accesscontextmanagerv1beta1.AccesscontextmanagerV1beta1Interface
AccesscontextmanagerV1beta1 retrieves the AccesscontextmanagerV1beta1Client
func (*Clientset) ArtifactregistryV1beta1 ¶
func (c *Clientset) ArtifactregistryV1beta1() artifactregistryv1beta1.ArtifactregistryV1beta1Interface
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) CloudbuildV1beta1 ¶
func (c *Clientset) CloudbuildV1beta1() cloudbuildv1beta1.CloudbuildV1beta1Interface
CloudbuildV1beta1 retrieves the CloudbuildV1beta1Client
func (*Clientset) CloudidentityV1beta1 ¶ added in v1.48.0
func (c *Clientset) CloudidentityV1beta1() cloudidentityv1beta1.CloudidentityV1beta1Interface
CloudidentityV1beta1 retrieves the CloudidentityV1beta1Client
func (*Clientset) CloudschedulerV1beta1 ¶ added in v1.45.0
func (c *Clientset) CloudschedulerV1beta1() cloudschedulerv1beta1.CloudschedulerV1beta1Interface
CloudschedulerV1beta1 retrieves the CloudschedulerV1beta1Client
func (*Clientset) ComputeV1beta1 ¶
func (c *Clientset) ComputeV1beta1() computev1beta1.ComputeV1beta1Interface
ComputeV1beta1 retrieves the ComputeV1beta1Client
func (*Clientset) ContainerV1beta1 ¶
func (c *Clientset) ContainerV1beta1() containerv1beta1.ContainerV1beta1Interface
ContainerV1beta1 retrieves the ContainerV1beta1Client
func (*Clientset) ContaineranalysisV1beta1 ¶ added in v1.45.0
func (c *Clientset) ContaineranalysisV1beta1() containeranalysisv1beta1.ContaineranalysisV1beta1Interface
ContaineranalysisV1beta1 retrieves the ContaineranalysisV1beta1Client
func (*Clientset) DataflowV1beta1 ¶
func (c *Clientset) DataflowV1beta1() dataflowv1beta1.DataflowV1beta1Interface
DataflowV1beta1 retrieves the DataflowV1beta1Client
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) FirestoreV1beta1 ¶
func (c *Clientset) FirestoreV1beta1() firestorev1beta1.FirestoreV1beta1Interface
FirestoreV1beta1 retrieves the FirestoreV1beta1Client
func (*Clientset) GameservicesV1beta1 ¶
func (c *Clientset) GameservicesV1beta1() gameservicesv1beta1.GameservicesV1beta1Interface
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
func (c *Clientset) IdentityplatformV1beta1() identityplatformv1beta1.IdentityplatformV1beta1Interface
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 ¶
func (c *Clientset) MonitoringV1beta1() monitoringv1beta1.MonitoringV1beta1Interface
MonitoringV1beta1 retrieves the MonitoringV1beta1Client
func (*Clientset) OsconfigV1beta1 ¶ added in v1.46.0
func (c *Clientset) OsconfigV1beta1() osconfigv1beta1.OsconfigV1beta1Interface
OsconfigV1beta1 retrieves the OsconfigV1beta1Client
func (*Clientset) PubsubV1beta1 ¶
func (c *Clientset) PubsubV1beta1() pubsubv1beta1.PubsubV1beta1Interface
PubsubV1beta1 retrieves the PubsubV1beta1Client
func (*Clientset) RedisV1beta1 ¶
func (c *Clientset) RedisV1beta1() redisv1beta1.RedisV1beta1Interface
RedisV1beta1 retrieves the RedisV1beta1Client
func (*Clientset) ResourcemanagerV1beta1 ¶
func (c *Clientset) ResourcemanagerV1beta1() resourcemanagerv1beta1.ResourcemanagerV1beta1Interface
ResourcemanagerV1beta1 retrieves the ResourcemanagerV1beta1Client
func (*Clientset) SecretmanagerV1beta1 ¶
func (c *Clientset) SecretmanagerV1beta1() secretmanagerv1beta1.SecretmanagerV1beta1Interface
SecretmanagerV1beta1 retrieves the SecretmanagerV1beta1Client
func (*Clientset) ServicenetworkingV1beta1 ¶
func (c *Clientset) ServicenetworkingV1beta1() servicenetworkingv1beta1.ServicenetworkingV1beta1Interface
ServicenetworkingV1beta1 retrieves the ServicenetworkingV1beta1Client
func (*Clientset) ServiceusageV1beta1 ¶
func (c *Clientset) ServiceusageV1beta1() serviceusagev1beta1.ServiceusageV1beta1Interface
ServiceusageV1beta1 retrieves the ServiceusageV1beta1Client
func (*Clientset) SourcerepoV1beta1 ¶
func (c *Clientset) SourcerepoV1beta1() sourcerepov1beta1.SourcerepoV1beta1Interface
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 ¶
func (c *Clientset) StoragetransferV1beta1() storagetransferv1beta1.StoragetransferV1beta1Interface
StoragetransferV1beta1 retrieves the StoragetransferV1beta1Client
func (*Clientset) Tracker ¶
func (c *Clientset) Tracker() testing.ObjectTracker