package
0.0.67
Repository: https://github.com/kunitsucom/util.go.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
NewTokenSource creates a new token source from Google Workload Identity Federation JSON configuration.
TokenSourceConfigFromJSON creates a new token source config from Google Workload Identity Federation JSON configuration.
WithCredentialsFromJSONOptionParams sets the google.CredentialsParams for google.CredentialsFromJSONWithParams.
WithCredentialsFromJSONOptionTokenSourceConfigOptions sets the TokenSourceConfigOption for the credentials.
WithTokenSourceOptionAwsContainerCredentialsRelativeURI sets the AWS container credentials relative URI.
WithTokenSourceOptionAwsEcsMetadataEndpointHost sets the AWS ECS Metadata Endpoint host.
WithTokenSourceOptionDefaultAwsRegion sets the default AWS region.
WithTokenSourceOptionHTTPClient sets the HTTP client to be used by the AwsEcsSecurityCredentialsSupplier.
WithTokenSourceOptionScopes sets the scopes.

# Constants

env keys nolint:gosec,revive,stylecheck.
env keys nolint:gosec,revive,stylecheck.
env keys nolint:gosec,revive,stylecheck.
defaults.

# Variables

defaults nolint:gochecknoglobals.
nolint:revive,gosimple // because the return types of errors.New and fmt.Errorf are not the same, and I explicitly choose to use errors.New.
errors.
errors.

# Structs

AwsEcsSecurityCredentialsSupplier is a supplier for AWS security credentials.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author