Documentation ¶
Index ¶
- func GenerateKey(t *testing.T, d *FixtureData) (*aws.Ec2Keypair, error)
- func GenerateOptions(t *testing.T, d *FixtureData) *terraform.Options
- func GenerateSshAgent(t *testing.T, d *FixtureData) *ssh.SshAgent
- func GetCombinations(t *testing.T) (map[string]map[string]string, error)
- func GetReleases(t *testing.T) ([]string, error)
- func GetRke2Releases(t *testing.T) (string, string, string, error)
- func Teardown(t *testing.T, f *FixtureData)
- type FixtureData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateKey ¶
func GenerateKey(t *testing.T, d *FixtureData) (*aws.Ec2Keypair, error)
func GenerateOptions ¶
func GenerateOptions(t *testing.T, d *FixtureData) *terraform.Options
func GenerateSshAgent ¶
func GenerateSshAgent(t *testing.T, d *FixtureData) *ssh.SshAgent
func Teardown ¶
func Teardown(t *testing.T, f *FixtureData)
Types ¶
type FixtureData ¶
type FixtureData struct { Id string Name string DataDirectory string Release string OperatingSystem string Cni string InstallType string IpFamily string IngressController string Region string Owner string ExampleDirectory string // This is actually the test_relay directory Zone string AcmeServer string SshAgent *ssh.SshAgent SshKeyPair *aws.Ec2Keypair TfOptions *terraform.Options TfVars map[string]interface{} }
The user's environment is expected to have ZONE set with the Route53 domain zone to create the domain name in.
func CreateFixture ¶
Click to show internal directories.
Click to hide internal directories.