func (c *FakeEvents) Update(event *api.Event) (result *api.Event, err error) { obj, err := c.Fake. Invokes(core.NewUpdateAction("events", c.ns, event), &api.Event{}) if obj == nil { return nil, err } return obj.(*api.Event), err }
func (c *FakeIngresses) Update(ingress *extensions.Ingress) (result *extensions.Ingress, err error) { obj, err := c.Fake. Invokes(core.NewUpdateAction("ingresses", c.ns, ingress), &extensions.Ingress{}) if obj == nil { return nil, err } return obj.(*extensions.Ingress), err }
func (c *FakePersistentVolumeClaims) Update(persistentVolumeClaim *api.PersistentVolumeClaim) (result *api.PersistentVolumeClaim, err error) { obj, err := c.Fake. Invokes(core.NewUpdateAction("persistentvolumeclaims", c.ns, persistentVolumeClaim), &api.PersistentVolumeClaim{}) if obj == nil { return nil, err } return obj.(*api.PersistentVolumeClaim), err }
func (c *FakePodTemplates) Update(podTemplate *api.PodTemplate) (result *api.PodTemplate, err error) { obj, err := c.Fake. Invokes(core.NewUpdateAction("podtemplates", c.ns, podTemplate), &api.PodTemplate{}) if obj == nil { return nil, err } return obj.(*api.PodTemplate), err }
func (c *FakeDaemonSets) Update(daemonSet *extensions.DaemonSet) (result *extensions.DaemonSet, err error) { obj, err := c.Fake. Invokes(core.NewUpdateAction("daemonsets", c.ns, daemonSet), &extensions.DaemonSet{}) if obj == nil { return nil, err } return obj.(*extensions.DaemonSet), err }
func (c *FakeConfigMaps) Update(configMap *api.ConfigMap) (result *api.ConfigMap, err error) { obj, err := c.Fake. Invokes(core.NewUpdateAction("configmaps", c.ns, configMap), &api.ConfigMap{}) if obj == nil { return nil, err } return obj.(*api.ConfigMap), err }
func (c *FakeThirdPartyResources) Update(thirdPartyResource *extensions.ThirdPartyResource) (result *extensions.ThirdPartyResource, err error) { obj, err := c.Fake. Invokes(core.NewUpdateAction("thirdpartyresources", c.ns, thirdPartyResource), &extensions.ThirdPartyResource{}) if obj == nil { return nil, err } return obj.(*extensions.ThirdPartyResource), err }
func (c *FakeDeployments) Update(deployment *extensions.Deployment) (result *extensions.Deployment, err error) { obj, err := c.Fake. Invokes(core.NewUpdateAction("deployments", c.ns, deployment), &extensions.Deployment{}) if obj == nil { return nil, err } return obj.(*extensions.Deployment), err }
func (c *FakeHorizontalPodAutoscalers) Update(horizontalPodAutoscaler *extensions.HorizontalPodAutoscaler) (result *extensions.HorizontalPodAutoscaler, err error) { obj, err := c.Fake. Invokes(core.NewUpdateAction("horizontalpodautoscalers", c.ns, horizontalPodAutoscaler), &extensions.HorizontalPodAutoscaler{}) if obj == nil { return nil, err } return obj.(*extensions.HorizontalPodAutoscaler), err }
func (c *FakeSecrets) Update(secret *api.Secret) (result *api.Secret, err error) { obj, err := c.Fake. Invokes(core.NewUpdateAction("secrets", c.ns, secret), &api.Secret{}) if obj == nil { return nil, err } return obj.(*api.Secret), err }
func (c *FakePods) Update(pod *api.Pod) (result *api.Pod, err error) { obj, err := c.Fake. Invokes(core.NewUpdateAction("pods", c.ns, pod), &api.Pod{}) if obj == nil { return nil, err } return obj.(*api.Pod), err }
func (c *FakeJobs) Update(job *extensions.Job) (result *extensions.Job, err error) { obj, err := c.Fake. Invokes(core.NewUpdateAction("jobs", c.ns, job), &extensions.Job{}) if obj == nil { return nil, err } return obj.(*extensions.Job), err }
func (c *FakeServices) Update(service *api.Service) (result *api.Service, err error) { obj, err := c.Fake. Invokes(core.NewUpdateAction("services", c.ns, service), &api.Service{}) if obj == nil { return nil, err } return obj.(*api.Service), err }
func (c *FakeReplicationControllers) Update(replicationController *api.ReplicationController) (result *api.ReplicationController, err error) { obj, err := c.Fake. Invokes(core.NewUpdateAction("replicationcontrollers", c.ns, replicationController), &api.ReplicationController{}) if obj == nil { return nil, err } return obj.(*api.ReplicationController), err }
func (c *FakeReplicaSets) Update(replicaSet *extensions.ReplicaSet) (result *extensions.ReplicaSet, err error) { obj, err := c.Fake. Invokes(core.NewUpdateAction("replicasets", c.ns, replicaSet), &extensions.ReplicaSet{}) if obj == nil { return nil, err } return obj.(*extensions.ReplicaSet), err }
func (c *FakeResourceQuotas) Update(resourceQuota *api.ResourceQuota) (result *api.ResourceQuota, err error) { obj, err := c.Fake. Invokes(core.NewUpdateAction("resourcequotas", c.ns, resourceQuota), &api.ResourceQuota{}) if obj == nil { return nil, err } return obj.(*api.ResourceQuota), err }
func (c *FakeLimitRanges) Update(limitRange *api.LimitRange) (result *api.LimitRange, err error) { obj, err := c.Fake. Invokes(core.NewUpdateAction("limitranges", c.ns, limitRange), &api.LimitRange{}) if obj == nil { return nil, err } return obj.(*api.LimitRange), err }
func (c *FakeEndpoints) Update(endpoints *api.Endpoints) (result *api.Endpoints, err error) { obj, err := c.Fake. Invokes(core.NewUpdateAction("endpoints", c.ns, endpoints), &api.Endpoints{}) if obj == nil { return nil, err } return obj.(*api.Endpoints), err }
// Update replaces an existing event. Returns the copy of the event the server returns, or an error. func (c *FakeEvents) UpdateWithEventNamespace(event *api.Event) (*api.Event, error) { action := core.NewRootUpdateAction("events", event) if c.ns != "" { action = core.NewUpdateAction("events", c.ns, event) } obj, err := c.Fake.Invokes(action, event) if obj == nil { return nil, err } return obj.(*api.Event), err }