Documentation ¶
Index ¶
- type Provider
- func (p *Provider) AddPodServiceAccount(ref *serviceaccounts.Reference)
- func (p *Provider) Close() error
- func (p *Provider) DeletePodServiceAccount(ref *serviceaccounts.Reference)
- func (p *Provider) DeleteServiceAccount(ref *serviceaccounts.Reference)
- func (p *Provider) GetGoogleAccessToken(ctx context.Context, saToken, googleEmail string) (string, time.Time, error)
- func (p *Provider) GetGoogleIdentityToken(ctx context.Context, saToken, googleEmail, audience string) (string, time.Time, error)
- func (p *Provider) GetServiceAccountToken(ctx context.Context, ref *serviceaccounts.Reference) (string, time.Time, error)
- func (p *Provider) UpdateNodeServiceAccount(ref *serviceaccounts.Reference)
- func (p *Provider) UpdateServiceAccount(ref *serviceaccounts.Reference)
- 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) AddPodServiceAccount ¶ added in v0.7.0
func (p *Provider) AddPodServiceAccount(ref *serviceaccounts.Reference)
func (*Provider) DeletePodServiceAccount ¶ added in v0.7.0
func (p *Provider) DeletePodServiceAccount(ref *serviceaccounts.Reference)
func (*Provider) DeleteServiceAccount ¶ added in v0.7.0
func (p *Provider) DeleteServiceAccount(ref *serviceaccounts.Reference)
func (*Provider) GetGoogleAccessToken ¶
func (*Provider) GetGoogleIdentityToken ¶
func (*Provider) GetServiceAccountToken ¶
func (*Provider) UpdateNodeServiceAccount ¶ added in v0.7.0
func (p *Provider) UpdateNodeServiceAccount(ref *serviceaccounts.Reference)
func (*Provider) UpdateServiceAccount ¶
func (p *Provider) UpdateServiceAccount(ref *serviceaccounts.Reference)
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.