Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeComponentStatuses
- func (c *FakeComponentStatuses) Create(componentStatus *v1.ComponentStatus) (result *v1.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 *v1.ComponentStatus, err error)
- func (c *FakeComponentStatuses) List(opts api.ListOptions) (result *v1.ComponentStatusList, err error)
- func (c *FakeComponentStatuses) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.ComponentStatus, err error)
- func (c *FakeComponentStatuses) Update(componentStatus *v1.ComponentStatus) (result *v1.ComponentStatus, err error)
- func (c *FakeComponentStatuses) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeConfigMaps
- func (c *FakeConfigMaps) Create(configMap *v1.ConfigMap) (result *v1.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 *v1.ConfigMap, err error)
- func (c *FakeConfigMaps) List(opts api.ListOptions) (result *v1.ConfigMapList, err error)
- func (c *FakeConfigMaps) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.ConfigMap, err error)
- func (c *FakeConfigMaps) Update(configMap *v1.ConfigMap) (result *v1.ConfigMap, err error)
- func (c *FakeConfigMaps) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeCore
- func (c *FakeCore) ComponentStatuses() v1.ComponentStatusInterface
- func (c *FakeCore) ConfigMaps(namespace string) v1.ConfigMapInterface
- func (c *FakeCore) Endpoints(namespace string) v1.EndpointsInterface
- func (c *FakeCore) Events(namespace string) v1.EventInterface
- func (c *FakeCore) GetRESTClient() *rest.RESTClient
- func (c *FakeCore) LimitRanges(namespace string) v1.LimitRangeInterface
- func (c *FakeCore) Namespaces() v1.NamespaceInterface
- func (c *FakeCore) Nodes() v1.NodeInterface
- func (c *FakeCore) PersistentVolumeClaims(namespace string) v1.PersistentVolumeClaimInterface
- func (c *FakeCore) PersistentVolumes() v1.PersistentVolumeInterface
- func (c *FakeCore) PodTemplates(namespace string) v1.PodTemplateInterface
- func (c *FakeCore) Pods(namespace string) v1.PodInterface
- func (c *FakeCore) ReplicationControllers(namespace string) v1.ReplicationControllerInterface
- func (c *FakeCore) ResourceQuotas(namespace string) v1.ResourceQuotaInterface
- func (c *FakeCore) Secrets(namespace string) v1.SecretInterface
- func (c *FakeCore) ServiceAccounts(namespace string) v1.ServiceAccountInterface
- func (c *FakeCore) Services(namespace string) v1.ServiceInterface
- type FakeEndpoints
- func (c *FakeEndpoints) Create(endpoints *v1.Endpoints) (result *v1.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 *v1.Endpoints, err error)
- func (c *FakeEndpoints) List(opts api.ListOptions) (result *v1.EndpointsList, err error)
- func (c *FakeEndpoints) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Endpoints, err error)
- func (c *FakeEndpoints) Update(endpoints *v1.Endpoints) (result *v1.Endpoints, err error)
- func (c *FakeEndpoints) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeEvents
- func (c *FakeEvents) Create(event *v1.Event) (result *v1.Event, err error)
- func (c *FakeEvents) CreateWithEventNamespace(event *v1.Event) (*v1.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 *v1.Event, err error)
- func (c *FakeEvents) GetFieldSelector(involvedObjectName, involvedObjectNamespace, involvedObjectKind, ... *string) fields.Selector
- func (c *FakeEvents) List(opts api.ListOptions) (result *v1.EventList, err error)
- func (c *FakeEvents) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Event, err error)
- func (c *FakeEvents) PatchWithEventNamespace(event *v1.Event, data []byte) (*v1.Event, error)
- func (c *FakeEvents) Search(objOrRef runtime.Object) (*v1.EventList, error)
- func (c *FakeEvents) Update(event *v1.Event) (result *v1.Event, err error)
- func (c *FakeEvents) UpdateWithEventNamespace(event *v1.Event) (*v1.Event, error)
- func (c *FakeEvents) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeLimitRanges
- func (c *FakeLimitRanges) Create(limitRange *v1.LimitRange) (result *v1.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 *v1.LimitRange, err error)
- func (c *FakeLimitRanges) List(opts api.ListOptions) (result *v1.LimitRangeList, err error)
- func (c *FakeLimitRanges) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.LimitRange, err error)
- func (c *FakeLimitRanges) Update(limitRange *v1.LimitRange) (result *v1.LimitRange, err error)
- func (c *FakeLimitRanges) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeNamespaces
- func (c *FakeNamespaces) Create(namespace *v1.Namespace) (result *v1.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 *v1.Namespace) (*v1.Namespace, error)
- func (c *FakeNamespaces) Get(name string) (result *v1.Namespace, err error)
- func (c *FakeNamespaces) List(opts api.ListOptions) (result *v1.NamespaceList, err error)
- func (c *FakeNamespaces) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Namespace, err error)
- func (c *FakeNamespaces) Update(namespace *v1.Namespace) (result *v1.Namespace, err error)
- func (c *FakeNamespaces) UpdateStatus(namespace *v1.Namespace) (*v1.Namespace, error)
- func (c *FakeNamespaces) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeNodes
- func (c *FakeNodes) Create(node *v1.Node) (result *v1.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 *v1.Node, err error)
- func (c *FakeNodes) List(opts api.ListOptions) (result *v1.NodeList, err error)
- func (c *FakeNodes) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Node, err error)
- func (c *FakeNodes) Update(node *v1.Node) (result *v1.Node, err error)
- func (c *FakeNodes) UpdateStatus(node *v1.Node) (*v1.Node, error)
- func (c *FakeNodes) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakePersistentVolumeClaims
- func (c *FakePersistentVolumeClaims) Create(persistentVolumeClaim *v1.PersistentVolumeClaim) (result *v1.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 *v1.PersistentVolumeClaim, err error)
- func (c *FakePersistentVolumeClaims) List(opts api.ListOptions) (result *v1.PersistentVolumeClaimList, err error)
- func (c *FakePersistentVolumeClaims) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.PersistentVolumeClaim, err error)
- func (c *FakePersistentVolumeClaims) Update(persistentVolumeClaim *v1.PersistentVolumeClaim) (result *v1.PersistentVolumeClaim, err error)
- func (c *FakePersistentVolumeClaims) UpdateStatus(persistentVolumeClaim *v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error)
- func (c *FakePersistentVolumeClaims) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakePersistentVolumes
- func (c *FakePersistentVolumes) Create(persistentVolume *v1.PersistentVolume) (result *v1.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 *v1.PersistentVolume, err error)
- func (c *FakePersistentVolumes) List(opts api.ListOptions) (result *v1.PersistentVolumeList, err error)
- func (c *FakePersistentVolumes) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.PersistentVolume, err error)
- func (c *FakePersistentVolumes) Update(persistentVolume *v1.PersistentVolume) (result *v1.PersistentVolume, err error)
- func (c *FakePersistentVolumes) UpdateStatus(persistentVolume *v1.PersistentVolume) (*v1.PersistentVolume, error)
- func (c *FakePersistentVolumes) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakePodTemplates
- func (c *FakePodTemplates) Create(podTemplate *v1.PodTemplate) (result *v1.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 *v1.PodTemplate, err error)
- func (c *FakePodTemplates) List(opts api.ListOptions) (result *v1.PodTemplateList, err error)
- func (c *FakePodTemplates) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.PodTemplate, err error)
- func (c *FakePodTemplates) Update(podTemplate *v1.PodTemplate) (result *v1.PodTemplate, err error)
- func (c *FakePodTemplates) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakePods
- func (c *FakePods) Bind(binding *v1.Binding) error
- func (c *FakePods) Create(pod *v1.Pod) (result *v1.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 *v1.Pod, err error)
- func (c *FakePods) GetLogs(name string, opts *v1.PodLogOptions) *rest.Request
- func (c *FakePods) List(opts api.ListOptions) (result *v1.PodList, err error)
- func (c *FakePods) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Pod, err error)
- func (c *FakePods) Update(pod *v1.Pod) (result *v1.Pod, err error)
- func (c *FakePods) UpdateStatus(pod *v1.Pod) (*v1.Pod, error)
- func (c *FakePods) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeReplicationControllers
- func (c *FakeReplicationControllers) Create(replicationController *v1.ReplicationController) (result *v1.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 *v1.ReplicationController, err error)
- func (c *FakeReplicationControllers) List(opts api.ListOptions) (result *v1.ReplicationControllerList, err error)
- func (c *FakeReplicationControllers) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.ReplicationController, err error)
- func (c *FakeReplicationControllers) Update(replicationController *v1.ReplicationController) (result *v1.ReplicationController, err error)
- func (c *FakeReplicationControllers) UpdateStatus(replicationController *v1.ReplicationController) (*v1.ReplicationController, error)
- func (c *FakeReplicationControllers) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeResourceQuotas
- func (c *FakeResourceQuotas) Create(resourceQuota *v1.ResourceQuota) (result *v1.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 *v1.ResourceQuota, err error)
- func (c *FakeResourceQuotas) List(opts api.ListOptions) (result *v1.ResourceQuotaList, err error)
- func (c *FakeResourceQuotas) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.ResourceQuota, err error)
- func (c *FakeResourceQuotas) Update(resourceQuota *v1.ResourceQuota) (result *v1.ResourceQuota, err error)
- func (c *FakeResourceQuotas) UpdateStatus(resourceQuota *v1.ResourceQuota) (*v1.ResourceQuota, error)
- func (c *FakeResourceQuotas) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeSecrets
- func (c *FakeSecrets) Create(secret *v1.Secret) (result *v1.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 *v1.Secret, err error)
- func (c *FakeSecrets) List(opts api.ListOptions) (result *v1.SecretList, err error)
- func (c *FakeSecrets) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Secret, err error)
- func (c *FakeSecrets) Update(secret *v1.Secret) (result *v1.Secret, err error)
- func (c *FakeSecrets) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeServiceAccounts
- func (c *FakeServiceAccounts) Create(serviceAccount *v1.ServiceAccount) (result *v1.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 *v1.ServiceAccount, err error)
- func (c *FakeServiceAccounts) List(opts api.ListOptions) (result *v1.ServiceAccountList, err error)
- func (c *FakeServiceAccounts) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.ServiceAccount, err error)
- func (c *FakeServiceAccounts) Update(serviceAccount *v1.ServiceAccount) (result *v1.ServiceAccount, err error)
- func (c *FakeServiceAccounts) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeServices
- func (c *FakeServices) Create(service *v1.Service) (result *v1.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 *v1.Service, err error)
- func (c *FakeServices) List(opts api.ListOptions) (result *v1.ServiceList, err error)
- func (c *FakeServices) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Service, err error)
- func (c *FakeServices) ProxyGet(scheme, name, port, path string, params map[string]string) rest.ResponseWrapper
- func (c *FakeServices) Update(service *v1.Service) (result *v1.Service, err error)
- func (c *FakeServices) UpdateStatus(service *v1.Service) (*v1.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 *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 ¶
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 *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) 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() v1.ComponentStatusInterface
func (*FakeCore) ConfigMaps ¶
func (c *FakeCore) ConfigMaps(namespace string) v1.ConfigMapInterface
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) ReplicationControllers ¶
func (c *FakeCore) ReplicationControllers(namespace string) v1.ReplicationControllerInterface
func (*FakeCore) ResourceQuotas ¶
func (c *FakeCore) ResourceQuotas(namespace string) v1.ResourceQuotaInterface
func (*FakeCore) ServiceAccounts ¶
func (c *FakeCore) ServiceAccounts(namespace string) v1.ServiceAccountInterface
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 *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) 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 *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 ¶
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 *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) 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 *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) 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
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 (c *FakePersistentVolumeClaims) List(opts api.ListOptions) (result *v1.PersistentVolumeClaimList, err error)
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 ¶
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 *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 ¶
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 *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 ¶
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
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 (c *FakeReplicationControllers) List(opts api.ListOptions) (result *v1.ReplicationControllerList, err error)
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 ¶
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 *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 ¶
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 *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) 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 ¶
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 *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) 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_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