type bootstrapSecrets … func (b bootstrapSecrets) List(selector labels.Selector) (ret []*corev1.Secret, err error) { … } func (b bootstrapSecrets) Get(name string) (*corev1.Secret, error) { … } // TestBootstrapTokenAuth tests the bootstrap token auth provider func TestBootstrapTokenAuth(t *testing.T) { … }