event

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterDeployment added in v0.3.0

type ClusterDeployment struct {
	LeaseID mtypes.LeaseID
	Group   *manifest.Group
	Status  ClusterDeploymentStatus
}

ClusterDeployment stores leaseID, group details and deployment status

type ClusterDeploymentStatus added in v0.3.0

type ClusterDeploymentStatus string

ClusterDeploymentStatus represents status of the cluster deployment

const (
	// ClusterDeploymentPending is used when cluster deployment status is pending
	ClusterDeploymentPending ClusterDeploymentStatus = "pending"
	// ClusterDeploymentDeployed is used when cluster deployment status is deployed
	ClusterDeploymentDeployed ClusterDeploymentStatus = "deployed"
)

type LeaseWon

type LeaseWon struct {
	LeaseID mtypes.LeaseID
	Group   *dquery.Group
	Price   sdk.Coin
}

LeaseWon is the data structure that includes leaseID, group and price

type ManifestReceived

type ManifestReceived struct {
	LeaseID    mtypes.LeaseID
	Manifest   *manifest.Manifest
	Deployment *dquery.Deployment
	Group      *dquery.Group
}

ManifestReceived stores leaseID, manifest received, deployment and group details

func (ManifestReceived) ManifestGroup added in v0.0.9

func (ev ManifestReceived) ManifestGroup() *manifest.Group

ManifestGroup returns group if present in manifest or nil

Jump to

Keyboard shortcuts

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