- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for authConfigs (0.19 sec)
-
pkg/credentialprovider/secrets/secrets_test.go
} authConfigs, found := keyring.Lookup(testcase.image) if found != testcase.found { t.Logf("actual lookup status: %v", found) t.Logf("expected lookup status: %v", testcase.found) t.Errorf("unexpected lookup for image: %s", testcase.image) } if !reflect.DeepEqual(authConfigs, testcase.authConfigs) { t.Logf("actual auth configs: %#v", authConfigs)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 23 18:11:10 UTC 2020 - 7.3K bytes - Viewed (0) -
pkg/credentialprovider/keyring.go
// return each credentials func (k UnionDockerKeyring) Lookup(image string) ([]AuthConfig, bool) { authConfigs := []AuthConfig{} for _, subKeyring := range k { if subKeyring == nil { continue } currAuthResults, _ := subKeyring.Lookup(image) authConfigs = append(authConfigs, currAuthResults...) } return authConfigs, (len(authConfigs) > 0)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 9.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/webhook/authentication.go
// exact match if authConfig, ok := c.kubeconfig.AuthInfos[target]; ok { return restConfigFromKubeconfig(authConfig) } // star prefixed match serverSteps := strings.Split(target, ".") for i := 1; i < len(serverSteps); i++ { nickName := "*." + strings.Join(serverSteps[i:], ".") if authConfig, ok := c.kubeconfig.AuthInfos[nickName]; ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 29 15:48:39 UTC 2023 - 9.5K bytes - Viewed (0) -
pkg/credentialprovider/keyring_test.go
}) tests := []struct { image string match []AuthConfig ok bool }{ // direct match {"bar.example.com", []AuthConfig{ada}, true}, // direct match deeper than other possible matches {"bar.example.com/pong", []AuthConfig{grace, ada}, true}, // no direct match, deeper path ignored {"bar.example.com/ping", []AuthConfig{ada}, true}, // match first part of path token
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 15 10:47:22 UTC 2023 - 15.1K bytes - Viewed (0) -
pkg/credentialprovider/plugin/plugin_test.go
testingclock "k8s.io/utils/clock/testing" ) type fakeExecPlugin struct { cacheKeyType credentialproviderapi.PluginCacheKeyType cacheDuration time.Duration auth map[string]credentialproviderapi.AuthConfig } func (f *fakeExecPlugin) ExecPlugin(ctx context.Context, image string) (*credentialproviderapi.CredentialProviderResponse, error) { return &credentialproviderapi.CredentialProviderResponse{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 09 06:11:06 UTC 2022 - 26.5K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_image_test.go
} tests := map[string]struct { imageName string passedSecrets []v1.Secret builtInDockerConfig credentialprovider.DockerConfig expectedAuth *runtimeapi.AuthConfig }{ "no matching secrets": { "ubuntu", []v1.Secret{}, credentialprovider.DockerConfig(map[string]credentialprovider.DockerConfigEntry{}), nil, }, "default keyring secrets": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 12.8K bytes - Viewed (0) -
cmd/kubeadm/app/util/runtime/impl.go
RemovePodSandbox(ctx context.Context, runtimeService criapi.RuntimeService, podSandboxID string) error PullImage(ctx context.Context, imageService criapi.ImageManagerService, image *runtimeapi.ImageSpec, auth *runtimeapi.AuthConfig, podSandboxConfig *runtimeapi.PodSandboxConfig) (string, error) ImageStatus(ctx context.Context, imageService criapi.ImageManagerService, image *runtimeapi.ImageSpec, verbose bool) (*runtimeapi.ImageStatusResponse, error) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ParallelDownloadsIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 17:10:15 UTC 2024 - 13K bytes - Viewed (0) -
pkg/credentialprovider/plugin/config_test.go
t.Fatal(err) } authConfig, err := readCredentialProviderConfigFile(file.Name()) if err != nil && !testcase.expectErr { t.Fatal(err) } if err == nil && testcase.expectErr { t.Error("expected error but got none") } if !reflect.DeepEqual(authConfig, testcase.config) { t.Logf("actual auth config: %#v", authConfig)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 09 14:24:11 UTC 2023 - 14.2K bytes - Viewed (0) -
pkg/wasm/imagefetcher.go
return nil, err } empty := dtypes.AuthConfig{} if cfg == empty { return authn.Anonymous, nil } authConfig := authn.AuthConfig{ Username: cfg.Username, Password: cfg.Password, Auth: cfg.Auth, IdentityToken: cfg.IdentityToken, RegistryToken: cfg.RegistryToken, } return authn.FromConfig(authConfig), nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Dec 10 05:44:51 UTC 2023 - 12K bytes - Viewed (0)