package
0.10.0
Repository: https://github.com/hbocodelabs/infratest.git
Documentation: pkg.go.dev

# Functions

AssertDAXClusterEncrypted asserts that a DAX cluster has server side encryption enabled.
AssertDAXClusterSecurityGroup asserts that a DAX cluster is associated with a given security group.
AssertDAXClusterSubnetGroup asserts that a DAX cluster has a given subnet group associated to it.
AssertEC2InstancesBalancedInSubnets asserts that EC2 instances in a list are spread evenly throughout their attached subnets.
AssertEC2TagValue asserts that an EC2 instance has a tag with the given value.
AssertEC2VolumeEncrypted asserts that an EBS volume is encrypted, optionally using a specified KMS key.
AssertEC2VolumeEncryptedE asserts that a volume attached to an EC2 instance is encrypted and (optionally) done so using a specified KMS Key.
AssertVolumeIops asserts associated Iops for given volume type.
AssertEC2VolumeTagValue asserts that an EBS Volumes has a tag with the given value.
AssertVolumeThroughput & IOPs asserts associated throughput for given volume type.
AssertVolumeType asserts the right volume type.
AssertIAMPolicyDocumentContainsResourceAction will assert the an IAM Policy Document provided contains a Statement with the given Resource, Action, and Effect.
AssertIAMPolicyDocumentsContainsResourceAction will assert the _at least one_ IAM Policy Document in a provided set contains a Statement with the given Resource, Action, and Effect.
Asserts the MaxSessionDuration attribute of a given IAM Role.
AssertRoute53HostedZoneExists asserts whether or not the Route53 zone name it's passed is found amongst those reported by the AWS API.
AssertRoute53RecordExistsInHostedZone asserts whether or not the Route53 record name it's passed exists amongst those associated with the the Route53 zone whose name it's passed.
AssertRoute53ZoneIsAssociatedWithVPC asserts whether or not the Route53 zone is associated with the given VPC.
CreateFiltersFromMap is a utility method that creates a Filter object from a map of strings.
GetEC2SecurityGroupByName returns a security group object based on the name provided.
GetEKSClusterE returns some metadata about the specified EKS cluster, such as the endpoint and the CA certificate information.
GetEKSTokenE generates a new bearer token for authenticating with EKS clusters.

# Structs

AssertEC2TagValueEInput is used as an input to the AssertEC2TagValueE method.
AssertEC2TagValueInput is used as an input to the AssertEC2TagValue method.
AssertEC2VolumeEncryptedInput is used as an input to the AssertEC2VolumeEncryptedE and AssertEC2VolumeEncrypted methods.
AssertEC2VolumeTagValueInput is used as an input to the AssertEC2VolumeTagValue method.
AssertRecordInput is used as an input to the AssertRecordExistsInHostedZone method.
AssertRoute53ZoneIsAssociatedVPCInput is used as input to the AssertRoute53ZoneIsAssociatedWithVPC method.
AssertVolumeAttributesInput is used as an input to the AssertEC2VolumeType,AssertEC2VolumeIops,AssertEC2VolumeThroughput methods.
GetEKSClusterEOptions is a struct for use with functional options for the GetEKSClusterE method.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

DAXClient serves as a stub client interface for the AWS SDK [DAX client](https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/dax#Client).
No description provided by the author
No description provided by the author
IAMClient serves as a stub client interface for the AWS SDK [IAM client](https://pkg.go.dev/github.com/aws/aws-sdk-go/service/iam#hdr-Using_the_Client).
Route53Client is an AWS Route53 API client.

# Type aliases

GetEKSClusterEOptionsFunc is a type used for functional options for the GetEKSClusterE method.
GetEKSTokenEOptionsFunc is a type for the functional options of the GetEKSTokenE method.