fake

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2017 License: 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 *api.ComponentStatus) (result *api.ComponentStatus, err error)

func (*FakeComponentStatuses) Delete

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

func (*FakeComponentStatuses) DeleteCollection

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

func (*FakeComponentStatuses) Get

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

func (*FakeComponentStatuses) List

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

func (*FakeComponentStatuses) Patch

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

Patch applies the patch and returns the patched componentStatus.

func (*FakeComponentStatuses) Update

func (c *FakeComponentStatuses) Update(componentStatus *api.ComponentStatus) (result *api.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 *api.ConfigMap) (result *api.ConfigMap, err error)

func (*FakeConfigMaps) Delete

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

func (*FakeConfigMaps) DeleteCollection

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

func (*FakeConfigMaps) Get

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

func (*FakeConfigMaps) List

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

func (*FakeConfigMaps) Patch

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

Patch applies the patch and returns the patched configMap.

func (*FakeConfigMaps) Update

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

func (*FakeConfigMaps) Watch

func (c *FakeConfigMaps) Watch(opts v1.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() internalversion.ComponentStatusInterface

func (*FakeCore) ConfigMaps

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

func (*FakeCore) Endpoints

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

func (*FakeCore) Events

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

func (*FakeCore) LimitRanges

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

func (*FakeCore) Namespaces

func (*FakeCore) Nodes

func (*FakeCore) PersistentVolumeClaims

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

func (*FakeCore) PersistentVolumes

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

func (*FakeCore) PodTemplates

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

func (*FakeCore) Pods

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

func (*FakeCore) RESTClient

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

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

func (*FakeCore) ReplicationControllers

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

func (*FakeCore) ResourceQuotas

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

func (*FakeCore) Secrets

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

func (*FakeCore) ServiceAccounts

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

func (*FakeCore) Services

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

type FakeEndpoints

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

FakeEndpoints implements EndpointsInterface

func (*FakeEndpoints) Create

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

func (*FakeEndpoints) Delete

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

func (*FakeEndpoints) DeleteCollection

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

func (*FakeEndpoints) Get

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

func (*FakeEndpoints) List

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

func (*FakeEndpoints) Patch

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

Patch applies the patch and returns the patched endpoints.

func (*FakeEndpoints) Update

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

func (*FakeEndpoints) Watch

func (c *FakeEndpoints) Watch(opts v1.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 *api.Event) (result *api.Event, err error)

func (*FakeEvents) CreateWithEventNamespace

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

func (*FakeEvents) Delete

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

func (*FakeEvents) DeleteCollection

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

func (*FakeEvents) Get

func (c *FakeEvents) Get(name string, options v1.GetOptions) (result *api.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 v1.ListOptions) (result *api.EventList, err error)

func (*FakeEvents) Patch

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

Patch applies the patch and returns the patched event.

func (*FakeEvents) PatchWithEventNamespace

func (c *FakeEvents) PatchWithEventNamespace(event *api.Event, data []byte) (*api.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(scheme *runtime.Scheme, objOrRef runtime.Object) (*api.EventList, error)

Search returns a list of events matching the specified object.

func (*FakeEvents) Update

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

func (*FakeEvents) UpdateWithEventNamespace

func (c *FakeEvents) UpdateWithEventNamespace(event *api.Event) (*api.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 v1.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 *api.LimitRange) (result *api.LimitRange, err error)

func (*FakeLimitRanges) Delete

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

func (*FakeLimitRanges) DeleteCollection

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

func (*FakeLimitRanges) Get

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

func (*FakeLimitRanges) List

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

func (*FakeLimitRanges) Patch

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

Patch applies the patch and returns the patched limitRange.

func (*FakeLimitRanges) Update

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

func (*FakeLimitRanges) Watch

func (c *FakeLimitRanges) Watch(opts v1.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 *api.Namespace) (result *api.Namespace, err error)

func (*FakeNamespaces) Delete

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

func (*FakeNamespaces) DeleteCollection

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

func (*FakeNamespaces) Finalize

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

func (*FakeNamespaces) Get

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

func (*FakeNamespaces) List

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

func (*FakeNamespaces) Patch

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

Patch applies the patch and returns the patched namespace.

func (*FakeNamespaces) Update

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

func (*FakeNamespaces) UpdateStatus

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

func (*FakeNamespaces) Watch

func (c *FakeNamespaces) Watch(opts v1.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 *api.Node) (result *api.Node, err error)

func (*FakeNodes) Delete

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

func (*FakeNodes) DeleteCollection

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

func (*FakeNodes) Get

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

func (*FakeNodes) List

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

func (*FakeNodes) Patch

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

Patch applies the patch and returns the patched node.

func (*FakeNodes) PatchStatus

func (c *FakeNodes) PatchStatus(nodeName string, data []byte) (*api.Node, error)

func (*FakeNodes) Update

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

func (*FakeNodes) UpdateStatus

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

func (*FakeNodes) Watch

func (c *FakeNodes) Watch(opts v1.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 *api.PersistentVolumeClaim) (result *api.PersistentVolumeClaim, err error)

func (*FakePersistentVolumeClaims) Delete

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

func (*FakePersistentVolumeClaims) DeleteCollection

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

func (*FakePersistentVolumeClaims) Get

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

func (*FakePersistentVolumeClaims) List

func (*FakePersistentVolumeClaims) Patch

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

Patch applies the patch and returns the patched persistentVolumeClaim.

func (*FakePersistentVolumeClaims) Update

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

func (*FakePersistentVolumeClaims) UpdateStatus

func (c *FakePersistentVolumeClaims) UpdateStatus(persistentVolumeClaim *api.PersistentVolumeClaim) (*api.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 *api.PersistentVolume) (result *api.PersistentVolume, err error)

func (*FakePersistentVolumes) Delete

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

func (*FakePersistentVolumes) DeleteCollection

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

func (*FakePersistentVolumes) Get

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

func (*FakePersistentVolumes) List

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

func (*FakePersistentVolumes) Patch

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

Patch applies the patch and returns the patched persistentVolume.

func (*FakePersistentVolumes) Update

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

func (*FakePersistentVolumes) UpdateStatus

func (c *FakePersistentVolumes) UpdateStatus(persistentVolume *api.PersistentVolume) (*api.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 *api.PodTemplate) (result *api.PodTemplate, err error)

func (*FakePodTemplates) Delete

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

func (*FakePodTemplates) DeleteCollection

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

func (*FakePodTemplates) Get

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

func (*FakePodTemplates) List

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

func (*FakePodTemplates) Patch

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

Patch applies the patch and returns the patched podTemplate.

func (*FakePodTemplates) Update

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

func (*FakePodTemplates) Watch

func (c *FakePodTemplates) Watch(opts v1.ListOptions) (watch.Interface, error)

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 *api.Binding) error

func (*FakePods) Create

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

func (*FakePods) Delete

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

func (*FakePods) DeleteCollection

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

func (*FakePods) Get

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

func (*FakePods) GetLogs

func (c *FakePods) GetLogs(name string, opts *api.PodLogOptions) *restclient.Request

func (*FakePods) List

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

func (*FakePods) Patch

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

Patch applies the patch and returns the patched pod.

func (*FakePods) Update

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

func (*FakePods) UpdateStatus

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

func (*FakePods) Watch

func (c *FakePods) Watch(opts v1.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 *api.ReplicationController) (result *api.ReplicationController, err error)

func (*FakeReplicationControllers) Delete

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

func (*FakeReplicationControllers) DeleteCollection

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

func (*FakeReplicationControllers) Get

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

func (*FakeReplicationControllers) List

func (*FakeReplicationControllers) Patch

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

Patch applies the patch and returns the patched replicationController.

func (*FakeReplicationControllers) Update

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

func (*FakeReplicationControllers) UpdateStatus

func (c *FakeReplicationControllers) UpdateStatus(replicationController *api.ReplicationController) (*api.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 *api.ResourceQuota) (result *api.ResourceQuota, err error)

func (*FakeResourceQuotas) Delete

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

func (*FakeResourceQuotas) DeleteCollection

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

func (*FakeResourceQuotas) Get

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

func (*FakeResourceQuotas) List

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

func (*FakeResourceQuotas) Patch

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

Patch applies the patch and returns the patched resourceQuota.

func (*FakeResourceQuotas) Update

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

func (*FakeResourceQuotas) UpdateStatus

func (c *FakeResourceQuotas) UpdateStatus(resourceQuota *api.ResourceQuota) (*api.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 *api.Secret) (result *api.Secret, err error)

func (*FakeSecrets) Delete

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

func (*FakeSecrets) DeleteCollection

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

func (*FakeSecrets) Get

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

func (*FakeSecrets) List

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

func (*FakeSecrets) Patch

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

Patch applies the patch and returns the patched secret.

func (*FakeSecrets) Update

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

func (*FakeSecrets) Watch

func (c *FakeSecrets) Watch(opts v1.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 *api.ServiceAccount) (result *api.ServiceAccount, err error)

func (*FakeServiceAccounts) Delete

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

func (*FakeServiceAccounts) DeleteCollection

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

func (*FakeServiceAccounts) Get

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

func (*FakeServiceAccounts) List

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

func (*FakeServiceAccounts) Patch

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

Patch applies the patch and returns the patched serviceAccount.

func (*FakeServiceAccounts) Update

func (c *FakeServiceAccounts) Update(serviceAccount *api.ServiceAccount) (result *api.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 *api.Service) (result *api.Service, err error)

func (*FakeServices) Delete

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

func (*FakeServices) DeleteCollection

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

func (*FakeServices) Get

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

func (*FakeServices) List

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

func (*FakeServices) Patch

func (c *FakeServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *api.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) restclient.ResponseWrapper

func (*FakeServices) Update

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

func (*FakeServices) UpdateStatus

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

func (*FakeServices) Watch

func (c *FakeServices) Watch(opts v1.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