Documentation ¶
Index ¶
- Constants
- func CreateJobInfo(status core.StatusType, runnerOpts *core.RunnerOptions, message string) core.JobInfo
- func CreateJobUpdateMessage(jobInfo core.JobInfo) core.Message
- func CreateLoginMessage(loginDetails core.LoginDetails) core.Message
- func CreateLogoutMessage() core.Message
- func CreateResourceStatsMessage(resourceStats core.ResourceStats) core.Message
- func GetResources(tierOpts core.Tier) core.Specs
- func New(runner core.DockerRunner, logger lumber.Logger, ...) core.SynapseManager
Constants ¶
View Source
const ( Repo = "repo" BuildID = "build-id" JobID = "job-id" Mode = "mode" ID = "id" DuplicateConnectionErr = "Synapse already has an open connection" AuthenticationFailed = "Synapse authentication failed" )
All constant related to synapse
Variables ¶
This section is empty.
Functions ¶
func CreateJobInfo ¶
func CreateJobInfo(status core.StatusType, runnerOpts *core.RunnerOptions, message string) core.JobInfo
CreateJobInfo creates jobInfo based on status and runner
func CreateJobUpdateMessage ¶
CreateJobUpdateMessage creates message of type job updates
func CreateLoginMessage ¶
func CreateLoginMessage(loginDetails core.LoginDetails) core.Message
CreateLoginMessage creates message of type login
func CreateLogoutMessage ¶
CreateLogoutMessage creates message of type logout
func CreateResourceStatsMessage ¶
func CreateResourceStatsMessage(resourceStats core.ResourceStats) core.Message
CreateResourceStatsMessage creates message of type resource stats
func GetResources ¶
GetResources returns dummy resources based on pod type
func New ¶
func New( runner core.DockerRunner, logger lumber.Logger, secretsManager core.SecretsManager, ) core.SynapseManager
New returns new instance of synapse
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.