synapse

package
v0.6.4 Latest Latest
Warning

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

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

Documentation

Index

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

func CreateJobUpdateMessage(jobInfo core.JobInfo) core.Message

CreateJobUpdateMessage creates message of type job updates

func CreateLoginMessage

func CreateLoginMessage(loginDetails core.LoginDetails) core.Message

CreateLoginMessage creates message of type login

func CreateLogoutMessage

func CreateLogoutMessage() core.Message

CreateLogoutMessage creates message of type logout

func CreateResourceStatsMessage

func CreateResourceStatsMessage(resourceStats core.ResourceStats) core.Message

CreateResourceStatsMessage creates message of type resource stats

func GetResources

func GetResources(tierOpts core.Tier) core.Specs

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.

Jump to

Keyboard shortcuts

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