common

package
v0.0.0-...-adb0196 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ForwardTimeout is timeout to forward incoming request
	ForwardTimeout = 10 * time.Second
	// ZKSessionTimeout is timeout for zk connection session, within the session timeout,
	// it's possible to reestablish a connection to a different server and keep the same session.
	// This means any ephemeral nodes and watches are maintained.
	ZKSessionTimeout = 10 * time.Second
	PollTimeout      = 60 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DesiredState

type DesiredState map[string]*pb.Task

type TaskTableView

type TaskTableView map[string]*pb.Task

TaskTableView used to view map task uuid -> task

type WorkerTableView

type WorkerTableView map[string]*pb.Worker

WorkerTableView used to view map worker id -> worker

Jump to

Keyboard shortcuts

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