v1

package
v0.0.1-rc2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 29 Imported by: 2

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName is the module name constant used in many places
	ModuleName = "audit"

	// StoreKey is the store key string for provider
	StoreKey = ModuleName

	// RouterKey is the message route for provider
	RouterKey = ModuleName
)
View Source
const (
	MsgTypeSignProviderAttributes   = "audit-sign-provider-attributes"
	MsgTypeDeleteProviderAttributes = "audit-delete-provider-attributes"
)

Variables

View Source
var (
	ErrInvalidLengthAudit        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAudit          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAudit = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// ErrProviderNotFound provider not found
	ErrProviderNotFound = sdkerrors.Register(ModuleName, errProviderNotFound, "invalid provider: address not found")

	// ErrInvalidAddress invalid trusted auditor address
	ErrInvalidAddress = sdkerrors.Register(ModuleName, errInvalidAddress, "invalid address")

	// ErrAttributeNotFound invalid trusted auditor address
	ErrAttributeNotFound = sdkerrors.Register(ModuleName, errAttributeNotFound, "attribute not found")
)
View Source
var (
	ErrInvalidLengthEvent        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvent          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMsg        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsg          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsg = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (

	// ModuleCdc references the global x/audit module codec. Note, the codec should
	// ONLY be used in certain instances of tests and for JSON encoding as Amino is
	// still used for that purpose.
	//
	// The actual codec used for serialization should be provided to x/provider and
	// defined at the application level.
	ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry())
)

Functions

func PrefixProviderID

func PrefixProviderID() []byte

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

RegisterInterfaces registers the x/provider interfaces types with the interface registry

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterLegacyAminoCodec register concrete types on codec

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type AttributesFilters

type AttributesFilters struct {
	Auditors []string `protobuf:"bytes,1,rep,name=auditors,proto3" json:"auditors" yaml:"auditors"`
	Owners   []string `protobuf:"bytes,2,rep,name=owners,proto3" json:"owners" yaml:"owners"`
}

AttributesFilters defines filters used to filter deployments

func (*AttributesFilters) Descriptor

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

func (*AttributesFilters) GetAuditors

func (m *AttributesFilters) GetAuditors() []string

func (*AttributesFilters) GetOwners

func (m *AttributesFilters) GetOwners() []string

func (*AttributesFilters) Marshal

func (m *AttributesFilters) Marshal() (dAtA []byte, err error)

func (*AttributesFilters) MarshalTo

func (m *AttributesFilters) MarshalTo(dAtA []byte) (int, error)

func (*AttributesFilters) MarshalToSizedBuffer

func (m *AttributesFilters) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AttributesFilters) ProtoMessage

func (*AttributesFilters) ProtoMessage()

func (*AttributesFilters) Reset

func (m *AttributesFilters) Reset()

func (*AttributesFilters) Size

func (m *AttributesFilters) Size() (n int)

func (*AttributesFilters) String

func (m *AttributesFilters) String() string

func (*AttributesFilters) Unmarshal

func (m *AttributesFilters) Unmarshal(dAtA []byte) error

func (*AttributesFilters) XXX_DiscardUnknown

func (m *AttributesFilters) XXX_DiscardUnknown()

func (*AttributesFilters) XXX_Marshal

func (m *AttributesFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttributesFilters) XXX_Merge

func (m *AttributesFilters) XXX_Merge(src proto.Message)

func (*AttributesFilters) XXX_Size

func (m *AttributesFilters) XXX_Size() int

func (*AttributesFilters) XXX_Unmarshal

func (m *AttributesFilters) XXX_Unmarshal(b []byte) error

type AttributesResponse

type AttributesResponse struct {
	Attributes []AuditedAttributes `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes" yaml:"attributes"`
}

AttributesResponse represents details of deployment along with group details

func (*AttributesResponse) Descriptor

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

func (*AttributesResponse) GetAttributes

func (m *AttributesResponse) GetAttributes() []AuditedAttributes

func (*AttributesResponse) Marshal

func (m *AttributesResponse) Marshal() (dAtA []byte, err error)

func (*AttributesResponse) MarshalTo

func (m *AttributesResponse) MarshalTo(dAtA []byte) (int, error)

func (*AttributesResponse) MarshalToSizedBuffer

func (m *AttributesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AttributesResponse) ProtoMessage

func (*AttributesResponse) ProtoMessage()

func (*AttributesResponse) Reset

func (m *AttributesResponse) Reset()

func (*AttributesResponse) Size

func (m *AttributesResponse) Size() (n int)

func (*AttributesResponse) String

func (m *AttributesResponse) String() string

func (*AttributesResponse) Unmarshal

func (m *AttributesResponse) Unmarshal(dAtA []byte) error

func (*AttributesResponse) XXX_DiscardUnknown

func (m *AttributesResponse) XXX_DiscardUnknown()

func (*AttributesResponse) XXX_Marshal

func (m *AttributesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttributesResponse) XXX_Merge

func (m *AttributesResponse) XXX_Merge(src proto.Message)

func (*AttributesResponse) XXX_Size

func (m *AttributesResponse) XXX_Size() int

func (*AttributesResponse) XXX_Unmarshal

func (m *AttributesResponse) XXX_Unmarshal(b []byte) error

type AuditedAttributes

type AuditedAttributes struct {
	Owner      string                                             `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner" yaml:"owner"`
	Auditor    string                                             `protobuf:"bytes,2,opt,name=auditor,proto3" json:"auditor" yaml:"auditor"`
	Attributes pkg_akt_dev_go_node_types_attributes_v1.Attributes `` /* 145-byte string literal not displayed */
}

Attributes

func (*AuditedAttributes) Descriptor

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

func (*AuditedAttributes) GetAttributes

func (*AuditedAttributes) GetAuditor

func (m *AuditedAttributes) GetAuditor() string

func (*AuditedAttributes) GetOwner

func (m *AuditedAttributes) GetOwner() string

func (*AuditedAttributes) Marshal

func (m *AuditedAttributes) Marshal() (dAtA []byte, err error)

func (*AuditedAttributes) MarshalTo

func (m *AuditedAttributes) MarshalTo(dAtA []byte) (int, error)

func (*AuditedAttributes) MarshalToSizedBuffer

func (m *AuditedAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuditedAttributes) ProtoMessage

func (*AuditedAttributes) ProtoMessage()

func (*AuditedAttributes) Reset

func (m *AuditedAttributes) Reset()

func (*AuditedAttributes) Size

func (m *AuditedAttributes) Size() (n int)

func (*AuditedAttributes) String

func (m *AuditedAttributes) String() string

func (*AuditedAttributes) Unmarshal

func (m *AuditedAttributes) Unmarshal(dAtA []byte) error

func (*AuditedAttributes) XXX_DiscardUnknown

func (m *AuditedAttributes) XXX_DiscardUnknown()

func (*AuditedAttributes) XXX_Marshal

func (m *AuditedAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuditedAttributes) XXX_Merge

func (m *AuditedAttributes) XXX_Merge(src proto.Message)

func (*AuditedAttributes) XXX_Size

func (m *AuditedAttributes) XXX_Size() int

func (*AuditedAttributes) XXX_Unmarshal

func (m *AuditedAttributes) XXX_Unmarshal(b []byte) error

type EventTrustedAuditorCreated

type EventTrustedAuditorCreated struct {
	Owner   string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner" yaml:"owner"`
	Auditor string `protobuf:"bytes,2,opt,name=auditor,proto3" json:"auditor" yaml:"auditor"`
}

EventTrustedAuditorCreated defines an SDK message for signing a provider attributes

func (*EventTrustedAuditorCreated) Descriptor

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

func (*EventTrustedAuditorCreated) GetAuditor

func (m *EventTrustedAuditorCreated) GetAuditor() string

func (*EventTrustedAuditorCreated) GetOwner

func (m *EventTrustedAuditorCreated) GetOwner() string

func (*EventTrustedAuditorCreated) Marshal

func (m *EventTrustedAuditorCreated) Marshal() (dAtA []byte, err error)

func (*EventTrustedAuditorCreated) MarshalTo

func (m *EventTrustedAuditorCreated) MarshalTo(dAtA []byte) (int, error)

func (*EventTrustedAuditorCreated) MarshalToSizedBuffer

func (m *EventTrustedAuditorCreated) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventTrustedAuditorCreated) ProtoMessage

func (*EventTrustedAuditorCreated) ProtoMessage()

func (*EventTrustedAuditorCreated) Reset

func (m *EventTrustedAuditorCreated) Reset()

func (*EventTrustedAuditorCreated) Size

func (m *EventTrustedAuditorCreated) Size() (n int)

func (*EventTrustedAuditorCreated) String

func (m *EventTrustedAuditorCreated) String() string

func (*EventTrustedAuditorCreated) Unmarshal

func (m *EventTrustedAuditorCreated) Unmarshal(dAtA []byte) error

func (*EventTrustedAuditorCreated) XXX_DiscardUnknown

func (m *EventTrustedAuditorCreated) XXX_DiscardUnknown()

func (*EventTrustedAuditorCreated) XXX_Marshal

func (m *EventTrustedAuditorCreated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventTrustedAuditorCreated) XXX_Merge

func (m *EventTrustedAuditorCreated) XXX_Merge(src proto.Message)

func (*EventTrustedAuditorCreated) XXX_Size

func (m *EventTrustedAuditorCreated) XXX_Size() int

func (*EventTrustedAuditorCreated) XXX_Unmarshal

func (m *EventTrustedAuditorCreated) XXX_Unmarshal(b []byte) error

type EventTrustedAuditorDeleted

type EventTrustedAuditorDeleted struct {
	Owner   string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner" yaml:"owner"`
	Auditor string `protobuf:"bytes,2,opt,name=auditor,proto3" json:"auditor" yaml:"auditor"`
}

EventTrustedAuditorCreated defines an SDK message for signing a provider attributes

func (*EventTrustedAuditorDeleted) Descriptor

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

func (*EventTrustedAuditorDeleted) GetAuditor

func (m *EventTrustedAuditorDeleted) GetAuditor() string

func (*EventTrustedAuditorDeleted) GetOwner

func (m *EventTrustedAuditorDeleted) GetOwner() string

func (*EventTrustedAuditorDeleted) Marshal

func (m *EventTrustedAuditorDeleted) Marshal() (dAtA []byte, err error)

func (*EventTrustedAuditorDeleted) MarshalTo

func (m *EventTrustedAuditorDeleted) MarshalTo(dAtA []byte) (int, error)

func (*EventTrustedAuditorDeleted) MarshalToSizedBuffer

func (m *EventTrustedAuditorDeleted) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventTrustedAuditorDeleted) ProtoMessage

func (*EventTrustedAuditorDeleted) ProtoMessage()

func (*EventTrustedAuditorDeleted) Reset

func (m *EventTrustedAuditorDeleted) Reset()

func (*EventTrustedAuditorDeleted) Size

func (m *EventTrustedAuditorDeleted) Size() (n int)

func (*EventTrustedAuditorDeleted) String

func (m *EventTrustedAuditorDeleted) String() string

func (*EventTrustedAuditorDeleted) Unmarshal

func (m *EventTrustedAuditorDeleted) Unmarshal(dAtA []byte) error

func (*EventTrustedAuditorDeleted) XXX_DiscardUnknown

func (m *EventTrustedAuditorDeleted) XXX_DiscardUnknown()

func (*EventTrustedAuditorDeleted) XXX_Marshal

func (m *EventTrustedAuditorDeleted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventTrustedAuditorDeleted) XXX_Merge

func (m *EventTrustedAuditorDeleted) XXX_Merge(src proto.Message)

func (*EventTrustedAuditorDeleted) XXX_Size

func (m *EventTrustedAuditorDeleted) XXX_Size() int

func (*EventTrustedAuditorDeleted) XXX_Unmarshal

func (m *EventTrustedAuditorDeleted) XXX_Unmarshal(b []byte) error

type GenesisState

type GenesisState struct {
	Attributes []AuditedAttributes `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes" yaml:"attributes"`
}

GenesisState defines the basic genesis state used by audit module

func (*GenesisState) Descriptor

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

func (*GenesisState) GetAttributes

func (m *GenesisState) GetAttributes() []AuditedAttributes

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type MsgClient

type MsgClient interface {
	// SignProviderAttributes defines a method that signs provider attributes
	SignProviderAttributes(ctx context.Context, in *MsgSignProviderAttributes, opts ...grpc.CallOption) (*MsgSignProviderAttributesResponse, error)
	// DeleteProviderAttributes defines a method that deletes provider attributes
	DeleteProviderAttributes(ctx context.Context, in *MsgDeleteProviderAttributes, opts ...grpc.CallOption) (*MsgDeleteProviderAttributesResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgDeleteProviderAttributes

type MsgDeleteProviderAttributes struct {
	Owner   string   `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner" yaml:"owner"`
	Auditor string   `protobuf:"bytes,2,opt,name=auditor,proto3" json:"auditor" yaml:"auditor"`
	Keys    []string `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys" yaml:"keys"`
}

MsgDeleteProviderAttributes defined the Msg/DeleteProviderAttributes

func (*MsgDeleteProviderAttributes) Descriptor

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

func (*MsgDeleteProviderAttributes) GetAuditor

func (m *MsgDeleteProviderAttributes) GetAuditor() string

func (*MsgDeleteProviderAttributes) GetKeys

func (m *MsgDeleteProviderAttributes) GetKeys() []string

func (*MsgDeleteProviderAttributes) GetOwner

func (m *MsgDeleteProviderAttributes) GetOwner() string

func (MsgDeleteProviderAttributes) GetSignBytes

func (m MsgDeleteProviderAttributes) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgDeleteProviderAttributes) GetSigners

func (m MsgDeleteProviderAttributes) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgDeleteProviderAttributes) Marshal

func (m *MsgDeleteProviderAttributes) Marshal() (dAtA []byte, err error)

func (*MsgDeleteProviderAttributes) MarshalTo

func (m *MsgDeleteProviderAttributes) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeleteProviderAttributes) MarshalToSizedBuffer

func (m *MsgDeleteProviderAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeleteProviderAttributes) ProtoMessage

func (*MsgDeleteProviderAttributes) ProtoMessage()

func (*MsgDeleteProviderAttributes) Reset

func (m *MsgDeleteProviderAttributes) Reset()

func (MsgDeleteProviderAttributes) Route

====MsgRevokeProviderAttributes==== Route implements the sdk.Msg interface

func (*MsgDeleteProviderAttributes) Size

func (m *MsgDeleteProviderAttributes) Size() (n int)

func (*MsgDeleteProviderAttributes) String

func (m *MsgDeleteProviderAttributes) String() string

func (MsgDeleteProviderAttributes) Type

Type implements the sdk.Msg interface

func (*MsgDeleteProviderAttributes) Unmarshal

func (m *MsgDeleteProviderAttributes) Unmarshal(dAtA []byte) error

func (MsgDeleteProviderAttributes) ValidateBasic

func (m MsgDeleteProviderAttributes) ValidateBasic() error

ValidateBasic does basic validation

func (*MsgDeleteProviderAttributes) XXX_DiscardUnknown

func (m *MsgDeleteProviderAttributes) XXX_DiscardUnknown()

func (*MsgDeleteProviderAttributes) XXX_Marshal

func (m *MsgDeleteProviderAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeleteProviderAttributes) XXX_Merge

func (m *MsgDeleteProviderAttributes) XXX_Merge(src proto.Message)

func (*MsgDeleteProviderAttributes) XXX_Size

func (m *MsgDeleteProviderAttributes) XXX_Size() int

func (*MsgDeleteProviderAttributes) XXX_Unmarshal

func (m *MsgDeleteProviderAttributes) XXX_Unmarshal(b []byte) error

type MsgDeleteProviderAttributesResponse

type MsgDeleteProviderAttributesResponse struct {
}

MsgDeleteProviderAttributesResponse defines the Msg/ProviderAttributes response type.

func (*MsgDeleteProviderAttributesResponse) Descriptor

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

func (*MsgDeleteProviderAttributesResponse) Marshal

func (m *MsgDeleteProviderAttributesResponse) Marshal() (dAtA []byte, err error)

func (*MsgDeleteProviderAttributesResponse) MarshalTo

func (m *MsgDeleteProviderAttributesResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeleteProviderAttributesResponse) MarshalToSizedBuffer

func (m *MsgDeleteProviderAttributesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeleteProviderAttributesResponse) ProtoMessage

func (*MsgDeleteProviderAttributesResponse) ProtoMessage()

func (*MsgDeleteProviderAttributesResponse) Reset

func (*MsgDeleteProviderAttributesResponse) Size

func (*MsgDeleteProviderAttributesResponse) String

func (*MsgDeleteProviderAttributesResponse) Unmarshal

func (m *MsgDeleteProviderAttributesResponse) Unmarshal(dAtA []byte) error

func (*MsgDeleteProviderAttributesResponse) XXX_DiscardUnknown

func (m *MsgDeleteProviderAttributesResponse) XXX_DiscardUnknown()

func (*MsgDeleteProviderAttributesResponse) XXX_Marshal

func (m *MsgDeleteProviderAttributesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeleteProviderAttributesResponse) XXX_Merge

func (*MsgDeleteProviderAttributesResponse) XXX_Size

func (*MsgDeleteProviderAttributesResponse) XXX_Unmarshal

func (m *MsgDeleteProviderAttributesResponse) XXX_Unmarshal(b []byte) error

type MsgServer

type MsgServer interface {
	// SignProviderAttributes defines a method that signs provider attributes
	SignProviderAttributes(context.Context, *MsgSignProviderAttributes) (*MsgSignProviderAttributesResponse, error)
	// DeleteProviderAttributes defines a method that deletes provider attributes
	DeleteProviderAttributes(context.Context, *MsgDeleteProviderAttributes) (*MsgDeleteProviderAttributesResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSignProviderAttributes

type MsgSignProviderAttributes struct {
	Owner      string                                             `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner" yaml:"owner"`
	Auditor    string                                             `protobuf:"bytes,2,opt,name=auditor,proto3" json:"auditor" yaml:"auditor"`
	Attributes pkg_akt_dev_go_node_types_attributes_v1.Attributes `` /* 145-byte string literal not displayed */
}

MsgSignProviderAttributes defines an SDK message for signing a provider attributes

func (*MsgSignProviderAttributes) Descriptor

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

func (*MsgSignProviderAttributes) GetAttributes

func (*MsgSignProviderAttributes) GetAuditor

func (m *MsgSignProviderAttributes) GetAuditor() string

func (*MsgSignProviderAttributes) GetOwner

func (m *MsgSignProviderAttributes) GetOwner() string

func (MsgSignProviderAttributes) GetSignBytes

func (m MsgSignProviderAttributes) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgSignProviderAttributes) GetSigners

func (m MsgSignProviderAttributes) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgSignProviderAttributes) Marshal

func (m *MsgSignProviderAttributes) Marshal() (dAtA []byte, err error)

func (*MsgSignProviderAttributes) MarshalTo

func (m *MsgSignProviderAttributes) MarshalTo(dAtA []byte) (int, error)

func (*MsgSignProviderAttributes) MarshalToSizedBuffer

func (m *MsgSignProviderAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSignProviderAttributes) ProtoMessage

func (*MsgSignProviderAttributes) ProtoMessage()

func (*MsgSignProviderAttributes) Reset

func (m *MsgSignProviderAttributes) Reset()

func (MsgSignProviderAttributes) Route

====MsgSignProviderAttributes==== Route implements the sdk.Msg interface

func (*MsgSignProviderAttributes) Size

func (m *MsgSignProviderAttributes) Size() (n int)

func (*MsgSignProviderAttributes) String

func (m *MsgSignProviderAttributes) String() string

func (MsgSignProviderAttributes) Type

Type implements the sdk.Msg interface

func (*MsgSignProviderAttributes) Unmarshal

func (m *MsgSignProviderAttributes) Unmarshal(dAtA []byte) error

func (MsgSignProviderAttributes) ValidateBasic

func (m MsgSignProviderAttributes) ValidateBasic() error

ValidateBasic does basic validation

func (*MsgSignProviderAttributes) XXX_DiscardUnknown

func (m *MsgSignProviderAttributes) XXX_DiscardUnknown()

func (*MsgSignProviderAttributes) XXX_Marshal

func (m *MsgSignProviderAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSignProviderAttributes) XXX_Merge

func (m *MsgSignProviderAttributes) XXX_Merge(src proto.Message)

func (*MsgSignProviderAttributes) XXX_Size

func (m *MsgSignProviderAttributes) XXX_Size() int

func (*MsgSignProviderAttributes) XXX_Unmarshal

func (m *MsgSignProviderAttributes) XXX_Unmarshal(b []byte) error

type MsgSignProviderAttributesResponse

type MsgSignProviderAttributesResponse struct {
}

MsgSignProviderAttributesResponse defines the Msg/CreateProvider response type.

func (*MsgSignProviderAttributesResponse) Descriptor

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

func (*MsgSignProviderAttributesResponse) Marshal

func (m *MsgSignProviderAttributesResponse) Marshal() (dAtA []byte, err error)

func (*MsgSignProviderAttributesResponse) MarshalTo

func (m *MsgSignProviderAttributesResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSignProviderAttributesResponse) MarshalToSizedBuffer

func (m *MsgSignProviderAttributesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSignProviderAttributesResponse) ProtoMessage

func (*MsgSignProviderAttributesResponse) ProtoMessage()

func (*MsgSignProviderAttributesResponse) Reset

func (*MsgSignProviderAttributesResponse) Size

func (m *MsgSignProviderAttributesResponse) Size() (n int)

func (*MsgSignProviderAttributesResponse) String

func (*MsgSignProviderAttributesResponse) Unmarshal

func (m *MsgSignProviderAttributesResponse) Unmarshal(dAtA []byte) error

func (*MsgSignProviderAttributesResponse) XXX_DiscardUnknown

func (m *MsgSignProviderAttributesResponse) XXX_DiscardUnknown()

func (*MsgSignProviderAttributesResponse) XXX_Marshal

func (m *MsgSignProviderAttributesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSignProviderAttributesResponse) XXX_Merge

func (*MsgSignProviderAttributesResponse) XXX_Size

func (m *MsgSignProviderAttributesResponse) XXX_Size() int

func (*MsgSignProviderAttributesResponse) XXX_Unmarshal

func (m *MsgSignProviderAttributesResponse) XXX_Unmarshal(b []byte) error

type Provider

type Provider struct {
	Owner      string                                             `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner" yaml:"owner"`
	Auditor    string                                             `protobuf:"bytes,2,opt,name=auditor,proto3" json:"auditor" yaml:"auditor"`
	Attributes pkg_akt_dev_go_node_types_attributes_v1.Attributes `` /* 145-byte string literal not displayed */
}

Provider stores owner auditor and attributes details

func (*Provider) Descriptor

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

func (*Provider) GetAttributes

func (*Provider) GetAuditor

func (m *Provider) GetAuditor() string

func (*Provider) GetOwner

func (m *Provider) GetOwner() string

func (*Provider) Marshal

func (m *Provider) Marshal() (dAtA []byte, err error)

func (*Provider) MarshalTo

func (m *Provider) MarshalTo(dAtA []byte) (int, error)

func (*Provider) MarshalToSizedBuffer

func (m *Provider) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Provider) ProtoMessage

func (*Provider) ProtoMessage()

func (*Provider) Reset

func (m *Provider) Reset()

func (*Provider) Size

func (m *Provider) Size() (n int)

func (*Provider) String

func (m *Provider) String() string

func (*Provider) Unmarshal

func (m *Provider) Unmarshal(dAtA []byte) error

func (*Provider) XXX_DiscardUnknown

func (m *Provider) XXX_DiscardUnknown()

func (*Provider) XXX_Marshal

func (m *Provider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Provider) XXX_Merge

func (m *Provider) XXX_Merge(src proto.Message)

func (*Provider) XXX_Size

func (m *Provider) XXX_Size() int

func (*Provider) XXX_Unmarshal

func (m *Provider) XXX_Unmarshal(b []byte) error

type ProviderID

type ProviderID struct {
	Owner   sdk.Address
	Auditor sdk.Address
}

type Providers

type Providers []Provider

Providers is the collection of Provider

func (Providers) String

func (obj Providers) String() string

String implements the Stringer interface for a Providers object.

type QueryAllProvidersAttributesRequest

type QueryAllProvidersAttributesRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryAllProvidersAttributesRequest is request type for the Query/All Providers RPC method

func (*QueryAllProvidersAttributesRequest) Descriptor

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

func (*QueryAllProvidersAttributesRequest) GetPagination

func (*QueryAllProvidersAttributesRequest) Marshal

func (m *QueryAllProvidersAttributesRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllProvidersAttributesRequest) MarshalTo

func (m *QueryAllProvidersAttributesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllProvidersAttributesRequest) MarshalToSizedBuffer

func (m *QueryAllProvidersAttributesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllProvidersAttributesRequest) ProtoMessage

func (*QueryAllProvidersAttributesRequest) ProtoMessage()

func (*QueryAllProvidersAttributesRequest) Reset

func (*QueryAllProvidersAttributesRequest) Size

func (*QueryAllProvidersAttributesRequest) String

func (*QueryAllProvidersAttributesRequest) Unmarshal

func (m *QueryAllProvidersAttributesRequest) Unmarshal(dAtA []byte) error

func (*QueryAllProvidersAttributesRequest) XXX_DiscardUnknown

func (m *QueryAllProvidersAttributesRequest) XXX_DiscardUnknown()

func (*QueryAllProvidersAttributesRequest) XXX_Marshal

func (m *QueryAllProvidersAttributesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllProvidersAttributesRequest) XXX_Merge

func (*QueryAllProvidersAttributesRequest) XXX_Size

func (*QueryAllProvidersAttributesRequest) XXX_Unmarshal

func (m *QueryAllProvidersAttributesRequest) XXX_Unmarshal(b []byte) error

type QueryAuditorAttributesRequest

type QueryAuditorAttributesRequest struct {
	Auditor    string             `protobuf:"bytes,1,opt,name=auditor,proto3" json:"auditor,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryAuditorAttributesRequest is request type for the Query/Providers RPC method

func (*QueryAuditorAttributesRequest) Descriptor

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

func (*QueryAuditorAttributesRequest) GetAuditor

func (m *QueryAuditorAttributesRequest) GetAuditor() string

func (*QueryAuditorAttributesRequest) GetPagination

func (m *QueryAuditorAttributesRequest) GetPagination() *query.PageRequest

func (*QueryAuditorAttributesRequest) Marshal

func (m *QueryAuditorAttributesRequest) Marshal() (dAtA []byte, err error)

func (*QueryAuditorAttributesRequest) MarshalTo

func (m *QueryAuditorAttributesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAuditorAttributesRequest) MarshalToSizedBuffer

func (m *QueryAuditorAttributesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAuditorAttributesRequest) ProtoMessage

func (*QueryAuditorAttributesRequest) ProtoMessage()

func (*QueryAuditorAttributesRequest) Reset

func (m *QueryAuditorAttributesRequest) Reset()

func (*QueryAuditorAttributesRequest) Size

func (m *QueryAuditorAttributesRequest) Size() (n int)

func (*QueryAuditorAttributesRequest) String

func (*QueryAuditorAttributesRequest) Unmarshal

func (m *QueryAuditorAttributesRequest) Unmarshal(dAtA []byte) error

func (*QueryAuditorAttributesRequest) XXX_DiscardUnknown

func (m *QueryAuditorAttributesRequest) XXX_DiscardUnknown()

func (*QueryAuditorAttributesRequest) XXX_Marshal

func (m *QueryAuditorAttributesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAuditorAttributesRequest) XXX_Merge

func (m *QueryAuditorAttributesRequest) XXX_Merge(src proto.Message)

func (*QueryAuditorAttributesRequest) XXX_Size

func (m *QueryAuditorAttributesRequest) XXX_Size() int

func (*QueryAuditorAttributesRequest) XXX_Unmarshal

func (m *QueryAuditorAttributesRequest) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	// AllProvidersAttributes queries all providers
	// buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	AllProvidersAttributes(ctx context.Context, in *QueryAllProvidersAttributesRequest, opts ...grpc.CallOption) (*QueryProvidersResponse, error)
	// ProviderAttributes queries all provider signed attributes
	// buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	ProviderAttributes(ctx context.Context, in *QueryProviderAttributesRequest, opts ...grpc.CallOption) (*QueryProvidersResponse, error)
	// ProviderAuditorAttributes queries provider signed attributes by specific auditor
	// buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	ProviderAuditorAttributes(ctx context.Context, in *QueryProviderAuditorRequest, opts ...grpc.CallOption) (*QueryProvidersResponse, error)
	// AuditorAttributes queries all providers signed by this auditor
	// buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	AuditorAttributes(ctx context.Context, in *QueryAuditorAttributesRequest, opts ...grpc.CallOption) (*QueryProvidersResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryProviderAttributesRequest

type QueryProviderAttributesRequest struct {
	Owner      string             `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryProviderAttributesRequest is request type for the Query/Provider RPC method

func (*QueryProviderAttributesRequest) Descriptor

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

func (*QueryProviderAttributesRequest) GetOwner

func (m *QueryProviderAttributesRequest) GetOwner() string

func (*QueryProviderAttributesRequest) GetPagination

func (m *QueryProviderAttributesRequest) GetPagination() *query.PageRequest

func (*QueryProviderAttributesRequest) Marshal

func (m *QueryProviderAttributesRequest) Marshal() (dAtA []byte, err error)

func (*QueryProviderAttributesRequest) MarshalTo

func (m *QueryProviderAttributesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryProviderAttributesRequest) MarshalToSizedBuffer

func (m *QueryProviderAttributesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProviderAttributesRequest) ProtoMessage

func (*QueryProviderAttributesRequest) ProtoMessage()

func (*QueryProviderAttributesRequest) Reset

func (m *QueryProviderAttributesRequest) Reset()

func (*QueryProviderAttributesRequest) Size

func (m *QueryProviderAttributesRequest) Size() (n int)

func (*QueryProviderAttributesRequest) String

func (*QueryProviderAttributesRequest) Unmarshal

func (m *QueryProviderAttributesRequest) Unmarshal(dAtA []byte) error

func (*QueryProviderAttributesRequest) XXX_DiscardUnknown

func (m *QueryProviderAttributesRequest) XXX_DiscardUnknown()

func (*QueryProviderAttributesRequest) XXX_Marshal

func (m *QueryProviderAttributesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProviderAttributesRequest) XXX_Merge

func (m *QueryProviderAttributesRequest) XXX_Merge(src proto.Message)

func (*QueryProviderAttributesRequest) XXX_Size

func (m *QueryProviderAttributesRequest) XXX_Size() int

func (*QueryProviderAttributesRequest) XXX_Unmarshal

func (m *QueryProviderAttributesRequest) XXX_Unmarshal(b []byte) error

type QueryProviderAuditorRequest

type QueryProviderAuditorRequest struct {
	Auditor string `protobuf:"bytes,1,opt,name=auditor,proto3" json:"auditor,omitempty"`
	Owner   string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
}

QueryProviderAuditorRequest is request type for the Query/Providers RPC method

func (*QueryProviderAuditorRequest) Descriptor

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

func (*QueryProviderAuditorRequest) GetAuditor

func (m *QueryProviderAuditorRequest) GetAuditor() string

func (*QueryProviderAuditorRequest) GetOwner

func (m *QueryProviderAuditorRequest) GetOwner() string

func (*QueryProviderAuditorRequest) Marshal

func (m *QueryProviderAuditorRequest) Marshal() (dAtA []byte, err error)

func (*QueryProviderAuditorRequest) MarshalTo

func (m *QueryProviderAuditorRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryProviderAuditorRequest) MarshalToSizedBuffer

func (m *QueryProviderAuditorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProviderAuditorRequest) ProtoMessage

func (*QueryProviderAuditorRequest) ProtoMessage()

func (*QueryProviderAuditorRequest) Reset

func (m *QueryProviderAuditorRequest) Reset()

func (*QueryProviderAuditorRequest) Size

func (m *QueryProviderAuditorRequest) Size() (n int)

func (*QueryProviderAuditorRequest) String

func (m *QueryProviderAuditorRequest) String() string

func (*QueryProviderAuditorRequest) Unmarshal

func (m *QueryProviderAuditorRequest) Unmarshal(dAtA []byte) error

func (*QueryProviderAuditorRequest) XXX_DiscardUnknown

func (m *QueryProviderAuditorRequest) XXX_DiscardUnknown()

func (*QueryProviderAuditorRequest) XXX_Marshal

func (m *QueryProviderAuditorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProviderAuditorRequest) XXX_Merge

func (m *QueryProviderAuditorRequest) XXX_Merge(src proto.Message)

func (*QueryProviderAuditorRequest) XXX_Size

func (m *QueryProviderAuditorRequest) XXX_Size() int

func (*QueryProviderAuditorRequest) XXX_Unmarshal

func (m *QueryProviderAuditorRequest) XXX_Unmarshal(b []byte) error

type QueryProviderRequest

type QueryProviderRequest struct {
	Auditor string `protobuf:"bytes,1,opt,name=auditor,proto3" json:"auditor,omitempty"`
	Owner   string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
}

QueryProviderRequest is request type for the Query/Provider RPC method

func (*QueryProviderRequest) Descriptor

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

func (*QueryProviderRequest) GetAuditor

func (m *QueryProviderRequest) GetAuditor() string

func (*QueryProviderRequest) GetOwner

func (m *QueryProviderRequest) GetOwner() string

func (*QueryProviderRequest) Marshal

func (m *QueryProviderRequest) Marshal() (dAtA []byte, err error)

func (*QueryProviderRequest) MarshalTo

func (m *QueryProviderRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryProviderRequest) MarshalToSizedBuffer

func (m *QueryProviderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProviderRequest) ProtoMessage

func (*QueryProviderRequest) ProtoMessage()

func (*QueryProviderRequest) Reset

func (m *QueryProviderRequest) Reset()

func (*QueryProviderRequest) Size

func (m *QueryProviderRequest) Size() (n int)

func (*QueryProviderRequest) String

func (m *QueryProviderRequest) String() string

func (*QueryProviderRequest) Unmarshal

func (m *QueryProviderRequest) Unmarshal(dAtA []byte) error

func (*QueryProviderRequest) XXX_DiscardUnknown

func (m *QueryProviderRequest) XXX_DiscardUnknown()

func (*QueryProviderRequest) XXX_Marshal

func (m *QueryProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProviderRequest) XXX_Merge

func (m *QueryProviderRequest) XXX_Merge(src proto.Message)

func (*QueryProviderRequest) XXX_Size

func (m *QueryProviderRequest) XXX_Size() int

func (*QueryProviderRequest) XXX_Unmarshal

func (m *QueryProviderRequest) XXX_Unmarshal(b []byte) error

type QueryProvidersResponse

type QueryProvidersResponse struct {
	Providers  Providers           `protobuf:"bytes,1,rep,name=providers,proto3,castrepeated=Providers" json:"providers"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryProvidersResponse is response type for the Query/Providers RPC method

func (*QueryProvidersResponse) Descriptor

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

func (*QueryProvidersResponse) GetPagination

func (m *QueryProvidersResponse) GetPagination() *query.PageResponse

func (*QueryProvidersResponse) GetProviders

func (m *QueryProvidersResponse) GetProviders() Providers

func (*QueryProvidersResponse) Marshal

func (m *QueryProvidersResponse) Marshal() (dAtA []byte, err error)

func (*QueryProvidersResponse) MarshalTo

func (m *QueryProvidersResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryProvidersResponse) MarshalToSizedBuffer

func (m *QueryProvidersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProvidersResponse) ProtoMessage

func (*QueryProvidersResponse) ProtoMessage()

func (*QueryProvidersResponse) Reset

func (m *QueryProvidersResponse) Reset()

func (*QueryProvidersResponse) Size

func (m *QueryProvidersResponse) Size() (n int)

func (*QueryProvidersResponse) String

func (m *QueryProvidersResponse) String() string

func (*QueryProvidersResponse) Unmarshal

func (m *QueryProvidersResponse) Unmarshal(dAtA []byte) error

func (*QueryProvidersResponse) XXX_DiscardUnknown

func (m *QueryProvidersResponse) XXX_DiscardUnknown()

func (*QueryProvidersResponse) XXX_Marshal

func (m *QueryProvidersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProvidersResponse) XXX_Merge

func (m *QueryProvidersResponse) XXX_Merge(src proto.Message)

func (*QueryProvidersResponse) XXX_Size

func (m *QueryProvidersResponse) XXX_Size() int

func (*QueryProvidersResponse) XXX_Unmarshal

func (m *QueryProvidersResponse) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	// AllProvidersAttributes queries all providers
	// buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	AllProvidersAttributes(context.Context, *QueryAllProvidersAttributesRequest) (*QueryProvidersResponse, error)
	// ProviderAttributes queries all provider signed attributes
	// buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	ProviderAttributes(context.Context, *QueryProviderAttributesRequest) (*QueryProvidersResponse, error)
	// ProviderAuditorAttributes queries provider signed attributes by specific auditor
	// buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	ProviderAuditorAttributes(context.Context, *QueryProviderAuditorRequest) (*QueryProvidersResponse, error)
	// AuditorAttributes queries all providers signed by this auditor
	// buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	AuditorAttributes(context.Context, *QueryAuditorAttributesRequest) (*QueryProvidersResponse, error)
}

QueryServer is the server API for Query service.

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) DeleteProviderAttributes

func (*UnimplementedMsgServer) SignProviderAttributes

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AllProvidersAttributes

func (*UnimplementedQueryServer) AuditorAttributes

func (*UnimplementedQueryServer) ProviderAttributes

func (*UnimplementedQueryServer) ProviderAuditorAttributes

Jump to

Keyboard shortcuts

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