Documentation ¶
Index ¶
- type Clientset
- func (c *Clientset) ConfigurePodLister(nodeName string)
- func (c *Clientset) CreateServiceAccountToken(ctx context.Context, namespace, name string, ...) (*authenticationv1.TokenRequest, error)
- func (c *Clientset) GetGCPServiceAccountName(ctx context.Context, namespace, name string) (string, error)
- func (c *Clientset) GetPod(namespace, name string) (*corev1.Pod, error)
- type FakeClientset
- func (c *FakeClientset) ConfigurePodLister(_ string)
- func (c *FakeClientset) CreateServiceAccountToken(_ context.Context, _, _ string, _ *authenticationv1.TokenRequest) (*authenticationv1.TokenRequest, error)
- func (c *FakeClientset) GetGCPServiceAccountName(_ context.Context, _, _ string) (string, error)
- func (c *FakeClientset) GetPod(namespace, name string) (*corev1.Pod, error)
- type Interface
- type PodInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clientset ¶
type Clientset struct {
// contains filtered or unexported fields
}
func (*Clientset) ConfigurePodLister ¶ added in v1.5.0
func (*Clientset) CreateServiceAccountToken ¶
func (c *Clientset) CreateServiceAccountToken(ctx context.Context, namespace, name string, tokenRequest *authenticationv1.TokenRequest) (*authenticationv1.TokenRequest, error)
func (*Clientset) GetGCPServiceAccountName ¶
type FakeClientset ¶
type FakeClientset struct{}
func (*FakeClientset) ConfigurePodLister ¶ added in v1.5.0
func (c *FakeClientset) ConfigurePodLister(_ string)
func (*FakeClientset) CreateServiceAccountToken ¶
func (c *FakeClientset) CreateServiceAccountToken(_ context.Context, _, _ string, _ *authenticationv1.TokenRequest) (*authenticationv1.TokenRequest, error)
func (*FakeClientset) GetGCPServiceAccountName ¶
type Interface ¶
type Interface interface { ConfigurePodLister(nodeName string) GetPod(namespace, name string) (*corev1.Pod, error) CreateServiceAccountToken(ctx context.Context, namespace, name string, tokenRequest *authenticationv1.TokenRequest) (*authenticationv1.TokenRequest, error) GetGCPServiceAccountName(ctx context.Context, namespace, name string) (string, error) }
Click to show internal directories.
Click to hide internal directories.