client-gok8s.io/client-go/kubernetes/fake Index | Files

package fake

import "k8s.io/client-go/kubernetes/fake"

This package has the automatically generated fake clientset.

Index

Types

type Clientset

type Clientset struct {
	testing.Fake
}

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) Apps

Apps retrieves the AppsV1beta1Client

func (*Clientset) AppsV1beta1

func (c *Clientset) AppsV1beta1() v1beta1apps.AppsV1beta1Interface

AppsV1beta1 retrieves the AppsV1beta1Client

func (*Clientset) Authentication

Authentication retrieves the AuthenticationV1beta1Client

func (*Clientset) AuthenticationV1beta1

AuthenticationV1beta1 retrieves the AuthenticationV1beta1Client

func (*Clientset) Authorization

Authorization retrieves the AuthorizationV1beta1Client

func (*Clientset) AuthorizationV1beta1

AuthorizationV1beta1 retrieves the AuthorizationV1beta1Client

func (*Clientset) Autoscaling

Autoscaling retrieves the AutoscalingV1Client

func (*Clientset) AutoscalingV1

func (c *Clientset) AutoscalingV1() v1autoscaling.AutoscalingV1Interface

AutoscalingV1 retrieves the AutoscalingV1Client

func (*Clientset) Batch

func (c *Clientset) Batch() v1batch.BatchV1Interface

Batch retrieves the BatchV1Client

func (*Clientset) BatchV1

func (c *Clientset) BatchV1() v1batch.BatchV1Interface

BatchV1 retrieves the BatchV1Client

func (*Clientset) BatchV2alpha1

func (c *Clientset) BatchV2alpha1() v2alpha1batch.BatchV2alpha1Interface

BatchV2alpha1 retrieves the BatchV2alpha1Client

func (*Clientset) Certificates

Certificates retrieves the CertificatesV1alpha1Client

func (*Clientset) CertificatesV1alpha1

CertificatesV1alpha1 retrieves the CertificatesV1alpha1Client

func (*Clientset) Core

func (c *Clientset) Core() v1core.CoreV1Interface

Core retrieves the CoreV1Client

func (*Clientset) CoreV1

func (c *Clientset) CoreV1() v1core.CoreV1Interface

CoreV1 retrieves the CoreV1Client

func (*Clientset) Discovery

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

func (*Clientset) Extensions

Extensions retrieves the ExtensionsV1beta1Client

func (*Clientset) ExtensionsV1beta1

ExtensionsV1beta1 retrieves the ExtensionsV1beta1Client

func (*Clientset) Policy

Policy retrieves the PolicyV1beta1Client

func (*Clientset) PolicyV1beta1

func (c *Clientset) PolicyV1beta1() v1beta1policy.PolicyV1beta1Interface

PolicyV1beta1 retrieves the PolicyV1beta1Client

func (*Clientset) Rbac

Rbac retrieves the RbacV1alpha1Client

func (*Clientset) RbacV1alpha1

func (c *Clientset) RbacV1alpha1() v1alpha1rbac.RbacV1alpha1Interface

RbacV1alpha1 retrieves the RbacV1alpha1Client

func (*Clientset) Storage

Storage retrieves the StorageV1beta1Client

func (*Clientset) StorageV1beta1

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

StorageV1beta1 retrieves the StorageV1beta1Client

Source Files

clientset_generated.go doc.go

Version
v2.0.0+incompatible
Published
Feb 13, 2017
Platform
js/wasm
Imports
32 packages
Last checked
2 minutes ago

Tools for package owners.