Documentation
¶
Index ¶
- Constants
- type OracleContainer
- type OrdsContainer
- type OrdsContainerOption
- func WithOrdsContainerCustomizers(customizers ...testcontainers.ContainerCustomizer) OrdsContainerOption
- func WithOrdsDatabaseConnectionString(connectionString string) OrdsContainerOption
- func WithOrdsImage(image string) OrdsContainerOption
- func WithOrdsOraclePassword(oraclePassword string) OrdsContainerOption
- func WithOrdsSchema(username, password, connectDescriptor string) OrdsContainerOption
- type OrdsSchemaConfiguration
Constants ¶
View Source
const (
DefaultOrdsImage = "container-registry.oracle.com/database/ords:latest"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OracleContainer ¶
type OracleContainer struct {
*testcontainers.DockerContainer
// contains filtered or unexported fields
}
func NewOracleContainer ¶
func NewOracleContainer(ctx context.Context, image, appUser, appUserPassword string, opts ...testcontainers.ContainerCustomizer) (*OracleContainer, error)
type OrdsContainer ¶
type OrdsContainer struct {
*testcontainers.DockerContainer
// contains filtered or unexported fields
}
func NewOrdsContainer ¶
func NewOrdsContainer( ctx context.Context, image string, connectionString string, oraclePassword string, opts ...testcontainers.ContainerCustomizer, ) (*OrdsContainer, error)
func RunOrdsContainer ¶
func RunOrdsContainer(ctx context.Context, opts ...OrdsContainerOption) (*OrdsContainer, error)
func (*OrdsContainer) BaseURL ¶
func (o *OrdsContainer) BaseURL(ctx context.Context) (string, error)
func (*OrdsContainer) MongoDBAPIPort ¶
type OrdsContainerOption ¶
type OrdsContainerOption func(*ordsContainerConfig) error
func WithOrdsContainerCustomizers ¶
func WithOrdsContainerCustomizers(customizers ...testcontainers.ContainerCustomizer) OrdsContainerOption
func WithOrdsDatabaseConnectionString ¶
func WithOrdsDatabaseConnectionString(connectionString string) OrdsContainerOption
func WithOrdsImage ¶
func WithOrdsImage(image string) OrdsContainerOption
func WithOrdsOraclePassword ¶
func WithOrdsOraclePassword(oraclePassword string) OrdsContainerOption
func WithOrdsSchema ¶
func WithOrdsSchema(username, password, connectDescriptor string) OrdsContainerOption
type OrdsSchemaConfiguration ¶
Click to show internal directories.
Click to hide internal directories.