Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeComponentStatuses
- func (c *FakeComponentStatuses) Create(componentStatus *core.ComponentStatus) (result *core.ComponentStatus, err error)
- func (c *FakeComponentStatuses) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeComponentStatuses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeComponentStatuses) Get(name string, options v1.GetOptions) (result *core.ComponentStatus, err error)
- func (c *FakeComponentStatuses) List(opts v1.ListOptions) (result *core.ComponentStatusList, err error)
- func (c *FakeComponentStatuses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.ComponentStatus, err error)
- func (c *FakeComponentStatuses) Update(componentStatus *core.ComponentStatus) (result *core.ComponentStatus, err error)
- func (c *FakeComponentStatuses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeConfigMaps
- func (c *FakeConfigMaps) Create(configMap *core.ConfigMap) (result *core.ConfigMap, err error)
- func (c *FakeConfigMaps) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeConfigMaps) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeConfigMaps) Get(name string, options v1.GetOptions) (result *core.ConfigMap, err error)
- func (c *FakeConfigMaps) List(opts v1.ListOptions) (result *core.ConfigMapList, err error)
- func (c *FakeConfigMaps) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.ConfigMap, err error)
- func (c *FakeConfigMaps) Update(configMap *core.ConfigMap) (result *core.ConfigMap, err error)
- func (c *FakeConfigMaps) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCore
- func (c *FakeCore) ComponentStatuses() internalversion.ComponentStatusInterface
- func (c *FakeCore) ConfigMaps(namespace string) internalversion.ConfigMapInterface
- func (c *FakeCore) Endpoints(namespace string) internalversion.EndpointsInterface
- func (c *FakeCore) Events(namespace string) internalversion.EventInterface
- func (c *FakeCore) LimitRanges(namespace string) internalversion.LimitRangeInterface
- func (c *FakeCore) Namespaces() internalversion.NamespaceInterface
- func (c *FakeCore) Nodes() internalversion.NodeInterface
- func (c *FakeCore) PersistentVolumeClaims(namespace string) internalversion.PersistentVolumeClaimInterface
- func (c *FakeCore) PersistentVolumes() internalversion.PersistentVolumeInterface
- func (c *FakeCore) PodTemplates(namespace string) internalversion.PodTemplateInterface
- func (c *FakeCore) Pods(namespace string) internalversion.PodInterface
- func (c *FakeCore) RESTClient() rest.Interface
- func (c *FakeCore) ReplicationControllers(namespace string) internalversion.ReplicationControllerInterface
- func (c *FakeCore) ResourceQuotas(namespace string) internalversion.ResourceQuotaInterface
- func (c *FakeCore) Secrets(namespace string) internalversion.SecretInterface
- func (c *FakeCore) ServiceAccounts(namespace string) internalversion.ServiceAccountInterface
- func (c *FakeCore) Services(namespace string) internalversion.ServiceInterface
- type FakeEndpoints
- func (c *FakeEndpoints) Create(endpoints *core.Endpoints) (result *core.Endpoints, err error)
- func (c *FakeEndpoints) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeEndpoints) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeEndpoints) Get(name string, options v1.GetOptions) (result *core.Endpoints, err error)
- func (c *FakeEndpoints) List(opts v1.ListOptions) (result *core.EndpointsList, err error)
- func (c *FakeEndpoints) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.Endpoints, err error)
- func (c *FakeEndpoints) Update(endpoints *core.Endpoints) (result *core.Endpoints, err error)
- func (c *FakeEndpoints) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeEvents
- func (c *FakeEvents) Create(event *core.Event) (result *core.Event, err error)
- func (c *FakeEvents) CreateWithEventNamespace(event *api.Event) (*api.Event, error)
- func (c *FakeEvents) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeEvents) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeEvents) Get(name string, options v1.GetOptions) (result *core.Event, err error)
- func (c *FakeEvents) GetFieldSelector(involvedObjectName, involvedObjectNamespace, involvedObjectKind, ... *string) fields.Selector
- func (c *FakeEvents) List(opts v1.ListOptions) (result *core.EventList, err error)
- func (c *FakeEvents) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.Event, err error)
- func (c *FakeEvents) PatchWithEventNamespace(event *api.Event, data []byte) (*api.Event, error)
- func (c *FakeEvents) Search(scheme *runtime.Scheme, objOrRef runtime.Object) (*api.EventList, error)
- func (c *FakeEvents) Update(event *core.Event) (result *core.Event, err error)
- func (c *FakeEvents) UpdateWithEventNamespace(event *api.Event) (*api.Event, error)
- func (c *FakeEvents) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeLimitRanges
- func (c *FakeLimitRanges) Create(limitRange *core.LimitRange) (result *core.LimitRange, err error)
- func (c *FakeLimitRanges) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeLimitRanges) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeLimitRanges) Get(name string, options v1.GetOptions) (result *core.LimitRange, err error)
- func (c *FakeLimitRanges) List(opts v1.ListOptions) (result *core.LimitRangeList, err error)
- func (c *FakeLimitRanges) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.LimitRange, err error)
- func (c *FakeLimitRanges) Update(limitRange *core.LimitRange) (result *core.LimitRange, err error)
- func (c *FakeLimitRanges) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeNamespaces
- func (c *FakeNamespaces) Create(namespace *core.Namespace) (result *core.Namespace, err error)
- func (c *FakeNamespaces) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeNamespaces) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeNamespaces) Finalize(namespace *api.Namespace) (*api.Namespace, error)
- func (c *FakeNamespaces) Get(name string, options v1.GetOptions) (result *core.Namespace, err error)
- func (c *FakeNamespaces) List(opts v1.ListOptions) (result *core.NamespaceList, err error)
- func (c *FakeNamespaces) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.Namespace, err error)
- func (c *FakeNamespaces) Update(namespace *core.Namespace) (result *core.Namespace, err error)
- func (c *FakeNamespaces) UpdateStatus(namespace *core.Namespace) (*core.Namespace, error)
- func (c *FakeNamespaces) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeNodes
- func (c *FakeNodes) Create(node *core.Node) (result *core.Node, err error)
- func (c *FakeNodes) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeNodes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeNodes) Get(name string, options v1.GetOptions) (result *core.Node, err error)
- func (c *FakeNodes) List(opts v1.ListOptions) (result *core.NodeList, err error)
- func (c *FakeNodes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.Node, err error)
- func (c *FakeNodes) PatchStatus(nodeName string, data []byte) (*api.Node, error)
- func (c *FakeNodes) Update(node *core.Node) (result *core.Node, err error)
- func (c *FakeNodes) UpdateStatus(node *core.Node) (*core.Node, error)
- func (c *FakeNodes) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakePersistentVolumeClaims
- func (c *FakePersistentVolumeClaims) Create(persistentVolumeClaim *core.PersistentVolumeClaim) (result *core.PersistentVolumeClaim, err error)
- func (c *FakePersistentVolumeClaims) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePersistentVolumeClaims) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePersistentVolumeClaims) Get(name string, options v1.GetOptions) (result *core.PersistentVolumeClaim, err error)
- func (c *FakePersistentVolumeClaims) List(opts v1.ListOptions) (result *core.PersistentVolumeClaimList, err error)
- func (c *FakePersistentVolumeClaims) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.PersistentVolumeClaim, err error)
- func (c *FakePersistentVolumeClaims) Update(persistentVolumeClaim *core.PersistentVolumeClaim) (result *core.PersistentVolumeClaim, err error)
- func (c *FakePersistentVolumeClaims) UpdateStatus(persistentVolumeClaim *core.PersistentVolumeClaim) (*core.PersistentVolumeClaim, error)
- func (c *FakePersistentVolumeClaims) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakePersistentVolumes
- func (c *FakePersistentVolumes) Create(persistentVolume *core.PersistentVolume) (result *core.PersistentVolume, err error)
- func (c *FakePersistentVolumes) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePersistentVolumes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePersistentVolumes) Get(name string, options v1.GetOptions) (result *core.PersistentVolume, err error)
- func (c *FakePersistentVolumes) List(opts v1.ListOptions) (result *core.PersistentVolumeList, err error)
- func (c *FakePersistentVolumes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.PersistentVolume, err error)
- func (c *FakePersistentVolumes) Update(persistentVolume *core.PersistentVolume) (result *core.PersistentVolume, err error)
- func (c *FakePersistentVolumes) UpdateStatus(persistentVolume *core.PersistentVolume) (*core.PersistentVolume, error)
- func (c *FakePersistentVolumes) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakePodTemplates
- func (c *FakePodTemplates) Create(podTemplate *core.PodTemplate) (result *core.PodTemplate, err error)
- func (c *FakePodTemplates) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePodTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePodTemplates) Get(name string, options v1.GetOptions) (result *core.PodTemplate, err error)
- func (c *FakePodTemplates) List(opts v1.ListOptions) (result *core.PodTemplateList, err error)
- func (c *FakePodTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.PodTemplate, err error)
- func (c *FakePodTemplates) Update(podTemplate *core.PodTemplate) (result *core.PodTemplate, err error)
- func (c *FakePodTemplates) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakePods
- func (c *FakePods) Bind(binding *api.Binding) error
- func (c *FakePods) Create(pod *core.Pod) (result *core.Pod, err error)
- func (c *FakePods) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePods) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePods) Get(name string, options v1.GetOptions) (result *core.Pod, err error)
- func (c *FakePods) GetLogs(name string, opts *api.PodLogOptions) *restclient.Request
- func (c *FakePods) List(opts v1.ListOptions) (result *core.PodList, err error)
- func (c *FakePods) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.Pod, err error)
- func (c *FakePods) Update(pod *core.Pod) (result *core.Pod, err error)
- func (c *FakePods) UpdateStatus(pod *core.Pod) (*core.Pod, error)
- func (c *FakePods) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeReplicationControllers
- func (c *FakeReplicationControllers) Create(replicationController *core.ReplicationController) (result *core.ReplicationController, err error)
- func (c *FakeReplicationControllers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeReplicationControllers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeReplicationControllers) Get(name string, options v1.GetOptions) (result *core.ReplicationController, err error)
- func (c *FakeReplicationControllers) GetScale(replicationControllerName string, options v1.GetOptions) (result *autoscaling.Scale, err error)
- func (c *FakeReplicationControllers) List(opts v1.ListOptions) (result *core.ReplicationControllerList, err error)
- func (c *FakeReplicationControllers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.ReplicationController, err error)
- func (c *FakeReplicationControllers) Update(replicationController *core.ReplicationController) (result *core.ReplicationController, err error)
- func (c *FakeReplicationControllers) UpdateScale(replicationControllerName string, scale *autoscaling.Scale) (result *autoscaling.Scale, err error)
- func (c *FakeReplicationControllers) UpdateStatus(replicationController *core.ReplicationController) (*core.ReplicationController, error)
- func (c *FakeReplicationControllers) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeResourceQuotas
- func (c *FakeResourceQuotas) Create(resourceQuota *core.ResourceQuota) (result *core.ResourceQuota, err error)
- func (c *FakeResourceQuotas) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeResourceQuotas) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeResourceQuotas) Get(name string, options v1.GetOptions) (result *core.ResourceQuota, err error)
- func (c *FakeResourceQuotas) List(opts v1.ListOptions) (result *core.ResourceQuotaList, err error)
- func (c *FakeResourceQuotas) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.ResourceQuota, err error)
- func (c *FakeResourceQuotas) Update(resourceQuota *core.ResourceQuota) (result *core.ResourceQuota, err error)
- func (c *FakeResourceQuotas) UpdateStatus(resourceQuota *core.ResourceQuota) (*core.ResourceQuota, error)
- func (c *FakeResourceQuotas) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeSecrets
- func (c *FakeSecrets) Create(secret *core.Secret) (result *core.Secret, err error)
- func (c *FakeSecrets) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeSecrets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeSecrets) Get(name string, options v1.GetOptions) (result *core.Secret, err error)
- func (c *FakeSecrets) List(opts v1.ListOptions) (result *core.SecretList, err error)
- func (c *FakeSecrets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.Secret, err error)
- func (c *FakeSecrets) Update(secret *core.Secret) (result *core.Secret, err error)
- func (c *FakeSecrets) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeServiceAccounts
- func (c *FakeServiceAccounts) Create(serviceAccount *core.ServiceAccount) (result *core.ServiceAccount, err error)
- func (c *FakeServiceAccounts) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeServiceAccounts) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeServiceAccounts) Get(name string, options v1.GetOptions) (result *core.ServiceAccount, err error)
- func (c *FakeServiceAccounts) List(opts v1.ListOptions) (result *core.ServiceAccountList, err error)
- func (c *FakeServiceAccounts) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.ServiceAccount, err error)
- func (c *FakeServiceAccounts) Update(serviceAccount *core.ServiceAccount) (result *core.ServiceAccount, err error)
- func (c *FakeServiceAccounts) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeServices
- func (c *FakeServices) Create(service *core.Service) (result *core.Service, err error)
- func (c *FakeServices) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeServices) Get(name string, options v1.GetOptions) (result *core.Service, err error)
- func (c *FakeServices) List(opts v1.ListOptions) (result *core.ServiceList, err error)
- func (c *FakeServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.Service, err error)
- func (c *FakeServices) ProxyGet(scheme, name, port, path string, params map[string]string) restclient.ResponseWrapper
- func (c *FakeServices) Update(service *core.Service) (result *core.Service, err error)
- func (c *FakeServices) UpdateStatus(service *core.Service) (*core.Service, error)
- func (c *FakeServices) Watch(opts v1.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 *core.ComponentStatus) (result *core.ComponentStatus, err error)
Create takes the representation of a componentStatus and creates it. Returns the server's representation of the componentStatus, and an error, if there is any.
func (*FakeComponentStatuses) Delete ¶
func (c *FakeComponentStatuses) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the componentStatus and deletes it. Returns an error if one occurs.
func (*FakeComponentStatuses) DeleteCollection ¶
func (c *FakeComponentStatuses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeComponentStatuses) Get ¶
func (c *FakeComponentStatuses) Get(name string, options v1.GetOptions) (result *core.ComponentStatus, err error)
Get takes name of the componentStatus, and returns the corresponding componentStatus object, and an error if there is any.
func (*FakeComponentStatuses) List ¶
func (c *FakeComponentStatuses) List(opts v1.ListOptions) (result *core.ComponentStatusList, err error)
List takes label and field selectors, and returns the list of ComponentStatuses that match those selectors.
func (*FakeComponentStatuses) Patch ¶
func (c *FakeComponentStatuses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.ComponentStatus, err error)
Patch applies the patch and returns the patched componentStatus.
func (*FakeComponentStatuses) Update ¶
func (c *FakeComponentStatuses) Update(componentStatus *core.ComponentStatus) (result *core.ComponentStatus, err error)
Update takes the representation of a componentStatus and updates it. Returns the server's representation of the componentStatus, and an error, if there is any.
func (*FakeComponentStatuses) Watch ¶
func (c *FakeComponentStatuses) Watch(opts v1.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) Create ¶
Create takes the representation of a configMap and creates it. Returns the server's representation of the configMap, and an error, if there is any.
func (*FakeConfigMaps) Delete ¶
func (c *FakeConfigMaps) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the configMap and deletes it. Returns an error if one occurs.
func (*FakeConfigMaps) DeleteCollection ¶
func (c *FakeConfigMaps) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConfigMaps) Get ¶
func (c *FakeConfigMaps) Get(name string, options v1.GetOptions) (result *core.ConfigMap, err error)
Get takes name of the configMap, and returns the corresponding configMap object, and an error if there is any.
func (*FakeConfigMaps) List ¶
func (c *FakeConfigMaps) List(opts v1.ListOptions) (result *core.ConfigMapList, err error)
List takes label and field selectors, and returns the list of ConfigMaps that match those selectors.
func (*FakeConfigMaps) Patch ¶
func (c *FakeConfigMaps) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.ConfigMap, err error)
Patch applies the patch and returns the patched configMap.
func (*FakeConfigMaps) Update ¶
Update takes the representation of a configMap and updates it. Returns the server's representation of the configMap, and an error, if there is any.
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 ¶
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 (c *FakeCore) Namespaces() internalversion.NamespaceInterface
func (*FakeCore) Nodes ¶
func (c *FakeCore) Nodes() internalversion.NodeInterface
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 ¶
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 ¶
Create takes the representation of a endpoints and creates it. Returns the server's representation of the endpoints, and an error, if there is any.
func (*FakeEndpoints) Delete ¶
func (c *FakeEndpoints) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the endpoints and deletes it. Returns an error if one occurs.
func (*FakeEndpoints) DeleteCollection ¶
func (c *FakeEndpoints) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEndpoints) Get ¶
func (c *FakeEndpoints) Get(name string, options v1.GetOptions) (result *core.Endpoints, err error)
Get takes name of the endpoints, and returns the corresponding endpoints object, and an error if there is any.
func (*FakeEndpoints) List ¶
func (c *FakeEndpoints) List(opts v1.ListOptions) (result *core.EndpointsList, err error)
List takes label and field selectors, and returns the list of Endpoints that match those selectors.
func (*FakeEndpoints) Patch ¶
func (c *FakeEndpoints) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.Endpoints, err error)
Patch applies the patch and returns the patched endpoints.
func (*FakeEndpoints) Update ¶
Update takes the representation of a endpoints and updates it. Returns the server's representation of the endpoints, and an error, if there is any.
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 ¶
Create takes the representation of a event and creates it. Returns the server's representation of the event, and an error, if there is any.
func (*FakeEvents) CreateWithEventNamespace ¶
func (*FakeEvents) Delete ¶
func (c *FakeEvents) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the event and deletes it. Returns an error if one occurs.
func (*FakeEvents) DeleteCollection ¶
func (c *FakeEvents) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEvents) Get ¶
func (c *FakeEvents) Get(name string, options v1.GetOptions) (result *core.Event, err error)
Get takes name of the event, and returns the corresponding event object, and an error if there is any.
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 *core.EventList, err error)
List takes label and field selectors, and returns the list of Events that match those selectors.
func (*FakeEvents) Patch ¶
func (c *FakeEvents) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.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) 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 ¶
Update takes the representation of a event and updates it. Returns the server's representation of the event, and an error, if there is any.
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 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 *core.LimitRange) (result *core.LimitRange, err error)
Create takes the representation of a limitRange and creates it. Returns the server's representation of the limitRange, and an error, if there is any.
func (*FakeLimitRanges) Delete ¶
func (c *FakeLimitRanges) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the limitRange and deletes it. Returns an error if one occurs.
func (*FakeLimitRanges) DeleteCollection ¶
func (c *FakeLimitRanges) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeLimitRanges) Get ¶
func (c *FakeLimitRanges) Get(name string, options v1.GetOptions) (result *core.LimitRange, err error)
Get takes name of the limitRange, and returns the corresponding limitRange object, and an error if there is any.
func (*FakeLimitRanges) List ¶
func (c *FakeLimitRanges) List(opts v1.ListOptions) (result *core.LimitRangeList, err error)
List takes label and field selectors, and returns the list of LimitRanges that match those selectors.
func (*FakeLimitRanges) Patch ¶
func (c *FakeLimitRanges) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.LimitRange, err error)
Patch applies the patch and returns the patched limitRange.
func (*FakeLimitRanges) Update ¶
func (c *FakeLimitRanges) Update(limitRange *core.LimitRange) (result *core.LimitRange, err error)
Update takes the representation of a limitRange and updates it. Returns the server's representation of the limitRange, and an error, if there is any.
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 ¶
Create takes the representation of a namespace and creates it. Returns the server's representation of the namespace, and an error, if there is any.
func (*FakeNamespaces) Delete ¶
func (c *FakeNamespaces) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the namespace and deletes it. Returns an error if one occurs.
func (*FakeNamespaces) DeleteCollection ¶
func (c *FakeNamespaces) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNamespaces) Get ¶
func (c *FakeNamespaces) Get(name string, options v1.GetOptions) (result *core.Namespace, err error)
Get takes name of the namespace, and returns the corresponding namespace object, and an error if there is any.
func (*FakeNamespaces) List ¶
func (c *FakeNamespaces) List(opts v1.ListOptions) (result *core.NamespaceList, err error)
List takes label and field selectors, and returns the list of Namespaces that match those selectors.
func (*FakeNamespaces) Patch ¶
func (c *FakeNamespaces) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.Namespace, err error)
Patch applies the patch and returns the patched namespace.
func (*FakeNamespaces) Update ¶
Update takes the representation of a namespace and updates it. Returns the server's representation of the namespace, and an error, if there is any.
func (*FakeNamespaces) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
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 ¶
Create takes the representation of a node and creates it. Returns the server's representation of the node, and an error, if there is any.
func (*FakeNodes) Delete ¶
func (c *FakeNodes) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the node and deletes it. Returns an error if one occurs.
func (*FakeNodes) DeleteCollection ¶
func (c *FakeNodes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodes) Get ¶
Get takes name of the node, and returns the corresponding node object, and an error if there is any.
func (*FakeNodes) List ¶
List takes label and field selectors, and returns the list of Nodes that match those selectors.
func (*FakeNodes) Patch ¶
func (c *FakeNodes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.Node, err error)
Patch applies the patch and returns the patched node.
func (*FakeNodes) PatchStatus ¶
func (*FakeNodes) Update ¶
Update takes the representation of a node and updates it. Returns the server's representation of the node, and an error, if there is any.
func (*FakeNodes) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakePersistentVolumeClaims ¶
type FakePersistentVolumeClaims struct { Fake *FakeCore // contains filtered or unexported fields }
FakePersistentVolumeClaims implements PersistentVolumeClaimInterface
func (*FakePersistentVolumeClaims) Create ¶
func (c *FakePersistentVolumeClaims) Create(persistentVolumeClaim *core.PersistentVolumeClaim) (result *core.PersistentVolumeClaim, err error)
Create takes the representation of a persistentVolumeClaim and creates it. Returns the server's representation of the persistentVolumeClaim, and an error, if there is any.
func (*FakePersistentVolumeClaims) Delete ¶
func (c *FakePersistentVolumeClaims) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the persistentVolumeClaim and deletes it. Returns an error if one occurs.
func (*FakePersistentVolumeClaims) DeleteCollection ¶
func (c *FakePersistentVolumeClaims) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePersistentVolumeClaims) Get ¶
func (c *FakePersistentVolumeClaims) Get(name string, options v1.GetOptions) (result *core.PersistentVolumeClaim, err error)
Get takes name of the persistentVolumeClaim, and returns the corresponding persistentVolumeClaim object, and an error if there is any.
func (*FakePersistentVolumeClaims) List ¶
func (c *FakePersistentVolumeClaims) List(opts v1.ListOptions) (result *core.PersistentVolumeClaimList, err error)
List takes label and field selectors, and returns the list of PersistentVolumeClaims that match those selectors.
func (*FakePersistentVolumeClaims) Patch ¶
func (c *FakePersistentVolumeClaims) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.PersistentVolumeClaim, err error)
Patch applies the patch and returns the patched persistentVolumeClaim.
func (*FakePersistentVolumeClaims) Update ¶
func (c *FakePersistentVolumeClaims) Update(persistentVolumeClaim *core.PersistentVolumeClaim) (result *core.PersistentVolumeClaim, err error)
Update takes the representation of a persistentVolumeClaim and updates it. Returns the server's representation of the persistentVolumeClaim, and an error, if there is any.
func (*FakePersistentVolumeClaims) UpdateStatus ¶
func (c *FakePersistentVolumeClaims) UpdateStatus(persistentVolumeClaim *core.PersistentVolumeClaim) (*core.PersistentVolumeClaim, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePersistentVolumeClaims) Watch ¶
func (c *FakePersistentVolumeClaims) Watch(opts v1.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 *core.PersistentVolume) (result *core.PersistentVolume, err error)
Create takes the representation of a persistentVolume and creates it. Returns the server's representation of the persistentVolume, and an error, if there is any.
func (*FakePersistentVolumes) Delete ¶
func (c *FakePersistentVolumes) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the persistentVolume and deletes it. Returns an error if one occurs.
func (*FakePersistentVolumes) DeleteCollection ¶
func (c *FakePersistentVolumes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePersistentVolumes) Get ¶
func (c *FakePersistentVolumes) Get(name string, options v1.GetOptions) (result *core.PersistentVolume, err error)
Get takes name of the persistentVolume, and returns the corresponding persistentVolume object, and an error if there is any.
func (*FakePersistentVolumes) List ¶
func (c *FakePersistentVolumes) List(opts v1.ListOptions) (result *core.PersistentVolumeList, err error)
List takes label and field selectors, and returns the list of PersistentVolumes that match those selectors.
func (*FakePersistentVolumes) Patch ¶
func (c *FakePersistentVolumes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.PersistentVolume, err error)
Patch applies the patch and returns the patched persistentVolume.
func (*FakePersistentVolumes) Update ¶
func (c *FakePersistentVolumes) Update(persistentVolume *core.PersistentVolume) (result *core.PersistentVolume, err error)
Update takes the representation of a persistentVolume and updates it. Returns the server's representation of the persistentVolume, and an error, if there is any.
func (*FakePersistentVolumes) UpdateStatus ¶
func (c *FakePersistentVolumes) UpdateStatus(persistentVolume *core.PersistentVolume) (*core.PersistentVolume, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePersistentVolumes) Watch ¶
func (c *FakePersistentVolumes) Watch(opts v1.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 *core.PodTemplate) (result *core.PodTemplate, err error)
Create takes the representation of a podTemplate and creates it. Returns the server's representation of the podTemplate, and an error, if there is any.
func (*FakePodTemplates) Delete ¶
func (c *FakePodTemplates) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the podTemplate and deletes it. Returns an error if one occurs.
func (*FakePodTemplates) DeleteCollection ¶
func (c *FakePodTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePodTemplates) Get ¶
func (c *FakePodTemplates) Get(name string, options v1.GetOptions) (result *core.PodTemplate, err error)
Get takes name of the podTemplate, and returns the corresponding podTemplate object, and an error if there is any.
func (*FakePodTemplates) List ¶
func (c *FakePodTemplates) List(opts v1.ListOptions) (result *core.PodTemplateList, err error)
List takes label and field selectors, and returns the list of PodTemplates that match those selectors.
func (*FakePodTemplates) Patch ¶
func (c *FakePodTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.PodTemplate, err error)
Patch applies the patch and returns the patched podTemplate.
func (*FakePodTemplates) Update ¶
func (c *FakePodTemplates) Update(podTemplate *core.PodTemplate) (result *core.PodTemplate, err error)
Update takes the representation of a podTemplate and updates it. Returns the server's representation of the podTemplate, and an error, if there is any.
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) Create ¶
Create takes the representation of a pod and creates it. Returns the server's representation of the pod, and an error, if there is any.
func (*FakePods) Delete ¶
func (c *FakePods) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the pod and deletes it. Returns an error if one occurs.
func (*FakePods) DeleteCollection ¶
func (c *FakePods) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePods) Get ¶
Get takes name of the pod, and returns the corresponding pod object, and an error if there is any.
func (*FakePods) GetLogs ¶
func (c *FakePods) GetLogs(name string, opts *api.PodLogOptions) *restclient.Request
func (*FakePods) List ¶
List takes label and field selectors, and returns the list of Pods that match those selectors.
func (*FakePods) Patch ¶
func (c *FakePods) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.Pod, err error)
Patch applies the patch and returns the patched pod.
func (*FakePods) Update ¶
Update takes the representation of a pod and updates it. Returns the server's representation of the pod, and an error, if there is any.
func (*FakePods) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeReplicationControllers ¶
type FakeReplicationControllers struct { Fake *FakeCore // contains filtered or unexported fields }
FakeReplicationControllers implements ReplicationControllerInterface
func (*FakeReplicationControllers) Create ¶
func (c *FakeReplicationControllers) Create(replicationController *core.ReplicationController) (result *core.ReplicationController, err error)
Create takes the representation of a replicationController and creates it. Returns the server's representation of the replicationController, and an error, if there is any.
func (*FakeReplicationControllers) Delete ¶
func (c *FakeReplicationControllers) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the replicationController and deletes it. Returns an error if one occurs.
func (*FakeReplicationControllers) DeleteCollection ¶
func (c *FakeReplicationControllers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeReplicationControllers) Get ¶
func (c *FakeReplicationControllers) Get(name string, options v1.GetOptions) (result *core.ReplicationController, err error)
Get takes name of the replicationController, and returns the corresponding replicationController object, and an error if there is any.
func (*FakeReplicationControllers) GetScale ¶ added in v1.8.8
func (c *FakeReplicationControllers) GetScale(replicationControllerName string, options v1.GetOptions) (result *autoscaling.Scale, err error)
GetScale takes name of the replicationController, and returns the corresponding scale object, and an error if there is any.
func (*FakeReplicationControllers) List ¶
func (c *FakeReplicationControllers) List(opts v1.ListOptions) (result *core.ReplicationControllerList, err error)
List takes label and field selectors, and returns the list of ReplicationControllers that match those selectors.
func (*FakeReplicationControllers) Patch ¶
func (c *FakeReplicationControllers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.ReplicationController, err error)
Patch applies the patch and returns the patched replicationController.
func (*FakeReplicationControllers) Update ¶
func (c *FakeReplicationControllers) Update(replicationController *core.ReplicationController) (result *core.ReplicationController, err error)
Update takes the representation of a replicationController and updates it. Returns the server's representation of the replicationController, and an error, if there is any.
func (*FakeReplicationControllers) UpdateScale ¶ added in v1.8.8
func (c *FakeReplicationControllers) UpdateScale(replicationControllerName string, scale *autoscaling.Scale) (result *autoscaling.Scale, err error)
UpdateScale takes the representation of a scale and updates it. Returns the server's representation of the scale, and an error, if there is any.
func (*FakeReplicationControllers) UpdateStatus ¶
func (c *FakeReplicationControllers) UpdateStatus(replicationController *core.ReplicationController) (*core.ReplicationController, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeReplicationControllers) Watch ¶
func (c *FakeReplicationControllers) Watch(opts v1.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 *core.ResourceQuota) (result *core.ResourceQuota, err error)
Create takes the representation of a resourceQuota and creates it. Returns the server's representation of the resourceQuota, and an error, if there is any.
func (*FakeResourceQuotas) Delete ¶
func (c *FakeResourceQuotas) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the resourceQuota and deletes it. Returns an error if one occurs.
func (*FakeResourceQuotas) DeleteCollection ¶
func (c *FakeResourceQuotas) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeResourceQuotas) Get ¶
func (c *FakeResourceQuotas) Get(name string, options v1.GetOptions) (result *core.ResourceQuota, err error)
Get takes name of the resourceQuota, and returns the corresponding resourceQuota object, and an error if there is any.
func (*FakeResourceQuotas) List ¶
func (c *FakeResourceQuotas) List(opts v1.ListOptions) (result *core.ResourceQuotaList, err error)
List takes label and field selectors, and returns the list of ResourceQuotas that match those selectors.
func (*FakeResourceQuotas) Patch ¶
func (c *FakeResourceQuotas) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.ResourceQuota, err error)
Patch applies the patch and returns the patched resourceQuota.
func (*FakeResourceQuotas) Update ¶
func (c *FakeResourceQuotas) Update(resourceQuota *core.ResourceQuota) (result *core.ResourceQuota, err error)
Update takes the representation of a resourceQuota and updates it. Returns the server's representation of the resourceQuota, and an error, if there is any.
func (*FakeResourceQuotas) UpdateStatus ¶
func (c *FakeResourceQuotas) UpdateStatus(resourceQuota *core.ResourceQuota) (*core.ResourceQuota, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeResourceQuotas) Watch ¶
func (c *FakeResourceQuotas) Watch(opts v1.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) Create ¶
Create takes the representation of a secret and creates it. Returns the server's representation of the secret, and an error, if there is any.
func (*FakeSecrets) Delete ¶
func (c *FakeSecrets) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the secret and deletes it. Returns an error if one occurs.
func (*FakeSecrets) DeleteCollection ¶
func (c *FakeSecrets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSecrets) Get ¶
func (c *FakeSecrets) Get(name string, options v1.GetOptions) (result *core.Secret, err error)
Get takes name of the secret, and returns the corresponding secret object, and an error if there is any.
func (*FakeSecrets) List ¶
func (c *FakeSecrets) List(opts v1.ListOptions) (result *core.SecretList, err error)
List takes label and field selectors, and returns the list of Secrets that match those selectors.
func (*FakeSecrets) Patch ¶
func (c *FakeSecrets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.Secret, err error)
Patch applies the patch and returns the patched secret.
func (*FakeSecrets) Update ¶
Update takes the representation of a secret and updates it. Returns the server's representation of the secret, and an error, if there is any.
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 *core.ServiceAccount) (result *core.ServiceAccount, err error)
Create takes the representation of a serviceAccount and creates it. Returns the server's representation of the serviceAccount, and an error, if there is any.
func (*FakeServiceAccounts) Delete ¶
func (c *FakeServiceAccounts) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the serviceAccount and deletes it. Returns an error if one occurs.
func (*FakeServiceAccounts) DeleteCollection ¶
func (c *FakeServiceAccounts) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceAccounts) Get ¶
func (c *FakeServiceAccounts) Get(name string, options v1.GetOptions) (result *core.ServiceAccount, err error)
Get takes name of the serviceAccount, and returns the corresponding serviceAccount object, and an error if there is any.
func (*FakeServiceAccounts) List ¶
func (c *FakeServiceAccounts) List(opts v1.ListOptions) (result *core.ServiceAccountList, err error)
List takes label and field selectors, and returns the list of ServiceAccounts that match those selectors.
func (*FakeServiceAccounts) Patch ¶
func (c *FakeServiceAccounts) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.ServiceAccount, err error)
Patch applies the patch and returns the patched serviceAccount.
func (*FakeServiceAccounts) Update ¶
func (c *FakeServiceAccounts) Update(serviceAccount *core.ServiceAccount) (result *core.ServiceAccount, err error)
Update takes the representation of a serviceAccount and updates it. Returns the server's representation of the serviceAccount, and an error, if there is any.
func (*FakeServiceAccounts) Watch ¶
func (c *FakeServiceAccounts) Watch(opts v1.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) Create ¶
Create takes the representation of a service and creates it. Returns the server's representation of the service, and an error, if there is any.
func (*FakeServices) Delete ¶
func (c *FakeServices) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the service and deletes it. Returns an error if one occurs.
func (*FakeServices) DeleteCollection ¶
func (c *FakeServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServices) Get ¶
func (c *FakeServices) Get(name string, options v1.GetOptions) (result *core.Service, err error)
Get takes name of the service, and returns the corresponding service object, and an error if there is any.
func (*FakeServices) List ¶
func (c *FakeServices) List(opts v1.ListOptions) (result *core.ServiceList, err error)
List takes label and field selectors, and returns the list of Services that match those selectors.
func (*FakeServices) Patch ¶
func (c *FakeServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.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 ¶
Update takes the representation of a service and updates it. Returns the server's representation of the service, and an error, if there is any.
func (*FakeServices) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServices) Watch ¶
func (c *FakeServices) Watch(opts v1.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