Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for GetServiceAccountTokenFunc (0.6 sec)

  1. pkg/controller/volume/persistentvolume/volume_host.go

    	return func(_, _ string) (*v1.ConfigMap, error) {
    		return nil, fmt.Errorf("GetConfigMap unsupported in PersistentVolumeController")
    	}
    }
    
    func (ctrl *PersistentVolumeController) GetServiceAccountTokenFunc() func(_, _ string, _ *authenticationv1.TokenRequest) (*authenticationv1.TokenRequest, error) {
    	return func(_, _ string, _ *authenticationv1.TokenRequest) (*authenticationv1.TokenRequest, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. pkg/kubelet/volume_host.go

    	}
    	return func(namespace, name string) (*v1.ConfigMap, error) {
    		return nil, fmt.Errorf("not supported due to running kubelet in standalone mode")
    	}
    }
    
    func (kvh *kubeletVolumeHost) GetServiceAccountTokenFunc() func(namespace, name string, tr *authenticationv1.TokenRequest) (*authenticationv1.TokenRequest, error) {
    	return kvh.tokenManager.GetServiceAccountToken
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. pkg/volume/projected/projected.go

    	plugin.host = host
    	plugin.kvHost = host.(volume.KubeletVolumeHost)
    	plugin.getSecret = host.GetSecretFunc()
    	plugin.getConfigMap = host.GetConfigMapFunc()
    	plugin.getServiceAccountToken = host.GetServiceAccountTokenFunc()
    	plugin.deleteServiceAccountToken = host.DeleteServiceAccountTokenFunc()
    	return nil
    }
    
    func (plugin *projectedPlugin) GetPluginName() string {
    	return projectedPluginName
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. pkg/controller/volume/expand/expand_controller.go

    	}
    }
    
    func (expc *expandController) GetAttachedVolumesFromNodeStatus() (map[v1.UniqueVolumeName]string, error) {
    	return map[v1.UniqueVolumeName]string{}, nil
    }
    
    func (expc *expandController) GetServiceAccountTokenFunc() func(_, _ string, _ *authenticationv1.TokenRequest) (*authenticationv1.TokenRequest, error) {
    	return func(_, _ string, _ *authenticationv1.TokenRequest) (*authenticationv1.TokenRequest, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. pkg/volume/testing/volume_host.go

    	return func(namespace, name string) (*v1.ConfigMap, error) {
    		return f.kubeClient.CoreV1().ConfigMaps(namespace).Get(context.TODO(), name, metav1.GetOptions{})
    	}
    }
    
    func (f *fakeVolumeHost) GetServiceAccountTokenFunc() func(string, string, *authenticationv1.TokenRequest) (*authenticationv1.TokenRequest, error) {
    	return func(namespace, name string, tr *authenticationv1.TokenRequest) (*authenticationv1.TokenRequest, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  6. pkg/volume/csi/csi_plugin.go

    		if ok {
    			p.csiDriverLister = kletHost.CSIDriverLister()
    			if p.csiDriverLister == nil {
    				klog.Error(log("CSIDriverLister not found on KubeletVolumeHost"))
    			}
    			p.serviceAccountTokenGetter = host.GetServiceAccountTokenFunc()
    			if p.serviceAccountTokenGetter == nil {
    				klog.Error(log("ServiceAccountTokenGetter not found on KubeletVolumeHost"))
    			}
    			// We don't run the volumeAttachmentLister in the kubelet context
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  7. pkg/controller/volume/attachdetach/attach_detach_controller.go

    	return func(_, _ string) (*v1.ConfigMap, error) {
    		return nil, fmt.Errorf("GetConfigMap unsupported in attachDetachController")
    	}
    }
    
    func (adc *attachDetachController) GetServiceAccountTokenFunc() func(_, _ string, _ *authenticationv1.TokenRequest) (*authenticationv1.TokenRequest, error) {
    	return func(_, _ string, _ *authenticationv1.TokenRequest) (*authenticationv1.TokenRequest, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  8. pkg/volume/plugins.go

    	GetSecretFunc() func(namespace, name string) (*v1.Secret, error)
    
    	// Returns a function that returns a configmap.
    	GetConfigMapFunc() func(namespace, name string) (*v1.ConfigMap, error)
    
    	GetServiceAccountTokenFunc() func(namespace, name string, tr *authenticationv1.TokenRequest) (*authenticationv1.TokenRequest, error)
    
    	DeleteServiceAccountTokenFunc() func(podUID types.UID)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  9. pkg/volume/projected/projected_test.go

    				projectedVolume: &projectedVolume{
    					sources: source.Sources,
    					podUID:  pod.UID,
    					plugin: &projectedPlugin{
    						host:                   host,
    						getServiceAccountToken: host.GetServiceAccountTokenFunc(),
    					},
    				},
    				source: *source,
    				pod:    pod,
    			}
    
    			gotPayload, err := myVolumeMounter.collectData(volume.MounterArgs{FsUser: tc.fsUser, FsGroup: tc.fsGroup})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 40.5K bytes
    - Viewed (0)
Back to top