runtimev1alpha1

package
v0.2.5 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

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"`
	// contains filtered or unexported fields
}

Module is the config object for the runtime module.

func (*Module) Descriptor deprecated

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

Deprecated: Use Module.ProtoReflect.Descriptor instead.

func (*Module) GetAppName

func (x *Module) GetAppName() string

func (*Module) GetBeginBlockers

func (x *Module) GetBeginBlockers() []string

func (*Module) GetEndBlockers

func (x *Module) GetEndBlockers() []string

func (*Module) GetExportGenesis

func (x *Module) GetExportGenesis() []string

func (*Module) GetInitGenesis

func (x *Module) GetInitGenesis() []string

func (*Module) GetOverrideStoreKeys

func (x *Module) GetOverrideStoreKeys() []*StoreKeyConfig

func (*Module) ProtoMessage

func (*Module) ProtoMessage()

func (*Module) ProtoReflect

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

func (*Module) Reset

func (x *Module) Reset()

func (*Module) String

func (x *Module) String() string

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

Jump to

Keyboard shortcuts

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