Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- type Capability
- type CapabilityOwners
- type GenesisOwners
- func (*GenesisOwners) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisOwners) GetIndex() uint64
- func (x *GenesisOwners) GetIndexOwners() *CapabilityOwners
- func (*GenesisOwners) ProtoMessage()
- func (x *GenesisOwners) ProtoReflect() protoreflect.Message
- func (x *GenesisOwners) Reset()
- func (x *GenesisOwners) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetIndex() uint64
- func (x *GenesisState) GetOwners() []*GenesisOwners
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type Owner
Constants ¶
This section is empty.
Variables ¶
var File_cosmos_capability_v1beta1_capability_proto protoreflect.FileDescriptor
var File_cosmos_capability_v1beta1_genesis_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Capability ¶
type Capability struct { Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
Capability defines an implementation of an object capability. The index provided to a Capability must be globally unique.
func (*Capability) Descriptor
deprecated
func (*Capability) Descriptor() ([]byte, []int)
Deprecated: Use Capability.ProtoReflect.Descriptor instead.
func (*Capability) GetIndex ¶
func (x *Capability) GetIndex() uint64
func (*Capability) ProtoMessage ¶
func (*Capability) ProtoMessage()
func (*Capability) ProtoReflect ¶
func (x *Capability) ProtoReflect() protoreflect.Message
func (*Capability) Reset ¶
func (x *Capability) Reset()
func (*Capability) String ¶
func (x *Capability) String() string
type CapabilityOwners ¶
type CapabilityOwners struct { Owners []*Owner `protobuf:"bytes,1,rep,name=owners,proto3" json:"owners,omitempty"` // contains filtered or unexported fields }
CapabilityOwners defines a set of owners of a single Capability. The set of owners must be unique.
func (*CapabilityOwners) Descriptor
deprecated
func (*CapabilityOwners) Descriptor() ([]byte, []int)
Deprecated: Use CapabilityOwners.ProtoReflect.Descriptor instead.
func (*CapabilityOwners) GetOwners ¶
func (x *CapabilityOwners) GetOwners() []*Owner
func (*CapabilityOwners) ProtoMessage ¶
func (*CapabilityOwners) ProtoMessage()
func (*CapabilityOwners) ProtoReflect ¶
func (x *CapabilityOwners) ProtoReflect() protoreflect.Message
func (*CapabilityOwners) Reset ¶
func (x *CapabilityOwners) Reset()
func (*CapabilityOwners) String ¶
func (x *CapabilityOwners) String() string
type GenesisOwners ¶
type GenesisOwners struct { // index is the index of the capability owner. Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // index_owners are the owners at the given index. IndexOwners *CapabilityOwners `protobuf:"bytes,2,opt,name=index_owners,json=indexOwners,proto3" json:"index_owners,omitempty"` // contains filtered or unexported fields }
GenesisOwners defines the capability owners with their corresponding index.
func (*GenesisOwners) Descriptor
deprecated
func (*GenesisOwners) Descriptor() ([]byte, []int)
Deprecated: Use GenesisOwners.ProtoReflect.Descriptor instead.
func (*GenesisOwners) GetIndex ¶
func (x *GenesisOwners) GetIndex() uint64
func (*GenesisOwners) GetIndexOwners ¶
func (x *GenesisOwners) GetIndexOwners() *CapabilityOwners
func (*GenesisOwners) ProtoMessage ¶
func (*GenesisOwners) ProtoMessage()
func (*GenesisOwners) ProtoReflect ¶
func (x *GenesisOwners) ProtoReflect() protoreflect.Message
func (*GenesisOwners) Reset ¶
func (x *GenesisOwners) Reset()
func (*GenesisOwners) String ¶
func (x *GenesisOwners) String() string
type GenesisState ¶
type GenesisState struct { // index is the capability global index. Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // owners represents a map from index to owners of the capability index // index key is string to allow amino marshalling. Owners []*GenesisOwners `protobuf:"bytes,2,rep,name=owners,proto3" json:"owners,omitempty"` // contains filtered or unexported fields }
GenesisState defines the capability module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetIndex ¶
func (x *GenesisState) GetIndex() uint64
func (*GenesisState) GetOwners ¶
func (x *GenesisState) GetOwners() []*GenesisOwners
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type Owner ¶
type Owner struct { Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Owner defines a single capability owner. An owner is defined by the name of capability and the module name.
func (*Owner) Descriptor
deprecated
func (*Owner) ProtoMessage ¶
func (*Owner) ProtoMessage()
func (*Owner) ProtoReflect ¶
func (x *Owner) ProtoReflect() protoreflect.Message