Documentation ¶
Index ¶
- Constants
- func ContainsNoValidCredentialSourcesError(diags diag.Diagnostics) bool
- func EC2MetadataEndpointMode_Values() []string
- func GetAwsAccountIDAndPartition(ctx context.Context, awsConfig aws.Config, c *Config) (string, string, diag.Diagnostics)
- func GetAwsConfig(ctx context.Context, c *Config) (context.Context, aws.Config, diag.Diagnostics)
- func IsCannotAssumeRoleError(diag diag.Diagnostic) bool
- func IsNoValidCredentialSourcesError(diag diag.Diagnostic) bool
- type APNInfo
- type AssumeRole
- type AssumeRoleWithWebIdentity
- type CannotAssumeRoleError
- type Config
- type NoValidCredentialSourcesError
- type UserAgentProduct
- type UserAgentProducts
Constants ¶
View Source
const ( EC2MetadataEndpointModeIPv4 = "IPv4" EC2MetadataEndpointModeIPv6 = "IPv6" )
View Source
const ( HTTPProxyModeLegacy = config.HTTPProxyModeLegacy HTTPProxyModeSeparate = config.HTTPProxyModeSeparate )
Variables ¶
This section is empty.
Functions ¶
func ContainsNoValidCredentialSourcesError ¶
func ContainsNoValidCredentialSourcesError(diags diag.Diagnostics) bool
ContainsNoValidCredentialSourcesError returns true if the diagnostics contains a NoValidCredentialSourcesError type.
func EC2MetadataEndpointMode_Values ¶
func EC2MetadataEndpointMode_Values() []string
func GetAwsConfig ¶
func IsCannotAssumeRoleError ¶
func IsCannotAssumeRoleError(diag diag.Diagnostic) bool
IsCannotAssumeRoleError returns true if the error contains the CannotAssumeRoleError type.
func IsNoValidCredentialSourcesError ¶
func IsNoValidCredentialSourcesError(diag diag.Diagnostic) bool
IsNoValidCredentialSourcesError returns true if the diagnostic is a NoValidCredentialSourcesError.
Types ¶
type AssumeRole ¶
type AssumeRole = config.AssumeRole
type AssumeRoleWithWebIdentity ¶
type AssumeRoleWithWebIdentity = config.AssumeRoleWithWebIdentity
type CannotAssumeRoleError ¶
type CannotAssumeRoleError = config.CannotAssumeRoleError
CannotAssumeRoleError occurs when AssumeRole cannot complete.
type NoValidCredentialSourcesError ¶
type NoValidCredentialSourcesError = config.NoValidCredentialSourcesError
NoValidCredentialSourcesError occurs when all credential lookup methods have been exhausted without results.
type UserAgentProduct ¶
type UserAgentProduct = config.UserAgentProduct
type UserAgentProducts ¶
type UserAgentProducts = config.UserAgentProducts
Source Files ¶
Click to show internal directories.
Click to hide internal directories.