[Multi-Thread] Support working in multi-thread environment

This commit is contained in:
Hui Yu
2020-10-27 20:33:38 +08:00
parent 0e3f44c9f3
commit 493a027b70
10 changed files with 12 additions and 0 deletions

1
.gitignore vendored
View File

@@ -1,5 +1,6 @@
kubernetes/build/
.vs/
.vscode/
# Prerequisites
*.d

View File

@@ -78,6 +78,7 @@ list all pods:
basePath = NULL;
sslConfig = NULL;
apiKeys = NULL;
apiClient_unsetupGlobalEnv();
```
list all pods in cluster:
@@ -121,6 +122,7 @@ list all pods in cluster:
basePath = NULL;
sslConfig = NULL;
apiKeys = NULL;
apiClient_unsetupGlobalEnv();
```

View File

@@ -59,6 +59,7 @@ int main(int argc, char *argv[])
basePath = NULL;
sslConfig = NULL;
apiKeys = NULL;
apiClient_unsetupGlobalEnv();
return 0;
}

View File

@@ -96,5 +96,7 @@ int main(int argc, char *argv[])
apiClient_free(k8sApiClient);
k8sApiClient = NULL;
apiClient_unsetupGlobalEnv();
return 0;
}

View File

@@ -58,6 +58,7 @@ int main(int argc, char *argv[])
basePath = NULL;
sslConfig = NULL;
apiKeys = NULL;
apiClient_unsetupGlobalEnv();
return 0;
}

View File

@@ -63,6 +63,7 @@ int main(int argc, char *argv[])
apiClient_free(k8sApiClient);
k8sApiClient = NULL;
apiClient_unsetupGlobalEnv();
return rc;
}

View File

@@ -60,6 +60,7 @@ int main(int argc, char *argv[])
basePath = NULL;
sslConfig = NULL;
apiKeys = NULL;
apiClient_unsetupGlobalEnv();
return 0;
}

View File

@@ -59,6 +59,7 @@ int main(int argc, char *argv[])
basePath = NULL;
sslConfig = NULL;
apiKeys = NULL;
apiClient_unsetupGlobalEnv();
return 0;
}

View File

@@ -59,6 +59,7 @@ int main(int argc, char *argv[])
basePath = NULL;
sslConfig = NULL;
apiKeys = NULL;
apiClient_unsetupGlobalEnv();
return 0;
}

View File

@@ -105,6 +105,7 @@ int main(int argc, char *argv[])
basePath = NULL;
sslConfig = NULL;
apiKeys = NULL;
apiClient_unsetupGlobalEnv();
return 0;
}