capabilityv1beta1

package
v0.6.5-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_cosmos_capability_v1beta1_capability_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Owner.ProtoReflect.Descriptor instead.

func (*Owner) GetModule

func (x *Owner) GetModule() string

func (*Owner) GetName

func (x *Owner) GetName() string

func (*Owner) ProtoMessage

func (*Owner) ProtoMessage()

func (*Owner) ProtoReflect

func (x *Owner) ProtoReflect() protoreflect.Message

func (*Owner) Reset

func (x *Owner) Reset()

func (*Owner) String

func (x *Owner) String() string

Jump to

Keyboard shortcuts

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