upgrade

package
v0.0.0-...-2fe96dc Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	Msg_UpgradeSoftware_FullMethodName = "/iritamod.upgrade.Msg/UpgradeSoftware"
	Msg_CancelUpgrade_FullMethodName   = "/iritamod.upgrade.Msg/CancelUpgrade"
)

Variables

View Source
var File_iritamod_upgrade_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "iritamod.upgrade.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpgradeSoftware",
			Handler:    _Msg_UpgradeSoftware_Handler,
		},
		{
			MethodName: "CancelUpgrade",
			Handler:    _Msg_CancelUpgrade_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "iritamod/upgrade/tx.proto",
}

Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

Types

type MsgCancelUpgrade

type MsgCancelUpgrade struct {
	Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"`
	// contains filtered or unexported fields
}

MsgCancelUpgrade - struct for cancel software upgrade

func (*MsgCancelUpgrade) Descriptor deprecated

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

Deprecated: Use MsgCancelUpgrade.ProtoReflect.Descriptor instead.

func (*MsgCancelUpgrade) GetOperator

func (x *MsgCancelUpgrade) GetOperator() string

func (*MsgCancelUpgrade) ProtoMessage

func (*MsgCancelUpgrade) ProtoMessage()

func (*MsgCancelUpgrade) ProtoReflect

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

func (*MsgCancelUpgrade) Reset

func (x *MsgCancelUpgrade) Reset()

func (*MsgCancelUpgrade) String

func (x *MsgCancelUpgrade) String() string

type MsgCancelUpgradeResponse

type MsgCancelUpgradeResponse struct {
	// contains filtered or unexported fields
}

MsgCancelUpgradeResponse defines the Msg/CancelUpgrade response type.

func (*MsgCancelUpgradeResponse) Descriptor deprecated

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

Deprecated: Use MsgCancelUpgradeResponse.ProtoReflect.Descriptor instead.

func (*MsgCancelUpgradeResponse) ProtoMessage

func (*MsgCancelUpgradeResponse) ProtoMessage()

func (*MsgCancelUpgradeResponse) ProtoReflect

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

func (*MsgCancelUpgradeResponse) Reset

func (x *MsgCancelUpgradeResponse) Reset()

func (*MsgCancelUpgradeResponse) String

func (x *MsgCancelUpgradeResponse) String() string

type MsgClient

type MsgClient interface {
	// CreateClient defines a method for creating a light client.
	UpgradeSoftware(ctx context.Context, in *MsgUpgradeSoftware, opts ...grpc.CallOption) (*MsgUpgradeSoftwareResponse, error)
	// CancelUpgrade defines a method for updating a light client state.
	CancelUpgrade(ctx context.Context, in *MsgCancelUpgrade, opts ...grpc.CallOption) (*MsgCancelUpgradeResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgServer

type MsgServer interface {
	// CreateClient defines a method for creating a light client.
	UpgradeSoftware(context.Context, *MsgUpgradeSoftware) (*MsgUpgradeSoftwareResponse, error)
	// CancelUpgrade defines a method for updating a light client state.
	CancelUpgrade(context.Context, *MsgCancelUpgrade) (*MsgCancelUpgradeResponse, error)
	// contains filtered or unexported methods
}

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility

type MsgUpgradeSoftware

type MsgUpgradeSoftware struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The height at which the upgrade must be performed.
	// Only used if Time is not set.
	Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	// Any application specific upgrade info to be included on-chain
	// such as a git commit that validators could automatically upgrade to
	Info     string `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"`
	Operator string `protobuf:"bytes,4,opt,name=operator,proto3" json:"operator,omitempty"`
	// contains filtered or unexported fields
}

MsgUpgradeSoftware - struct for upgrade software

func (*MsgUpgradeSoftware) Descriptor deprecated

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

Deprecated: Use MsgUpgradeSoftware.ProtoReflect.Descriptor instead.

func (*MsgUpgradeSoftware) GetHeight

func (x *MsgUpgradeSoftware) GetHeight() int64

func (*MsgUpgradeSoftware) GetInfo

func (x *MsgUpgradeSoftware) GetInfo() string

func (*MsgUpgradeSoftware) GetName

func (x *MsgUpgradeSoftware) GetName() string

func (*MsgUpgradeSoftware) GetOperator

func (x *MsgUpgradeSoftware) GetOperator() string

func (*MsgUpgradeSoftware) ProtoMessage

func (*MsgUpgradeSoftware) ProtoMessage()

func (*MsgUpgradeSoftware) ProtoReflect

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

func (*MsgUpgradeSoftware) Reset

func (x *MsgUpgradeSoftware) Reset()

func (*MsgUpgradeSoftware) String

func (x *MsgUpgradeSoftware) String() string

type MsgUpgradeSoftwareResponse

type MsgUpgradeSoftwareResponse struct {
	// contains filtered or unexported fields
}

MsgUpgradeSoftwareResponse defines the Msg/UpgradeSoftware response type.

func (*MsgUpgradeSoftwareResponse) Descriptor deprecated

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

Deprecated: Use MsgUpgradeSoftwareResponse.ProtoReflect.Descriptor instead.

func (*MsgUpgradeSoftwareResponse) ProtoMessage

func (*MsgUpgradeSoftwareResponse) ProtoMessage()

func (*MsgUpgradeSoftwareResponse) ProtoReflect

func (*MsgUpgradeSoftwareResponse) Reset

func (x *MsgUpgradeSoftwareResponse) Reset()

func (*MsgUpgradeSoftwareResponse) String

func (x *MsgUpgradeSoftwareResponse) String() string

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) CancelUpgrade

func (UnimplementedMsgServer) UpgradeSoftware

type UnsafeMsgServer

type UnsafeMsgServer interface {
	// contains filtered or unexported methods
}

UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.

Directories

Path Synopsis
module
v1
Code generated by protoc-gen-go-pulsar.
Code generated by protoc-gen-go-pulsar.

Jump to

Keyboard shortcuts

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