v1

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2026 License: Apache-2.0 Imports: 11 Imported by: 6 modules, 17 packages

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthId        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowId          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupId = fmt.Errorf("proto: unexpected end of group")
)
View Source
var Scope_name = map[int32]string{
	0: "invalid",
	1: "deployment",
	2: "bid",
}
View Source
var Scope_value = map[string]int32{
	"invalid":    0,
	"deployment": 1,
	"bid":        2,
}

Functions

This section is empty.

Types

type Account

type Account struct {
	Scope Scope  `protobuf:"varint,1,opt,name=scope,proto3,enum=akash.escrow.id.v1.Scope" json:"scope" yaml:"scope"`
	XID   string `protobuf:"bytes,2,opt,name=xid,proto3" json:"xid" yaml:"xid"`
}

Account is the account identifier.

func ParseAccount added in v0.2.0

func ParseAccount(key string) (Account, error)

func (*Account) Descriptor

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

func (*Account) GetScope

func (m *Account) GetScope() Scope

func (*Account) GetXID

func (m *Account) GetXID() string

func (*Account) Key

func (obj *Account) Key() string

func (*Account) Marshal

func (m *Account) Marshal() (dAtA []byte, err error)

func (*Account) MarshalTo

func (m *Account) MarshalTo(dAtA []byte) (int, error)

func (*Account) MarshalToSizedBuffer

func (m *Account) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) Reset

func (m *Account) Reset()

func (*Account) Size

func (m *Account) Size() (n int)

func (*Account) String

func (m *Account) String() string

func (*Account) Unmarshal

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

func (*Account) ValidateBasic

func (obj *Account) ValidateBasic() error

func (*Account) XXX_DiscardUnknown

func (m *Account) XXX_DiscardUnknown()

func (*Account) XXX_Marshal

func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Account) XXX_Merge

func (m *Account) XXX_Merge(src proto.Message)

func (*Account) XXX_Size

func (m *Account) XXX_Size() int

func (*Account) XXX_Unmarshal

func (m *Account) XXX_Unmarshal(b []byte) error

type ID

type ID interface {
	Key() string
}

type Payment

type Payment struct {
	AID Account `protobuf:"bytes,1,opt,name=aid,proto3" json:"aid" yaml:"aid"`
	XID string  `protobuf:"bytes,2,opt,name=xid,proto3" json:"xid" yaml:"xid"`
}

Payment is the payment identifier.

func ParsePayment added in v0.2.0

func ParsePayment(key string) (Payment, error)

func (*Payment) Account

func (obj *Payment) Account() Account

func (*Payment) Descriptor

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

func (*Payment) GetAID

func (m *Payment) GetAID() Account

func (*Payment) GetXID

func (m *Payment) GetXID() string

func (*Payment) Key

func (obj *Payment) Key() string

func (*Payment) Marshal

func (m *Payment) Marshal() (dAtA []byte, err error)

func (*Payment) MarshalTo

func (m *Payment) MarshalTo(dAtA []byte) (int, error)

func (*Payment) MarshalToSizedBuffer

func (m *Payment) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Payment) ProtoMessage

func (*Payment) ProtoMessage()

func (*Payment) Reset

func (m *Payment) Reset()

func (*Payment) Size

func (m *Payment) Size() (n int)

func (*Payment) String

func (m *Payment) String() string

func (*Payment) Unmarshal

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

func (*Payment) ValidateBasic

func (obj *Payment) ValidateBasic() error

func (*Payment) XXX_DiscardUnknown

func (m *Payment) XXX_DiscardUnknown()

func (*Payment) XXX_Marshal

func (m *Payment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Payment) XXX_Merge

func (m *Payment) XXX_Merge(src proto.Message)

func (*Payment) XXX_Size

func (m *Payment) XXX_Size() int

func (*Payment) XXX_Unmarshal

func (m *Payment) XXX_Unmarshal(b []byte) error

type Scope

type Scope int32

Scope is an enum which refers to the account scope

const (
	// Prefix should start with 0 in enum. So declaring dummy state.
	ScopeInvalid Scope = 0
	// DeploymentActive denotes state for deployment active.
	ScopeDeployment Scope = 1
	// DeploymentClosed denotes state for deployment closed.
	ScopeBid Scope = 2
)

func (Scope) EnumDescriptor

func (Scope) EnumDescriptor() ([]byte, []int)

func (Scope) String

func (x Scope) String() string

Jump to

Keyboard shortcuts

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