package
1.0.10-sph
Repository: https://github.com/spheronfdn/akash-api-fork.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
DeploymentIDEVAttributes returns event attribues for given DeploymentID.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GroupIDEVAttributes returns event attribues for given GroupID.
No description provided by the author
MakeGroupID returns GroupID instance with provided deployment details and group sequence number.
NewDepositDeploymentAuthorization creates a new DepositDeploymentAuthorization object.
No description provided by the author
NewEventDeploymentCreated initializes creation event.
NewEventDeploymentUpdated initializes SDK type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewMsgCloseDeployment creates a new MsgCloseDeployment instance.
NewMsgCloseGroup creates a new MsgCloseGroup instance.
NewMsgCreateDeployment creates a new MsgCreateDeployment instance.
NewMsgDepositDeployment creates a new MsgDepositDeployment instance.
NewMsgPauseGroup creates a new MsgPauseGroup instance.
NewMsgStartGroup creates a new MsgStartGroup instance.
NewMsgUpdateDeployment creates a new MsgUpdateDeployment instance.
No description provided by the author
No description provided by the author
No description provided by the author
ParseDeploymentPath returns DeploymentID details with provided queries, and return error if occurred due to wrong query.
ParseEVDeploymentID returns deploymentID details for given event attributes.
ParseEVDeploymentVersion returns the Deployment's SDL sha256 sum.
ParseEvent parses event and returns details of event and error if occurred.
ParseEVGroupID returns GroupID details for given event attributes.
RegisterInterfaces registers the x/deployment interfaces types with the interface registry.
RegisterLegacyAminoCodec register concrete types on codec.
No description provided by the author
RegisterQueryHandler registers the http handlers for service Query to "mux".
RegisterQueryHandlerClient registers the http handlers for service Query to "mux".
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
No description provided by the author
ValidateDeploymentGroups does validation for all deployment groups.
No description provided by the author

# Constants

DefaultOrderBiddingDuration is the default time limit for an Order being active.
DeploymentActive denotes state for deployment active.
DeploymentClosed denotes state for deployment closed.
Prefix should start with 0 in enum.
No description provided by the author
GroupClosed denotes state for group closed.
GroupInsufficientFunds denotes state for group insufficient_funds.
GroupOpen denotes state for group open.
GroupOrdered denotes state for group ordered.
Prefix should start with 0 in enum.
ManifestVersionLength is the length of manifest version.
MaxBiddingDuration is roughly 30 days of block height.
ModuleName is the module name constant used in many places.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RouterKey is the message route for deployment.
StoreKey is the store key string for deployment.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
ErrDeploymentClosed is the error when deployment is closed.
ErrDeploymentExists is the error when already deployment exists.
ErrDeploymentNotFound is the error when deployment not found.
ErrEmptyVersion is the error when version is empty.
ErrGroupClosed is the error when deployment is closed.
No description provided by the author
ErrGroupNotFound is the keeper's error for not finding a group.
ErrGroupNotOpen indicates the Group state has progressed beyond initial Open.
ErrGroupOpen is the error when deployment is closed.
ErrGroupPaused is the error when deployment is closed.
ErrGroupSpecInvalid indicates a GroupSpec has invalid configuration.
ErrInternal is the error for internal error.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrInvalidDeployment = is the error when deployment does not pass validation.
ErrInvalidDeploymentID is the error for invalid deployment id.
ErrInvalidDeposit indicates an invalid deposit.
ErrInvalidGroupID is the error when already deployment exists.
ErrInvalidGroups is the error when groups are empty.
ErrInvalidIDPath indicates an invalid ID path.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrInvalidParam indicates an invalid chain parameter.
ErrInvalidRequest is the error for invalid request.
ErrInvalidVersion is the error when version is invalid.
ErrNameDoesNotExist is the error when name does not exist.
No description provided by the author
ErrOwnerAcctMissing is the error for owner account missing.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ModuleCdc references the global x/deployment module codec.

# Structs

Deployment stores deploymentID, state and version details.
DeploymentFilters defines filters used to filter deployments.
DeploymentID stores owner and sequence number.
DepositDeploymentAuthorization allows the grantee to deposit up to spend_limit coins from the granter's account for a deployment.
EventDeploymentClosed struct.
EventDeploymentCreated struct.
EventDeploymentUpdated struct.
EventGroupClosed provides SDK event to signal group termination.
EventGroupPaused provides SDK event to signal group termination.
EventGroupStarted provides SDK event to signal group termination.
GenesisDeployment defines the basic genesis state used by deployment module.
GenesisState stores slice of genesis deployment instance.
Group stores group id, state and specifications of group.
GroupID stores owner, deployment sequence number and group sequence number.
GroupSpec stores group specifications.
MsgCloseDeployment defines an SDK message for closing deployment.
MsgCloseDeploymentResponse defines the Msg/CloseDeployment response type.
MsgCloseGroup defines SDK message to close a single Group within a Deployment.
MsgCloseGroupResponse defines the Msg/CloseGroup response type.
MsgCreateDeployment defines an SDK message for creating deployment.
MsgCreateDeploymentResponse defines the Msg/CreateDeployment response type.
MsgDepositDeployment deposits more funds into the deposit account.
MsgCreateDeploymentResponse defines the Msg/CreateDeployment response type.
MsgPauseGroup defines SDK message to close a single Group within a Deployment.
MsgPauseGroupResponse defines the Msg/PauseGroup response type.
MsgStartGroup defines SDK message to close a single Group within a Deployment.
MsgStartGroupResponse defines the Msg/StartGroup response type.
MsgUpdateDeployment defines an SDK message for updating deployment.
MsgUpdateDeploymentResponse defines the Msg/UpdateDeployment response type.
Params defines the parameters for the x/deployment package.
QueryDeploymentRequest is request type for the Query/Deployment RPC method.
QueryDeploymentResponse is response type for the Query/Deployment RPC method.
QueryDeploymentsRequest is request type for the Query/Deployments RPC method.
QueryDeploymentsResponse is response type for the Query/Deployments RPC method.
QueryGroupRequest is request type for the Query/Group RPC method.
QueryGroupResponse is response type for the Query/Group RPC method.
Resource stores unit, total count and price of resource.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.
No description provided by the author

# Interfaces

MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.

# Type aliases

State is an enum which refers to state of deployment.
DeploymentResponses is a collection of DeploymentResponse.
State is an enum which refers to state of group.