server_container

package
v0.0.0-...-f226c07 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package container is a package that will handle the creation and running of the docker image that scheduler will run in

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartNewScheduler

func StartNewScheduler(schedulerName string, returnDelay int64) (string, error)

StartNewScheduler starts a new scheduler with the given options. returns the IP address for the given scheduler. StartNewScheduler check for and UnreachableContainerError for the given delay amount. schedulerName is the name of the scheduler you want created returnDelay is how long you want to check for an UnreachableContainerError (in milliseconds) before returning the an error.

Types

type UnreachableContainerError

type UnreachableContainerError struct {
	// contains filtered or unexported fields
}

UnreachableContainerError is the error sent back if the container was started But could not be reached.

func (*UnreachableContainerError) Error

func (uc *UnreachableContainerError) Error() string

Jump to

Keyboard shortcuts

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