Documentation
¶
Index ¶
- Constants
- func ContainerRequest(numberOfValidators int, spliceVersion string, postgresContainerName string) testcontainers.ContainerRequest
- func NginxContainerRequest(numberOfValidators int, port string, cantonContainerName string, ...) testcontainers.ContainerRequest
- func PostgresContainerRequest(numberOfValidators int) testcontainers.ContainerRequest
- func SpliceContainerRequest(numberOfValidators int, spliceVersion string, postgresContainerName string, ...) testcontainers.ContainerRequest
Constants ¶
View Source
const ( SpliceVersion = "0.5.3" Image = "ghcr.io/digital-asset/decentralized-canton-sync/docker/canton" )
Canton Defaults
View Source
const ( AuthProviderAudience = "https://chain.link" AuthProviderSecret = "unsafe" )
JWT Auth defaults
View Source
const ( DefaultParticipantJsonApiPortPrefix = "11" DefaultParticipantAdminApiPortPrefix = "12" DefaultLedgerApiPortPrefix = "13" DefaultHTTPHealthcheckPortPrefix = "15" DefaultGRPCHealthcheckPortPrefix = "16" DefaultSpliceValidatorAdminApiPortPrefix = "22" )
Port prefixes for participants
View Source
const ( DefaultPostgresImage = "postgres:14" DefaultPostgresUser = "canton" DefaultPostgresPass = "password" DefaultPostgresDB = "canton" )
View Source
const (
DefaultNginxImage = "nginx:1.27.0"
)
View Source
const (
SpliceImage = "ghcr.io/digital-asset/decentralized-canton-sync/docker/splice-app"
)
Variables ¶
This section is empty.
Functions ¶
func ContainerRequest ¶
func ContainerRequest( numberOfValidators int, spliceVersion string, postgresContainerName string, ) testcontainers.ContainerRequest
func NginxContainerRequest ¶
func NginxContainerRequest( numberOfValidators int, port string, cantonContainerName string, spliceContainerName string, ) testcontainers.ContainerRequest
func PostgresContainerRequest ¶
func PostgresContainerRequest( numberOfValidators int, ) testcontainers.ContainerRequest
func SpliceContainerRequest ¶
func SpliceContainerRequest( numberOfValidators int, spliceVersion string, postgresContainerName string, cantonContainerName string, ) testcontainers.ContainerRequest
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.