runtimev1alpha1

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 9 Imported by: 96

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"`
	// 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"`
	// pre_blockers specifies the module names of pre blockers
	// to call in the order in which they should be called. If this is left empty
	// no pre blocker will be registered.
	PreBlockers []string `protobuf:"bytes,10,rep,name=pre_blockers,json=preBlockers,proto3" json:"pre_blockers,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) GetOrderMigrations added in v0.2.6

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

func (*Module) GetOverrideStoreKeys

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

func (*Module) GetPreBlockers added in v0.7.1

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

func (*Module) GetPrecommiters added in v0.4.1

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

func (*Module) GetPrepareCheckStaters added in v0.4.1

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

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