Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CredentialProviderResponse (0.26 sec)

  1. pkg/credentialprovider/plugin/plugin_test.go

    	cacheDuration time.Duration
    
    	auth map[string]credentialproviderapi.AuthConfig
    }
    
    func (f *fakeExecPlugin) ExecPlugin(ctx context.Context, image string) (*credentialproviderapi.CredentialProviderResponse, error) {
    	return &credentialproviderapi.CredentialProviderResponse{
    		CacheKeyType: f.cacheKeyType,
    		CacheDuration: &metav1.Duration{
    			Duration: f.cacheDuration,
    		},
    		Auth: f.auth,
    	}, nil
    }
    
    func Test_Provide(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 09 06:11:06 UTC 2022
    - 26.5K bytes
    - Viewed (0)
  2. pkg/credentialprovider/plugin/plugin.go

    	return data, nil
    }
    
    // decodeResponse decodes data into the internal CredentialProviderResponse type
    func (e *execPlugin) decodeResponse(data []byte) (*credentialproviderapi.CredentialProviderResponse, error) {
    	obj, gvk, err := codecs.UniversalDecoder().Decode(data, nil, nil)
    	if err != nil {
    		return nil, err
    	}
    
    	if gvk.Kind != "CredentialProviderResponse" {
    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/kubelet/apis/config/types.go

    	// if a cache duration is not provided in the plugin response. This field is required.
    	DefaultCacheDuration *metav1.Duration
    
    	// Required input version of the exec CredentialProviderRequest. The returned CredentialProviderResponse
    	// MUST use the same encoding version as the input. Current supported values are:
    	// - credentialprovider.kubelet.k8s.io/v1alpha1
    	// - credentialprovider.kubelet.k8s.io/v1beta1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  4. pkg/generated/openapi/zz_generated.openapi.go

    						},
    					},
    					"apiVersion": {
    						SchemaProps: spec.SchemaProps{
    							Description: "Required input version of the exec CredentialProviderRequest. The returned CredentialProviderResponse MUST use the same encoding version as the input. Current supported values are: - credentialprovider.kubelet.k8s.io/v1",
    							Default:     "",
    							Type:        []string{"string"},
    							Format:      "",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
Back to top