event

package
v0.16.7 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: Apache-2.0 Imports: 4 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterDeployment

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

ClusterDeployment stores leaseID, group details and deployment status

type ClusterDeploymentStatus

type ClusterDeploymentStatus string

ClusterDeploymentStatus represents status of the cluster deployment

const (
	ClusterDeploymentUnknown ClusterDeploymentStatus = "unknown"
	// 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 LeaseAddFundsMonitor

type LeaseAddFundsMonitor struct {
	mtypes.LeaseID
	IsNewLease bool
}

type LeaseRemoveFundsMonitor

type LeaseRemoveFundsMonitor struct {
	mtypes.LeaseID
}

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   *mani.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

func (ev ManifestReceived) ManifestGroup() *mani.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