event

package
v0.16.8 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 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 (
	// ClusterDeploymentUpdated is used whenever the deployment in the cluster is updated but may not be functional
	ClusterDeploymentUpdated ClusterDeploymentStatus = "updated"
	// 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 LeaseWithdrawNow added in v0.10.1

type LeaseWithdrawNow struct{}

Empty type used as a marker to indicate _any_ lease should be withdrawn now

type LeaseWon

type LeaseWon struct {
	LeaseID mtypes.LeaseID
	Group   *dtypes.Group
	Price   sdk.DecCoin
}

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

type ManifestReceived

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

ManifestReceived stores leaseID, manifest received, deployment and group details to be provisioned by the Provider.

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