client

package
v0.0.0-...-1543d79 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const GogetaSubsystem = "GOGETA"

GogetaSubsystem is a representation for identifying a ScalableSystem as gogeta

View Source
const MrRobotSubsystem = "MRROBOT"

MrRobotSubsystem is a representation for identifying a ScalableSystem as mr robot

Variables

This section is empty.

Functions

This section is empty.

Types

type DaveClient

type DaveClient struct {
	Watcher      watcher.QueueMonitor
	Log          logger.Log
	DevMode      bool
	ClientScaler scaler.System
}

DaveClient scales microservices remotely

func (*DaveClient) Create

func (client *DaveClient) Create()

Create a new DaveClient

func (*DaveClient) RunClient

func (client *DaveClient) RunClient(subSystem string, queueURL string, maxLoad int)

RunClient will read queue messages and send a response to an api endpoint to start up systems if the load is less than the max load

Jump to

Keyboard shortcuts

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