Documentation ¶
Overview ¶
Package v1beta2 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func ParseEVTTrustedAuditor(attrs []sdk.Attribute) (sdk.Address, sdk.Address, error)
- func ParseEvent(ev sdkutil.Event) (sdkutil.ModuleEvent, error)
- func PrefixProviderID() []byte
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func TrustedAuditorEVAttributes(owner sdk.Address, auditor sdk.Address) []sdk.Attribute
- type AttributesFilters
- func (*AttributesFilters) Descriptor() ([]byte, []int)
- func (m *AttributesFilters) GetAuditors() []string
- func (m *AttributesFilters) GetOwners() []string
- func (m *AttributesFilters) Marshal() (dAtA []byte, err error)
- func (m *AttributesFilters) MarshalTo(dAtA []byte) (int, error)
- func (m *AttributesFilters) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AttributesFilters) ProtoMessage()
- func (m *AttributesFilters) Reset()
- func (m *AttributesFilters) Size() (n int)
- func (m *AttributesFilters) String() string
- func (m *AttributesFilters) Unmarshal(dAtA []byte) error
- func (m *AttributesFilters) XXX_DiscardUnknown()
- func (m *AttributesFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AttributesFilters) XXX_Merge(src proto.Message)
- func (m *AttributesFilters) XXX_Size() int
- func (m *AttributesFilters) XXX_Unmarshal(b []byte) error
- type AttributesResponse
- func (*AttributesResponse) Descriptor() ([]byte, []int)
- func (m *AttributesResponse) GetAttributes() []AuditedAttributes
- func (m *AttributesResponse) Marshal() (dAtA []byte, err error)
- func (m *AttributesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AttributesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AttributesResponse) ProtoMessage()
- func (m *AttributesResponse) Reset()
- func (m *AttributesResponse) Size() (n int)
- func (m *AttributesResponse) String() string
- func (m *AttributesResponse) Unmarshal(dAtA []byte) error
- func (m *AttributesResponse) XXX_DiscardUnknown()
- func (m *AttributesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AttributesResponse) XXX_Merge(src proto.Message)
- func (m *AttributesResponse) XXX_Size() int
- func (m *AttributesResponse) XXX_Unmarshal(b []byte) error
- type AuditedAttributes
- func (*AuditedAttributes) Descriptor() ([]byte, []int)
- func (m *AuditedAttributes) GetAttributes() github_com_akash_network_node_types_v1beta2.Attributes
- func (m *AuditedAttributes) GetAuditor() string
- func (m *AuditedAttributes) GetOwner() string
- func (m *AuditedAttributes) Marshal() (dAtA []byte, err error)
- func (m *AuditedAttributes) MarshalTo(dAtA []byte) (int, error)
- func (m *AuditedAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuditedAttributes) ProtoMessage()
- func (m *AuditedAttributes) Reset()
- func (m *AuditedAttributes) Size() (n int)
- func (m *AuditedAttributes) String() string
- func (m *AuditedAttributes) Unmarshal(dAtA []byte) error
- func (m *AuditedAttributes) XXX_DiscardUnknown()
- func (m *AuditedAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuditedAttributes) XXX_Merge(src proto.Message)
- func (m *AuditedAttributes) XXX_Size() int
- func (m *AuditedAttributes) XXX_Unmarshal(b []byte) error
- type EventTrustedAuditorCreated
- type EventTrustedAuditorDeleted
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetAttributes() []AuditedAttributes
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgDeleteProviderAttributes
- func (*MsgDeleteProviderAttributes) Descriptor() ([]byte, []int)
- func (m *MsgDeleteProviderAttributes) GetAuditor() string
- func (m *MsgDeleteProviderAttributes) GetKeys() []string
- func (m *MsgDeleteProviderAttributes) GetOwner() string
- func (m MsgDeleteProviderAttributes) GetSignBytes() []byte
- func (m MsgDeleteProviderAttributes) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteProviderAttributes) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteProviderAttributes) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteProviderAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteProviderAttributes) ProtoMessage()
- func (m *MsgDeleteProviderAttributes) Reset()
- func (m MsgDeleteProviderAttributes) Route() string
- func (m *MsgDeleteProviderAttributes) Size() (n int)
- func (m *MsgDeleteProviderAttributes) String() string
- func (m MsgDeleteProviderAttributes) Type() string
- func (m *MsgDeleteProviderAttributes) Unmarshal(dAtA []byte) error
- func (m MsgDeleteProviderAttributes) ValidateBasic() error
- func (m *MsgDeleteProviderAttributes) XXX_DiscardUnknown()
- func (m *MsgDeleteProviderAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteProviderAttributes) XXX_Merge(src proto.Message)
- func (m *MsgDeleteProviderAttributes) XXX_Size() int
- func (m *MsgDeleteProviderAttributes) XXX_Unmarshal(b []byte) error
- type MsgDeleteProviderAttributesResponse
- func (*MsgDeleteProviderAttributesResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteProviderAttributesResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteProviderAttributesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteProviderAttributesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteProviderAttributesResponse) ProtoMessage()
- func (m *MsgDeleteProviderAttributesResponse) Reset()
- func (m *MsgDeleteProviderAttributesResponse) Size() (n int)
- func (m *MsgDeleteProviderAttributesResponse) String() string
- func (m *MsgDeleteProviderAttributesResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteProviderAttributesResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteProviderAttributesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteProviderAttributesResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteProviderAttributesResponse) XXX_Size() int
- func (m *MsgDeleteProviderAttributesResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSignProviderAttributes
- func (*MsgSignProviderAttributes) Descriptor() ([]byte, []int)
- func (m *MsgSignProviderAttributes) GetAttributes() github_com_akash_network_node_types_v1beta2.Attributes
- func (m *MsgSignProviderAttributes) GetAuditor() string
- func (m *MsgSignProviderAttributes) GetOwner() string
- func (m MsgSignProviderAttributes) GetSignBytes() []byte
- func (m MsgSignProviderAttributes) GetSigners() []sdk.AccAddress
- func (m *MsgSignProviderAttributes) Marshal() (dAtA []byte, err error)
- func (m *MsgSignProviderAttributes) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSignProviderAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSignProviderAttributes) ProtoMessage()
- func (m *MsgSignProviderAttributes) Reset()
- func (m MsgSignProviderAttributes) Route() string
- func (m *MsgSignProviderAttributes) Size() (n int)
- func (m *MsgSignProviderAttributes) String() string
- func (m MsgSignProviderAttributes) Type() string
- func (m *MsgSignProviderAttributes) Unmarshal(dAtA []byte) error
- func (m MsgSignProviderAttributes) ValidateBasic() error
- func (m *MsgSignProviderAttributes) XXX_DiscardUnknown()
- func (m *MsgSignProviderAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSignProviderAttributes) XXX_Merge(src proto.Message)
- func (m *MsgSignProviderAttributes) XXX_Size() int
- func (m *MsgSignProviderAttributes) XXX_Unmarshal(b []byte) error
- type MsgSignProviderAttributesResponse
- func (*MsgSignProviderAttributesResponse) Descriptor() ([]byte, []int)
- func (m *MsgSignProviderAttributesResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSignProviderAttributesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSignProviderAttributesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSignProviderAttributesResponse) ProtoMessage()
- func (m *MsgSignProviderAttributesResponse) Reset()
- func (m *MsgSignProviderAttributesResponse) Size() (n int)
- func (m *MsgSignProviderAttributesResponse) String() string
- func (m *MsgSignProviderAttributesResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSignProviderAttributesResponse) XXX_DiscardUnknown()
- func (m *MsgSignProviderAttributesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSignProviderAttributesResponse) XXX_Merge(src proto.Message)
- func (m *MsgSignProviderAttributesResponse) XXX_Size() int
- func (m *MsgSignProviderAttributesResponse) XXX_Unmarshal(b []byte) error
- type Provider
- func (*Provider) Descriptor() ([]byte, []int)
- func (m *Provider) GetAttributes() github_com_akash_network_node_types_v1beta2.Attributes
- func (m *Provider) GetAuditor() string
- func (m *Provider) GetOwner() string
- func (m *Provider) Marshal() (dAtA []byte, err error)
- func (m *Provider) MarshalTo(dAtA []byte) (int, error)
- func (m *Provider) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Provider) ProtoMessage()
- func (m *Provider) Reset()
- func (m *Provider) Size() (n int)
- func (m *Provider) String() string
- func (m *Provider) Unmarshal(dAtA []byte) error
- func (m *Provider) XXX_DiscardUnknown()
- func (m *Provider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Provider) XXX_Merge(src proto.Message)
- func (m *Provider) XXX_Size() int
- func (m *Provider) XXX_Unmarshal(b []byte) error
- type ProviderID
- type Providers
- type QueryAllProvidersAttributesRequest
- func (*QueryAllProvidersAttributesRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllProvidersAttributesRequest) GetPagination() *query.PageRequest
- func (m *QueryAllProvidersAttributesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllProvidersAttributesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllProvidersAttributesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllProvidersAttributesRequest) ProtoMessage()
- func (m *QueryAllProvidersAttributesRequest) Reset()
- func (m *QueryAllProvidersAttributesRequest) Size() (n int)
- func (m *QueryAllProvidersAttributesRequest) String() string
- func (m *QueryAllProvidersAttributesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllProvidersAttributesRequest) XXX_DiscardUnknown()
- func (m *QueryAllProvidersAttributesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllProvidersAttributesRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllProvidersAttributesRequest) XXX_Size() int
- func (m *QueryAllProvidersAttributesRequest) XXX_Unmarshal(b []byte) error
- type QueryAuditorAttributesRequest
- func (*QueryAuditorAttributesRequest) Descriptor() ([]byte, []int)
- func (m *QueryAuditorAttributesRequest) GetAuditor() string
- func (m *QueryAuditorAttributesRequest) GetPagination() *query.PageRequest
- func (m *QueryAuditorAttributesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAuditorAttributesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAuditorAttributesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAuditorAttributesRequest) ProtoMessage()
- func (m *QueryAuditorAttributesRequest) Reset()
- func (m *QueryAuditorAttributesRequest) Size() (n int)
- func (m *QueryAuditorAttributesRequest) String() string
- func (m *QueryAuditorAttributesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAuditorAttributesRequest) XXX_DiscardUnknown()
- func (m *QueryAuditorAttributesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAuditorAttributesRequest) XXX_Merge(src proto.Message)
- func (m *QueryAuditorAttributesRequest) XXX_Size() int
- func (m *QueryAuditorAttributesRequest) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryProviderAttributesRequest
- func (*QueryProviderAttributesRequest) Descriptor() ([]byte, []int)
- func (m *QueryProviderAttributesRequest) GetOwner() string
- func (m *QueryProviderAttributesRequest) GetPagination() *query.PageRequest
- func (m *QueryProviderAttributesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryProviderAttributesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProviderAttributesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProviderAttributesRequest) ProtoMessage()
- func (m *QueryProviderAttributesRequest) Reset()
- func (m *QueryProviderAttributesRequest) Size() (n int)
- func (m *QueryProviderAttributesRequest) String() string
- func (m *QueryProviderAttributesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryProviderAttributesRequest) XXX_DiscardUnknown()
- func (m *QueryProviderAttributesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProviderAttributesRequest) XXX_Merge(src proto.Message)
- func (m *QueryProviderAttributesRequest) XXX_Size() int
- func (m *QueryProviderAttributesRequest) XXX_Unmarshal(b []byte) error
- type QueryProviderAuditorRequest
- func (*QueryProviderAuditorRequest) Descriptor() ([]byte, []int)
- func (m *QueryProviderAuditorRequest) GetAuditor() string
- func (m *QueryProviderAuditorRequest) GetOwner() string
- func (m *QueryProviderAuditorRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryProviderAuditorRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProviderAuditorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProviderAuditorRequest) ProtoMessage()
- func (m *QueryProviderAuditorRequest) Reset()
- func (m *QueryProviderAuditorRequest) Size() (n int)
- func (m *QueryProviderAuditorRequest) String() string
- func (m *QueryProviderAuditorRequest) Unmarshal(dAtA []byte) error
- func (m *QueryProviderAuditorRequest) XXX_DiscardUnknown()
- func (m *QueryProviderAuditorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProviderAuditorRequest) XXX_Merge(src proto.Message)
- func (m *QueryProviderAuditorRequest) XXX_Size() int
- func (m *QueryProviderAuditorRequest) XXX_Unmarshal(b []byte) error
- type QueryProviderRequest
- func (*QueryProviderRequest) Descriptor() ([]byte, []int)
- func (m *QueryProviderRequest) GetAuditor() string
- func (m *QueryProviderRequest) GetOwner() string
- func (m *QueryProviderRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryProviderRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProviderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProviderRequest) ProtoMessage()
- func (m *QueryProviderRequest) Reset()
- func (m *QueryProviderRequest) Size() (n int)
- func (m *QueryProviderRequest) String() string
- func (m *QueryProviderRequest) Unmarshal(dAtA []byte) error
- func (m *QueryProviderRequest) XXX_DiscardUnknown()
- func (m *QueryProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProviderRequest) XXX_Merge(src proto.Message)
- func (m *QueryProviderRequest) XXX_Size() int
- func (m *QueryProviderRequest) XXX_Unmarshal(b []byte) error
- type QueryProvidersResponse
- func (*QueryProvidersResponse) Descriptor() ([]byte, []int)
- func (m *QueryProvidersResponse) GetPagination() *query.PageResponse
- func (m *QueryProvidersResponse) GetProviders() Providers
- func (m *QueryProvidersResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryProvidersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProvidersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProvidersResponse) ProtoMessage()
- func (m *QueryProvidersResponse) Reset()
- func (m *QueryProvidersResponse) Size() (n int)
- func (m *QueryProvidersResponse) String() string
- func (m *QueryProvidersResponse) Unmarshal(dAtA []byte) error
- func (m *QueryProvidersResponse) XXX_DiscardUnknown()
- func (m *QueryProvidersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProvidersResponse) XXX_Merge(src proto.Message)
- func (m *QueryProvidersResponse) XXX_Size() int
- func (m *QueryProvidersResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) DeleteProviderAttributes(ctx context.Context, req *MsgDeleteProviderAttributes) (*MsgDeleteProviderAttributesResponse, error)
- func (*UnimplementedMsgServer) SignProviderAttributes(ctx context.Context, req *MsgSignProviderAttributes) (*MsgSignProviderAttributesResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AllProvidersAttributes(ctx context.Context, req *QueryAllProvidersAttributesRequest) (*QueryProvidersResponse, error)
- func (*UnimplementedQueryServer) AuditorAttributes(ctx context.Context, req *QueryAuditorAttributesRequest) (*QueryProvidersResponse, error)
- func (*UnimplementedQueryServer) ProviderAttributes(ctx context.Context, req *QueryProviderAttributesRequest) (*QueryProvidersResponse, error)
- func (*UnimplementedQueryServer) ProviderAuditorAttributes(ctx context.Context, req *QueryProviderAuditorRequest) (*QueryProvidersResponse, error)
Constants ¶
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 )
const ( MsgTypeSignProviderAttributes = "audit-sign-provider-attributes" MsgTypeDeleteProviderAttributes = "audit-delete-provider-attributes" )
Variables ¶
var ( ErrInvalidLengthAudit = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAudit = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAudit = fmt.Errorf("proto: unexpected end of group") )
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") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( // ModuleCdc references the global x/provider 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 ParseEVTTrustedAuditor ¶
ParseEVTTrustedAuditor returns provider details for given event attributes
func ParseEvent ¶
func ParseEvent(ev sdkutil.Event) (sdkutil.ModuleEvent, error)
ParseEvent parses event and returns details of event and error if occurred
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)
RegisterCodec register concrete types on codec
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
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 github_com_akash_network_node_types_v1beta2.Attributes `` /* 149-byte string literal not displayed */ }
Attributes
func (*AuditedAttributes) Descriptor ¶
func (*AuditedAttributes) Descriptor() ([]byte, []int)
func (*AuditedAttributes) GetAttributes ¶
func (m *AuditedAttributes) GetAttributes() github_com_akash_network_node_types_v1beta2.Attributes
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 { Context sdkutil.BaseModuleEvent `json:"context"` Owner sdk.Address `json:"owner"` Auditor sdk.Address `json:"auditor"` }
EventTrustedAuditorCreated struct
func NewEventTrustedAuditorCreated ¶
func NewEventTrustedAuditorCreated(owner sdk.Address, auditor sdk.Address) EventTrustedAuditorCreated
func (EventTrustedAuditorCreated) ToSDKEvent ¶
func (ev EventTrustedAuditorCreated) ToSDKEvent() sdk.Event
ToSDKEvent method creates new sdk event for EventProviderCreated struct
type EventTrustedAuditorDeleted ¶
type EventTrustedAuditorDeleted struct { Context sdkutil.BaseModuleEvent `json:"context"` Owner sdk.Address `json:"owner"` Auditor sdk.Address `json:"auditor"` }
func NewEventTrustedAuditorDeleted ¶
func NewEventTrustedAuditorDeleted(owner sdk.Address, auditor sdk.Address) EventTrustedAuditorDeleted
func (EventTrustedAuditorDeleted) ToSDKEvent ¶
func (ev EventTrustedAuditorDeleted) ToSDKEvent() sdk.Event
ToSDKEvent method creates new sdk event for EventProviderCreated struct
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) 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 ¶
func (m MsgDeleteProviderAttributes) Route() string
====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 ¶
func (m MsgDeleteProviderAttributes) Type() string
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 (m *MsgDeleteProviderAttributesResponse) Reset()
func (*MsgDeleteProviderAttributesResponse) Size ¶
func (m *MsgDeleteProviderAttributesResponse) Size() (n int)
func (*MsgDeleteProviderAttributesResponse) String ¶
func (m *MsgDeleteProviderAttributesResponse) String() 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 (m *MsgDeleteProviderAttributesResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteProviderAttributesResponse) XXX_Size ¶
func (m *MsgDeleteProviderAttributesResponse) XXX_Size() int
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 github_com_akash_network_node_types_v1beta2.Attributes `` /* 149-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 (m *MsgSignProviderAttributes) GetAttributes() github_com_akash_network_node_types_v1beta2.Attributes
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 ¶
func (m MsgSignProviderAttributes) Route() string
====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 ¶
func (m MsgSignProviderAttributes) Type() string
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 (m *MsgSignProviderAttributesResponse) Reset()
func (*MsgSignProviderAttributesResponse) Size ¶
func (m *MsgSignProviderAttributesResponse) Size() (n int)
func (*MsgSignProviderAttributesResponse) String ¶
func (m *MsgSignProviderAttributesResponse) String() 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 (m *MsgSignProviderAttributesResponse) XXX_Merge(src proto.Message)
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 github_com_akash_network_node_types_v1beta2.Attributes `` /* 149-byte string literal not displayed */ }
Provider stores owner auditor and attributes details
func (*Provider) Descriptor ¶
func (*Provider) GetAttributes ¶
func (m *Provider) GetAttributes() github_com_akash_network_node_types_v1beta2.Attributes
func (*Provider) GetAuditor ¶
func (*Provider) MarshalToSizedBuffer ¶
func (*Provider) ProtoMessage ¶
func (*Provider) ProtoMessage()
func (*Provider) XXX_DiscardUnknown ¶
func (m *Provider) XXX_DiscardUnknown()
func (*Provider) XXX_Marshal ¶
func (*Provider) XXX_Unmarshal ¶
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 (m *QueryAllProvidersAttributesRequest) GetPagination() *query.PageRequest
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 (m *QueryAllProvidersAttributesRequest) Reset()
func (*QueryAllProvidersAttributesRequest) Size ¶
func (m *QueryAllProvidersAttributesRequest) Size() (n int)
func (*QueryAllProvidersAttributesRequest) String ¶
func (m *QueryAllProvidersAttributesRequest) String() 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 (m *QueryAllProvidersAttributesRequest) XXX_Merge(src proto.Message)
func (*QueryAllProvidersAttributesRequest) XXX_Size ¶
func (m *QueryAllProvidersAttributesRequest) XXX_Size() int
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 (m *QueryAuditorAttributesRequest) String() 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 (m *QueryProviderAttributesRequest) String() 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) DeleteProviderAttributes(ctx context.Context, req *MsgDeleteProviderAttributes) (*MsgDeleteProviderAttributesResponse, error)
func (*UnimplementedMsgServer) SignProviderAttributes ¶
func (*UnimplementedMsgServer) SignProviderAttributes(ctx context.Context, req *MsgSignProviderAttributes) (*MsgSignProviderAttributesResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AllProvidersAttributes ¶
func (*UnimplementedQueryServer) AllProvidersAttributes(ctx context.Context, req *QueryAllProvidersAttributesRequest) (*QueryProvidersResponse, error)
func (*UnimplementedQueryServer) AuditorAttributes ¶
func (*UnimplementedQueryServer) AuditorAttributes(ctx context.Context, req *QueryAuditorAttributesRequest) (*QueryProvidersResponse, error)
func (*UnimplementedQueryServer) ProviderAttributes ¶
func (*UnimplementedQueryServer) ProviderAttributes(ctx context.Context, req *QueryProviderAttributesRequest) (*QueryProvidersResponse, error)
func (*UnimplementedQueryServer) ProviderAuditorAttributes ¶
func (*UnimplementedQueryServer) ProviderAuditorAttributes(ctx context.Context, req *QueryProviderAuditorRequest) (*QueryProvidersResponse, error)