job_distributor

package
v1.50.15 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JDContainerName            string = "job-distributor"
	DEAFULTJDContainerPort     string = "42242"
	DEFAULTCSAKeyEncryptionKey string = "!PASsword000!"
	DEAFULTWSRPCContainerPort  string = "8080"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component struct {
	test_env.EnvComponent
	Grpc          string
	Wsrpc         string
	InternalGRPC  string
	InternalWSRPC string
	// contains filtered or unexported fields
}

func New

func New(networks []string, opts ...Option) *Component

func (*Component) RestartContainer

func (j *Component) RestartContainer() error

func (*Component) StartContainer

func (j *Component) StartContainer() error

type Option

type Option = func(j *Component)

func WithCSAKeyEncryptionKey

func WithCSAKeyEncryptionKey(key string) Option

func WithContainerName

func WithContainerName(name string) Option

func WithContainerPort

func WithContainerPort(port string) Option

func WithDBURL

func WithDBURL(db string) Option

func WithImage

func WithImage(image string) Option

func WithTestInstance

func WithTestInstance(t *testing.T) Option

func WithVersion

func WithVersion(version string) Option

func WithWSRPCContainerPort

func WithWSRPCContainerPort(port string) Option

Jump to

Keyboard shortcuts

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