Documentation ¶
Index ¶
- func GenerateGcloudSdkConfiguration(ctx context.Context, out io.Writer, resolve ResolveJWT, ...) error
- func SDKOptions(ctx context.Context, opts ExchangeOIDCTokenOpts, ...) ([]option.ClientOption, error)
- func WithProduceOIDCWorkloadToken(authsrc nsc.TokenSource) func(context.Context, string) (string, error)
- type ExchangeOIDCTokenOpts
- type ResolveJWT
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateGcloudSdkConfiguration ¶
func GenerateGcloudSdkConfiguration(ctx context.Context, out io.Writer, resolve ResolveJWT, opts ExchangeOIDCTokenOpts) error
func SDKOptions ¶
func SDKOptions(ctx context.Context, opts ExchangeOIDCTokenOpts, gt func() (nsc.TokenSource, error)) ([]option.ClientOption, error)
Types ¶
type ExchangeOIDCTokenOpts ¶
Click to show internal directories.
Click to hide internal directories.