Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultImage = "mcr.microsoft.com/azure-storage/azurite:3.23.0" BlobPort = "10000" QueryPort = "10001" TablePort = "10002" )
Variables ¶
This section is empty.
Functions ¶
func WithAccount ¶
func WithAccount(name, key string) testcontainers.CustomizeRequestOption
WithAccount sets the account name and key for the Azurite container
func WithDefaultCredentials ¶
func WithDefaultCredentials() testcontainers.CustomizeRequestOption
Types ¶
type AzuriteContainer ¶
AzuriteContainer represents the Azurite container type used in the module
func RunContainer ¶
func RunContainer(ctx context.Context, opts ...testcontainers.ContainerCustomizer) (*AzuriteContainer, error)
RunContainer creates an instance of the Azurite container type
func (*AzuriteContainer) ConnectionString ¶
func (c *AzuriteContainer) ConnectionString(ctx context.Context) (string, error)
Click to show internal directories.
Click to hide internal directories.