Documentation ¶
Index ¶
- type Provider
- func (p *Provider) AddPod(pod *corev1.Pod)
- func (p *Provider) Close() error
- func (p *Provider) DeletePod(pod *corev1.Pod)
- func (p *Provider) GetGoogleAccessToken(ctx context.Context, saToken, googleEmail string) (string, time.Duration, error)
- func (p *Provider) GetGoogleIdentityToken(ctx context.Context, saToken, googleEmail, audience string) (string, time.Duration, error)
- func (p *Provider) GetServiceAccountToken(ctx context.Context, namespace, name string) (string, time.Duration, error)
- func (p *Provider) UpdateServiceAccount(ksa *corev1.ServiceAccount)
- type ProviderOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func NewProvider(ctx context.Context, opts ProviderOptions) *Provider
func (*Provider) GetGoogleAccessToken ¶
func (*Provider) GetGoogleIdentityToken ¶
func (*Provider) GetServiceAccountToken ¶
func (*Provider) UpdateServiceAccount ¶
func (p *Provider) UpdateServiceAccount(ksa *corev1.ServiceAccount)
type ProviderOptions ¶
type ProviderOptions struct { Source serviceaccounttokens.Provider ServiceAccounts serviceaccounts.Provider MetricsSubsystem string MetricsRegistry *prometheus.Registry Concurrency int }
Click to show internal directories.
Click to hide internal directories.