Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeComponentStatuses
- func (c *FakeComponentStatuses) Create(componentStatus *api.ComponentStatus) (result *api.ComponentStatus, err error)
- func (c *FakeComponentStatuses) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeComponentStatuses) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeComponentStatuses) Get(name string) (result *api.ComponentStatus, err error)
- func (c *FakeComponentStatuses) List(opts api.ListOptions) (result *api.ComponentStatusList, err error)
- func (c *FakeComponentStatuses) Patch(name string, pt api.PatchType, data []byte) (result *api.ComponentStatus, err error)
- func (c *FakeComponentStatuses) Update(componentStatus *api.ComponentStatus) (result *api.ComponentStatus, err error)
- func (c *FakeComponentStatuses) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeConfigMaps
- func (c *FakeConfigMaps) Create(configMap *api.ConfigMap) (result *api.ConfigMap, err error)
- func (c *FakeConfigMaps) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeConfigMaps) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeConfigMaps) Get(name string) (result *api.ConfigMap, err error)
- func (c *FakeConfigMaps) List(opts api.ListOptions) (result *api.ConfigMapList, err error)
- func (c *FakeConfigMaps) Patch(name string, pt api.PatchType, data []byte) (result *api.ConfigMap, err error)
- func (c *FakeConfigMaps) Update(configMap *api.ConfigMap) (result *api.ConfigMap, err error)
- func (c *FakeConfigMaps) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeCore
- func (c *FakeCore) ComponentStatuses() unversioned.ComponentStatusInterface
- func (c *FakeCore) ConfigMaps(namespace string) unversioned.ConfigMapInterface
- func (c *FakeCore) Endpoints(namespace string) unversioned.EndpointsInterface
- func (c *FakeCore) Events(namespace string) unversioned.EventInterface
- func (c *FakeCore) GetRESTClient() *restclient.RESTClient
- func (c *FakeCore) LimitRanges(namespace string) unversioned.LimitRangeInterface
- func (c *FakeCore) Namespaces() unversioned.NamespaceInterface
- func (c *FakeCore) Nodes() unversioned.NodeInterface
- func (c *FakeCore) PersistentVolumeClaims(namespace string) unversioned.PersistentVolumeClaimInterface
- func (c *FakeCore) PersistentVolumes() unversioned.PersistentVolumeInterface
- func (c *FakeCore) PodTemplates(namespace string) unversioned.PodTemplateInterface
- func (c *FakeCore) Pods(namespace string) unversioned.PodInterface
- func (c *FakeCore) ReplicationControllers(namespace string) unversioned.ReplicationControllerInterface
- func (c *FakeCore) ResourceQuotas(namespace string) unversioned.ResourceQuotaInterface
- func (c *FakeCore) Secrets(namespace string) unversioned.SecretInterface
- func (c *FakeCore) ServiceAccounts(namespace string) unversioned.ServiceAccountInterface
- func (c *FakeCore) Services(namespace string) unversioned.ServiceInterface
- type FakeEndpoints
- func (c *FakeEndpoints) Create(endpoints *api.Endpoints) (result *api.Endpoints, err error)
- func (c *FakeEndpoints) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeEndpoints) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeEndpoints) Get(name string) (result *api.Endpoints, err error)
- func (c *FakeEndpoints) List(opts api.ListOptions) (result *api.EndpointsList, err error)
- func (c *FakeEndpoints) Patch(name string, pt api.PatchType, data []byte) (result *api.Endpoints, err error)
- func (c *FakeEndpoints) Update(endpoints *api.Endpoints) (result *api.Endpoints, err error)
- func (c *FakeEndpoints) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeEvents
- func (c *FakeEvents) Create(event *api.Event) (result *api.Event, err error)
- func (c *FakeEvents) CreateWithEventNamespace(event *api.Event) (*api.Event, error)
- func (c *FakeEvents) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeEvents) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeEvents) Get(name string) (result *api.Event, err error)
- func (c *FakeEvents) GetFieldSelector(involvedObjectName, involvedObjectNamespace, involvedObjectKind, ... *string) fields.Selector
- func (c *FakeEvents) List(opts api.ListOptions) (result *api.EventList, err error)
- func (c *FakeEvents) Patch(name string, pt api.PatchType, data []byte) (result *api.Event, err error)
- func (c *FakeEvents) PatchWithEventNamespace(event *api.Event, data []byte) (*api.Event, error)
- func (c *FakeEvents) Search(objOrRef runtime.Object) (*api.EventList, error)
- func (c *FakeEvents) Update(event *api.Event) (result *api.Event, err error)
- func (c *FakeEvents) UpdateWithEventNamespace(event *api.Event) (*api.Event, error)
- func (c *FakeEvents) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeLimitRanges
- func (c *FakeLimitRanges) Create(limitRange *api.LimitRange) (result *api.LimitRange, err error)
- func (c *FakeLimitRanges) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeLimitRanges) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeLimitRanges) Get(name string) (result *api.LimitRange, err error)
- func (c *FakeLimitRanges) List(opts api.ListOptions) (result *api.LimitRangeList, err error)
- func (c *FakeLimitRanges) Patch(name string, pt api.PatchType, data []byte) (result *api.LimitRange, err error)
- func (c *FakeLimitRanges) Update(limitRange *api.LimitRange) (result *api.LimitRange, err error)
- func (c *FakeLimitRanges) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeNamespaces
- func (c *FakeNamespaces) Create(namespace *api.Namespace) (result *api.Namespace, err error)
- func (c *FakeNamespaces) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeNamespaces) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeNamespaces) Finalize(namespace *api.Namespace) (*api.Namespace, error)
- func (c *FakeNamespaces) Get(name string) (result *api.Namespace, err error)
- func (c *FakeNamespaces) List(opts api.ListOptions) (result *api.NamespaceList, err error)
- func (c *FakeNamespaces) Patch(name string, pt api.PatchType, data []byte) (result *api.Namespace, err error)
- func (c *FakeNamespaces) Update(namespace *api.Namespace) (result *api.Namespace, err error)
- func (c *FakeNamespaces) UpdateStatus(namespace *api.Namespace) (*api.Namespace, error)
- func (c *FakeNamespaces) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeNodes
- func (c *FakeNodes) Create(node *api.Node) (result *api.Node, err error)
- func (c *FakeNodes) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeNodes) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeNodes) Get(name string) (result *api.Node, err error)
- func (c *FakeNodes) List(opts api.ListOptions) (result *api.NodeList, err error)
- func (c *FakeNodes) Patch(name string, pt api.PatchType, data []byte) (result *api.Node, err error)
- func (c *FakeNodes) PatchStatus(nodeName string, data []byte) (*api.Node, error)
- func (c *FakeNodes) Update(node *api.Node) (result *api.Node, err error)
- func (c *FakeNodes) UpdateStatus(node *api.Node) (*api.Node, error)
- func (c *FakeNodes) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakePersistentVolumeClaims
- func (c *FakePersistentVolumeClaims) Create(persistentVolumeClaim *api.PersistentVolumeClaim) (result *api.PersistentVolumeClaim, err error)
- func (c *FakePersistentVolumeClaims) Delete(name string, options *api.DeleteOptions) error
- func (c *FakePersistentVolumeClaims) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakePersistentVolumeClaims) Get(name string) (result *api.PersistentVolumeClaim, err error)
- func (c *FakePersistentVolumeClaims) List(opts api.ListOptions) (result *api.PersistentVolumeClaimList, err error)
- func (c *FakePersistentVolumeClaims) Patch(name string, pt api.PatchType, data []byte) (result *api.PersistentVolumeClaim, err error)
- func (c *FakePersistentVolumeClaims) Update(persistentVolumeClaim *api.PersistentVolumeClaim) (result *api.PersistentVolumeClaim, err error)
- func (c *FakePersistentVolumeClaims) UpdateStatus(persistentVolumeClaim *api.PersistentVolumeClaim) (*api.PersistentVolumeClaim, error)
- func (c *FakePersistentVolumeClaims) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakePersistentVolumes
- func (c *FakePersistentVolumes) Create(persistentVolume *api.PersistentVolume) (result *api.PersistentVolume, err error)
- func (c *FakePersistentVolumes) Delete(name string, options *api.DeleteOptions) error
- func (c *FakePersistentVolumes) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakePersistentVolumes) Get(name string) (result *api.PersistentVolume, err error)
- func (c *FakePersistentVolumes) List(opts api.ListOptions) (result *api.PersistentVolumeList, err error)
- func (c *FakePersistentVolumes) Patch(name string, pt api.PatchType, data []byte) (result *api.PersistentVolume, err error)
- func (c *FakePersistentVolumes) Update(persistentVolume *api.PersistentVolume) (result *api.PersistentVolume, err error)
- func (c *FakePersistentVolumes) UpdateStatus(persistentVolume *api.PersistentVolume) (*api.PersistentVolume, error)
- func (c *FakePersistentVolumes) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakePodTemplates
- func (c *FakePodTemplates) Create(podTemplate *api.PodTemplate) (result *api.PodTemplate, err error)
- func (c *FakePodTemplates) Delete(name string, options *api.DeleteOptions) error
- func (c *FakePodTemplates) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakePodTemplates) Get(name string) (result *api.PodTemplate, err error)
- func (c *FakePodTemplates) List(opts api.ListOptions) (result *api.PodTemplateList, err error)
- func (c *FakePodTemplates) Patch(name string, pt api.PatchType, data []byte) (result *api.PodTemplate, err error)
- func (c *FakePodTemplates) Update(podTemplate *api.PodTemplate) (result *api.PodTemplate, err error)
- func (c *FakePodTemplates) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakePods
- func (c *FakePods) Bind(binding *api.Binding) error
- func (c *FakePods) Create(pod *api.Pod) (result *api.Pod, err error)
- func (c *FakePods) Delete(name string, options *api.DeleteOptions) error
- func (c *FakePods) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakePods) Get(name string) (result *api.Pod, err error)
- func (c *FakePods) GetLogs(name string, opts *api.PodLogOptions) *restclient.Request
- func (c *FakePods) List(opts api.ListOptions) (result *api.PodList, err error)
- func (c *FakePods) Patch(name string, pt api.PatchType, data []byte) (result *api.Pod, err error)
- func (c *FakePods) Update(pod *api.Pod) (result *api.Pod, err error)
- func (c *FakePods) UpdateStatus(pod *api.Pod) (*api.Pod, error)
- func (c *FakePods) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeReplicationControllers
- func (c *FakeReplicationControllers) Create(replicationController *api.ReplicationController) (result *api.ReplicationController, err error)
- func (c *FakeReplicationControllers) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeReplicationControllers) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeReplicationControllers) Get(name string) (result *api.ReplicationController, err error)
- func (c *FakeReplicationControllers) List(opts api.ListOptions) (result *api.ReplicationControllerList, err error)
- func (c *FakeReplicationControllers) Patch(name string, pt api.PatchType, data []byte) (result *api.ReplicationController, err error)
- func (c *FakeReplicationControllers) Update(replicationController *api.ReplicationController) (result *api.ReplicationController, err error)
- func (c *FakeReplicationControllers) UpdateStatus(replicationController *api.ReplicationController) (*api.ReplicationController, error)
- func (c *FakeReplicationControllers) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeResourceQuotas
- func (c *FakeResourceQuotas) Create(resourceQuota *api.ResourceQuota) (result *api.ResourceQuota, err error)
- func (c *FakeResourceQuotas) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeResourceQuotas) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeResourceQuotas) Get(name string) (result *api.ResourceQuota, err error)
- func (c *FakeResourceQuotas) List(opts api.ListOptions) (result *api.ResourceQuotaList, err error)
- func (c *FakeResourceQuotas) Patch(name string, pt api.PatchType, data []byte) (result *api.ResourceQuota, err error)
- func (c *FakeResourceQuotas) Update(resourceQuota *api.ResourceQuota) (result *api.ResourceQuota, err error)
- func (c *FakeResourceQuotas) UpdateStatus(resourceQuota *api.ResourceQuota) (*api.ResourceQuota, error)
- func (c *FakeResourceQuotas) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeSecrets
- func (c *FakeSecrets) Create(secret *api.Secret) (result *api.Secret, err error)
- func (c *FakeSecrets) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeSecrets) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeSecrets) Get(name string) (result *api.Secret, err error)
- func (c *FakeSecrets) List(opts api.ListOptions) (result *api.SecretList, err error)
- func (c *FakeSecrets) Patch(name string, pt api.PatchType, data []byte) (result *api.Secret, err error)
- func (c *FakeSecrets) Update(secret *api.Secret) (result *api.Secret, err error)
- func (c *FakeSecrets) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeServiceAccounts
- func (c *FakeServiceAccounts) Create(serviceAccount *api.ServiceAccount) (result *api.ServiceAccount, err error)
- func (c *FakeServiceAccounts) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeServiceAccounts) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeServiceAccounts) Get(name string) (result *api.ServiceAccount, err error)
- func (c *FakeServiceAccounts) List(opts api.ListOptions) (result *api.ServiceAccountList, err error)
- func (c *FakeServiceAccounts) Patch(name string, pt api.PatchType, data []byte) (result *api.ServiceAccount, err error)
- func (c *FakeServiceAccounts) Update(serviceAccount *api.ServiceAccount) (result *api.ServiceAccount, err error)
- func (c *FakeServiceAccounts) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeServices
- func (c *FakeServices) Create(service *api.Service) (result *api.Service, err error)
- func (c *FakeServices) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeServices) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeServices) Get(name string) (result *api.Service, err error)
- func (c *FakeServices) List(opts api.ListOptions) (result *api.ServiceList, err error)
- func (c *FakeServices) Patch(name string, pt api.PatchType, data []byte) (result *api.Service, err error)
- func (c *FakeServices) ProxyGet(scheme, name, port, path string, params map[string]string) restclient.ResponseWrapper
- func (c *FakeServices) Update(service *api.Service) (result *api.Service, err error)
- func (c *FakeServices) UpdateStatus(service *api.Service) (*api.Service, error)
- func (c *FakeServices) Watch(opts api.ListOptions) (watch.Interface, error)
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 *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 *api.ComponentStatus, err error)
func (*FakeComponentStatuses) List ¶
func (c *FakeComponentStatuses) List(opts api.ListOptions) (result *api.ComponentStatusList, err error)
func (*FakeComponentStatuses) Patch ¶ added in v1.4.1
func (c *FakeComponentStatuses) Patch(name string, pt api.PatchType, data []byte) (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 ¶
func (c *FakeComponentStatuses) Watch(opts api.ListOptions) (watch.Interface, error)
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) 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 *api.ConfigMap, err error)
func (*FakeConfigMaps) List ¶
func (c *FakeConfigMaps) List(opts api.ListOptions) (result *api.ConfigMapList, err error)
func (*FakeConfigMaps) Patch ¶ added in v1.4.1
func (c *FakeConfigMaps) Patch(name string, pt api.PatchType, data []byte) (result *api.ConfigMap, err error)
Patch applies the patch and returns the patched configMap.
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 ¶
func (*FakeCore) ComponentStatuses ¶
func (c *FakeCore) ComponentStatuses() unversioned.ComponentStatusInterface
func (*FakeCore) ConfigMaps ¶
func (c *FakeCore) ConfigMaps(namespace string) unversioned.ConfigMapInterface
func (*FakeCore) Endpoints ¶
func (c *FakeCore) Endpoints(namespace string) unversioned.EndpointsInterface
func (*FakeCore) Events ¶
func (c *FakeCore) Events(namespace string) unversioned.EventInterface
func (*FakeCore) GetRESTClient ¶
func (c *FakeCore) GetRESTClient() *restclient.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) unversioned.LimitRangeInterface
func (*FakeCore) Namespaces ¶
func (c *FakeCore) Namespaces() unversioned.NamespaceInterface
func (*FakeCore) Nodes ¶
func (c *FakeCore) Nodes() unversioned.NodeInterface
func (*FakeCore) PersistentVolumeClaims ¶
func (c *FakeCore) PersistentVolumeClaims(namespace string) unversioned.PersistentVolumeClaimInterface
func (*FakeCore) PersistentVolumes ¶
func (c *FakeCore) PersistentVolumes() unversioned.PersistentVolumeInterface
func (*FakeCore) PodTemplates ¶
func (c *FakeCore) PodTemplates(namespace string) unversioned.PodTemplateInterface
func (*FakeCore) Pods ¶
func (c *FakeCore) Pods(namespace string) unversioned.PodInterface
func (*FakeCore) ReplicationControllers ¶
func (c *FakeCore) ReplicationControllers(namespace string) unversioned.ReplicationControllerInterface
func (*FakeCore) ResourceQuotas ¶
func (c *FakeCore) ResourceQuotas(namespace string) unversioned.ResourceQuotaInterface
func (*FakeCore) Secrets ¶
func (c *FakeCore) Secrets(namespace string) unversioned.SecretInterface
func (*FakeCore) ServiceAccounts ¶
func (c *FakeCore) ServiceAccounts(namespace string) unversioned.ServiceAccountInterface
func (*FakeCore) Services ¶
func (c *FakeCore) Services(namespace string) unversioned.ServiceInterface
type FakeEndpoints ¶
type FakeEndpoints struct { Fake *FakeCore // contains filtered or unexported fields }
FakeEndpoints implements EndpointsInterface
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 *api.Endpoints, err error)
func (*FakeEndpoints) List ¶
func (c *FakeEndpoints) List(opts api.ListOptions) (result *api.EndpointsList, err error)
func (*FakeEndpoints) Patch ¶ added in v1.4.1
func (c *FakeEndpoints) Patch(name string, pt api.PatchType, data []byte) (result *api.Endpoints, err error)
Patch applies the patch and returns the patched endpoints.
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) CreateWithEventNamespace ¶
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) GetFieldSelector ¶
func (c *FakeEvents) GetFieldSelector(involvedObjectName, involvedObjectNamespace, involvedObjectKind, involvedObjectUID *string) fields.Selector
func (*FakeEvents) List ¶
func (c *FakeEvents) List(opts api.ListOptions) (result *api.EventList, err error)
func (*FakeEvents) Patch ¶
func (c *FakeEvents) Patch(name string, pt api.PatchType, data []byte) (result *api.Event, err error)
Patch applies the patch and returns the patched event.
func (*FakeEvents) PatchWithEventNamespace ¶ added in v1.4.1
PatchWithEventNamespace patches an existing event. Returns the copy of the event the server returns, or an error.
func (*FakeEvents) UpdateWithEventNamespace ¶
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 *api.LimitRange) (result *api.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 *api.LimitRange, err error)
func (*FakeLimitRanges) List ¶
func (c *FakeLimitRanges) List(opts api.ListOptions) (result *api.LimitRangeList, err error)
func (*FakeLimitRanges) Patch ¶ added in v1.4.1
func (c *FakeLimitRanges) Patch(name string, pt api.PatchType, data []byte) (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 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) 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) Get ¶
func (c *FakeNamespaces) Get(name string) (result *api.Namespace, err error)
func (*FakeNamespaces) List ¶
func (c *FakeNamespaces) List(opts api.ListOptions) (result *api.NamespaceList, err error)
func (*FakeNamespaces) Patch ¶ added in v1.4.1
func (c *FakeNamespaces) Patch(name string, pt api.PatchType, data []byte) (result *api.Namespace, err error)
Patch applies the patch and returns the patched namespace.
func (*FakeNamespaces) UpdateStatus ¶
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) 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) PatchStatus ¶
func (*FakeNodes) UpdateStatus ¶
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 *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 *api.PersistentVolumeClaim, err error)
func (*FakePersistentVolumeClaims) List ¶
func (c *FakePersistentVolumeClaims) List(opts api.ListOptions) (result *api.PersistentVolumeClaimList, err error)
func (*FakePersistentVolumeClaims) Patch ¶ added in v1.4.1
func (c *FakePersistentVolumeClaims) Patch(name string, pt api.PatchType, data []byte) (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 ¶
func (c *FakePersistentVolumeClaims) Watch(opts api.ListOptions) (watch.Interface, error)
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 *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 *api.PersistentVolume, err error)
func (*FakePersistentVolumes) List ¶
func (c *FakePersistentVolumes) List(opts api.ListOptions) (result *api.PersistentVolumeList, err error)
func (*FakePersistentVolumes) Patch ¶ added in v1.4.1
func (c *FakePersistentVolumes) Patch(name string, pt api.PatchType, data []byte) (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 ¶
func (c *FakePersistentVolumes) Watch(opts api.ListOptions) (watch.Interface, error)
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 *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 *api.PodTemplate, err error)
func (*FakePodTemplates) List ¶
func (c *FakePodTemplates) List(opts api.ListOptions) (result *api.PodTemplateList, err error)
func (*FakePodTemplates) Patch ¶ added in v1.4.1
func (c *FakePodTemplates) Patch(name string, pt api.PatchType, data []byte) (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 api.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) DeleteCollection ¶
func (c *FakePods) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
func (*FakePods) GetLogs ¶
func (c *FakePods) GetLogs(name string, opts *api.PodLogOptions) *restclient.Request
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 *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 *api.ReplicationController, err error)
func (*FakeReplicationControllers) List ¶
func (c *FakeReplicationControllers) List(opts api.ListOptions) (result *api.ReplicationControllerList, err error)
func (*FakeReplicationControllers) Patch ¶ added in v1.4.1
func (c *FakeReplicationControllers) Patch(name string, pt api.PatchType, data []byte) (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 ¶
func (c *FakeReplicationControllers) Watch(opts api.ListOptions) (watch.Interface, error)
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 *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 *api.ResourceQuota, err error)
func (*FakeResourceQuotas) List ¶
func (c *FakeResourceQuotas) List(opts api.ListOptions) (result *api.ResourceQuotaList, err error)
func (*FakeResourceQuotas) Patch ¶ added in v1.4.1
func (c *FakeResourceQuotas) Patch(name string, pt api.PatchType, data []byte) (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 ¶
func (c *FakeResourceQuotas) Watch(opts api.ListOptions) (watch.Interface, error)
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) 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) List ¶
func (c *FakeSecrets) List(opts api.ListOptions) (result *api.SecretList, err error)
func (*FakeSecrets) Patch ¶ added in v1.4.1
func (c *FakeSecrets) Patch(name string, pt api.PatchType, data []byte) (result *api.Secret, err error)
Patch applies the patch and returns the patched secret.
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 *api.ServiceAccount) (result *api.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 *api.ServiceAccount, err error)
func (*FakeServiceAccounts) List ¶
func (c *FakeServiceAccounts) List(opts api.ListOptions) (result *api.ServiceAccountList, err error)
func (*FakeServiceAccounts) Patch ¶ added in v1.4.1
func (c *FakeServiceAccounts) Patch(name string, pt api.PatchType, data []byte) (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 ¶
func (c *FakeServiceAccounts) Watch(opts api.ListOptions) (watch.Interface, error)
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) 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) List ¶
func (c *FakeServices) List(opts api.ListOptions) (result *api.ServiceList, err error)
func (*FakeServices) Patch ¶ added in v1.4.1
func (c *FakeServices) Patch(name string, pt api.PatchType, data []byte) (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) UpdateStatus ¶
func (*FakeServices) Watch ¶
func (c *FakeServices) Watch(opts api.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested services.
Source Files
¶
- doc.go
- fake_componentstatus.go
- fake_configmap.go
- fake_core_client.go
- fake_endpoints.go
- fake_event.go
- fake_event_expansion.go
- fake_limitrange.go
- fake_namespace.go
- fake_namespace_expansion.go
- fake_node.go
- fake_node_expansion.go
- fake_persistentvolume.go
- fake_persistentvolumeclaim.go
- fake_pod.go
- fake_pod_expansion.go
- fake_podtemplate.go
- fake_replicationcontroller.go
- fake_resourcequota.go
- fake_secret.go
- fake_service.go
- fake_service_expansion.go
- fake_serviceaccount.go