package
0.36.0
Repository: https://github.com/openshift/osdctl.git
Documentation: pkg.go.dev

# Functions

CreateAWSV2Config creates an aws-sdk-go-v2 config via Backplane given an internal cluster id.
GenerateAWSClientForCluster generates an AWS client given an OCM cluster id and AWS profile name.
No description provided by the author
No description provided by the author
GenerateJumpRoleCredentials performs the Assume Role chain from IAM User to the Jump role This sequence stays within the Red Hat account boundary, so a failure here indicates an internal misconfiguration.
No description provided by the author
GenerateOrganizationAccountAccessCredentials Uses the provided IAM Client to try and assume OrganizationAccountAccessRole for the given AWS Account This only works when the provided client is a user from the root account of an organization and the AWS account provided is a linked accounts within that organization.
GenerateRoleSessionName Uses the current IAM ARN to generate a role name.
GenerateSupportRoleCredentials Uses the provided IAM Client to perform the Assume Role chain needed to get to a cluster's Support Role.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

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

# Structs

AwsCluster Concrete struct with fields required only for interacting with the AWS cloud.
BaseClient A common struct used to not repeat fields used in the sub'classes' for AWS and GCP.
Concrete struct with fields required only for interacting with the GCP cloud.
No description provided by the author
No description provided by the author
VirtualMachine Abstract the AWS instances and GCP instances into a common type.

# Interfaces

ClusterHealthClient This client is used to interface with AWS & GCP and provide common abstractions that are generated from the cloud-specific resources.