element_type
stringclasses
4 values
project_name
stringclasses
1 value
uuid
stringlengths
36
36
name
stringlengths
0
346
imports
stringlengths
0
2.67k
structs
stringclasses
761 values
interfaces
stringclasses
22 values
file_location
stringclasses
545 values
code
stringlengths
26
8.07M
global_vars
stringclasses
7 values
package
stringclasses
124 values
tags
stringclasses
1 value
function
openshift/openshift-tests-private
e3d8853d-a281-4861-b996-eba10a48d208
syncRapidastResultsToArtifactDir
['"os"', '"path/filepath"']
github.com/openshift/openshift-tests-private/test/extended/oap/certmanager_utils.go
func syncRapidastResultsToArtifactDir(oc *exutil.CLI, ns, pvcName string) { var ( podName = "rapidast-results-sync-helper" volumeMountPath = "/opt/rapidast/results" artifactDirSubFolderName = "rapidast-results-oap" ) e2e.Logf("create the temporary Pod to mount RapiDAST PVC") buildPr...
oap
function
openshift/openshift-tests-private
09119c42-9560-4cc0-9882-434aceba07ac
waitForPodsToBeRedeployed
['"context"', '"fmt"', '"strings"', '"time"', '"k8s.io/apimachinery/pkg/util/wait"']
github.com/openshift/openshift-tests-private/test/extended/oap/certmanager_utils.go
func waitForPodsToBeRedeployed(oc *exutil.CLI, namespace, label string, oldPodList []string, interval, timeout time.Duration) { e2e.Logf("Poll the pods with label '%s' in namespace '%s'", label, namespace) statusErr := wait.PollUntilContextTimeout(context.Background(), interval, timeout, false, func(context.Context) ...
oap
function
openshift/openshift-tests-private
668d4402-09f5-47ce-b868-1cf9ccb04dc2
setupVaultServer
['"context"', '"crypto/tls"', '"fmt"', '"path/filepath"', '"strings"', '"time"', '"github.com/openshift/openshift-tests-private/test/extended/util/architecture"', '"github.com/tidwall/gjson"', '"k8s.io/apimachinery/pkg/util/wait"']
github.com/openshift/openshift-tests-private/test/extended/oap/certmanager_utils.go
func setupVaultServer(oc *exutil.CLI, ns, release string) (string, string) { var ( issuerName = "default-ca" certName = "vault-server-cert" configMapName = "helm-vault-tls-config" installerSA = "vault-installer-sa" installerRolebinding = "vault-installer-binding-" + ns ...
oap
function
openshift/openshift-tests-private
f252663b-e0cb-49ed-9a86-e33189ab8819
configVaultPKI
['"encoding/pem"', '"fmt"', '"github.com/tidwall/gjson"', 'gcpcrm "google.golang.org/api/cloudresourcemanager/v1"']
github.com/openshift/openshift-tests-private/test/extended/oap/certmanager_utils.go
func configVaultPKI(oc *exutil.CLI, ns, release, vaultPodName, vaultRootToken string) { e2e.Logf("=> configure Vault as a PKI secrets engine") // login to Vault with the VAULT_ROOT_TOKEN cmd := fmt.Sprintf(`vault login %s`, vaultRootToken) oc.NotShowInfo() _, err := exutil.RemoteShPod(oc, ns, vaultPodName, "sh", "...
oap
function
openshift/openshift-tests-private
06ab1ddf-d508-441c-a148-cd090a49ec9d
installGoogleCASIssuer
['"context"', '"fmt"', '"path/filepath"', '"strings"', '"time"', '"github.com/tidwall/gjson"', '"k8s.io/apimachinery/pkg/util/wait"']
github.com/openshift/openshift-tests-private/test/extended/oap/certmanager_utils.go
func installGoogleCASIssuer(oc *exutil.CLI, ns string) { var ( configMapName = "dummy-cm" installerSA = "cas-issuer-installer-sa" installerRolebinding = "cas-issuer-installer-binding" installerPodName = "cas-issuer-installer" casPodLabel = "app=cert-manager-google-cas-issuer" c...
oap