createserviceaccounttoken

package
v0.4.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

func (*Provider) GetGoogleAccessToken

func (p *Provider) GetGoogleAccessToken(ctx context.Context, saToken, googleEmail string) (string, time.Duration, error)

func (*Provider) GetGoogleIdentityToken

func (p *Provider) GetGoogleIdentityToken(ctx context.Context, saToken, googleEmail, audience string) (string, time.Duration, error)

func (*Provider) GetServiceAccountToken

func (p *Provider) GetServiceAccountToken(ctx context.Context, namespace, name string) (string, time.Duration, error)

type ProviderOptions

type ProviderOptions struct {
	GoogleCredentialsConfig *googlecredentials.Config
	KubeClient              *kubernetes.Clientset
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL