kubernetes/test/integration/serviceaccount/service_account_test.go

const readOnlyServiceAccountName

const readWriteServiceAccountName

func TestServiceAccountAutoCreate(t *testing.T) {}

func TestServiceAccountTokenAutoMount(t *testing.T) {}

func TestServiceAccountTokenAuthentication(t *testing.T) {}

func TestLegacyServiceAccountTokenTracking(t *testing.T) {}

// startServiceAccountTestServerAndWaitForCaches returns a started server
// It is the responsibility of the caller to ensure the returned stopFunc is called
func startServiceAccountTestServerAndWaitForCaches(ctx context.Context, t *testing.T) (clientset.Interface, *restclient.Config, func(), clientinformers.SharedInformerFactory, error) {}

func getServiceAccount(c clientset.Interface, ns string, name string, shouldWait bool) (*v1.ServiceAccount, error) {}

func createServiceAccountToken(c clientset.Interface, sa *v1.ServiceAccount, ns string, name string) (*v1.Secret, error) {}

func addReferencedServiceAccountToken(c clientset.Interface, ns string, name string, secret *v1.Secret) error {}

type testOperation

func doServiceAccountAPIRequests(t *testing.T, c clientset.Interface, ns string, authenticated bool, canRead bool, canWrite bool) {}

type warningHandler

func (r *warningHandler) HandleWarningHeader(code int, agent string, message string) {}