kubernetes/pkg/controller/serviceaccount/tokengetter.go

type clientGetter

// NewGetterFromClient returns a ServiceAccountTokenGetter that
// uses the specified client to retrieve service accounts, pods, secrets and nodes.
// The client should NOT authenticate using a service account token
// the returned getter will be used to retrieve, or recursion will result.
func NewGetterFromClient(c clientset.Interface, secretLister v1listers.SecretLister, serviceAccountLister v1listers.ServiceAccountLister, podLister v1listers.PodLister, nodeLister v1listers.NodeLister) 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) {}