types

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

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
DeploymentGroup
DeploymentGroups
Deployment
Deployments
TxCreateDeployment
TxCloseDeployment
Order
TxCreateOrder
Orders
Fulfillment
TxCreateFulfillment
TxCloseFulfillment
Lease
TxCreateLease
Leases

Index

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) Compare added in v0.0.2

func (this *Account) Compare(that interface{}) int

func (*Account) Descriptor

func (*Account) Descriptor() ([]byte, []int)

func (*Account) GetBalance

func (m *Account) GetBalance() uint64

func (*Account) GetNonce

func (m *Account) GetNonce() uint64

func (*Account) GoString

func (this *Account) GoString() string

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) Reset

func (m *Account) Reset()

func (*Account) String

func (m *Account) String() string

func (*Account) Unmarshal

func (m *Account) Unmarshal(dAtA []byte) error

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 {
	// 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"`
	// 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) GetSeq

func (m *DeploymentGroup) GetSeq() uint64

func (*DeploymentGroup) GetState

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 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

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

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 {
	// 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"`
	Price    uint32                                   `protobuf:"varint,5,opt,name=price,proto3" json:"price,omitempty"`
	State    Fulfillment_FulfillmentState             `protobuf:"varint,6,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) GetGroup

func (m *Fulfillment) GetGroup() uint64

func (*Fulfillment) GetOrder

func (m *Fulfillment) GetOrder() uint64

func (*Fulfillment) GetPrice

func (m *Fulfillment) GetPrice() uint32

func (*Fulfillment) GetState added in v0.0.2

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 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

type Genesis

type Genesis struct {
	Accounts []Account `protobuf:"bytes,1,rep,name=accounts" json:"accounts"`
}

BEGIN GLOBAL

func (*Genesis) Descriptor

func (*Genesis) Descriptor() ([]byte, []int)

func (*Genesis) GetAccounts

func (m *Genesis) GetAccounts() []Account

func (*Genesis) GoString

func (this *Genesis) GoString() string

func (*Genesis) ProtoMessage

func (*Genesis) ProtoMessage()

func (*Genesis) Reset

func (m *Genesis) Reset()

func (*Genesis) String

func (m *Genesis) String() string

func (*Genesis) Unmarshal

func (m *Genesis) Unmarshal(dAtA []byte) error

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) Descriptor() ([]byte, []int)

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) GoString added in v0.0.3

func (this *GroupSpec) GoString() string

func (*GroupSpec) ProtoMessage added in v0.0.3

func (*GroupSpec) ProtoMessage()

func (*GroupSpec) Reset added in v0.0.3

func (m *GroupSpec) Reset()

func (*GroupSpec) String added in v0.0.3

func (m *GroupSpec) String() string

func (*GroupSpec) Unmarshal added in v0.0.3

func (m *GroupSpec) Unmarshal(dAtA []byte) error

type Lease

type Lease 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"`
	// price of matching fulfillment
	Price uint32           `protobuf:"varint,5,opt,name=price,proto3" json:"price,omitempty"`
	State Lease_LeaseState `protobuf:"varint,6,opt,name=state,proto3,enum=types.Lease_LeaseState" json:"state,omitempty"`
}

func (*Lease) Descriptor

func (*Lease) Descriptor() ([]byte, []int)

func (*Lease) GetGroup

func (m *Lease) GetGroup() uint64

func (*Lease) GetOrder

func (m *Lease) GetOrder() uint64

func (*Lease) GetPrice

func (m *Lease) GetPrice() uint32

func (*Lease) GetState added in v0.0.2

func (m *Lease) GetState() Lease_LeaseState

func (*Lease) GoString

func (this *Lease) GoString() string

func (*Lease) ProtoMessage

func (*Lease) ProtoMessage()

func (*Lease) Reset

func (m *Lease) Reset()

func (*Lease) String

func (m *Lease) String() string

func (*Lease) Unmarshal

func (m *Lease) Unmarshal(dAtA []byte) error

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) Descriptor() ([]byte, []int)

func (*Leases) GetItems added in v0.0.3

func (m *Leases) GetItems() []*Lease

func (*Leases) GoString added in v0.0.3

func (this *Leases) GoString() string

func (*Leases) ProtoMessage added in v0.0.3

func (*Leases) ProtoMessage()

func (*Leases) Reset added in v0.0.3

func (m *Leases) Reset()

func (*Leases) String added in v0.0.3

func (m *Leases) String() string

func (*Leases) Unmarshal added in v0.0.3

func (m *Leases) Unmarshal(dAtA []byte) error

type Order

type Order 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
	Seq uint64 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"`
	// maximum block number order can be open
	EndAt int64            `protobuf:"varint,4,opt,name=endAt,proto3" json:"endAt,omitempty"`
	State Order_OrderState `protobuf:"varint,5,opt,name=state,proto3,enum=types.Order_OrderState" json:"state,omitempty"`
}

func (*Order) Compare added in v0.0.2

func (this *Order) Compare(that interface{}) int

func (*Order) Descriptor

func (*Order) Descriptor() ([]byte, []int)

func (*Order) GetEndAt added in v0.0.3

func (m *Order) GetEndAt() int64

func (*Order) GetGroup

func (m *Order) GetGroup() uint64

func (*Order) GetSeq added in v0.0.4

func (m *Order) GetSeq() uint64

func (*Order) GetState

func (m *Order) GetState() Order_OrderState

func (*Order) GoString

func (this *Order) GoString() string

func (*Order) ProtoMessage

func (*Order) ProtoMessage()

func (*Order) Reset

func (m *Order) Reset()

func (*Order) String

func (m *Order) String() string

func (*Order) Unmarshal

func (m *Order) Unmarshal(dAtA []byte) error

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) Descriptor() ([]byte, []int)

func (*Orders) GetItems

func (m *Orders) GetItems() []*Order

func (*Orders) GoString

func (this *Orders) GoString() string

func (*Orders) ProtoMessage

func (*Orders) ProtoMessage()

func (*Orders) Reset

func (m *Orders) Reset()

func (*Orders) String

func (m *Orders) String() string

func (*Orders) Unmarshal

func (m *Orders) Unmarshal(dAtA []byte) error

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"`
	Attributes []ProviderAttribute                      `protobuf:"bytes,3,rep,name=attributes" json:"attributes"`
}

func (*Provider) Compare added in v0.0.2

func (this *Provider) Compare(that interface{}) int

func (*Provider) Descriptor

func (*Provider) Descriptor() ([]byte, []int)

func (*Provider) GetAttributes

func (m *Provider) GetAttributes() []ProviderAttribute

func (*Provider) GoString

func (this *Provider) GoString() string

func (*Provider) ProtoMessage

func (*Provider) ProtoMessage()

func (*Provider) Reset

func (m *Provider) Reset()

func (*Provider) String

func (m *Provider) String() string

func (*Provider) Unmarshal

func (m *Provider) Unmarshal(dAtA []byte) error

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) Descriptor() ([]byte, []int)

func (*Providers) GetProviders

func (m *Providers) GetProviders() []Provider

func (*Providers) GoString

func (this *Providers) GoString() string

func (*Providers) ProtoMessage

func (*Providers) ProtoMessage()

func (*Providers) Reset

func (m *Providers) Reset()

func (*Providers) String

func (m *Providers) String() string

func (*Providers) Unmarshal

func (m *Providers) Unmarshal(dAtA []byte) error

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) Descriptor() ([]byte, []int)

func (*Tx) GetKey added in v0.0.3

func (m *Tx) GetKey() []byte

func (*Tx) GetPayload

func (m *Tx) GetPayload() TxPayload

func (*Tx) GetSignature added in v0.0.3

func (m *Tx) GetSignature() []byte

func (*Tx) GoString

func (this *Tx) GoString() string

func (*Tx) ProtoMessage

func (*Tx) ProtoMessage()

func (*Tx) Reset

func (m *Tx) Reset()

func (*Tx) String

func (m *Tx) String() string

func (*Tx) Unmarshal

func (m *Tx) Unmarshal(dAtA []byte) error

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 (*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

type TxCloseFulfillment added in v0.0.4

type TxCloseFulfillment struct {
	// fulfillment address
	Fulfillment github_com_ovrclk_akash_types_base.Bytes `protobuf:"bytes,1,opt,name=fulfillment,proto3,customtype=github.com/ovrclk/akash/types/base.Bytes" json:"fulfillment"`
}

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 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 {
	// 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"`
	Price    uint32                                   `protobuf:"varint,5,opt,name=price,proto3" json:"price,omitempty"`
}

func (*TxCreateFulfillment) Descriptor

func (*TxCreateFulfillment) Descriptor() ([]byte, []int)

func (*TxCreateFulfillment) GetGroup added in v0.0.4

func (m *TxCreateFulfillment) GetGroup() uint64

func (*TxCreateFulfillment) GetOrder added in v0.0.4

func (m *TxCreateFulfillment) GetOrder() uint64

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 {
	// 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"`
	// price of matching fulfillment
	Price uint32 `protobuf:"varint,5,opt,name=price,proto3" json:"price,omitempty"`
}

func (*TxCreateLease) Descriptor

func (*TxCreateLease) Descriptor() ([]byte, []int)

func (*TxCreateLease) GetGroup added in v0.0.4

func (m *TxCreateLease) GetGroup() uint64

func (*TxCreateLease) GetOrder added in v0.0.4

func (m *TxCreateLease) GetOrder() uint64

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 {
	// 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
	Seq uint64 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"`
	// maximum block number order can be open
	EndAt int64 `protobuf:"varint,4,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) GetGroup added in v0.0.4

func (m *TxCreateOrder) GetGroup() uint64

func (*TxCreateOrder) GetSeq added in v0.0.4

func (m *TxCreateOrder) GetSeq() uint64

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"`
	Attributes []ProviderAttribute                      `protobuf:"bytes,2,rep,name=attributes" json:"attributes"`
	Nonce      uint64                                   `protobuf:"varint,3,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) 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
	Payload isTxPayload_Payload `protobuf_oneof:"payload"`
}

func (*TxPayload) Descriptor

func (*TxPayload) Descriptor() ([]byte, []int)

func (*TxPayload) GetNonce

func (m *TxPayload) GetNonce() uint64

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) 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) GetTxSend

func (m *TxPayload) GetTxSend() *TxSend

func (*TxPayload) GoString

func (this *TxPayload) GoString() string

func (*TxPayload) ProtoMessage

func (*TxPayload) ProtoMessage()

func (*TxPayload) Reset

func (m *TxPayload) Reset()

func (*TxPayload) String

func (m *TxPayload) String() string

func (*TxPayload) Unmarshal

func (m *TxPayload) Unmarshal(dAtA []byte) error

func (*TxPayload) XXX_OneofFuncs

func (*TxPayload) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

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_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) Descriptor() ([]byte, []int)

func (*TxSend) GetAmount

func (m *TxSend) GetAmount() uint64

func (*TxSend) GoString

func (this *TxSend) GoString() string

func (*TxSend) ProtoMessage

func (*TxSend) ProtoMessage()

func (*TxSend) Reset

func (m *TxSend) Reset()

func (*TxSend) String

func (m *TxSend) String() string

func (*TxSend) Unmarshal

func (m *TxSend) Unmarshal(dAtA []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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