Skip to content

Commit

Permalink
Merge pull request #36 from ityuhui/yh-multi-thread-support-experiment
Browse files Browse the repository at this point in the history
Support multi-thread
  • Loading branch information
k8s-ci-robot committed Nov 1, 2020
2 parents 0e3f44c + 493a027 commit 3bdbebc
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
kubernetes/build/
.vs/
.vscode/

# Prerequisites
*.d
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ list all pods:
basePath = NULL;
sslConfig = NULL;
apiKeys = NULL;
apiClient_unsetupGlobalEnv();
```
list all pods in cluster:
Expand Down Expand Up @@ -121,6 +122,7 @@ list all pods in cluster:
basePath = NULL;
sslConfig = NULL;
apiKeys = NULL;
apiClient_unsetupGlobalEnv();
```


Expand Down
1 change: 1 addition & 0 deletions examples/auth_provider/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ int main(int argc, char *argv[])
basePath = NULL;
sslConfig = NULL;
apiKeys = NULL;
apiClient_unsetupGlobalEnv();

return 0;
}
2 changes: 2 additions & 0 deletions examples/create_pod/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,7 @@ int main(int argc, char *argv[])

apiClient_free(k8sApiClient);
k8sApiClient = NULL;
apiClient_unsetupGlobalEnv();

return 0;
}
1 change: 1 addition & 0 deletions examples/delete_pod/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ int main(int argc, char *argv[])
basePath = NULL;
sslConfig = NULL;
apiKeys = NULL;
apiClient_unsetupGlobalEnv();

return 0;
}
1 change: 1 addition & 0 deletions examples/exec_provider/list_pod_by_exec_provider.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ int main(int argc, char *argv[])

apiClient_free(k8sApiClient);
k8sApiClient = NULL;
apiClient_unsetupGlobalEnv();

return rc;
}
1 change: 1 addition & 0 deletions examples/generic/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ int main(int argc, char *argv[])
basePath = NULL;
sslConfig = NULL;
apiKeys = NULL;
apiClient_unsetupGlobalEnv();

return 0;
}
1 change: 1 addition & 0 deletions examples/list_pod/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ int main(int argc, char *argv[])
basePath = NULL;
sslConfig = NULL;
apiKeys = NULL;
apiClient_unsetupGlobalEnv();

return 0;
}
1 change: 1 addition & 0 deletions examples/list_pod_incluster/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ int main(int argc, char *argv[])
basePath = NULL;
sslConfig = NULL;
apiKeys = NULL;
apiClient_unsetupGlobalEnv();

return 0;
}
1 change: 1 addition & 0 deletions examples/watch_list_pod/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ int main(int argc, char *argv[])
basePath = NULL;
sslConfig = NULL;
apiKeys = NULL;
apiClient_unsetupGlobalEnv();

return 0;
}

0 comments on commit 3bdbebc

Please sign in to comment.