docker

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Camunda added in v0.0.16

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

func DeviceRepo added in v0.0.16

func DeviceRepo(ctx context.Context, wg *sync.WaitGroup, kafkaUrl string, mongoUrl string, permv2Url string) (hostPort string, ipAddress string, err error)

func EngineWrapper added in v0.0.16

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

func EventDeployment added in v0.0.16

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

func EventWorker added in v0.0.16

func EventWorker(ctx context.Context, wg *sync.WaitGroup, deviceRepoUrl string, eventTriggerUrl string, kafkaUrl string, mongoUrl string) (err error)

func GetFreePort added in v0.0.9

func GetFreePort() (int, error)

func IncidentsApi added in v0.0.16

func IncidentsApi(ctx context.Context, wg *sync.WaitGroup, shardsDbUrl string, mongoUrl string, notificationUrl string) (hostPort string, ipAddress string, err error)

func Kafka

func Kafka(ctx context.Context, wg *sync.WaitGroup, zookeeperUrl string) (kafkaUrl string, err error)

func Memcached added in v0.0.16

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

func Mongo

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

func PermissionsV2 added in v0.0.16

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

func Postgres added in v0.0.16

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

func PostgresWithNetwork added in v0.0.16

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

func Retry added in v0.0.16

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

func TaskWorker added in v0.0.16

func TaskWorker(ctx context.Context, wg *sync.WaitGroup, deviceRepoUrl string, kafkaUrl string, incidentApiUrl string, shardsDbUrl string, memcachedUrl string) (err error)

func Waitretry added in v0.0.16

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

func Zookeeper

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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