keyringv1

package
v0.0.0-...-891b8cb Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var File_cosmos_crypto_keyring_v1_record_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Record

type Record struct {

	// name represents a name of Record
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// pub_key represents a public key in any format
	PubKey *anypb.Any `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	// Record contains one of the following items
	//
	// Types that are assignable to Item:
	//	*Record_Local_
	//	*Record_Ledger_
	//	*Record_Multi_
	//	*Record_Offline_
	Item isRecord_Item `protobuf_oneof:"item"`
	// contains filtered or unexported fields
}

Record is used for representing a key in the keyring.

func (*Record) Descriptor deprecated

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

Deprecated: Use Record.ProtoReflect.Descriptor instead.

func (*Record) GetItem

func (x *Record) GetItem() isRecord_Item

func (*Record) GetLedger

func (x *Record) GetLedger() *Record_Ledger

func (*Record) GetLocal

func (x *Record) GetLocal() *Record_Local

func (*Record) GetMulti

func (x *Record) GetMulti() *Record_Multi

func (*Record) GetName

func (x *Record) GetName() string

func (*Record) GetOffline

func (x *Record) GetOffline() *Record_Offline

func (*Record) GetPubKey

func (x *Record) GetPubKey() *anypb.Any

func (*Record) ProtoMessage

func (*Record) ProtoMessage()

func (*Record) ProtoReflect

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

func (*Record) Reset

func (x *Record) Reset()

func (*Record) String

func (x *Record) String() string

type Record_Ledger

type Record_Ledger struct {
	Path *v1.BIP44Params `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

Ledger item

func (*Record_Ledger) Descriptor deprecated

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

Deprecated: Use Record_Ledger.ProtoReflect.Descriptor instead.

func (*Record_Ledger) GetPath

func (x *Record_Ledger) GetPath() *v1.BIP44Params

func (*Record_Ledger) ProtoMessage

func (*Record_Ledger) ProtoMessage()

func (*Record_Ledger) ProtoReflect

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

func (*Record_Ledger) Reset

func (x *Record_Ledger) Reset()

func (*Record_Ledger) String

func (x *Record_Ledger) String() string

type Record_Ledger_

type Record_Ledger_ struct {
	// ledger stores the information about a Ledger key.
	Ledger *Record_Ledger `protobuf:"bytes,4,opt,name=ledger,proto3,oneof"`
}

type Record_Local

type Record_Local struct {
	PrivKey *anypb.Any `protobuf:"bytes,1,opt,name=priv_key,json=privKey,proto3" json:"priv_key,omitempty"`
	// contains filtered or unexported fields
}

Item is a keyring item stored in a keyring backend. Local item

func (*Record_Local) Descriptor deprecated

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

Deprecated: Use Record_Local.ProtoReflect.Descriptor instead.

func (*Record_Local) GetPrivKey

func (x *Record_Local) GetPrivKey() *anypb.Any

func (*Record_Local) ProtoMessage

func (*Record_Local) ProtoMessage()

func (*Record_Local) ProtoReflect

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

func (*Record_Local) Reset

func (x *Record_Local) Reset()

func (*Record_Local) String

func (x *Record_Local) String() string

type Record_Local_

type Record_Local_ struct {
	// local stores the private key locally.
	Local *Record_Local `protobuf:"bytes,3,opt,name=local,proto3,oneof"`
}

type Record_Multi

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

Multi item

func (*Record_Multi) Descriptor deprecated

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

Deprecated: Use Record_Multi.ProtoReflect.Descriptor instead.

func (*Record_Multi) ProtoMessage

func (*Record_Multi) ProtoMessage()

func (*Record_Multi) ProtoReflect

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

func (*Record_Multi) Reset

func (x *Record_Multi) Reset()

func (*Record_Multi) String

func (x *Record_Multi) String() string

type Record_Multi_

type Record_Multi_ struct {
	// Multi does not store any other information.
	Multi *Record_Multi `protobuf:"bytes,5,opt,name=multi,proto3,oneof"`
}

type Record_Offline

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

Offline item

func (*Record_Offline) Descriptor deprecated

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

Deprecated: Use Record_Offline.ProtoReflect.Descriptor instead.

func (*Record_Offline) ProtoMessage

func (*Record_Offline) ProtoMessage()

func (*Record_Offline) ProtoReflect

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

func (*Record_Offline) Reset

func (x *Record_Offline) Reset()

func (*Record_Offline) String

func (x *Record_Offline) String() string

type Record_Offline_

type Record_Offline_ struct {
	// Offline does not store any other information.
	Offline *Record_Offline `protobuf:"bytes,6,opt,name=offline,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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