k3s/pkg/client
Federico Simoncelli 8849cf21d3 event: fallback to creation when update fails
Updating may fail because the item was removed from apiserver. This
patch makes sure to retry using creation instead of update.

Fixes #6289

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-04-02 09:15:01 -04:00
..
cache Add a "delta fifo", which queues up object changes 2015-03-31 10:25:29 -07:00
clientcmd Replace automatic YAML decoding with opt-in YAML decoding 2015-03-20 00:03:56 -04:00
portforward Fixing a lot of string formatting issues with regards to: 2015-03-31 16:47:10 -07:00
record event: fallback to creation when update fails 2015-04-02 09:15:01 -04:00
remotecommand Fixing a lot of string formatting issues with regards to: 2015-03-31 16:47:10 -07:00
testdata Added test cases for NewKubeletClient with TLS enabled 2014-12-18 00:57:33 -08:00
client.go Merge pull request #5233 from brendandburns/labels 2015-03-16 16:01:37 -07:00
client_test.go Clients should not check conditions, UpdateStatus() is inconsistent 2015-03-25 16:25:04 -04:00
conditions.go Add a rollingupdate lib and command to kubectl 2015-01-06 17:29:05 -08:00
containerinfo.go Rename cAdvisor info API to cadvisorApi 2015-03-06 16:06:38 -08:00
containerinfo_test.go Rename cAdvisor info API to cadvisorApi 2015-03-06 16:06:38 -08:00
doc.go Rename ListPods methods to List. 2015-01-09 23:46:02 -08:00
endpoints.go Clients should not check conditions, UpdateStatus() is inconsistent 2015-03-25 16:25:04 -04:00
endpoints_test.go Implement multi-port endpoints 2015-03-27 12:36:32 -07:00
events.go Fixed an issue on searching events by a given fieldSelector. The issue break 2015-03-26 10:00:10 -07:00
events_test.go Updating unit tests for pkg/client so that they pass with v1beta3 api 2015-03-24 18:54:02 -07:00
fake.go Merge pull request #5233 from brendandburns/labels 2015-03-16 16:01:37 -07:00
fake_endpoints.go Finalize fields.Selector 2015-03-17 22:55:43 +01:00
fake_events.go Adding GetFieldSelector() to client.EventInterface 2015-03-20 13:58:23 -07:00
fake_limit_ranges.go Finalize fields.Selector 2015-03-17 22:55:43 +01:00
fake_minions.go Running node selector predicate on kubelet. 2015-03-23 08:21:58 +01:00
fake_namespaces.go Do not block admission if namespace already exists 2015-03-26 15:59:09 -04:00
fake_pods.go Clients should not check conditions, UpdateStatus() is inconsistent 2015-03-25 16:25:04 -04:00
fake_replication_controllers.go Finalize fields.Selector 2015-03-17 22:55:43 +01:00
fake_resource_quotas.go Clients should not check conditions, UpdateStatus() is inconsistent 2015-03-25 16:25:04 -04:00
fake_secrets.go Finalize fields.Selector 2015-03-17 22:55:43 +01:00
fake_services.go Finalize fields.Selector 2015-03-17 22:55:43 +01:00
fake_test.go Replace pkg/kubecfg#FakeKubeClient with the fake in pkg/client 2014-08-15 17:15:53 -04:00
flags.go Add timeout to kubelet client 2015-03-20 18:46:45 -07:00
flags_test.go Add timeout to kubelet client 2015-03-20 18:46:45 -07:00
helper.go Add timeout to kubelet client 2015-03-20 18:46:45 -07:00
helper_test.go Fixing a lot of string formatting issues with regards to: 2015-03-31 16:47:10 -07:00
kubelet.go Revert "Configure the kubelet to use HTTPS" 2015-04-01 13:59:31 -07:00
kubelet_test.go Changed PodInfo to be a list 2015-03-26 10:15:25 +01:00
limit_ranges.go Clients should not check conditions, UpdateStatus() is inconsistent 2015-03-25 16:25:04 -04:00
limit_ranges_test.go Updating unit tests for pkg/client so that they pass with v1beta3 api 2015-03-24 18:54:02 -07:00
namespaces.go Clients should not check conditions, UpdateStatus() is inconsistent 2015-03-25 16:25:04 -04:00
namespaces_test.go Updating unit tests for pkg/client so that they pass with v1beta3 api 2015-03-24 18:54:02 -07:00
nodes.go Move Capacity from NodeSpec to NodeStatus 2015-03-26 15:28:48 +01:00
nodes_test.go Move Capacity from NodeSpec to NodeStatus 2015-03-26 15:28:48 +01:00
pods.go Clients should not check conditions, UpdateStatus() is inconsistent 2015-03-25 16:25:04 -04:00
pods_test.go Updating unit tests for pkg/client so that they pass with v1beta3 api 2015-03-24 18:54:02 -07:00
replication_controllers.go Clients should not check conditions, UpdateStatus() is inconsistent 2015-03-25 16:25:04 -04:00
replication_controllers_test.go Updating unit tests for pkg/client so that they pass with v1beta3 api 2015-03-24 18:54:02 -07:00
request.go Updated documentation and adjusted field names 2015-03-27 17:08:59 -04:00
request_test.go Merge pull request #6252 from krousey/string_format_cleanup 2015-03-31 16:57:36 -07:00
resource_quotas.go Clients should not check conditions, UpdateStatus() is inconsistent 2015-03-25 16:25:04 -04:00
resource_quotas_test.go Clients should not check conditions, UpdateStatus() is inconsistent 2015-03-25 16:25:04 -04:00
restclient.go Make label and field selector query strings versionable. 2015-03-12 12:24:07 -07:00
restclient_test.go Add more specific error handling and handle generic errors more effectively 2015-03-26 17:30:13 -04:00
secrets.go Clients should not check conditions, UpdateStatus() is inconsistent 2015-03-25 16:25:04 -04:00
services.go Clients should not check conditions, UpdateStatus() is inconsistent 2015-03-25 16:25:04 -04:00
services_test.go Updating unit tests for pkg/client so that they pass with v1beta3 api 2015-03-24 18:54:02 -07:00
transport.go Split TLS loading to allow 3rd parties to load keys easily 2015-02-19 20:54:21 -05:00
transport_test.go Set a default user agent on all client.Client calls 2015-02-04 17:45:53 -05:00