Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- type Module
- func (*Module) Descriptor() ([]byte, []int)deprecated
- func (x *Module) GetAppName() string
- func (x *Module) GetBeginBlockers() []string
- func (x *Module) GetEndBlockers() []string
- func (x *Module) GetExportGenesis() []string
- func (x *Module) GetInitGenesis() []string
- func (x *Module) GetOrderMigrations() []string
- func (x *Module) GetOverrideStoreKeys() []*StoreKeyConfig
- func (x *Module) GetPrecommiters() []string
- func (x *Module) GetPrepareCheckStaters() []string
- func (*Module) ProtoMessage()
- func (x *Module) ProtoReflect() protoreflect.Message
- func (x *Module) Reset()
- func (x *Module) String() string
- type StoreKeyConfig
- func (*StoreKeyConfig) Descriptor() ([]byte, []int)deprecated
- func (x *StoreKeyConfig) GetKvStoreKey() string
- func (x *StoreKeyConfig) GetModuleName() string
- func (*StoreKeyConfig) ProtoMessage()
- func (x *StoreKeyConfig) ProtoReflect() protoreflect.Message
- func (x *StoreKeyConfig) Reset()
- func (x *StoreKeyConfig) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_cosmos_app_runtime_v1alpha1_module_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct { // app_name is the name of the app. AppName string `protobuf:"bytes,1,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"` // begin_blockers specifies the module names of begin blockers // to call in the order in which they should be called. If this is left empty // no begin blocker will be registered. BeginBlockers []string `protobuf:"bytes,2,rep,name=begin_blockers,json=beginBlockers,proto3" json:"begin_blockers,omitempty"` // end_blockers specifies the module names of the end blockers // to call in the order in which they should be called. If this is left empty // no end blocker will be registered. EndBlockers []string `protobuf:"bytes,3,rep,name=end_blockers,json=endBlockers,proto3" json:"end_blockers,omitempty"` // init_genesis specifies the module names of init genesis functions // to call in the order in which they should be called. If this is left empty // no init genesis function will be registered. InitGenesis []string `protobuf:"bytes,4,rep,name=init_genesis,json=initGenesis,proto3" json:"init_genesis,omitempty"` // export_genesis specifies the order in which to export module genesis data. // If this is left empty, the init_genesis order will be used for export genesis // if it is specified. ExportGenesis []string `protobuf:"bytes,5,rep,name=export_genesis,json=exportGenesis,proto3" json:"export_genesis,omitempty"` // override_store_keys is an optional list of overrides for the module store keys // to be used in keeper construction. OverrideStoreKeys []*StoreKeyConfig `protobuf:"bytes,6,rep,name=override_store_keys,json=overrideStoreKeys,proto3" json:"override_store_keys,omitempty"` // order_migrations defines the order in which module migrations are performed. // If this is left empty, it uses the default migration order. // https://pkg.go.dev/github.com/cosmos/cosmos-sdk@v0.47.0-alpha2/types/module#DefaultMigrationsOrder OrderMigrations []string `protobuf:"bytes,7,rep,name=order_migrations,json=orderMigrations,proto3" json:"order_migrations,omitempty"` // precommiters specifies the module names of the precommiters // to call in the order in which they should be called. If this is left empty // no precommit function will be registered. Precommiters []string `protobuf:"bytes,8,rep,name=precommiters,proto3" json:"precommiters,omitempty"` // prepare_check_staters specifies the module names of the prepare_check_staters // to call in the order in which they should be called. If this is left empty // no preparecheckstate function will be registered. PrepareCheckStaters []string `protobuf:"bytes,9,rep,name=prepare_check_staters,json=prepareCheckStaters,proto3" json:"prepare_check_staters,omitempty"` // contains filtered or unexported fields }
Module is the config object for the runtime module.
func (*Module) GetOverrideStoreKeys ¶
func (x *Module) GetOverrideStoreKeys() []*StoreKeyConfig
func (*Module) GetPrepareCheckStaters ¶ added in v0.4.1
func (*Module) ProtoReflect ¶
func (x *Module) ProtoReflect() protoreflect.Message
type StoreKeyConfig ¶
type StoreKeyConfig struct { // name of the module to override the store key of ModuleName string `protobuf:"bytes,1,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"` // the kv store key to use instead of the module name. KvStoreKey string `protobuf:"bytes,2,opt,name=kv_store_key,json=kvStoreKey,proto3" json:"kv_store_key,omitempty"` // contains filtered or unexported fields }
StoreKeyConfig may be supplied to override the default module store key, which is the module name.
func (*StoreKeyConfig) Descriptor
deprecated
func (*StoreKeyConfig) Descriptor() ([]byte, []int)
Deprecated: Use StoreKeyConfig.ProtoReflect.Descriptor instead.
func (*StoreKeyConfig) GetKvStoreKey ¶
func (x *StoreKeyConfig) GetKvStoreKey() string
func (*StoreKeyConfig) GetModuleName ¶
func (x *StoreKeyConfig) GetModuleName() string
func (*StoreKeyConfig) ProtoMessage ¶
func (*StoreKeyConfig) ProtoMessage()
func (*StoreKeyConfig) ProtoReflect ¶
func (x *StoreKeyConfig) ProtoReflect() protoreflect.Message
func (*StoreKeyConfig) Reset ¶
func (x *StoreKeyConfig) Reset()
func (*StoreKeyConfig) String ¶
func (x *StoreKeyConfig) String() string
Click to show internal directories.
Click to hide internal directories.