const testTokenID … func newSigner() (*Signer, *fake.Clientset, coreinformers.SecretInformer, coreinformers.ConfigMapInformer, error) { … } func newConfigMap(tokenID, signature string) *v1.ConfigMap { … } func TestNoConfigMap(t *testing.T) { … } func TestSimpleSign(t *testing.T) { … } func TestNoSignNeeded(t *testing.T) { … } func TestUpdateSignature(t *testing.T) { … } func TestRemoveSignature(t *testing.T) { … }