- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for GetServiceAccountToken (0.24 sec)
-
pkg/kubelet/token/token_manager_test.go
} s.mgr.getToken = s.tg.getToken s.mgr.clock = s.clock if _, err := s.mgr.GetServiceAccountToken("a", "b", getTokenRequest()); err != nil { t.Fatalf("unexpected error: %v", err) } if s.tg.count != 1 { t.Fatalf("unexpected client call, got: %d, want: 1", s.tg.count) } if _, err := s.mgr.GetServiceAccountToken("a", "b", getTokenRequest()); err != nil { t.Fatalf("unexpected error: %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 04 00:16:47 UTC 2022 - 16.2K bytes - Viewed (0) -
pkg/volume/projected/projected.go
kvHost volume.KubeletVolumeHost getSecret func(namespace, name string) (*v1.Secret, error) getConfigMap func(namespace, name string) (*v1.ConfigMap, error) getServiceAccountToken func(namespace, name string, tr *authenticationv1.TokenRequest) (*authenticationv1.TokenRequest, error) deleteServiceAccountToken func(podUID types.UID) } var _ volume.VolumePlugin = &projectedPlugin{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 12.8K bytes - Viewed (0) -
pkg/kubelet/volume_host.go
} } func (kvh *kubeletVolumeHost) GetServiceAccountTokenFunc() func(namespace, name string, tr *authenticationv1.TokenRequest) (*authenticationv1.TokenRequest, error) { return kvh.tokenManager.GetServiceAccountToken } func (kvh *kubeletVolumeHost) DeleteServiceAccountTokenFunc() func(podUID types.UID) { return kvh.tokenManager.DeleteServiceAccountToken }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 11:00:37 UTC 2024 - 10K bytes - Viewed (0) -
pkg/controller/volume/expand/expand_controller.go
return func(_, _ string, _ *authenticationv1.TokenRequest) (*authenticationv1.TokenRequest, error) { return nil, fmt.Errorf("GetServiceAccountToken unsupported in expandController") } } func (expc *expandController) DeleteServiceAccountTokenFunc() func(types.UID) { return func(types.UID) { //nolint:logcheck
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 16.2K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/attach_detach_controller.go
return func(_, _ string, _ *authenticationv1.TokenRequest) (*authenticationv1.TokenRequest, error) { return nil, fmt.Errorf("GetServiceAccountToken unsupported in attachDetachController") } } func (adc *attachDetachController) DeleteServiceAccountTokenFunc() func(types.UID) { return func(types.UID) { // nolint:logcheck
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 32.6K bytes - Viewed (0) -
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, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:48 UTC 2023 - 40.5K bytes - Viewed (0)