package
0.40.0
Repository: https://github.com/radius-project/radius.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

HandleAWSError takes in an error and returns an ARMResponse and an error.
Checks if the given error is an AWS ResourceNotFoundException error.
NewMockAWSCloudControlClient creates a new mock instance.
NewMockAWSCloudFormationClient creates a new mock instance.
NewUCPCredentialProvider creates UCPCredentialProvider provider to fetch Secret Access key using UCP credential APIs.

# Constants

CredentialKind is AccessKey.
CredentialKind is IRSA.
DefaultExpireDuration is the default access key expiry duration.
Token file path for IRSA.

# Structs

AWSMissingPropertyError is an error type to be returned when the call to UCP CreateWithPost is missing values for one of the expected primary identifier properties.
Clients contains the AWS clients.
MockAWSCloudControlClient is a mock of AWSCloudControlClient interface.
MockAWSCloudControlClientCancelResourceRequestCall wrap *gomock.Call.
MockAWSCloudControlClientCreateResourceCall wrap *gomock.Call.
MockAWSCloudControlClientDeleteResourceCall wrap *gomock.Call.
MockAWSCloudControlClientGetResourceCall wrap *gomock.Call.
MockAWSCloudControlClientGetResourceRequestStatusCall wrap *gomock.Call.
MockAWSCloudControlClientListResourceRequestsCall wrap *gomock.Call.
MockAWSCloudControlClientListResourcesCall wrap *gomock.Call.
MockAWSCloudControlClientMockRecorder is the mock recorder for MockAWSCloudControlClient.
MockAWSCloudControlClientUpdateResourceCall wrap *gomock.Call.
MockAWSCloudFormationClient is a mock of AWSCloudFormationClient interface.
MockAWSCloudFormationClientDescribeTypeCall wrap *gomock.Call.
MockAWSCloudFormationClientMockRecorder is the mock recorder for MockAWSCloudFormationClient.
UCPCredentialOptions is a configuration for UCPCredentialProvider.
UCPCredentialProvider is the implementation of aws.CredentialsProvider to retrieve credentials for AWS SDK via UCP credentials.

# Interfaces

Didn't see an interface for aws-sdk-go-v2, v1 had: https://pkg.go.dev/github.com/aws/aws-sdk-go/service/cloudcontrolapi/cloudcontrolapiiface This is most likely due to using json schemas to define types rather than crafting by hand.
go:generate mockgen -typed -destination=./mock_awscloudformationclient.go -package=aws -self_package github.com/radius-project/radius/pkg/ucp/aws github.com/radius-project/radius/pkg/ucp/aws AWSCloudFormationClient.