awsconfig

package
v2.0.0-beta.53 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DualStackEndpointStateString

func DualStackEndpointStateString(state aws.DualStackEndpointState) string

func EC2IMDSClientEnableStateString

func EC2IMDSClientEnableStateString(state imds.ClientEnableState) string

func EC2IMDSEndpointModeString

func EC2IMDSEndpointModeString(state imds.EndpointModeState) string

func FIPSEndpointStateString

func FIPSEndpointStateString(state aws.FIPSEndpointState) string

func GetRetryMaxAttempts

func GetRetryMaxAttempts(ctx context.Context, sources []interface{}) (v int, found bool, err error)

Copied and renamed from https://github.com/aws/aws-sdk-go-v2/blob/main/config/provider.go

func ResolveEC2IMDSClientEnableState

func ResolveEC2IMDSClientEnableState(sources []interface{}) (value imds.ClientEnableState, found bool, err error)

Copied and renamed from https://github.com/aws/aws-sdk-go-v2/blob/main/feature/ec2/imds/internal/config/resolvers.go

func ResolveEC2IMDSEndpointConfig

func ResolveEC2IMDSEndpointConfig(configSources []interface{}) (value string, found bool, err error)

Copied and renamed from https://github.com/aws/aws-sdk-go-v2/blob/main/feature/ec2/imds/internal/config/resolvers.go

func ResolveEC2IMDSEndpointModeConfig

func ResolveEC2IMDSEndpointModeConfig(sources []interface{}) (value imds.EndpointModeState, found bool, err error)

Copied and renamed from https://github.com/aws/aws-sdk-go-v2/blob/main/feature/ec2/imds/internal/config/resolvers.go

func ResolveUseDualStackEndpoint

func ResolveUseDualStackEndpoint(ctx context.Context, configSources []interface{}) (value aws.DualStackEndpointState, found bool, err error)

Copied from https://github.com/aws/aws-sdk-go-v2/blob/main/internal/configsources/config.go

func ResolveUseFIPSEndpoint

func ResolveUseFIPSEndpoint(ctx context.Context, configSources []interface{}) (value aws.FIPSEndpointState, found bool, err error)

Copied from https://github.com/aws/aws-sdk-go-v2/blob/main/internal/configsources/config.go

Types

type EC2IMDSClientEnableStateResolver

type EC2IMDSClientEnableStateResolver interface {
	GetEC2IMDSClientEnableState() (imds.ClientEnableState, bool, error)
}

Copied and renamed from https://github.com/aws/aws-sdk-go-v2/blob/main/feature/ec2/imds/internal/config/resolvers.go

type EC2IMDSEndpointModeResolver

type EC2IMDSEndpointModeResolver interface {
	GetEC2IMDSEndpointMode() (imds.EndpointModeState, bool, error)
}

Copied and renamed from https://github.com/aws/aws-sdk-go-v2/blob/main/feature/ec2/imds/internal/config/resolvers.go

type EC2IMDSEndpointResolver

type EC2IMDSEndpointResolver interface {
	GetEC2IMDSEndpoint() (value string, found bool, err error)
}

Copied and renamed from https://github.com/aws/aws-sdk-go-v2/blob/main/feature/ec2/imds/internal/config/resolvers.go

type RetryMaxAttemptsProvider

type RetryMaxAttemptsProvider interface {
	GetRetryMaxAttempts(context.Context) (int, bool, error)
}

Copied and renamed from https://github.com/aws/aws-sdk-go-v2/blob/main/config/provider.go

type UseDualStackEndpointProvider

type UseDualStackEndpointProvider interface {
	GetUseDualStackEndpoint(context.Context) (value aws.DualStackEndpointState, found bool, err error)
}

Copied from https://github.com/aws/aws-sdk-go-v2/blob/main/internal/configsources/config.go

type UseFIPSEndpointProvider

type UseFIPSEndpointProvider interface {
	GetUseFIPSEndpoint(context.Context) (value aws.FIPSEndpointState, found bool, err error)
}

Copied from https://github.com/aws/aws-sdk-go-v2/blob/main/internal/configsources/config.go

Jump to

Keyboard shortcuts

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