nocredentials

package
v8.169.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package nocredentials runs an engine package's tests with no credential store a laptop has: an engine acts only with the clients its caller builds from tokens, so every case passes when each store fails on any access.

Index

Constants

This section is empty.

Variables

View Source
var Readers = []string{
	"github.com/giantswarm/devctl/v8/pkg/authstore",
	"github.com/giantswarm/devctl/v8/internal/laptop",
	"github.com/zalando/go-keyring",
	"github.com/docker/cli/cli/config",
	"k8s.io/client-go/tools/clientcmd",
}

Readers are the packages that read a credential store or a kubeconfig; an engine package imports none of them.

Functions

func Main

func Main(m *testing.M)

Main is a TestMain: it checks that the package in the working directory imports none of Readers, makes every credential store fail on any access, and runs the tests. devctl's keyring, its supported identities' lock files and KUBECONFIG are directories; the Docker configuration is malformed and the GitHub token variables are unset.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL