type clientGetter … // genericTokenGetter returns a ServiceAccountTokenGetter that does not depend // on pods and nodes. func genericTokenGetter(factory informers.SharedInformerFactory) serviceaccount.ServiceAccountTokenGetter { … } func (c clientGetter) GetServiceAccount(namespace, name string) (*v1.ServiceAccount, error) { … } func (c clientGetter) GetPod(namespace, name string) (*v1.Pod, error) { … } func (c clientGetter) GetSecret(namespace, name string) (*v1.Secret, error) { … } func (c clientGetter) GetNode(name string) (*v1.Node, error) { … }