func deleteSecretOrErrorf(t *testing.T, c clientset.Interface, ns, name string) { … } // TestSecrets tests apiserver-side behavior of creation of secret objects and their use by pods. func TestSecrets(t *testing.T) { … } // DoTestSecretsImmutableWithEmptyValue Test whether apiserver will judge the secret data inconsistency // if the value of map in secret data is the empty string when patch secret, // and if the Immutable value of secret is true, the patch request is rejected. func DoTestSecretsImmutableWithEmptyValue(t *testing.T, client clientset.Interface, ns *v1.Namespace) { … } // DoTestSecrets test secrets for one api version. func DoTestSecrets(t *testing.T, client clientset.Interface, ns *v1.Namespace) { … }