docker

package
v1.0.19 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Camunda

func Camunda(ctx context.Context, wg *sync.WaitGroup, pgIp string, pgPort string) (camundaUrl string, err error)

func GetFreePort added in v1.0.19

func GetFreePort() (int, error)

func GetFreePortStr added in v1.0.19

func GetFreePortStr() (string, error)

func Mongo

func Mongo(ctx context.Context, wg *sync.WaitGroup) (hostport string, containerip string, err error)

func Mqtt

func Mqtt(ctx context.Context, wg *sync.WaitGroup) (hostPort string, ipAddress string, err error)

func Postgres

func Postgres(ctx context.Context, wg *sync.WaitGroup, dbname string) (conStr string, err error)

func PostgresWithNetwork

func PostgresWithNetwork(ctx context.Context, wg *sync.WaitGroup, dbname string) (conStr string, ip string, port string, err error)

func Retry

func Retry(timeout time.Duration, f func() error) (err error)

func TaskWorker added in v1.0.18

func TaskWorker(ctx context.Context, wg *sync.WaitGroup, mqttUrl string, camundaUrl string) (err error)

func Waitretry

func Waitretry(timeout time.Duration, f func(ctx context.Context, target wait.StrategyTarget) error) func(ctx context.Context, target wait.StrategyTarget) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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