Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for authConfigs (0.14 sec)

  1. cmd/kubeadm/app/util/runtime/runtime_fake_test.go

    	fake.newRemoteRuntimeServiceReturns = struct {
    		res cri.RuntimeService
    		err error
    	}{res, err}
    }
    
    func (fake *fakeImpl) PullImage(context.Context, cri.ImageManagerService, *v1.ImageSpec, *v1.AuthConfig, *v1.PodSandboxConfig) (string, error) {
    	fakeReturns := fake.pullImageReturns
    	return fakeReturns.res, fakeReturns.err
    }
    
    func (fake *fakeImpl) PullImageReturns(res string, err error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. pkg/credentialprovider/plugin/plugin.go

    		return credentialprovider.DockerConfig{}
    	}
    
    	dockerConfig := make(credentialprovider.DockerConfig, len(response.Auth))
    	for matchImage, authConfig := range response.Auth {
    		dockerConfig[matchImage] = credentialprovider.DockerConfigEntry{
    			Username: authConfig.Username,
    			Password: authConfig.Password,
    		}
    	}
    
    	// cache duration was explicitly 0 so don't cache this response at all.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 05:07:28 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. pkg/kubeapiserver/authenticator/config.go

    func (c *authenticationConfigUpdater) updateAuthenticationConfig(ctx context.Context, authConfig *apiserver.AuthenticationConfiguration) error {
    	updatedJWTAuthenticator, err := newJWTAuthenticator(c.serverLifecycle, authConfig, c.config.OIDCSigningAlgs, c.config.APIAudiences, c.config.ServiceAccountIssuers)
    	if err != nil {
    		return err
    	}
    
    	var lastErr error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. pkg/kubeapiserver/options/authentication.go

    					RequiredValue: value,
    				})
    			}
    			jwtAuthenticator.ClaimValidationRules = claimValidationRules
    		}
    
    		authConfig := &apiserver.AuthenticationConfiguration{
    			JWT: []apiserver.JWTAuthenticator{jwtAuthenticator},
    		}
    
    		ret.AuthenticationConfig = authConfig
    		ret.OIDCSigningAlgs = o.OIDC.SigningAlgs
    	}
    
    	if ret.AuthenticationConfig != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 22:40:22 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_image.go

    			klog.ErrorS(err, "Failed to pull image", "image", img)
    			return "", err
    		}
    
    		return imageRef, nil
    	}
    
    	var pullErrs []error
    	for _, currentCreds := range creds {
    		auth := &runtimeapi.AuthConfig{
    			Username:      currentCreds.Username,
    			Password:      currentCreds.Password,
    			Auth:          currentCreds.Auth,
    			ServerAddress: currentCreds.ServerAddress,
    			IdentityToken: currentCreds.IdentityToken,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 08 00:30:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/instrumented_services.go

    	recordError(operation, err)
    	return out, err
    }
    
    func (in instrumentedImageManagerService) PullImage(ctx context.Context, image *runtimeapi.ImageSpec, auth *runtimeapi.AuthConfig, podSandboxConfig *runtimeapi.PodSandboxConfig) (string, error) {
    	const operation = "pull_image"
    	defer recordOperation(operation, time.Now())
    
    	imageRef, err := in.service.PullImage(ctx, image, auth, podSandboxConfig)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 10:46:06 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. pkg/wasm/imagefetcher_test.go

    	auth, err := keyChain.Resolve(testRegistry)
    	if err != nil {
    		t.Fatalf("Resolve() = %v", err)
    	}
    	got, err := auth.Authorization()
    	if err != nil {
    		t.Fatal(err)
    	}
    	want := &authn.AuthConfig{
    		Username: "foo",
    		Password: "bar",
    	}
    	if !reflect.DeepEqual(got, want) {
    		t.Errorf("got %+v, want %+v", got, want)
    	}
    }
    
    func encode(user, pass string) string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 05 04:15:17 UTC 2023
    - 16.3K bytes
    - Viewed (0)
Back to top