task

package
v0.0.0-...-2a1a1f5 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: MIT, MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CheckK8sClusterExpoedPortsEvent event.EventType
View Source
var CheckK8sStatusEvent event.EventType
View Source
var CheckPortsEvent event.EventType
View Source
var CheckSwarmPortsEvent event.EventType
View Source
var CheckSwarmStatusEvent event.EventType
View Source
var CollectStatsEvent event.EventType

Functions

func NewCheckK8sClusterExposedPorts

func NewCheckK8sClusterExposedPorts(e event.EventApi, f k8s.FactoryApi) *checkK8sClusterExposedPortsTask

func NewCheckK8sClusterStatus

func NewCheckK8sClusterStatus(e event.EventApi, f k8s.FactoryApi) *checkK8sClusterStatusTask

func NewCheckPorts

func NewCheckPorts(e event.EventApi, f docker.FactoryApi) *checkPorts

func NewCheckSwarmPorts

func NewCheckSwarmPorts(e event.EventApi, f docker.FactoryApi) *checkSwarmPorts

func NewCheckSwarmStatus

func NewCheckSwarmStatus(e event.EventApi, f docker.FactoryApi) *checkSwarmStatus

func NewCollectStats

func NewCollectStats(e event.EventApi, f docker.FactoryApi, s storage.StorageApi) *collectStats

Types

type ClusterPorts

type ClusterPorts struct {
	Manager   string   `json:"manager"`
	Instances []string `json:"instances"`
	Ports     []int    `json:"ports"`
}

type ClusterStatus

type ClusterStatus struct {
	IsManager bool   `json:"is_manager"`
	IsWorker  bool   `json:"is_worker"`
	Instance  string `json:"instance"`
}

type DockerPorts

type DockerPorts struct {
	Instance string `json:"instance"`
	Ports    []int  `json:"ports"`
}

type InstanceStats

type InstanceStats struct {
	Instance string `json:"instance"`
	Mem      string `json:"mem"`
	Cpu      string `json:"cpu"`
}

Jump to

Keyboard shortcuts

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