github_com-aws-aws-sdk-go-v2-config.go 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. // Code generated by 'yaegi extract github.com/aws/aws-sdk-go-v2/config'. DO NOT EDIT.
  2. package symbols
  3. import (
  4. "context"
  5. "github.com/aws/aws-sdk-go-v2/config"
  6. "go/constant"
  7. "go/token"
  8. "net/http"
  9. "reflect"
  10. )
  11. func init() {
  12. Symbols["github.com/aws/aws-sdk-go-v2/config/config"] = map[string]reflect.Value{
  13. // function, constant and variable definitions
  14. "CredentialsSourceName": reflect.ValueOf(constant.MakeFromLiteral("\"EnvConfigCredentials\"", token.STRING, 0)),
  15. "DefaultSharedConfigFilename": reflect.ValueOf(config.DefaultSharedConfigFilename),
  16. "DefaultSharedConfigFiles": reflect.ValueOf(&config.DefaultSharedConfigFiles).Elem(),
  17. "DefaultSharedConfigProfile": reflect.ValueOf(constant.MakeFromLiteral("\"default\"", token.STRING, 0)),
  18. "DefaultSharedCredentialsFilename": reflect.ValueOf(config.DefaultSharedCredentialsFilename),
  19. "DefaultSharedCredentialsFiles": reflect.ValueOf(&config.DefaultSharedCredentialsFiles).Elem(),
  20. "GetIgnoreConfiguredEndpoints": reflect.ValueOf(config.GetIgnoreConfiguredEndpoints),
  21. "LoadDefaultConfig": reflect.ValueOf(config.LoadDefaultConfig),
  22. "LoadSharedConfigProfile": reflect.ValueOf(config.LoadSharedConfigProfile),
  23. "NewEnvConfig": reflect.ValueOf(config.NewEnvConfig),
  24. "WithAPIOptions": reflect.ValueOf(config.WithAPIOptions),
  25. "WithAccountIDEndpointMode": reflect.ValueOf(config.WithAccountIDEndpointMode),
  26. "WithAfterAttempt": reflect.ValueOf(config.WithAfterAttempt),
  27. "WithAfterDeserialization": reflect.ValueOf(config.WithAfterDeserialization),
  28. "WithAfterExecution": reflect.ValueOf(config.WithAfterExecution),
  29. "WithAfterSerialization": reflect.ValueOf(config.WithAfterSerialization),
  30. "WithAfterSigning": reflect.ValueOf(config.WithAfterSigning),
  31. "WithAfterTransmit": reflect.ValueOf(config.WithAfterTransmit),
  32. "WithAppID": reflect.ValueOf(config.WithAppID),
  33. "WithAssumeRoleCredentialOptions": reflect.ValueOf(config.WithAssumeRoleCredentialOptions),
  34. "WithAuthSchemePreference": reflect.ValueOf(config.WithAuthSchemePreference),
  35. "WithBaseEndpoint": reflect.ValueOf(config.WithBaseEndpoint),
  36. "WithBearerAuthTokenCacheOptions": reflect.ValueOf(config.WithBearerAuthTokenCacheOptions),
  37. "WithBearerAuthTokenProvider": reflect.ValueOf(config.WithBearerAuthTokenProvider),
  38. "WithBeforeAttempt": reflect.ValueOf(config.WithBeforeAttempt),
  39. "WithBeforeDeserialization": reflect.ValueOf(config.WithBeforeDeserialization),
  40. "WithBeforeExecution": reflect.ValueOf(config.WithBeforeExecution),
  41. "WithBeforeRetryLoop": reflect.ValueOf(config.WithBeforeRetryLoop),
  42. "WithBeforeSerialization": reflect.ValueOf(config.WithBeforeSerialization),
  43. "WithBeforeSigning": reflect.ValueOf(config.WithBeforeSigning),
  44. "WithBeforeTransmit": reflect.ValueOf(config.WithBeforeTransmit),
  45. "WithClientLogMode": reflect.ValueOf(config.WithClientLogMode),
  46. "WithCredentialsCacheOptions": reflect.ValueOf(config.WithCredentialsCacheOptions),
  47. "WithCredentialsProvider": reflect.ValueOf(config.WithCredentialsProvider),
  48. "WithCustomCABundle": reflect.ValueOf(config.WithCustomCABundle),
  49. "WithDefaultRegion": reflect.ValueOf(config.WithDefaultRegion),
  50. "WithDefaultsMode": reflect.ValueOf(config.WithDefaultsMode),
  51. "WithDisableRequestCompression": reflect.ValueOf(config.WithDisableRequestCompression),
  52. "WithEC2IMDSClientEnableState": reflect.ValueOf(config.WithEC2IMDSClientEnableState),
  53. "WithEC2IMDSEndpoint": reflect.ValueOf(config.WithEC2IMDSEndpoint),
  54. "WithEC2IMDSEndpointMode": reflect.ValueOf(config.WithEC2IMDSEndpointMode),
  55. "WithEC2IMDSRegion": reflect.ValueOf(config.WithEC2IMDSRegion),
  56. "WithEC2RoleCredentialOptions": reflect.ValueOf(config.WithEC2RoleCredentialOptions),
  57. "WithEndpointCredentialOptions": reflect.ValueOf(config.WithEndpointCredentialOptions),
  58. "WithEndpointDiscovery": reflect.ValueOf(config.WithEndpointDiscovery),
  59. "WithEndpointResolver": reflect.ValueOf(config.WithEndpointResolver),
  60. "WithEndpointResolverWithOptions": reflect.ValueOf(config.WithEndpointResolverWithOptions),
  61. "WithHTTPClient": reflect.ValueOf(config.WithHTTPClient),
  62. "WithLogConfigurationWarnings": reflect.ValueOf(config.WithLogConfigurationWarnings),
  63. "WithLogger": reflect.ValueOf(config.WithLogger),
  64. "WithProcessCredentialOptions": reflect.ValueOf(config.WithProcessCredentialOptions),
  65. "WithRegion": reflect.ValueOf(config.WithRegion),
  66. "WithRequestChecksumCalculation": reflect.ValueOf(config.WithRequestChecksumCalculation),
  67. "WithRequestMinCompressSizeBytes": reflect.ValueOf(config.WithRequestMinCompressSizeBytes),
  68. "WithResponseChecksumValidation": reflect.ValueOf(config.WithResponseChecksumValidation),
  69. "WithRetryMaxAttempts": reflect.ValueOf(config.WithRetryMaxAttempts),
  70. "WithRetryMode": reflect.ValueOf(config.WithRetryMode),
  71. "WithRetryer": reflect.ValueOf(config.WithRetryer),
  72. "WithS3DisableExpressAuth": reflect.ValueOf(config.WithS3DisableExpressAuth),
  73. "WithS3DisableMultiRegionAccessPoints": reflect.ValueOf(config.WithS3DisableMultiRegionAccessPoints),
  74. "WithS3UseARNRegion": reflect.ValueOf(config.WithS3UseARNRegion),
  75. "WithSSOProviderOptions": reflect.ValueOf(config.WithSSOProviderOptions),
  76. "WithSSOTokenProviderOptions": reflect.ValueOf(config.WithSSOTokenProviderOptions),
  77. "WithServiceOptions": reflect.ValueOf(config.WithServiceOptions),
  78. "WithSharedConfigFiles": reflect.ValueOf(config.WithSharedConfigFiles),
  79. "WithSharedConfigProfile": reflect.ValueOf(config.WithSharedConfigProfile),
  80. "WithSharedCredentialsFiles": reflect.ValueOf(config.WithSharedCredentialsFiles),
  81. "WithUseDualStackEndpoint": reflect.ValueOf(config.WithUseDualStackEndpoint),
  82. "WithUseFIPSEndpoint": reflect.ValueOf(config.WithUseFIPSEndpoint),
  83. "WithWebIdentityRoleCredentialOptions": reflect.ValueOf(config.WithWebIdentityRoleCredentialOptions),
  84. // type definitions
  85. "AssumeRoleTokenProviderNotSetError": reflect.ValueOf((*config.AssumeRoleTokenProviderNotSetError)(nil)),
  86. "Config": reflect.ValueOf((*config.Config)(nil)),
  87. "CredentialRequiresARNError": reflect.ValueOf((*config.CredentialRequiresARNError)(nil)),
  88. "DefaultsModeOptions": reflect.ValueOf((*config.DefaultsModeOptions)(nil)),
  89. "EnvConfig": reflect.ValueOf((*config.EnvConfig)(nil)),
  90. "HTTPClient": reflect.ValueOf((*config.HTTPClient)(nil)),
  91. "IgnoreConfiguredEndpointsProvider": reflect.ValueOf((*config.IgnoreConfiguredEndpointsProvider)(nil)),
  92. "LoadOptions": reflect.ValueOf((*config.LoadOptions)(nil)),
  93. "LoadOptionsFunc": reflect.ValueOf((*config.LoadOptionsFunc)(nil)),
  94. "LoadSharedConfigOptions": reflect.ValueOf((*config.LoadSharedConfigOptions)(nil)),
  95. "SSOSession": reflect.ValueOf((*config.SSOSession)(nil)),
  96. "Services": reflect.ValueOf((*config.Services)(nil)),
  97. "SharedConfig": reflect.ValueOf((*config.SharedConfig)(nil)),
  98. "SharedConfigAssumeRoleError": reflect.ValueOf((*config.SharedConfigAssumeRoleError)(nil)),
  99. "SharedConfigLoadError": reflect.ValueOf((*config.SharedConfigLoadError)(nil)),
  100. "SharedConfigProfileNotExistError": reflect.ValueOf((*config.SharedConfigProfileNotExistError)(nil)),
  101. "UseEC2IMDSRegion": reflect.ValueOf((*config.UseEC2IMDSRegion)(nil)),
  102. // interface wrapper definitions
  103. "_Config": reflect.ValueOf((*_github_com_aws_aws_sdk_go_v2_config_Config)(nil)),
  104. "_HTTPClient": reflect.ValueOf((*_github_com_aws_aws_sdk_go_v2_config_HTTPClient)(nil)),
  105. "_IgnoreConfiguredEndpointsProvider": reflect.ValueOf((*_github_com_aws_aws_sdk_go_v2_config_IgnoreConfiguredEndpointsProvider)(nil)),
  106. }
  107. }
  108. // _github_com_aws_aws_sdk_go_v2_config_Config is an interface wrapper for Config type
  109. type _github_com_aws_aws_sdk_go_v2_config_Config struct {
  110. IValue interface{}
  111. }
  112. // _github_com_aws_aws_sdk_go_v2_config_HTTPClient is an interface wrapper for HTTPClient type
  113. type _github_com_aws_aws_sdk_go_v2_config_HTTPClient struct {
  114. IValue interface{}
  115. WDo func(a0 *http.Request) (*http.Response, error)
  116. }
  117. func (W _github_com_aws_aws_sdk_go_v2_config_HTTPClient) Do(a0 *http.Request) (*http.Response, error) {
  118. return W.WDo(a0)
  119. }
  120. // _github_com_aws_aws_sdk_go_v2_config_IgnoreConfiguredEndpointsProvider is an interface wrapper for IgnoreConfiguredEndpointsProvider type
  121. type _github_com_aws_aws_sdk_go_v2_config_IgnoreConfiguredEndpointsProvider struct {
  122. IValue interface{}
  123. WGetIgnoreConfiguredEndpoints func(ctx context.Context) (bool, bool, error)
  124. }
  125. func (W _github_com_aws_aws_sdk_go_v2_config_IgnoreConfiguredEndpointsProvider) GetIgnoreConfiguredEndpoints(ctx context.Context) (bool, bool, error) {
  126. return W.WGetIgnoreConfiguredEndpoints(ctx)
  127. }