Documentation ¶
Overview ¶
Package types is a generated protocol buffer package.
It is generated from these files:
types/types.proto
It has these top-level messages:
Genesis Tx TxPayload Account TxSend Provider Providers TxCreateProvider ResourceUnit ResourceGroup ProviderAttribute GroupSpec DeploymentGroupID DeploymentGroup DeploymentGroups Deployment Deployments TxCreateDeployment TxCloseDeployment OrderID Order TxCreateOrder Orders FulfillmentID Fulfillment TxCreateFulfillment TxCloseFulfillment LeaseID Lease TxCreateLease TxCloseLease Leases ManifestRequest Manifest ManifestGroup ManifestService ManifestServiceExpose
Index ¶
- Variables
- type Account
- func (this *Account) Compare(that interface{}) int
- func (*Account) Descriptor() ([]byte, []int)
- func (m *Account) GetBalance() uint64
- func (m *Account) GetNonce() uint64
- func (this *Account) GoString() string
- func (*Account) ProtoMessage()
- func (m *Account) Reset()
- func (m *Account) String() string
- func (m *Account) Unmarshal(dAtA []byte) error
- type Deployment
- func (this *Deployment) Compare(that interface{}) int
- func (*Deployment) Descriptor() ([]byte, []int)
- func (m *Deployment) GetState() Deployment_DeploymentState
- func (this *Deployment) GoString() string
- func (*Deployment) ProtoMessage()
- func (m *Deployment) Reset()
- func (m *Deployment) String() string
- func (m *Deployment) Unmarshal(dAtA []byte) error
- type DeploymentGroup
- func (this *DeploymentGroup) Compare(that interface{}) int
- func (*DeploymentGroup) Descriptor() ([]byte, []int)
- func (m *DeploymentGroup) GetOrderTTL() int64
- func (m *DeploymentGroup) GetRequirements() []ProviderAttribute
- func (m *DeploymentGroup) GetResources() []ResourceGroup
- func (m *DeploymentGroup) GetState() DeploymentGroup_DeploymentGroupState
- func (this *DeploymentGroup) GoString() string
- func (*DeploymentGroup) ProtoMessage()
- func (m *DeploymentGroup) Reset()
- func (m *DeploymentGroup) String() string
- func (m *DeploymentGroup) Unmarshal(dAtA []byte) error
- type DeploymentGroupID
- func (this *DeploymentGroupID) Compare(that interface{}) int
- func (id DeploymentGroupID) DeploymentID() base.Bytes
- func (*DeploymentGroupID) Descriptor() ([]byte, []int)
- func (m *DeploymentGroupID) GetSeq() uint64
- func (this *DeploymentGroupID) GoString() string
- func (*DeploymentGroupID) ProtoMessage()
- func (m *DeploymentGroupID) Reset()
- func (m *DeploymentGroupID) String() string
- func (m *DeploymentGroupID) Unmarshal(dAtA []byte) error
- type DeploymentGroup_DeploymentGroupState
- type DeploymentGroups
- func (*DeploymentGroups) Descriptor() ([]byte, []int)
- func (m *DeploymentGroups) GetItems() []*DeploymentGroup
- func (this *DeploymentGroups) GoString() string
- func (*DeploymentGroups) ProtoMessage()
- func (m *DeploymentGroups) Reset()
- func (m *DeploymentGroups) String() string
- func (m *DeploymentGroups) Unmarshal(dAtA []byte) error
- type Deployment_DeploymentState
- type Deployments
- type Fulfillment
- func (this *Fulfillment) Compare(that interface{}) int
- func (*Fulfillment) Descriptor() ([]byte, []int)
- func (m *Fulfillment) GetPrice() uint32
- func (m *Fulfillment) GetState() Fulfillment_FulfillmentState
- func (this *Fulfillment) GoString() string
- func (*Fulfillment) ProtoMessage()
- func (m *Fulfillment) Reset()
- func (m *Fulfillment) String() string
- func (m *Fulfillment) Unmarshal(dAtA []byte) error
- type FulfillmentID
- func (this *FulfillmentID) Compare(that interface{}) int
- func (id FulfillmentID) DeploymentID() base.Bytes
- func (*FulfillmentID) Descriptor() ([]byte, []int)
- func (m *FulfillmentID) GetGroup() uint64
- func (m *FulfillmentID) GetOrder() uint64
- func (this *FulfillmentID) GoString() string
- func (id FulfillmentID) GroupID() DeploymentGroupID
- func (id FulfillmentID) LeaseID() LeaseID
- func (id FulfillmentID) OrderID() OrderID
- func (*FulfillmentID) ProtoMessage()
- func (m *FulfillmentID) Reset()
- func (m *FulfillmentID) String() string
- func (m *FulfillmentID) Unmarshal(dAtA []byte) error
- type Fulfillment_FulfillmentState
- type Genesis
- type GroupSpec
- func (*GroupSpec) Descriptor() ([]byte, []int)
- func (m *GroupSpec) GetRequirements() []ProviderAttribute
- func (m *GroupSpec) GetResources() []ResourceGroup
- func (this *GroupSpec) GoString() string
- func (*GroupSpec) ProtoMessage()
- func (m *GroupSpec) Reset()
- func (m *GroupSpec) String() string
- func (m *GroupSpec) Unmarshal(dAtA []byte) error
- type Lease
- type LeaseID
- func (this *LeaseID) Compare(that interface{}) int
- func (id LeaseID) DeploymentID() base.Bytes
- func (*LeaseID) Descriptor() ([]byte, []int)
- func (id LeaseID) FulfillmentID() FulfillmentID
- func (m *LeaseID) GetGroup() uint64
- func (m *LeaseID) GetOrder() uint64
- func (this *LeaseID) GoString() string
- func (id LeaseID) GroupID() DeploymentGroupID
- func (id LeaseID) OrderID() OrderID
- func (*LeaseID) ProtoMessage()
- func (m *LeaseID) Reset()
- func (m *LeaseID) String() string
- func (m *LeaseID) Unmarshal(dAtA []byte) error
- type Lease_LeaseState
- type Leases
- type Manifest
- type ManifestGroup
- func (*ManifestGroup) Descriptor() ([]byte, []int)
- func (m *ManifestGroup) GetName() string
- func (m *ManifestGroup) GetServices() []*ManifestService
- func (this *ManifestGroup) GoString() string
- func (*ManifestGroup) ProtoMessage()
- func (m *ManifestGroup) Reset()
- func (m *ManifestGroup) String() string
- func (m *ManifestGroup) Unmarshal(dAtA []byte) error
- type ManifestRequest
- func (*ManifestRequest) Descriptor() ([]byte, []int)
- func (m *ManifestRequest) GetManifest() *Manifest
- func (this *ManifestRequest) GoString() string
- func (*ManifestRequest) ProtoMessage()
- func (m *ManifestRequest) Reset()
- func (m *ManifestRequest) String() string
- func (m *ManifestRequest) Unmarshal(dAtA []byte) error
- type ManifestService
- func (*ManifestService) Descriptor() ([]byte, []int)
- func (m *ManifestService) GetCount() uint32
- func (m *ManifestService) GetExpose() []*ManifestServiceExpose
- func (m *ManifestService) GetImage() string
- func (m *ManifestService) GetName() string
- func (m *ManifestService) GetUnit() ResourceUnit
- func (this *ManifestService) GoString() string
- func (*ManifestService) ProtoMessage()
- func (m *ManifestService) Reset()
- func (m *ManifestService) String() string
- func (m *ManifestService) Unmarshal(dAtA []byte) error
- type ManifestServiceExpose
- func (*ManifestServiceExpose) Descriptor() ([]byte, []int)
- func (m *ManifestServiceExpose) GetGlobal() bool
- func (m *ManifestServiceExpose) GetPort() uint32
- func (m *ManifestServiceExpose) GetProto() string
- func (m *ManifestServiceExpose) GetService() string
- func (this *ManifestServiceExpose) GoString() string
- func (*ManifestServiceExpose) ProtoMessage()
- func (m *ManifestServiceExpose) Reset()
- func (m *ManifestServiceExpose) String() string
- func (m *ManifestServiceExpose) Unmarshal(dAtA []byte) error
- type Order
- func (this *Order) Compare(that interface{}) int
- func (*Order) Descriptor() ([]byte, []int)
- func (m *Order) GetEndAt() int64
- func (m *Order) GetState() Order_OrderState
- func (this *Order) GoString() string
- func (*Order) ProtoMessage()
- func (m *Order) Reset()
- func (m *Order) String() string
- func (m *Order) Unmarshal(dAtA []byte) error
- type OrderID
- func (this *OrderID) Compare(that interface{}) int
- func (id OrderID) DeploymentID() base.Bytes
- func (*OrderID) Descriptor() ([]byte, []int)
- func (m *OrderID) GetGroup() uint64
- func (m *OrderID) GetSeq() uint64
- func (this *OrderID) GoString() string
- func (id OrderID) GroupID() DeploymentGroupID
- func (*OrderID) ProtoMessage()
- func (m *OrderID) Reset()
- func (m *OrderID) String() string
- func (m *OrderID) Unmarshal(dAtA []byte) error
- type Order_OrderState
- type Orders
- type Provider
- func (this *Provider) Compare(that interface{}) int
- func (*Provider) Descriptor() ([]byte, []int)
- func (m *Provider) GetAttributes() []ProviderAttribute
- func (m *Provider) GetHostURI() string
- func (this *Provider) GoString() string
- func (*Provider) ProtoMessage()
- func (m *Provider) Reset()
- func (m *Provider) String() string
- func (m *Provider) Unmarshal(dAtA []byte) error
- type ProviderAttribute
- func (this *ProviderAttribute) Compare(that interface{}) int
- func (*ProviderAttribute) Descriptor() ([]byte, []int)
- func (m *ProviderAttribute) GetName() string
- func (m *ProviderAttribute) GetValue() string
- func (this *ProviderAttribute) GoString() string
- func (*ProviderAttribute) ProtoMessage()
- func (m *ProviderAttribute) Reset()
- func (m *ProviderAttribute) String() string
- func (m *ProviderAttribute) Unmarshal(dAtA []byte) error
- type Providers
- type ResourceGroup
- func (this *ResourceGroup) Compare(that interface{}) int
- func (*ResourceGroup) Descriptor() ([]byte, []int)
- func (m *ResourceGroup) GetCount() uint32
- func (m *ResourceGroup) GetPrice() uint32
- func (m *ResourceGroup) GetUnit() ResourceUnit
- func (this *ResourceGroup) GoString() string
- func (*ResourceGroup) ProtoMessage()
- func (m *ResourceGroup) Reset()
- func (m *ResourceGroup) String() string
- func (m *ResourceGroup) Unmarshal(dAtA []byte) error
- type ResourceUnit
- func (this *ResourceUnit) Compare(that interface{}) int
- func (*ResourceUnit) Descriptor() ([]byte, []int)
- func (m *ResourceUnit) GetCpu() uint32
- func (m *ResourceUnit) GetDisk() uint64
- func (m *ResourceUnit) GetMemory() uint32
- func (this *ResourceUnit) GoString() string
- func (*ResourceUnit) ProtoMessage()
- func (m *ResourceUnit) Reset()
- func (m *ResourceUnit) String() string
- func (m *ResourceUnit) Unmarshal(dAtA []byte) error
- type Tx
- type TxCloseDeployment
- func (*TxCloseDeployment) Descriptor() ([]byte, []int)
- func (m *TxCloseDeployment) GetReason() TxCloseDeployment_ReasonCode
- func (this *TxCloseDeployment) GoString() string
- func (*TxCloseDeployment) ProtoMessage()
- func (m *TxCloseDeployment) Reset()
- func (m *TxCloseDeployment) String() string
- func (m *TxCloseDeployment) Unmarshal(dAtA []byte) error
- type TxCloseDeployment_ReasonCode
- type TxCloseFulfillment
- type TxCloseLease
- type TxCreateDeployment
- func (*TxCreateDeployment) Descriptor() ([]byte, []int)
- func (m *TxCreateDeployment) GetGroups() []*GroupSpec
- func (m *TxCreateDeployment) GetNonce() uint64
- func (m *TxCreateDeployment) GetOrderTTL() int64
- func (this *TxCreateDeployment) GoString() string
- func (*TxCreateDeployment) ProtoMessage()
- func (m *TxCreateDeployment) Reset()
- func (m *TxCreateDeployment) String() string
- func (m *TxCreateDeployment) Unmarshal(dAtA []byte) error
- type TxCreateFulfillment
- func (*TxCreateFulfillment) Descriptor() ([]byte, []int)
- func (m *TxCreateFulfillment) GetPrice() uint32
- func (this *TxCreateFulfillment) GoString() string
- func (*TxCreateFulfillment) ProtoMessage()
- func (m *TxCreateFulfillment) Reset()
- func (m *TxCreateFulfillment) String() string
- func (m *TxCreateFulfillment) Unmarshal(dAtA []byte) error
- type TxCreateLease
- type TxCreateOrder
- type TxCreateProvider
- func (*TxCreateProvider) Descriptor() ([]byte, []int)
- func (m *TxCreateProvider) GetAttributes() []ProviderAttribute
- func (m *TxCreateProvider) GetHostURI() string
- func (m *TxCreateProvider) GetNonce() uint64
- func (this *TxCreateProvider) GoString() string
- func (*TxCreateProvider) ProtoMessage()
- func (m *TxCreateProvider) Reset()
- func (m *TxCreateProvider) String() string
- func (m *TxCreateProvider) Unmarshal(dAtA []byte) error
- type TxPayload
- func (*TxPayload) Descriptor() ([]byte, []int)
- func (m *TxPayload) GetNonce() uint64
- func (m *TxPayload) GetPayload() isTxPayload_Payload
- func (m *TxPayload) GetTxCloseDeployment() *TxCloseDeployment
- func (m *TxPayload) GetTxCloseFulfillment() *TxCloseFulfillment
- func (m *TxPayload) GetTxCloseLease() *TxCloseLease
- func (m *TxPayload) GetTxCreateDeployment() *TxCreateDeployment
- func (m *TxPayload) GetTxCreateFulfillment() *TxCreateFulfillment
- func (m *TxPayload) GetTxCreateLease() *TxCreateLease
- func (m *TxPayload) GetTxCreateOrder() *TxCreateOrder
- func (m *TxPayload) GetTxCreateProvider() *TxCreateProvider
- func (m *TxPayload) GetTxSend() *TxSend
- func (this *TxPayload) GoString() string
- func (*TxPayload) ProtoMessage()
- func (m *TxPayload) Reset()
- func (m *TxPayload) String() string
- func (m *TxPayload) Unmarshal(dAtA []byte) error
- func (*TxPayload) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type TxPayload_TxCloseDeployment
- type TxPayload_TxCloseFulfillment
- type TxPayload_TxCloseLease
- type TxPayload_TxCreateDeployment
- type TxPayload_TxCreateFulfillment
- type TxPayload_TxCreateLease
- type TxPayload_TxCreateOrder
- type TxPayload_TxCreateProvider
- type TxPayload_TxSend
- type TxSend
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") )
View Source
var DeploymentGroup_DeploymentGroupState_name = map[int32]string{
0: "OPEN",
1: "ORDERED",
3: "CLOSED",
}
View Source
var DeploymentGroup_DeploymentGroupState_value = map[string]int32{
"OPEN": 0,
"ORDERED": 1,
"CLOSED": 3,
}
View Source
var Deployment_DeploymentState_name = map[int32]string{
0: "ACTIVE",
2: "CLOSED",
}
View Source
var Deployment_DeploymentState_value = map[string]int32{
"ACTIVE": 0,
"CLOSED": 2,
}
View Source
var Fulfillment_FulfillmentState_name = map[int32]string{
0: "OPEN",
1: "MATCHED",
2: "CLOSED",
}
View Source
var Fulfillment_FulfillmentState_value = map[string]int32{
"OPEN": 0,
"MATCHED": 1,
"CLOSED": 2,
}
View Source
var Lease_LeaseState_name = map[int32]string{
0: "ACTIVE",
2: "CLOSED",
}
View Source
var Lease_LeaseState_value = map[string]int32{
"ACTIVE": 0,
"CLOSED": 2,
}
View Source
var Order_OrderState_name = map[int32]string{
0: "OPEN",
1: "MATCHED",
2: "CLOSED",
}
View Source
var Order_OrderState_value = map[string]int32{
"OPEN": 0,
"MATCHED": 1,
"CLOSED": 2,
}
View Source
var TxCloseDeployment_ReasonCode_name = map[int32]string{
0: "UNSET",
1: "TENANT_CLOSE",
2: "INSUFFICIENT",
}
View Source
var TxCloseDeployment_ReasonCode_value = map[string]int32{
"UNSET": 0,
"TENANT_CLOSE": 1,
"INSUFFICIENT": 2,
}
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Address github_com_ovrclk_akash_types_base.Bytes `protobuf:"bytes,1,opt,name=address,proto3,customtype=github.com/ovrclk/akash/types/base.Bytes" json:"address"` Balance uint64 `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty"` Nonce uint64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"` }
BEGIN ACCOUNT
func (*Account) Descriptor ¶
func (*Account) GetBalance ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
type Deployment ¶
type Deployment struct { // BEGIN ID FIELDS Address github_com_ovrclk_akash_types_base.Bytes `protobuf:"bytes,1,opt,name=address,proto3,customtype=github.com/ovrclk/akash/types/base.Bytes" json:"address"` Tenant github_com_ovrclk_akash_types_base.Bytes `protobuf:"bytes,2,opt,name=tenant,proto3,customtype=github.com/ovrclk/akash/types/base.Bytes" json:"tenant"` State Deployment_DeploymentState `protobuf:"varint,3,opt,name=state,proto3,enum=types.Deployment_DeploymentState" json:"state,omitempty"` }
func (*Deployment) Compare ¶ added in v0.0.2
func (this *Deployment) Compare(that interface{}) int
func (*Deployment) Descriptor ¶
func (*Deployment) Descriptor() ([]byte, []int)
func (*Deployment) GetState ¶
func (m *Deployment) GetState() Deployment_DeploymentState
func (*Deployment) GoString ¶
func (this *Deployment) GoString() string
func (*Deployment) ProtoMessage ¶
func (*Deployment) ProtoMessage()
func (*Deployment) Reset ¶
func (m *Deployment) Reset()
func (*Deployment) String ¶
func (m *Deployment) String() string
func (*Deployment) Unmarshal ¶
func (m *Deployment) Unmarshal(dAtA []byte) error
type DeploymentGroup ¶
type DeploymentGroup struct { DeploymentGroupID `protobuf:"bytes,1,opt,name=id,embedded=id" json:"id"` // max number of blocks orders are open OrderTTL int64 `protobuf:"varint,3,opt,name=orderTTL,proto3" json:"orderTTL,omitempty"` State DeploymentGroup_DeploymentGroupState `protobuf:"varint,4,opt,name=state,proto3,enum=types.DeploymentGroup_DeploymentGroupState" json:"state,omitempty"` Requirements []ProviderAttribute `protobuf:"bytes,5,rep,name=requirements" json:"requirements"` Resources []ResourceGroup `protobuf:"bytes,6,rep,name=resources" json:"resources"` }
func (*DeploymentGroup) Compare ¶ added in v0.0.2
func (this *DeploymentGroup) Compare(that interface{}) int
func (*DeploymentGroup) Descriptor ¶
func (*DeploymentGroup) Descriptor() ([]byte, []int)
func (*DeploymentGroup) GetOrderTTL ¶ added in v0.0.3
func (m *DeploymentGroup) GetOrderTTL() int64
func (*DeploymentGroup) GetRequirements ¶
func (m *DeploymentGroup) GetRequirements() []ProviderAttribute
func (*DeploymentGroup) GetResources ¶
func (m *DeploymentGroup) GetResources() []ResourceGroup
func (*DeploymentGroup) GetState ¶
func (m *DeploymentGroup) GetState() DeploymentGroup_DeploymentGroupState
func (*DeploymentGroup) GoString ¶
func (this *DeploymentGroup) GoString() string
func (*DeploymentGroup) ProtoMessage ¶
func (*DeploymentGroup) ProtoMessage()
func (*DeploymentGroup) Reset ¶
func (m *DeploymentGroup) Reset()
func (*DeploymentGroup) String ¶
func (m *DeploymentGroup) String() string
func (*DeploymentGroup) Unmarshal ¶
func (m *DeploymentGroup) Unmarshal(dAtA []byte) error
type DeploymentGroupID ¶ added in v0.0.6
type DeploymentGroupID struct { // deployment address Deployment github_com_ovrclk_akash_types_base.Bytes `protobuf:"bytes,1,opt,name=deployment,proto3,customtype=github.com/ovrclk/akash/types/base.Bytes" json:"deployment"` // unique sequence over deployment Seq uint64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"` }
func (*DeploymentGroupID) Compare ¶ added in v0.0.6
func (this *DeploymentGroupID) Compare(that interface{}) int
func (DeploymentGroupID) DeploymentID ¶ added in v0.0.6
func (id DeploymentGroupID) DeploymentID() base.Bytes
func (*DeploymentGroupID) Descriptor ¶ added in v0.0.6
func (*DeploymentGroupID) Descriptor() ([]byte, []int)
func (*DeploymentGroupID) GetSeq ¶ added in v0.0.6
func (m *DeploymentGroupID) GetSeq() uint64
func (*DeploymentGroupID) GoString ¶ added in v0.0.6
func (this *DeploymentGroupID) GoString() string
func (*DeploymentGroupID) ProtoMessage ¶ added in v0.0.6
func (*DeploymentGroupID) ProtoMessage()
func (*DeploymentGroupID) Reset ¶ added in v0.0.6
func (m *DeploymentGroupID) Reset()
func (*DeploymentGroupID) String ¶ added in v0.0.6
func (m *DeploymentGroupID) String() string
func (*DeploymentGroupID) Unmarshal ¶ added in v0.0.6
func (m *DeploymentGroupID) Unmarshal(dAtA []byte) error
type DeploymentGroup_DeploymentGroupState ¶
type DeploymentGroup_DeploymentGroupState int32
const ( DeploymentGroup_OPEN DeploymentGroup_DeploymentGroupState = 0 DeploymentGroup_ORDERED DeploymentGroup_DeploymentGroupState = 1 DeploymentGroup_CLOSED DeploymentGroup_DeploymentGroupState = 3 )
func (DeploymentGroup_DeploymentGroupState) EnumDescriptor ¶
func (DeploymentGroup_DeploymentGroupState) EnumDescriptor() ([]byte, []int)
func (DeploymentGroup_DeploymentGroupState) String ¶
func (x DeploymentGroup_DeploymentGroupState) String() string
type DeploymentGroups ¶
type DeploymentGroups struct {
Items []*DeploymentGroup `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
}
func (*DeploymentGroups) Descriptor ¶
func (*DeploymentGroups) Descriptor() ([]byte, []int)
func (*DeploymentGroups) GetItems ¶
func (m *DeploymentGroups) GetItems() []*DeploymentGroup
func (*DeploymentGroups) GoString ¶
func (this *DeploymentGroups) GoString() string
func (*DeploymentGroups) ProtoMessage ¶
func (*DeploymentGroups) ProtoMessage()
func (*DeploymentGroups) Reset ¶
func (m *DeploymentGroups) Reset()
func (*DeploymentGroups) String ¶
func (m *DeploymentGroups) String() string
func (*DeploymentGroups) Unmarshal ¶
func (m *DeploymentGroups) Unmarshal(dAtA []byte) error
type Deployment_DeploymentState ¶
type Deployment_DeploymentState int32
const ( Deployment_ACTIVE Deployment_DeploymentState = 0 Deployment_CLOSED Deployment_DeploymentState = 2 )
func (Deployment_DeploymentState) EnumDescriptor ¶
func (Deployment_DeploymentState) EnumDescriptor() ([]byte, []int)
func (Deployment_DeploymentState) String ¶
func (x Deployment_DeploymentState) String() string
type Deployments ¶
type Deployments struct {
Items []Deployment `protobuf:"bytes,1,rep,name=items" json:"items"`
}
func (*Deployments) Descriptor ¶
func (*Deployments) Descriptor() ([]byte, []int)
func (*Deployments) GetItems ¶
func (m *Deployments) GetItems() []Deployment
func (*Deployments) GoString ¶
func (this *Deployments) GoString() string
func (*Deployments) ProtoMessage ¶
func (*Deployments) ProtoMessage()
func (*Deployments) Reset ¶
func (m *Deployments) Reset()
func (*Deployments) String ¶
func (m *Deployments) String() string
func (*Deployments) Unmarshal ¶
func (m *Deployments) Unmarshal(dAtA []byte) error
type Fulfillment ¶
type Fulfillment struct { FulfillmentID `protobuf:"bytes,1,opt,name=id,embedded=id" json:"id"` Price uint32 `protobuf:"varint,2,opt,name=price,proto3" json:"price,omitempty"` State Fulfillment_FulfillmentState `protobuf:"varint,3,opt,name=state,proto3,enum=types.Fulfillment_FulfillmentState" json:"state,omitempty"` }
func (*Fulfillment) Compare ¶ added in v0.0.2
func (this *Fulfillment) Compare(that interface{}) int
func (*Fulfillment) Descriptor ¶
func (*Fulfillment) Descriptor() ([]byte, []int)
func (*Fulfillment) GetPrice ¶
func (m *Fulfillment) GetPrice() uint32
func (*Fulfillment) GetState ¶ added in v0.0.2
func (m *Fulfillment) GetState() Fulfillment_FulfillmentState
func (*Fulfillment) GoString ¶
func (this *Fulfillment) GoString() string
func (*Fulfillment) ProtoMessage ¶
func (*Fulfillment) ProtoMessage()
func (*Fulfillment) Reset ¶
func (m *Fulfillment) Reset()
func (*Fulfillment) String ¶
func (m *Fulfillment) String() string
func (*Fulfillment) Unmarshal ¶
func (m *Fulfillment) Unmarshal(dAtA []byte) error
type FulfillmentID ¶ added in v0.0.6
type FulfillmentID struct { // deployment address Deployment github_com_ovrclk_akash_types_base.Bytes `protobuf:"bytes,1,opt,name=deployment,proto3,customtype=github.com/ovrclk/akash/types/base.Bytes" json:"deployment"` // deployment group sequence Group uint64 `protobuf:"varint,2,opt,name=group,proto3" json:"group,omitempty"` // order sequence Order uint64 `protobuf:"varint,3,opt,name=order,proto3" json:"order,omitempty"` // provider address Provider github_com_ovrclk_akash_types_base.Bytes `protobuf:"bytes,4,opt,name=provider,proto3,customtype=github.com/ovrclk/akash/types/base.Bytes" json:"provider"` }
func (*FulfillmentID) Compare ¶ added in v0.0.6
func (this *FulfillmentID) Compare(that interface{}) int
func (FulfillmentID) DeploymentID ¶ added in v0.0.6
func (id FulfillmentID) DeploymentID() base.Bytes
func (*FulfillmentID) Descriptor ¶ added in v0.0.6
func (*FulfillmentID) Descriptor() ([]byte, []int)
func (*FulfillmentID) GetGroup ¶ added in v0.0.6
func (m *FulfillmentID) GetGroup() uint64
func (*FulfillmentID) GetOrder ¶ added in v0.0.6
func (m *FulfillmentID) GetOrder() uint64
func (*FulfillmentID) GoString ¶ added in v0.0.6
func (this *FulfillmentID) GoString() string
func (FulfillmentID) GroupID ¶ added in v0.0.6
func (id FulfillmentID) GroupID() DeploymentGroupID
func (FulfillmentID) LeaseID ¶ added in v0.0.6
func (id FulfillmentID) LeaseID() LeaseID
func (FulfillmentID) OrderID ¶ added in v0.0.6
func (id FulfillmentID) OrderID() OrderID
func (*FulfillmentID) ProtoMessage ¶ added in v0.0.6
func (*FulfillmentID) ProtoMessage()
func (*FulfillmentID) Reset ¶ added in v0.0.6
func (m *FulfillmentID) Reset()
func (*FulfillmentID) String ¶ added in v0.0.6
func (m *FulfillmentID) String() string
func (*FulfillmentID) Unmarshal ¶ added in v0.0.6
func (m *FulfillmentID) Unmarshal(dAtA []byte) error
type Fulfillment_FulfillmentState ¶ added in v0.0.2
type Fulfillment_FulfillmentState int32
const ( Fulfillment_OPEN Fulfillment_FulfillmentState = 0 Fulfillment_MATCHED Fulfillment_FulfillmentState = 1 Fulfillment_CLOSED Fulfillment_FulfillmentState = 2 )
func (Fulfillment_FulfillmentState) EnumDescriptor ¶ added in v0.0.2
func (Fulfillment_FulfillmentState) EnumDescriptor() ([]byte, []int)
func (Fulfillment_FulfillmentState) String ¶ added in v0.0.2
func (x Fulfillment_FulfillmentState) String() string
type Genesis ¶
type Genesis struct {
Accounts []Account `protobuf:"bytes,1,rep,name=accounts" json:"accounts"`
}
BEGIN GLOBAL
func (*Genesis) Descriptor ¶
func (*Genesis) GetAccounts ¶
func (*Genesis) ProtoMessage ¶
func (*Genesis) ProtoMessage()
type GroupSpec ¶ added in v0.0.3
type GroupSpec struct { Requirements []ProviderAttribute `protobuf:"bytes,1,rep,name=requirements" json:"requirements"` Resources []ResourceGroup `protobuf:"bytes,2,rep,name=resources" json:"resources"` }
func (*GroupSpec) Descriptor ¶ added in v0.0.3
func (*GroupSpec) GetRequirements ¶ added in v0.0.3
func (m *GroupSpec) GetRequirements() []ProviderAttribute
func (*GroupSpec) GetResources ¶ added in v0.0.3
func (m *GroupSpec) GetResources() []ResourceGroup
func (*GroupSpec) ProtoMessage ¶ added in v0.0.3
func (*GroupSpec) ProtoMessage()
type Lease ¶
type Lease struct { LeaseID `protobuf:"bytes,1,opt,name=id,embedded=id" json:"id"` // price of matching fulfillment Price uint32 `protobuf:"varint,2,opt,name=price,proto3" json:"price,omitempty"` State Lease_LeaseState `protobuf:"varint,3,opt,name=state,proto3,enum=types.Lease_LeaseState" json:"state,omitempty"` }
func (*Lease) Descriptor ¶
func (*Lease) GetState ¶ added in v0.0.2
func (m *Lease) GetState() Lease_LeaseState
func (*Lease) ProtoMessage ¶
func (*Lease) ProtoMessage()
type LeaseID ¶ added in v0.0.6
type LeaseID struct { // deployment address Deployment github_com_ovrclk_akash_types_base.Bytes `protobuf:"bytes,1,opt,name=deployment,proto3,customtype=github.com/ovrclk/akash/types/base.Bytes" json:"deployment"` // deployment group sequence Group uint64 `protobuf:"varint,2,opt,name=group,proto3" json:"group,omitempty"` // order sequence Order uint64 `protobuf:"varint,3,opt,name=order,proto3" json:"order,omitempty"` // provider address Provider github_com_ovrclk_akash_types_base.Bytes `protobuf:"bytes,4,opt,name=provider,proto3,customtype=github.com/ovrclk/akash/types/base.Bytes" json:"provider"` }
func (LeaseID) DeploymentID ¶ added in v0.0.6
func (*LeaseID) Descriptor ¶ added in v0.0.6
func (LeaseID) FulfillmentID ¶ added in v0.0.6
func (id LeaseID) FulfillmentID() FulfillmentID
func (LeaseID) GroupID ¶ added in v0.0.6
func (id LeaseID) GroupID() DeploymentGroupID
func (*LeaseID) ProtoMessage ¶ added in v0.0.6
func (*LeaseID) ProtoMessage()
type Lease_LeaseState ¶ added in v0.0.2
type Lease_LeaseState int32
const ( Lease_ACTIVE Lease_LeaseState = 0 Lease_CLOSED Lease_LeaseState = 2 )
func (Lease_LeaseState) EnumDescriptor ¶ added in v0.0.2
func (Lease_LeaseState) EnumDescriptor() ([]byte, []int)
func (Lease_LeaseState) String ¶ added in v0.0.2
func (x Lease_LeaseState) String() string
type Leases ¶ added in v0.0.3
type Leases struct {
Items []*Lease `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
}
func (*Leases) Descriptor ¶ added in v0.0.3
func (*Leases) ProtoMessage ¶ added in v0.0.3
func (*Leases) ProtoMessage()
type Manifest ¶ added in v0.0.6
type Manifest struct {
Groups []*ManifestGroup `protobuf:"bytes,1,rep,name=groups" json:"groups,omitempty"`
}
func (*Manifest) Descriptor ¶ added in v0.0.6
func (*Manifest) GetGroups ¶ added in v0.0.6
func (m *Manifest) GetGroups() []*ManifestGroup
func (*Manifest) ProtoMessage ¶ added in v0.0.6
func (*Manifest) ProtoMessage()
type ManifestGroup ¶ added in v0.0.6
type ManifestGroup struct { // Placement profile name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Service definitions Services []*ManifestService `protobuf:"bytes,2,rep,name=services" json:"services,omitempty"` }
func (*ManifestGroup) Descriptor ¶ added in v0.0.6
func (*ManifestGroup) Descriptor() ([]byte, []int)
func (*ManifestGroup) GetName ¶ added in v0.0.6
func (m *ManifestGroup) GetName() string
func (*ManifestGroup) GetServices ¶ added in v0.0.6
func (m *ManifestGroup) GetServices() []*ManifestService
func (*ManifestGroup) GoString ¶ added in v0.0.6
func (this *ManifestGroup) GoString() string
func (*ManifestGroup) ProtoMessage ¶ added in v0.0.6
func (*ManifestGroup) ProtoMessage()
func (*ManifestGroup) Reset ¶ added in v0.0.6
func (m *ManifestGroup) Reset()
func (*ManifestGroup) String ¶ added in v0.0.6
func (m *ManifestGroup) String() string
func (*ManifestGroup) Unmarshal ¶ added in v0.0.6
func (m *ManifestGroup) Unmarshal(dAtA []byte) error
type ManifestRequest ¶ added in v0.0.6
type ManifestRequest struct { Key github_com_ovrclk_akash_types_base.Bytes `protobuf:"bytes,1,opt,name=key,proto3,customtype=github.com/ovrclk/akash/types/base.Bytes" json:"key"` Signature github_com_ovrclk_akash_types_base.Bytes `protobuf:"bytes,2,opt,name=signature,proto3,customtype=github.com/ovrclk/akash/types/base.Bytes" json:"signature"` Deployment github_com_ovrclk_akash_types_base.Bytes `protobuf:"bytes,3,opt,name=deployment,proto3,customtype=github.com/ovrclk/akash/types/base.Bytes" json:"deployment"` Manifest *Manifest `protobuf:"bytes,4,opt,name=manifest" json:"manifest,omitempty"` }
func (*ManifestRequest) Descriptor ¶ added in v0.0.6
func (*ManifestRequest) Descriptor() ([]byte, []int)
func (*ManifestRequest) GetManifest ¶ added in v0.0.6
func (m *ManifestRequest) GetManifest() *Manifest
func (*ManifestRequest) GoString ¶ added in v0.0.6
func (this *ManifestRequest) GoString() string
func (*ManifestRequest) ProtoMessage ¶ added in v0.0.6
func (*ManifestRequest) ProtoMessage()
func (*ManifestRequest) Reset ¶ added in v0.0.6
func (m *ManifestRequest) Reset()
func (*ManifestRequest) String ¶ added in v0.0.6
func (m *ManifestRequest) String() string
func (*ManifestRequest) Unmarshal ¶ added in v0.0.6
func (m *ManifestRequest) Unmarshal(dAtA []byte) error
type ManifestService ¶ added in v0.0.6
type ManifestService struct { // Service name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Docker image Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` // Resource requirements Unit ResourceUnit `protobuf:"bytes,3,opt,name=unit" json:"unit"` // Number of instances Count uint32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` // Overlay Network Links Expose []*ManifestServiceExpose `protobuf:"bytes,5,rep,name=expose" json:"expose,omitempty"` }
func (*ManifestService) Descriptor ¶ added in v0.0.6
func (*ManifestService) Descriptor() ([]byte, []int)
func (*ManifestService) GetCount ¶ added in v0.0.6
func (m *ManifestService) GetCount() uint32
func (*ManifestService) GetExpose ¶ added in v0.0.6
func (m *ManifestService) GetExpose() []*ManifestServiceExpose
func (*ManifestService) GetImage ¶ added in v0.0.6
func (m *ManifestService) GetImage() string
func (*ManifestService) GetName ¶ added in v0.0.6
func (m *ManifestService) GetName() string
func (*ManifestService) GetUnit ¶ added in v0.0.6
func (m *ManifestService) GetUnit() ResourceUnit
func (*ManifestService) GoString ¶ added in v0.0.6
func (this *ManifestService) GoString() string
func (*ManifestService) ProtoMessage ¶ added in v0.0.6
func (*ManifestService) ProtoMessage()
func (*ManifestService) Reset ¶ added in v0.0.6
func (m *ManifestService) Reset()
func (*ManifestService) String ¶ added in v0.0.6
func (m *ManifestService) String() string
func (*ManifestService) Unmarshal ¶ added in v0.0.6
func (m *ManifestService) Unmarshal(dAtA []byte) error
type ManifestServiceExpose ¶ added in v0.0.6
type ManifestServiceExpose struct { Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"` Proto string `protobuf:"bytes,2,opt,name=proto,proto3" json:"proto,omitempty"` Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"` Global bool `protobuf:"varint,4,opt,name=global,proto3" json:"global,omitempty"` }
func (*ManifestServiceExpose) Descriptor ¶ added in v0.0.6
func (*ManifestServiceExpose) Descriptor() ([]byte, []int)
func (*ManifestServiceExpose) GetGlobal ¶ added in v0.0.6
func (m *ManifestServiceExpose) GetGlobal() bool
func (*ManifestServiceExpose) GetPort ¶ added in v0.0.6
func (m *ManifestServiceExpose) GetPort() uint32
func (*ManifestServiceExpose) GetProto ¶ added in v0.0.6
func (m *ManifestServiceExpose) GetProto() string
func (*ManifestServiceExpose) GetService ¶ added in v0.0.6
func (m *ManifestServiceExpose) GetService() string
func (*ManifestServiceExpose) GoString ¶ added in v0.0.6
func (this *ManifestServiceExpose) GoString() string
func (*ManifestServiceExpose) ProtoMessage ¶ added in v0.0.6
func (*ManifestServiceExpose) ProtoMessage()
func (*ManifestServiceExpose) Reset ¶ added in v0.0.6
func (m *ManifestServiceExpose) Reset()
func (*ManifestServiceExpose) String ¶ added in v0.0.6
func (m *ManifestServiceExpose) String() string
func (*ManifestServiceExpose) Unmarshal ¶ added in v0.0.6
func (m *ManifestServiceExpose) Unmarshal(dAtA []byte) error
type Order ¶
type Order struct { OrderID `protobuf:"bytes,1,opt,name=id,embedded=id" json:"id"` // maximum block number order can be open EndAt int64 `protobuf:"varint,2,opt,name=endAt,proto3" json:"endAt,omitempty"` State Order_OrderState `protobuf:"varint,3,opt,name=state,proto3,enum=types.Order_OrderState" json:"state,omitempty"` }
func (*Order) Descriptor ¶
func (*Order) GetState ¶
func (m *Order) GetState() Order_OrderState
func (*Order) ProtoMessage ¶
func (*Order) ProtoMessage()
type OrderID ¶ added in v0.0.6
type OrderID struct { // deployment Deployment github_com_ovrclk_akash_types_base.Bytes `protobuf:"bytes,1,opt,name=deployment,proto3,customtype=github.com/ovrclk/akash/types/base.Bytes" json:"deployment"` // deployment group sequence Group uint64 `protobuf:"varint,2,opt,name=group,proto3" json:"group,omitempty"` // order sequence Seq uint64 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"` }
func (OrderID) DeploymentID ¶ added in v0.0.6
func (*OrderID) Descriptor ¶ added in v0.0.6
func (OrderID) GroupID ¶ added in v0.0.6
func (id OrderID) GroupID() DeploymentGroupID
func (*OrderID) ProtoMessage ¶ added in v0.0.6
func (*OrderID) ProtoMessage()
type Order_OrderState ¶
type Order_OrderState int32
const ( Order_OPEN Order_OrderState = 0 Order_MATCHED Order_OrderState = 1 Order_CLOSED Order_OrderState = 2 )
func (Order_OrderState) EnumDescriptor ¶
func (Order_OrderState) EnumDescriptor() ([]byte, []int)
func (Order_OrderState) String ¶
func (x Order_OrderState) String() string
type Orders ¶
type Orders struct {
Items []*Order `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
}
func (*Orders) Descriptor ¶
func (*Orders) ProtoMessage ¶
func (*Orders) ProtoMessage()
type Provider ¶
type Provider struct { Address github_com_ovrclk_akash_types_base.Bytes `protobuf:"bytes,1,opt,name=address,proto3,customtype=github.com/ovrclk/akash/types/base.Bytes" json:"address"` Owner github_com_ovrclk_akash_types_base.Bytes `protobuf:"bytes,2,opt,name=owner,proto3,customtype=github.com/ovrclk/akash/types/base.Bytes" json:"owner"` HostURI string `protobuf:"bytes,3,opt,name=hostURI,proto3" json:"hostURI,omitempty"` Attributes []ProviderAttribute `protobuf:"bytes,4,rep,name=attributes" json:"attributes"` }
func (*Provider) Descriptor ¶
func (*Provider) GetAttributes ¶
func (m *Provider) GetAttributes() []ProviderAttribute
func (*Provider) GetHostURI ¶ added in v0.0.6
func (*Provider) ProtoMessage ¶
func (*Provider) ProtoMessage()
type ProviderAttribute ¶
type ProviderAttribute struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` }
func (*ProviderAttribute) Compare ¶ added in v0.0.2
func (this *ProviderAttribute) Compare(that interface{}) int
func (*ProviderAttribute) Descriptor ¶
func (*ProviderAttribute) Descriptor() ([]byte, []int)
func (*ProviderAttribute) GetName ¶
func (m *ProviderAttribute) GetName() string
func (*ProviderAttribute) GetValue ¶
func (m *ProviderAttribute) GetValue() string
func (*ProviderAttribute) GoString ¶
func (this *ProviderAttribute) GoString() string
func (*ProviderAttribute) ProtoMessage ¶
func (*ProviderAttribute) ProtoMessage()
func (*ProviderAttribute) Reset ¶
func (m *ProviderAttribute) Reset()
func (*ProviderAttribute) String ¶
func (m *ProviderAttribute) String() string
func (*ProviderAttribute) Unmarshal ¶
func (m *ProviderAttribute) Unmarshal(dAtA []byte) error
type Providers ¶
type Providers struct {
Providers []Provider `protobuf:"bytes,1,rep,name=providers" json:"providers"`
}
func (*Providers) Descriptor ¶
func (*Providers) GetProviders ¶
func (*Providers) ProtoMessage ¶
func (*Providers) ProtoMessage()
type ResourceGroup ¶
type ResourceGroup struct { Unit ResourceUnit `protobuf:"bytes,1,opt,name=unit" json:"unit"` Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Price uint32 `protobuf:"varint,3,opt,name=price,proto3" json:"price,omitempty"` }
func (*ResourceGroup) Compare ¶ added in v0.0.2
func (this *ResourceGroup) Compare(that interface{}) int
func (*ResourceGroup) Descriptor ¶
func (*ResourceGroup) Descriptor() ([]byte, []int)
func (*ResourceGroup) GetCount ¶
func (m *ResourceGroup) GetCount() uint32
func (*ResourceGroup) GetPrice ¶
func (m *ResourceGroup) GetPrice() uint32
func (*ResourceGroup) GetUnit ¶
func (m *ResourceGroup) GetUnit() ResourceUnit
func (*ResourceGroup) GoString ¶
func (this *ResourceGroup) GoString() string
func (*ResourceGroup) ProtoMessage ¶
func (*ResourceGroup) ProtoMessage()
func (*ResourceGroup) Reset ¶
func (m *ResourceGroup) Reset()
func (*ResourceGroup) String ¶
func (m *ResourceGroup) String() string
func (*ResourceGroup) Unmarshal ¶
func (m *ResourceGroup) Unmarshal(dAtA []byte) error
type ResourceUnit ¶
type ResourceUnit struct { Cpu uint32 `protobuf:"varint,1,opt,name=cpu,proto3" json:"cpu,omitempty"` Memory uint32 `protobuf:"varint,2,opt,name=memory,proto3" json:"memory,omitempty"` Disk uint64 `protobuf:"varint,3,opt,name=disk,proto3" json:"disk,omitempty"` }
BEGIN EXCHANGE
func (*ResourceUnit) Compare ¶ added in v0.0.2
func (this *ResourceUnit) Compare(that interface{}) int
func (*ResourceUnit) Descriptor ¶
func (*ResourceUnit) Descriptor() ([]byte, []int)
func (*ResourceUnit) GetCpu ¶
func (m *ResourceUnit) GetCpu() uint32
func (*ResourceUnit) GetDisk ¶
func (m *ResourceUnit) GetDisk() uint64
func (*ResourceUnit) GetMemory ¶
func (m *ResourceUnit) GetMemory() uint32
func (*ResourceUnit) GoString ¶
func (this *ResourceUnit) GoString() string
func (*ResourceUnit) ProtoMessage ¶
func (*ResourceUnit) ProtoMessage()
func (*ResourceUnit) Reset ¶
func (m *ResourceUnit) Reset()
func (*ResourceUnit) String ¶
func (m *ResourceUnit) String() string
func (*ResourceUnit) Unmarshal ¶
func (m *ResourceUnit) Unmarshal(dAtA []byte) error
type Tx ¶
type Tx struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` Payload TxPayload `protobuf:"bytes,3,opt,name=payload" json:"payload"` }
func (*Tx) Descriptor ¶
func (*Tx) GetPayload ¶
func (*Tx) GetSignature ¶ added in v0.0.3
func (*Tx) ProtoMessage ¶
func (*Tx) ProtoMessage()
type TxCloseDeployment ¶ added in v0.0.2
type TxCloseDeployment struct { // deployment address Deployment github_com_ovrclk_akash_types_base.Bytes `protobuf:"bytes,1,opt,name=deployment,proto3,customtype=github.com/ovrclk/akash/types/base.Bytes" json:"deployment"` Reason TxCloseDeployment_ReasonCode `protobuf:"varint,2,opt,name=reason,proto3,enum=types.TxCloseDeployment_ReasonCode" json:"reason,omitempty"` }
func (*TxCloseDeployment) Descriptor ¶ added in v0.0.2
func (*TxCloseDeployment) Descriptor() ([]byte, []int)
func (*TxCloseDeployment) GetReason ¶ added in v0.0.4
func (m *TxCloseDeployment) GetReason() TxCloseDeployment_ReasonCode
func (*TxCloseDeployment) GoString ¶ added in v0.0.2
func (this *TxCloseDeployment) GoString() string
func (*TxCloseDeployment) ProtoMessage ¶ added in v0.0.2
func (*TxCloseDeployment) ProtoMessage()
func (*TxCloseDeployment) Reset ¶ added in v0.0.2
func (m *TxCloseDeployment) Reset()
func (*TxCloseDeployment) String ¶ added in v0.0.2
func (m *TxCloseDeployment) String() string
func (*TxCloseDeployment) Unmarshal ¶ added in v0.0.2
func (m *TxCloseDeployment) Unmarshal(dAtA []byte) error
type TxCloseDeployment_ReasonCode ¶ added in v0.0.4
type TxCloseDeployment_ReasonCode int32
const ( TxCloseDeployment_UNSET TxCloseDeployment_ReasonCode = 0 TxCloseDeployment_TENANT_CLOSE TxCloseDeployment_ReasonCode = 1 TxCloseDeployment_INSUFFICIENT TxCloseDeployment_ReasonCode = 2 )
func (TxCloseDeployment_ReasonCode) EnumDescriptor ¶ added in v0.0.4
func (TxCloseDeployment_ReasonCode) EnumDescriptor() ([]byte, []int)
func (TxCloseDeployment_ReasonCode) String ¶ added in v0.0.4
func (x TxCloseDeployment_ReasonCode) String() string
type TxCloseFulfillment ¶ added in v0.0.4
type TxCloseFulfillment struct {
FulfillmentID `protobuf:"bytes,1,opt,name=id,embedded=id" json:"id"`
}
func (*TxCloseFulfillment) Descriptor ¶ added in v0.0.4
func (*TxCloseFulfillment) Descriptor() ([]byte, []int)
func (*TxCloseFulfillment) GoString ¶ added in v0.0.4
func (this *TxCloseFulfillment) GoString() string
func (*TxCloseFulfillment) ProtoMessage ¶ added in v0.0.4
func (*TxCloseFulfillment) ProtoMessage()
func (*TxCloseFulfillment) Reset ¶ added in v0.0.4
func (m *TxCloseFulfillment) Reset()
func (*TxCloseFulfillment) String ¶ added in v0.0.4
func (m *TxCloseFulfillment) String() string
func (*TxCloseFulfillment) Unmarshal ¶ added in v0.0.4
func (m *TxCloseFulfillment) Unmarshal(dAtA []byte) error
type TxCloseLease ¶ added in v0.0.5
type TxCloseLease struct {
LeaseID `protobuf:"bytes,1,opt,name=id,embedded=id" json:"id"`
}
func (*TxCloseLease) Descriptor ¶ added in v0.0.5
func (*TxCloseLease) Descriptor() ([]byte, []int)
func (*TxCloseLease) GoString ¶ added in v0.0.5
func (this *TxCloseLease) GoString() string
func (*TxCloseLease) ProtoMessage ¶ added in v0.0.5
func (*TxCloseLease) ProtoMessage()
func (*TxCloseLease) Reset ¶ added in v0.0.5
func (m *TxCloseLease) Reset()
func (*TxCloseLease) String ¶ added in v0.0.5
func (m *TxCloseLease) String() string
func (*TxCloseLease) Unmarshal ¶ added in v0.0.5
func (m *TxCloseLease) Unmarshal(dAtA []byte) error
type TxCreateDeployment ¶
type TxCreateDeployment struct { Tenant github_com_ovrclk_akash_types_base.Bytes `protobuf:"bytes,1,opt,name=tenant,proto3,customtype=github.com/ovrclk/akash/types/base.Bytes" json:"tenant"` Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` OrderTTL int64 `protobuf:"varint,3,opt,name=orderTTL,proto3" json:"orderTTL,omitempty"` Groups []*GroupSpec `protobuf:"bytes,4,rep,name=groups" json:"groups,omitempty"` }
func (*TxCreateDeployment) Descriptor ¶
func (*TxCreateDeployment) Descriptor() ([]byte, []int)
func (*TxCreateDeployment) GetGroups ¶ added in v0.0.2
func (m *TxCreateDeployment) GetGroups() []*GroupSpec
func (*TxCreateDeployment) GetNonce ¶ added in v0.0.3
func (m *TxCreateDeployment) GetNonce() uint64
func (*TxCreateDeployment) GetOrderTTL ¶ added in v0.0.3
func (m *TxCreateDeployment) GetOrderTTL() int64
func (*TxCreateDeployment) GoString ¶
func (this *TxCreateDeployment) GoString() string
func (*TxCreateDeployment) ProtoMessage ¶
func (*TxCreateDeployment) ProtoMessage()
func (*TxCreateDeployment) Reset ¶
func (m *TxCreateDeployment) Reset()
func (*TxCreateDeployment) String ¶
func (m *TxCreateDeployment) String() string
func (*TxCreateDeployment) Unmarshal ¶
func (m *TxCreateDeployment) Unmarshal(dAtA []byte) error
type TxCreateFulfillment ¶
type TxCreateFulfillment struct { FulfillmentID `protobuf:"bytes,1,opt,name=id,embedded=id" json:"id"` Price uint32 `protobuf:"varint,2,opt,name=price,proto3" json:"price,omitempty"` }
func (*TxCreateFulfillment) Descriptor ¶
func (*TxCreateFulfillment) Descriptor() ([]byte, []int)
func (*TxCreateFulfillment) GetPrice ¶ added in v0.0.4
func (m *TxCreateFulfillment) GetPrice() uint32
func (*TxCreateFulfillment) GoString ¶
func (this *TxCreateFulfillment) GoString() string
func (*TxCreateFulfillment) ProtoMessage ¶
func (*TxCreateFulfillment) ProtoMessage()
func (*TxCreateFulfillment) Reset ¶
func (m *TxCreateFulfillment) Reset()
func (*TxCreateFulfillment) String ¶
func (m *TxCreateFulfillment) String() string
func (*TxCreateFulfillment) Unmarshal ¶
func (m *TxCreateFulfillment) Unmarshal(dAtA []byte) error
type TxCreateLease ¶
type TxCreateLease struct { LeaseID `protobuf:"bytes,1,opt,name=id,embedded=id" json:"id"` // price of matching fulfillment Price uint32 `protobuf:"varint,2,opt,name=price,proto3" json:"price,omitempty"` }
func (*TxCreateLease) Descriptor ¶
func (*TxCreateLease) Descriptor() ([]byte, []int)
func (*TxCreateLease) GetPrice ¶ added in v0.0.4
func (m *TxCreateLease) GetPrice() uint32
func (*TxCreateLease) GoString ¶
func (this *TxCreateLease) GoString() string
func (*TxCreateLease) ProtoMessage ¶
func (*TxCreateLease) ProtoMessage()
func (*TxCreateLease) Reset ¶
func (m *TxCreateLease) Reset()
func (*TxCreateLease) String ¶
func (m *TxCreateLease) String() string
func (*TxCreateLease) Unmarshal ¶
func (m *TxCreateLease) Unmarshal(dAtA []byte) error
type TxCreateOrder ¶
type TxCreateOrder struct { OrderID `protobuf:"bytes,1,opt,name=id,embedded=id" json:"id"` // maximum block number order can be open EndAt int64 `protobuf:"varint,2,opt,name=endAt,proto3" json:"endAt,omitempty"` }
func (*TxCreateOrder) Descriptor ¶
func (*TxCreateOrder) Descriptor() ([]byte, []int)
func (*TxCreateOrder) GetEndAt ¶ added in v0.0.4
func (m *TxCreateOrder) GetEndAt() int64
func (*TxCreateOrder) GoString ¶
func (this *TxCreateOrder) GoString() string
func (*TxCreateOrder) ProtoMessage ¶
func (*TxCreateOrder) ProtoMessage()
func (*TxCreateOrder) Reset ¶
func (m *TxCreateOrder) Reset()
func (*TxCreateOrder) String ¶
func (m *TxCreateOrder) String() string
func (*TxCreateOrder) Unmarshal ¶
func (m *TxCreateOrder) Unmarshal(dAtA []byte) error
type TxCreateProvider ¶
type TxCreateProvider struct { Owner github_com_ovrclk_akash_types_base.Bytes `protobuf:"bytes,1,opt,name=owner,proto3,customtype=github.com/ovrclk/akash/types/base.Bytes" json:"owner"` HostURI string `protobuf:"bytes,2,opt,name=hostURI,proto3" json:"hostURI,omitempty"` Attributes []ProviderAttribute `protobuf:"bytes,3,rep,name=attributes" json:"attributes"` Nonce uint64 `protobuf:"varint,4,opt,name=nonce,proto3" json:"nonce,omitempty"` }
func (*TxCreateProvider) Descriptor ¶
func (*TxCreateProvider) Descriptor() ([]byte, []int)
func (*TxCreateProvider) GetAttributes ¶ added in v0.0.3
func (m *TxCreateProvider) GetAttributes() []ProviderAttribute
func (*TxCreateProvider) GetHostURI ¶ added in v0.0.6
func (m *TxCreateProvider) GetHostURI() string
func (*TxCreateProvider) GetNonce ¶ added in v0.0.3
func (m *TxCreateProvider) GetNonce() uint64
func (*TxCreateProvider) GoString ¶
func (this *TxCreateProvider) GoString() string
func (*TxCreateProvider) ProtoMessage ¶
func (*TxCreateProvider) ProtoMessage()
func (*TxCreateProvider) Reset ¶
func (m *TxCreateProvider) Reset()
func (*TxCreateProvider) String ¶
func (m *TxCreateProvider) String() string
func (*TxCreateProvider) Unmarshal ¶
func (m *TxCreateProvider) Unmarshal(dAtA []byte) error
type TxPayload ¶
type TxPayload struct { Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` // Types that are valid to be assigned to Payload: // *TxPayload_TxSend // *TxPayload_TxCreateDeployment // *TxPayload_TxCreateOrder // *TxPayload_TxCreateFulfillment // *TxPayload_TxCreateLease // *TxPayload_TxCreateProvider // *TxPayload_TxCloseDeployment // *TxPayload_TxCloseFulfillment // *TxPayload_TxCloseLease Payload isTxPayload_Payload `protobuf_oneof:"payload"` }
func (*TxPayload) Descriptor ¶
func (*TxPayload) GetPayload ¶
func (m *TxPayload) GetPayload() isTxPayload_Payload
func (*TxPayload) GetTxCloseDeployment ¶ added in v0.0.2
func (m *TxPayload) GetTxCloseDeployment() *TxCloseDeployment
func (*TxPayload) GetTxCloseFulfillment ¶ added in v0.0.4
func (m *TxPayload) GetTxCloseFulfillment() *TxCloseFulfillment
func (*TxPayload) GetTxCloseLease ¶ added in v0.0.5
func (m *TxPayload) GetTxCloseLease() *TxCloseLease
func (*TxPayload) GetTxCreateDeployment ¶
func (m *TxPayload) GetTxCreateDeployment() *TxCreateDeployment
func (*TxPayload) GetTxCreateFulfillment ¶
func (m *TxPayload) GetTxCreateFulfillment() *TxCreateFulfillment
func (*TxPayload) GetTxCreateLease ¶
func (m *TxPayload) GetTxCreateLease() *TxCreateLease
func (*TxPayload) GetTxCreateOrder ¶
func (m *TxPayload) GetTxCreateOrder() *TxCreateOrder
func (*TxPayload) GetTxCreateProvider ¶
func (m *TxPayload) GetTxCreateProvider() *TxCreateProvider
func (*TxPayload) ProtoMessage ¶
func (*TxPayload) ProtoMessage()
type TxPayload_TxCloseDeployment ¶ added in v0.0.2
type TxPayload_TxCloseDeployment struct {
TxCloseDeployment *TxCloseDeployment `protobuf:"bytes,8,opt,name=txCloseDeployment,oneof"`
}
func (*TxPayload_TxCloseDeployment) GoString ¶ added in v0.0.2
func (this *TxPayload_TxCloseDeployment) GoString() string
type TxPayload_TxCloseFulfillment ¶ added in v0.0.4
type TxPayload_TxCloseFulfillment struct {
TxCloseFulfillment *TxCloseFulfillment `protobuf:"bytes,9,opt,name=txCloseFulfillment,oneof"`
}
func (*TxPayload_TxCloseFulfillment) GoString ¶ added in v0.0.4
func (this *TxPayload_TxCloseFulfillment) GoString() string
type TxPayload_TxCloseLease ¶ added in v0.0.5
type TxPayload_TxCloseLease struct {
TxCloseLease *TxCloseLease `protobuf:"bytes,10,opt,name=txCloseLease,oneof"`
}
func (*TxPayload_TxCloseLease) GoString ¶ added in v0.0.5
func (this *TxPayload_TxCloseLease) GoString() string
type TxPayload_TxCreateDeployment ¶
type TxPayload_TxCreateDeployment struct {
TxCreateDeployment *TxCreateDeployment `protobuf:"bytes,3,opt,name=txCreateDeployment,oneof"`
}
func (*TxPayload_TxCreateDeployment) GoString ¶
func (this *TxPayload_TxCreateDeployment) GoString() string
type TxPayload_TxCreateFulfillment ¶
type TxPayload_TxCreateFulfillment struct {
TxCreateFulfillment *TxCreateFulfillment `protobuf:"bytes,5,opt,name=txCreateFulfillment,oneof"`
}
func (*TxPayload_TxCreateFulfillment) GoString ¶
func (this *TxPayload_TxCreateFulfillment) GoString() string
type TxPayload_TxCreateLease ¶
type TxPayload_TxCreateLease struct {
TxCreateLease *TxCreateLease `protobuf:"bytes,6,opt,name=txCreateLease,oneof"`
}
func (*TxPayload_TxCreateLease) GoString ¶
func (this *TxPayload_TxCreateLease) GoString() string
type TxPayload_TxCreateOrder ¶
type TxPayload_TxCreateOrder struct {
TxCreateOrder *TxCreateOrder `protobuf:"bytes,4,opt,name=txCreateOrder,oneof"`
}
func (*TxPayload_TxCreateOrder) GoString ¶
func (this *TxPayload_TxCreateOrder) GoString() string
type TxPayload_TxCreateProvider ¶
type TxPayload_TxCreateProvider struct {
TxCreateProvider *TxCreateProvider `protobuf:"bytes,7,opt,name=txCreateProvider,oneof"`
}
func (*TxPayload_TxCreateProvider) GoString ¶
func (this *TxPayload_TxCreateProvider) GoString() string
type TxPayload_TxSend ¶
type TxPayload_TxSend struct {
TxSend *TxSend `protobuf:"bytes,2,opt,name=txSend,oneof"`
}
func (*TxPayload_TxSend) GoString ¶
func (this *TxPayload_TxSend) GoString() string
type TxSend ¶
type TxSend struct { From github_com_ovrclk_akash_types_base.Bytes `protobuf:"bytes,1,opt,name=from,proto3,customtype=github.com/ovrclk/akash/types/base.Bytes" json:"from"` To github_com_ovrclk_akash_types_base.Bytes `protobuf:"bytes,2,opt,name=to,proto3,customtype=github.com/ovrclk/akash/types/base.Bytes" json:"to"` Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` }
func (*TxSend) Descriptor ¶
func (*TxSend) ProtoMessage ¶
func (*TxSend) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.