fake

package
Version: v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2016 License: Apache-2.0, Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeComponentStatuses

type FakeComponentStatuses struct {
	Fake *FakeCore
}

FakeComponentStatuses implements ComponentStatusInterface

func (*FakeComponentStatuses) Create

func (c *FakeComponentStatuses) Create(componentStatus *v1.ComponentStatus) (result *v1.ComponentStatus, err error)

func (*FakeComponentStatuses) Delete

func (c *FakeComponentStatuses) Delete(name string, options *api.DeleteOptions) error

func (*FakeComponentStatuses) DeleteCollection

func (c *FakeComponentStatuses) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error

func (*FakeComponentStatuses) Get

func (c *FakeComponentStatuses) Get(name string) (result *v1.ComponentStatus, err error)

func (*FakeComponentStatuses) List

func (c *FakeComponentStatuses) List(opts api.ListOptions) (result *v1.ComponentStatusList, err error)

func (*FakeComponentStatuses) Patch

func (c *FakeComponentStatuses) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.ComponentStatus, err error)

Patch applies the patch and returns the patched componentStatus.

func (*FakeComponentStatuses) Update

func (c *FakeComponentStatuses) Update(componentStatus *v1.ComponentStatus) (result *v1.ComponentStatus, err error)

func (*FakeComponentStatuses) Watch

Watch returns a watch.Interface that watches the requested componentStatuses.

type FakeConfigMaps

type FakeConfigMaps struct {
	Fake *FakeCore
	// contains filtered or unexported fields
}

FakeConfigMaps implements ConfigMapInterface

func (*FakeConfigMaps) Create

func (c *FakeConfigMaps) Create(configMap *v1.ConfigMap) (result *v1.ConfigMap, err error)

func (*FakeConfigMaps) Delete

func (c *FakeConfigMaps) Delete(name string, options *api.DeleteOptions) error

func (*FakeConfigMaps) DeleteCollection

func (c *FakeConfigMaps) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error

func (*FakeConfigMaps) Get

func (c *FakeConfigMaps) Get(name string) (result *v1.ConfigMap, err error)

func (*FakeConfigMaps) List

func (c *FakeConfigMaps) List(opts api.ListOptions) (result *v1.ConfigMapList, err error)

func (*FakeConfigMaps) Patch

func (c *FakeConfigMaps) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.ConfigMap, err error)

Patch applies the patch and returns the patched configMap.

func (*FakeConfigMaps) Update

func (c *FakeConfigMaps) Update(configMap *v1.ConfigMap) (result *v1.ConfigMap, err error)

func (*FakeConfigMaps) Watch

func (c *FakeConfigMaps) Watch(opts api.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested configMaps.

type FakeCore

type FakeCore struct {
	*testing.Fake
}

func (*FakeCore) ComponentStatuses

func (c *FakeCore) ComponentStatuses() v1.ComponentStatusInterface

func (*FakeCore) ConfigMaps

func (c *FakeCore) ConfigMaps(namespace string) v1.ConfigMapInterface

func (*FakeCore) Endpoints

func (c *FakeCore) Endpoints(namespace string) v1.EndpointsInterface

func (*FakeCore) Events

func (c *FakeCore) Events(namespace string) v1.EventInterface

func (*FakeCore) GetRESTClient

func (c *FakeCore) GetRESTClient() *rest.RESTClient

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

func (*FakeCore) LimitRanges

func (c *FakeCore) LimitRanges(namespace string) v1.LimitRangeInterface

func (*FakeCore) Namespaces

func (c *FakeCore) Namespaces() v1.NamespaceInterface

func (*FakeCore) Nodes

func (c *FakeCore) Nodes() v1.NodeInterface

func (*FakeCore) PersistentVolumeClaims

func (c *FakeCore) PersistentVolumeClaims(namespace string) v1.PersistentVolumeClaimInterface

func (*FakeCore) PersistentVolumes

func (c *FakeCore) PersistentVolumes() v1.PersistentVolumeInterface

func (*FakeCore) PodTemplates

func (c *FakeCore) PodTemplates(namespace string) v1.PodTemplateInterface

func (*FakeCore) Pods

func (c *FakeCore) Pods(namespace string) v1.PodInterface

func (*FakeCore) ReplicationControllers

func (c *FakeCore) ReplicationControllers(namespace string) v1.ReplicationControllerInterface

func (*FakeCore) ResourceQuotas

func (c *FakeCore) ResourceQuotas(namespace string) v1.ResourceQuotaInterface

func (*FakeCore) Secrets

func (c *FakeCore) Secrets(namespace string) v1.SecretInterface

func (*FakeCore) ServiceAccounts

func (c *FakeCore) ServiceAccounts(namespace string) v1.ServiceAccountInterface

func (*FakeCore) Services

func (c *FakeCore) Services(namespace string) v1.ServiceInterface

type FakeEndpoints

type FakeEndpoints struct {
	Fake *FakeCore
	// contains filtered or unexported fields
}

FakeEndpoints implements EndpointsInterface

func (*FakeEndpoints) Create

func (c *FakeEndpoints) Create(endpoints *v1.Endpoints) (result *v1.Endpoints, err error)

func (*FakeEndpoints) Delete

func (c *FakeEndpoints) Delete(name string, options *api.DeleteOptions) error

func (*FakeEndpoints) DeleteCollection

func (c *FakeEndpoints) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error

func (*FakeEndpoints) Get

func (c *FakeEndpoints) Get(name string) (result *v1.Endpoints, err error)

func (*FakeEndpoints) List

func (c *FakeEndpoints) List(opts api.ListOptions) (result *v1.EndpointsList, err error)

func (*FakeEndpoints) Patch

func (c *FakeEndpoints) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Endpoints, err error)

Patch applies the patch and returns the patched endpoints.

func (*FakeEndpoints) Update

func (c *FakeEndpoints) Update(endpoints *v1.Endpoints) (result *v1.Endpoints, err error)

func (*FakeEndpoints) Watch

func (c *FakeEndpoints) Watch(opts api.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested endpoints.

type FakeEvents

type FakeEvents struct {
	Fake *FakeCore
	// contains filtered or unexported fields
}

FakeEvents implements EventInterface

func (*FakeEvents) Create

func (c *FakeEvents) Create(event *v1.Event) (result *v1.Event, err error)

func (*FakeEvents) CreateWithEventNamespace

func (c *FakeEvents) CreateWithEventNamespace(event *v1.Event) (*v1.Event, error)

func (*FakeEvents) Delete

func (c *FakeEvents) Delete(name string, options *api.DeleteOptions) error

func (*FakeEvents) DeleteCollection

func (c *FakeEvents) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error

func (*FakeEvents) Get

func (c *FakeEvents) Get(name string) (result *v1.Event, err error)

func (*FakeEvents) GetFieldSelector

func (c *FakeEvents) GetFieldSelector(involvedObjectName, involvedObjectNamespace, involvedObjectKind, involvedObjectUID *string) fields.Selector

func (*FakeEvents) List

func (c *FakeEvents) List(opts api.ListOptions) (result *v1.EventList, err error)

func (*FakeEvents) Patch

func (c *FakeEvents) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Event, err error)

Patch applies the patch and returns the patched event.

func (*FakeEvents) PatchWithEventNamespace

func (c *FakeEvents) PatchWithEventNamespace(event *v1.Event, data []byte) (*v1.Event, error)

PatchWithEventNamespace patches an existing event. Returns the copy of the event the server returns, or an error.

func (*FakeEvents) Search

func (c *FakeEvents) Search(objOrRef runtime.Object) (*v1.EventList, error)

Search returns a list of events matching the specified object.

func (*FakeEvents) Update

func (c *FakeEvents) Update(event *v1.Event) (result *v1.Event, err error)

func (*FakeEvents) UpdateWithEventNamespace

func (c *FakeEvents) UpdateWithEventNamespace(event *v1.Event) (*v1.Event, error)

Update replaces an existing event. Returns the copy of the event the server returns, or an error.

func (*FakeEvents) Watch

func (c *FakeEvents) Watch(opts api.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested events.

type FakeLimitRanges

type FakeLimitRanges struct {
	Fake *FakeCore
	// contains filtered or unexported fields
}

FakeLimitRanges implements LimitRangeInterface

func (*FakeLimitRanges) Create

func (c *FakeLimitRanges) Create(limitRange *v1.LimitRange) (result *v1.LimitRange, err error)

func (*FakeLimitRanges) Delete

func (c *FakeLimitRanges) Delete(name string, options *api.DeleteOptions) error

func (*FakeLimitRanges) DeleteCollection

func (c *FakeLimitRanges) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error

func (*FakeLimitRanges) Get

func (c *FakeLimitRanges) Get(name string) (result *v1.LimitRange, err error)

func (*FakeLimitRanges) List

func (c *FakeLimitRanges) List(opts api.ListOptions) (result *v1.LimitRangeList, err error)

func (*FakeLimitRanges) Patch

func (c *FakeLimitRanges) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.LimitRange, err error)

Patch applies the patch and returns the patched limitRange.

func (*FakeLimitRanges) Update

func (c *FakeLimitRanges) Update(limitRange *v1.LimitRange) (result *v1.LimitRange, err error)

func (*FakeLimitRanges) Watch

func (c *FakeLimitRanges) Watch(opts api.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested limitRanges.

type FakeNamespaces

type FakeNamespaces struct {
	Fake *FakeCore
}

FakeNamespaces implements NamespaceInterface

func (*FakeNamespaces) Create

func (c *FakeNamespaces) Create(namespace *v1.Namespace) (result *v1.Namespace, err error)

func (*FakeNamespaces) Delete

func (c *FakeNamespaces) Delete(name string, options *api.DeleteOptions) error

func (*FakeNamespaces) DeleteCollection

func (c *FakeNamespaces) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error

func (*FakeNamespaces) Finalize

func (c *FakeNamespaces) Finalize(namespace *v1.Namespace) (*v1.Namespace, error)

func (*FakeNamespaces) Get

func (c *FakeNamespaces) Get(name string) (result *v1.Namespace, err error)

func (*FakeNamespaces) List

func (c *FakeNamespaces) List(opts api.ListOptions) (result *v1.NamespaceList, err error)

func (*FakeNamespaces) Patch

func (c *FakeNamespaces) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Namespace, err error)

Patch applies the patch and returns the patched namespace.

func (*FakeNamespaces) Update

func (c *FakeNamespaces) Update(namespace *v1.Namespace) (result *v1.Namespace, err error)

func (*FakeNamespaces) UpdateStatus

func (c *FakeNamespaces) UpdateStatus(namespace *v1.Namespace) (*v1.Namespace, error)

func (*FakeNamespaces) Watch

func (c *FakeNamespaces) Watch(opts api.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested namespaces.

type FakeNodes

type FakeNodes struct {
	Fake *FakeCore
}

FakeNodes implements NodeInterface

func (*FakeNodes) Create

func (c *FakeNodes) Create(node *v1.Node) (result *v1.Node, err error)

func (*FakeNodes) Delete

func (c *FakeNodes) Delete(name string, options *api.DeleteOptions) error

func (*FakeNodes) DeleteCollection

func (c *FakeNodes) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error

func (*FakeNodes) Get

func (c *FakeNodes) Get(name string) (result *v1.Node, err error)

func (*FakeNodes) List

func (c *FakeNodes) List(opts api.ListOptions) (result *v1.NodeList, err error)

func (*FakeNodes) Patch

func (c *FakeNodes) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Node, err error)

Patch applies the patch and returns the patched node.

func (*FakeNodes) Update

func (c *FakeNodes) Update(node *v1.Node) (result *v1.Node, err error)

func (*FakeNodes) UpdateStatus

func (c *FakeNodes) UpdateStatus(node *v1.Node) (*v1.Node, error)

func (*FakeNodes) Watch

func (c *FakeNodes) Watch(opts api.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested nodes.

type FakePersistentVolumeClaims

type FakePersistentVolumeClaims struct {
	Fake *FakeCore
	// contains filtered or unexported fields
}

FakePersistentVolumeClaims implements PersistentVolumeClaimInterface

func (*FakePersistentVolumeClaims) Create

func (c *FakePersistentVolumeClaims) Create(persistentVolumeClaim *v1.PersistentVolumeClaim) (result *v1.PersistentVolumeClaim, err error)

func (*FakePersistentVolumeClaims) Delete

func (c *FakePersistentVolumeClaims) Delete(name string, options *api.DeleteOptions) error

func (*FakePersistentVolumeClaims) DeleteCollection

func (c *FakePersistentVolumeClaims) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error

func (*FakePersistentVolumeClaims) Get

func (c *FakePersistentVolumeClaims) Get(name string) (result *v1.PersistentVolumeClaim, err error)

func (*FakePersistentVolumeClaims) List

func (*FakePersistentVolumeClaims) Patch

func (c *FakePersistentVolumeClaims) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.PersistentVolumeClaim, err error)

Patch applies the patch and returns the patched persistentVolumeClaim.

func (*FakePersistentVolumeClaims) Update

func (c *FakePersistentVolumeClaims) Update(persistentVolumeClaim *v1.PersistentVolumeClaim) (result *v1.PersistentVolumeClaim, err error)

func (*FakePersistentVolumeClaims) UpdateStatus

func (c *FakePersistentVolumeClaims) UpdateStatus(persistentVolumeClaim *v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error)

func (*FakePersistentVolumeClaims) Watch

Watch returns a watch.Interface that watches the requested persistentVolumeClaims.

type FakePersistentVolumes

type FakePersistentVolumes struct {
	Fake *FakeCore
}

FakePersistentVolumes implements PersistentVolumeInterface

func (*FakePersistentVolumes) Create

func (c *FakePersistentVolumes) Create(persistentVolume *v1.PersistentVolume) (result *v1.PersistentVolume, err error)

func (*FakePersistentVolumes) Delete

func (c *FakePersistentVolumes) Delete(name string, options *api.DeleteOptions) error

func (*FakePersistentVolumes) DeleteCollection

func (c *FakePersistentVolumes) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error

func (*FakePersistentVolumes) Get

func (c *FakePersistentVolumes) Get(name string) (result *v1.PersistentVolume, err error)

func (*FakePersistentVolumes) List

func (c *FakePersistentVolumes) List(opts api.ListOptions) (result *v1.PersistentVolumeList, err error)

func (*FakePersistentVolumes) Patch

func (c *FakePersistentVolumes) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.PersistentVolume, err error)

Patch applies the patch and returns the patched persistentVolume.

func (*FakePersistentVolumes) Update

func (c *FakePersistentVolumes) Update(persistentVolume *v1.PersistentVolume) (result *v1.PersistentVolume, err error)

func (*FakePersistentVolumes) UpdateStatus

func (c *FakePersistentVolumes) UpdateStatus(persistentVolume *v1.PersistentVolume) (*v1.PersistentVolume, error)

func (*FakePersistentVolumes) Watch

Watch returns a watch.Interface that watches the requested persistentVolumes.

type FakePodTemplates

type FakePodTemplates struct {
	Fake *FakeCore
	// contains filtered or unexported fields
}

FakePodTemplates implements PodTemplateInterface

func (*FakePodTemplates) Create

func (c *FakePodTemplates) Create(podTemplate *v1.PodTemplate) (result *v1.PodTemplate, err error)

func (*FakePodTemplates) Delete

func (c *FakePodTemplates) Delete(name string, options *api.DeleteOptions) error

func (*FakePodTemplates) DeleteCollection

func (c *FakePodTemplates) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error

func (*FakePodTemplates) Get

func (c *FakePodTemplates) Get(name string) (result *v1.PodTemplate, err error)

func (*FakePodTemplates) List

func (c *FakePodTemplates) List(opts api.ListOptions) (result *v1.PodTemplateList, err error)

func (*FakePodTemplates) Patch

func (c *FakePodTemplates) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.PodTemplate, err error)

Patch applies the patch and returns the patched podTemplate.

func (*FakePodTemplates) Update

func (c *FakePodTemplates) Update(podTemplate *v1.PodTemplate) (result *v1.PodTemplate, err error)

func (*FakePodTemplates) Watch

Watch returns a watch.Interface that watches the requested podTemplates.

type FakePods

type FakePods struct {
	Fake *FakeCore
	// contains filtered or unexported fields
}

FakePods implements PodInterface

func (*FakePods) Bind

func (c *FakePods) Bind(binding *v1.Binding) error

func (*FakePods) Create

func (c *FakePods) Create(pod *v1.Pod) (result *v1.Pod, err error)

func (*FakePods) Delete

func (c *FakePods) Delete(name string, options *api.DeleteOptions) error

func (*FakePods) DeleteCollection

func (c *FakePods) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error

func (*FakePods) Evict

func (c *FakePods) Evict(eviction *v1alpha1.Eviction) error

func (*FakePods) Get

func (c *FakePods) Get(name string) (result *v1.Pod, err error)

func (*FakePods) GetLogs

func (c *FakePods) GetLogs(name string, opts *v1.PodLogOptions) *rest.Request

func (*FakePods) List

func (c *FakePods) List(opts api.ListOptions) (result *v1.PodList, err error)

func (*FakePods) Patch

func (c *FakePods) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Pod, err error)

Patch applies the patch and returns the patched pod.

func (*FakePods) Update

func (c *FakePods) Update(pod *v1.Pod) (result *v1.Pod, err error)

func (*FakePods) UpdateStatus

func (c *FakePods) UpdateStatus(pod *v1.Pod) (*v1.Pod, error)

func (*FakePods) Watch

func (c *FakePods) Watch(opts api.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested pods.

type FakeReplicationControllers

type FakeReplicationControllers struct {
	Fake *FakeCore
	// contains filtered or unexported fields
}

FakeReplicationControllers implements ReplicationControllerInterface

func (*FakeReplicationControllers) Create

func (c *FakeReplicationControllers) Create(replicationController *v1.ReplicationController) (result *v1.ReplicationController, err error)

func (*FakeReplicationControllers) Delete

func (c *FakeReplicationControllers) Delete(name string, options *api.DeleteOptions) error

func (*FakeReplicationControllers) DeleteCollection

func (c *FakeReplicationControllers) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error

func (*FakeReplicationControllers) Get

func (c *FakeReplicationControllers) Get(name string) (result *v1.ReplicationController, err error)

func (*FakeReplicationControllers) List

func (*FakeReplicationControllers) Patch

func (c *FakeReplicationControllers) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.ReplicationController, err error)

Patch applies the patch and returns the patched replicationController.

func (*FakeReplicationControllers) Update

func (c *FakeReplicationControllers) Update(replicationController *v1.ReplicationController) (result *v1.ReplicationController, err error)

func (*FakeReplicationControllers) UpdateStatus

func (c *FakeReplicationControllers) UpdateStatus(replicationController *v1.ReplicationController) (*v1.ReplicationController, error)

func (*FakeReplicationControllers) Watch

Watch returns a watch.Interface that watches the requested replicationControllers.

type FakeResourceQuotas

type FakeResourceQuotas struct {
	Fake *FakeCore
	// contains filtered or unexported fields
}

FakeResourceQuotas implements ResourceQuotaInterface

func (*FakeResourceQuotas) Create

func (c *FakeResourceQuotas) Create(resourceQuota *v1.ResourceQuota) (result *v1.ResourceQuota, err error)

func (*FakeResourceQuotas) Delete

func (c *FakeResourceQuotas) Delete(name string, options *api.DeleteOptions) error

func (*FakeResourceQuotas) DeleteCollection

func (c *FakeResourceQuotas) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error

func (*FakeResourceQuotas) Get

func (c *FakeResourceQuotas) Get(name string) (result *v1.ResourceQuota, err error)

func (*FakeResourceQuotas) List

func (c *FakeResourceQuotas) List(opts api.ListOptions) (result *v1.ResourceQuotaList, err error)

func (*FakeResourceQuotas) Patch

func (c *FakeResourceQuotas) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.ResourceQuota, err error)

Patch applies the patch and returns the patched resourceQuota.

func (*FakeResourceQuotas) Update

func (c *FakeResourceQuotas) Update(resourceQuota *v1.ResourceQuota) (result *v1.ResourceQuota, err error)

func (*FakeResourceQuotas) UpdateStatus

func (c *FakeResourceQuotas) UpdateStatus(resourceQuota *v1.ResourceQuota) (*v1.ResourceQuota, error)

func (*FakeResourceQuotas) Watch

Watch returns a watch.Interface that watches the requested resourceQuotas.

type FakeSecrets

type FakeSecrets struct {
	Fake *FakeCore
	// contains filtered or unexported fields
}

FakeSecrets implements SecretInterface

func (*FakeSecrets) Create

func (c *FakeSecrets) Create(secret *v1.Secret) (result *v1.Secret, err error)

func (*FakeSecrets) Delete

func (c *FakeSecrets) Delete(name string, options *api.DeleteOptions) error

func (*FakeSecrets) DeleteCollection

func (c *FakeSecrets) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error

func (*FakeSecrets) Get

func (c *FakeSecrets) Get(name string) (result *v1.Secret, err error)

func (*FakeSecrets) List

func (c *FakeSecrets) List(opts api.ListOptions) (result *v1.SecretList, err error)

func (*FakeSecrets) Patch

func (c *FakeSecrets) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Secret, err error)

Patch applies the patch and returns the patched secret.

func (*FakeSecrets) Update

func (c *FakeSecrets) Update(secret *v1.Secret) (result *v1.Secret, err error)

func (*FakeSecrets) Watch

func (c *FakeSecrets) Watch(opts api.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested secrets.

type FakeServiceAccounts

type FakeServiceAccounts struct {
	Fake *FakeCore
	// contains filtered or unexported fields
}

FakeServiceAccounts implements ServiceAccountInterface

func (*FakeServiceAccounts) Create

func (c *FakeServiceAccounts) Create(serviceAccount *v1.ServiceAccount) (result *v1.ServiceAccount, err error)

func (*FakeServiceAccounts) Delete

func (c *FakeServiceAccounts) Delete(name string, options *api.DeleteOptions) error

func (*FakeServiceAccounts) DeleteCollection

func (c *FakeServiceAccounts) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error

func (*FakeServiceAccounts) Get

func (c *FakeServiceAccounts) Get(name string) (result *v1.ServiceAccount, err error)

func (*FakeServiceAccounts) List

func (c *FakeServiceAccounts) List(opts api.ListOptions) (result *v1.ServiceAccountList, err error)

func (*FakeServiceAccounts) Patch

func (c *FakeServiceAccounts) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.ServiceAccount, err error)

Patch applies the patch and returns the patched serviceAccount.

func (*FakeServiceAccounts) Update

func (c *FakeServiceAccounts) Update(serviceAccount *v1.ServiceAccount) (result *v1.ServiceAccount, err error)

func (*FakeServiceAccounts) Watch

Watch returns a watch.Interface that watches the requested serviceAccounts.

type FakeServices

type FakeServices struct {
	Fake *FakeCore
	// contains filtered or unexported fields
}

FakeServices implements ServiceInterface

func (*FakeServices) Create

func (c *FakeServices) Create(service *v1.Service) (result *v1.Service, err error)

func (*FakeServices) Delete

func (c *FakeServices) Delete(name string, options *api.DeleteOptions) error

func (*FakeServices) DeleteCollection

func (c *FakeServices) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error

func (*FakeServices) Get

func (c *FakeServices) Get(name string) (result *v1.Service, err error)

func (*FakeServices) List

func (c *FakeServices) List(opts api.ListOptions) (result *v1.ServiceList, err error)

func (*FakeServices) Patch

func (c *FakeServices) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Service, err error)

Patch applies the patch and returns the patched service.

func (*FakeServices) ProxyGet

func (c *FakeServices) ProxyGet(scheme, name, port, path string, params map[string]string) rest.ResponseWrapper

func (*FakeServices) Update

func (c *FakeServices) Update(service *v1.Service) (result *v1.Service, err error)

func (*FakeServices) UpdateStatus

func (c *FakeServices) UpdateStatus(service *v1.Service) (*v1.Service, error)

func (*FakeServices) Watch

func (c *FakeServices) Watch(opts api.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested services.

Jump to

Keyboard shortcuts

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