KubeJWTAuthenticator authenticates K8s JWTs.
| 42 | |
| 43 | // KubeJWTAuthenticator authenticates K8s JWTs. |
| 44 | type KubeJWTAuthenticator struct { |
| 45 | // holder of a mesh configuration for dynamically updating trust domain |
| 46 | meshHolder mesh.Holder |
| 47 | |
| 48 | // Primary cluster kube client |
| 49 | kubeClient kubernetes.Interface |
| 50 | // Primary cluster ID |
| 51 | clusterID cluster.ID |
| 52 | // Primary cluster aliases |
| 53 | clusterAliases map[cluster.ID]cluster.ID |
| 54 | |
| 55 | // remote cluster kubeClient getter |
| 56 | remoteKubeClientGetter RemoteKubeClientGetter |
| 57 | } |
| 58 | |
| 59 | var _ security.Authenticator = &KubeJWTAuthenticator{} |
| 60 |
nothing calls this directly
no outgoing calls
no test coverage detected