testcase

package
v0.0.0-...-69a3ef4 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ECSClientRegisteredTaskDefinitionTests

func ECSClientRegisteredTaskDefinitionTests() map[string]ECSClientRegisteredTaskDefinitionTestCase

ECSClientRegisteredTaskDefinitionTests returns common test cases which rely on an already-registered task definition that a cocoa.ECSClient should support.

func ECSClientTests

func ECSClientTests() map[string]ECSClientTestCase

ECSClientTests returns common test cases that a cocoa.ECSClient should support.

func ECSPodCreatorRegisteredTaskDefinitionTests

func ECSPodCreatorRegisteredTaskDefinitionTests() map[string]func(ctx context.Context, t *testing.T, c cocoa.ECSPodCreator, def types.TaskDefinition)

ECSPodCreatorRegisteredTaskDefinitionTests returns common test cases that a cocoa.ECSPodCreator should support that rely on an already-registered task definition.

func ECSPodCreatorTests

func ECSPodCreatorTests() map[string]ECSPodCreatorTestCase

ECSPodCreatorTests returns common test cases that a cocoa.ECSPodCreator should support.

func ECSPodCreatorVaultTests

func ECSPodCreatorVaultTests() map[string]ECSPodCreatorTestCase

ECSPodCreatorVaultTests returns common test cases that a cocoa.ECSPodCreator should support with a cocoa.Vault.

func ECSPodDefinitionManagerTests

func ECSPodDefinitionManagerTests() map[string]ECSPodDefinitionManagerTestCase

ECSPodDefinitionManagerTests returns common test cases that a cocoa.ECSPodDefinitionManager should support.

func ECSPodDefinitionManagerVaultTests

func ECSPodDefinitionManagerVaultTests() map[string]ECSPodDefinitionManagerTestCase

ECSPodDefinitionManagerVaultTests returns common test cases that a cocoa.ECSPodDefinitionManager should support with a cocoa.Vault.

func ECSPodTests

func ECSPodTests() map[string]ECSPodTestCase

ECSPodTests returns common test cases that a cocoa.ECSPod should support.

func SecretsManagerClientTests

func SecretsManagerClientTests() map[string]SecretsManagerClientTestCase

SecretsManagerClientTests returns common test cases that a cocoa.SecretsManagerClient should support.

func TagClientSecretTests

func TagClientSecretTests() map[string]TagClientSecretTestCase

TagClientSecretTests returns common test cases that rely on Secrets Manager that a cocoa.TagClient should support.

func TagClientTests

func TagClientTests() map[string]TagClientTestCase

TagClientTests returns common test cases that a cocoa.TagClient should support.

func VaultTests

func VaultTests(cleanupSecret func(ctx context.Context, t *testing.T, v cocoa.Vault, id string)) map[string]VaultTestCase

VaultTests returns common test cases that a cocoa.Vault should support.

Types

type ECSClientRegisteredTaskDefinitionTestCase

type ECSClientRegisteredTaskDefinitionTestCase func(ctx context.Context, t *testing.T, c cocoa.ECSClient, def types.TaskDefinition)

ECSClientRegisteredTaskDefinitionTestCase represents a test case for a cocoa.ECSClient with a task definition already registered.

type ECSClientTestCase

type ECSClientTestCase func(ctx context.Context, t *testing.T, c cocoa.ECSClient)

ECSClientTestCase represents a test case for a cocoa.ECSClient.

type ECSPodCreatorRegisteredTaskDefinitionTestCase

type ECSPodCreatorRegisteredTaskDefinitionTestCase func(ctx context.Context, t *testing.T, c cocoa.ECSPodCreator)

ECSPodCreatorRegisteredTaskDefinitionTestCase represents a test case for a cocoa.ECSPodCreator with a task definition already registered.

type ECSPodCreatorTestCase

type ECSPodCreatorTestCase func(ctx context.Context, t *testing.T, c cocoa.ECSPodCreator)

ECSPodCreatorTestCase represents a test case for a cocoa.ECSPodCreator.

type ECSPodDefinitionManagerTestCase

type ECSPodDefinitionManagerTestCase func(ctx context.Context, t *testing.T, pdm cocoa.ECSPodDefinitionManager)

ECSPodDefinitionManagerTestCase represents a test case for a cocoa.ECSPodDefinitionManager.

type ECSPodTestCase

type ECSPodTestCase func(ctx context.Context, t *testing.T, pc cocoa.ECSPodCreator, c cocoa.ECSClient, v cocoa.Vault)

ECSPodTestCase represents a test case for a cocoa.ECSPod.

type SecretsManagerClientTestCase

type SecretsManagerClientTestCase func(ctx context.Context, t *testing.T, c cocoa.SecretsManagerClient)

SecretsManagerClientTestCase represents a test case for a cocoa.SecretsManagerClient.

type TagClientSecretTestCase

type TagClientSecretTestCase func(ctx context.Context, t *testing.T, tagClient cocoa.TagClient, smClient cocoa.SecretsManagerClient)

TagClientSecretTestCase represents a test case for a cocoa.TagClient with a cocoa.SecretsManagerClient.

type TagClientTestCase

type TagClientTestCase func(ctx context.Context, t *testing.T, c cocoa.TagClient)

TagClientTestCase represents a test case for a cocoa.TagClient.

type VaultTestCase

type VaultTestCase func(ctx context.Context, t *testing.T, v cocoa.Vault)

VaultTestCase represents a test case for a cocoa.Vault.

Jump to

Keyboard shortcuts

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