managers

package
v0.0.90 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AgentReportStatus

func AgentReportStatus(clusterId, agentId string, status entities.LightningMonkeyAgentReportStatus) (int64, error)

func GetClusterCertificates

func GetClusterCertificates(clusterId string) (entities.LightningMonkeyCertificateCollection, error)

func NewCluster

func NewCluster(cluster *entities.LightningMonkeyClusterSettings) (string, error)

func QueryAgentNextWorkItem

func QueryAgentNextWorkItem(clusterId, agentId string) (*entities.AgentJob, error)

Types

type DockerImageManager

type DockerImageManager interface {
	Ready() error
}

func NewDockerImageManager

func NewDockerImageManager(serverAddr string, dockerClient *client.Client, imageCollectionSettings *entities.DockerImageCollection) (DockerImageManager, error)

type HTTPDockerImageManager

type HTTPDockerImageManager struct {
	// contains filtered or unexported fields
}

func (*HTTPDockerImageManager) Ready

func (im *HTTPDockerImageManager) Ready() error

type RemoteRegistryDockerImageManager

type RemoteRegistryDockerImageManager struct {
	// contains filtered or unexported fields
}

func (*RemoteRegistryDockerImageManager) Ready

Jump to

Keyboard shortcuts

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