Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) CertifiedModel(c context.Context, req *types.QueryGetCertifiedModelRequest) (*types.QueryGetCertifiedModelResponse, error)
- func (k Keeper) CertifiedModelAll(c context.Context, req *types.QueryAllCertifiedModelRequest) (*types.QueryAllCertifiedModelResponse, error)
- func (k Keeper) ComplianceInfo(c context.Context, req *types.QueryGetComplianceInfoRequest) (*types.QueryGetComplianceInfoResponse, error)
- func (k Keeper) ComplianceInfoAll(c context.Context, req *types.QueryAllComplianceInfoRequest) (*types.QueryAllComplianceInfoResponse, error)
- func (k Keeper) GetAllCertifiedModel(ctx sdk.Context) (list []types.CertifiedModel)
- func (k Keeper) GetAllComplianceInfo(ctx sdk.Context) (list []types.ComplianceInfo)
- func (k Keeper) GetAllProvisionalModel(ctx sdk.Context) (list []types.ProvisionalModel)
- func (k Keeper) GetAllRevokedModel(ctx sdk.Context) (list []types.RevokedModel)
- func (k Keeper) GetCertifiedModel(ctx sdk.Context, vid int32, pid int32, softwareVersion uint32, ...) (val types.CertifiedModel, found bool)
- func (k Keeper) GetComplianceInfo(ctx sdk.Context, vid int32, pid int32, softwareVersion uint32, ...) (val types.ComplianceInfo, found bool)
- func (k Keeper) GetProvisionalModel(ctx sdk.Context, vid int32, pid int32, softwareVersion uint32, ...) (val types.ProvisionalModel, found bool)
- func (k Keeper) GetRevokedModel(ctx sdk.Context, vid int32, pid int32, softwareVersion uint32, ...) (val types.RevokedModel, found bool)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) ProvisionalModel(c context.Context, req *types.QueryGetProvisionalModelRequest) (*types.QueryGetProvisionalModelResponse, error)
- func (k Keeper) ProvisionalModelAll(c context.Context, req *types.QueryAllProvisionalModelRequest) (*types.QueryAllProvisionalModelResponse, error)
- func (k Keeper) RemoveCertifiedModel(ctx sdk.Context, vid int32, pid int32, softwareVersion uint32, ...)
- func (k Keeper) RemoveComplianceInfo(ctx sdk.Context, vid int32, pid int32, softwareVersion uint32, ...)
- func (k Keeper) RemoveProvisionalModel(ctx sdk.Context, vid int32, pid int32, softwareVersion uint32, ...)
- func (k Keeper) RemoveRevokedModel(ctx sdk.Context, vid int32, pid int32, softwareVersion uint32, ...)
- func (k Keeper) RevokedModel(c context.Context, req *types.QueryGetRevokedModelRequest) (*types.QueryGetRevokedModelResponse, error)
- func (k Keeper) RevokedModelAll(c context.Context, req *types.QueryAllRevokedModelRequest) (*types.QueryAllRevokedModelResponse, error)
- func (k Keeper) SetCertifiedModel(ctx sdk.Context, certifiedModel types.CertifiedModel)
- func (k Keeper) SetComplianceInfo(ctx sdk.Context, complianceInfo types.ComplianceInfo)
- func (k Keeper) SetProvisionalModel(ctx sdk.Context, provisionalModel types.ProvisionalModel)
- func (k Keeper) SetRevokedModel(ctx sdk.Context, revokedModel types.RevokedModel)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey sdk.StoreKey, dclauthKeeper types.DclauthKeeper, modelKeeper types.ModelKeeper, compliancetestKeeper types.CompliancetestKeeper, ) *Keeper
func (Keeper) CertifiedModel ¶
func (k Keeper) CertifiedModel(c context.Context, req *types.QueryGetCertifiedModelRequest) (*types.QueryGetCertifiedModelResponse, error)
func (Keeper) CertifiedModelAll ¶
func (k Keeper) CertifiedModelAll(c context.Context, req *types.QueryAllCertifiedModelRequest) (*types.QueryAllCertifiedModelResponse, error)
func (Keeper) ComplianceInfo ¶
func (k Keeper) ComplianceInfo(c context.Context, req *types.QueryGetComplianceInfoRequest) (*types.QueryGetComplianceInfoResponse, error)
func (Keeper) ComplianceInfoAll ¶
func (k Keeper) ComplianceInfoAll(c context.Context, req *types.QueryAllComplianceInfoRequest) (*types.QueryAllComplianceInfoResponse, error)
func (Keeper) GetAllCertifiedModel ¶
func (k Keeper) GetAllCertifiedModel(ctx sdk.Context) (list []types.CertifiedModel)
GetAllCertifiedModel returns all certifiedModel.
func (Keeper) GetAllComplianceInfo ¶
func (k Keeper) GetAllComplianceInfo(ctx sdk.Context) (list []types.ComplianceInfo)
GetAllComplianceInfo returns all complianceInfo.
func (Keeper) GetAllProvisionalModel ¶
func (k Keeper) GetAllProvisionalModel(ctx sdk.Context) (list []types.ProvisionalModel)
GetAllProvisionalModel returns all provisionalModel.
func (Keeper) GetAllRevokedModel ¶
func (k Keeper) GetAllRevokedModel(ctx sdk.Context) (list []types.RevokedModel)
GetAllRevokedModel returns all revokedModel.
func (Keeper) GetCertifiedModel ¶
func (k Keeper) GetCertifiedModel( ctx sdk.Context, vid int32, pid int32, softwareVersion uint32, certificationType string, ) (val types.CertifiedModel, found bool)
GetCertifiedModel returns a certifiedModel from its index.
func (Keeper) GetComplianceInfo ¶
func (k Keeper) GetComplianceInfo( ctx sdk.Context, vid int32, pid int32, softwareVersion uint32, certificationType string, ) (val types.ComplianceInfo, found bool)
GetComplianceInfo returns a complianceInfo from its index.
func (Keeper) GetProvisionalModel ¶
func (k Keeper) GetProvisionalModel( ctx sdk.Context, vid int32, pid int32, softwareVersion uint32, certificationType string, ) (val types.ProvisionalModel, found bool)
GetProvisionalModel returns a provisionalModel from its index.
func (Keeper) GetRevokedModel ¶
func (k Keeper) GetRevokedModel( ctx sdk.Context, vid int32, pid int32, softwareVersion uint32, certificationType string, ) (val types.RevokedModel, found bool)
GetRevokedModel returns a revokedModel from its index.
func (Keeper) ProvisionalModel ¶
func (k Keeper) ProvisionalModel(c context.Context, req *types.QueryGetProvisionalModelRequest) (*types.QueryGetProvisionalModelResponse, error)
func (Keeper) ProvisionalModelAll ¶
func (k Keeper) ProvisionalModelAll(c context.Context, req *types.QueryAllProvisionalModelRequest) (*types.QueryAllProvisionalModelResponse, error)
func (Keeper) RemoveCertifiedModel ¶
func (k Keeper) RemoveCertifiedModel( ctx sdk.Context, vid int32, pid int32, softwareVersion uint32, certificationType string, )
RemoveCertifiedModel removes a certifiedModel from the store.
func (Keeper) RemoveComplianceInfo ¶
func (k Keeper) RemoveComplianceInfo( ctx sdk.Context, vid int32, pid int32, softwareVersion uint32, certificationType string, )
RemoveComplianceInfo removes a complianceInfo from the store.
func (Keeper) RemoveProvisionalModel ¶
func (k Keeper) RemoveProvisionalModel( ctx sdk.Context, vid int32, pid int32, softwareVersion uint32, certificationType string, )
RemoveProvisionalModel removes a provisionalModel from the store.
func (Keeper) RemoveRevokedModel ¶
func (k Keeper) RemoveRevokedModel( ctx sdk.Context, vid int32, pid int32, softwareVersion uint32, certificationType string, )
RemoveRevokedModel removes a revokedModel from the store.
func (Keeper) RevokedModel ¶
func (k Keeper) RevokedModel(c context.Context, req *types.QueryGetRevokedModelRequest) (*types.QueryGetRevokedModelResponse, error)
func (Keeper) RevokedModelAll ¶
func (k Keeper) RevokedModelAll(c context.Context, req *types.QueryAllRevokedModelRequest) (*types.QueryAllRevokedModelResponse, error)
func (Keeper) SetCertifiedModel ¶
func (k Keeper) SetCertifiedModel(ctx sdk.Context, certifiedModel types.CertifiedModel)
SetCertifiedModel set a specific certifiedModel in the store from its index.
func (Keeper) SetComplianceInfo ¶
func (k Keeper) SetComplianceInfo(ctx sdk.Context, complianceInfo types.ComplianceInfo)
SetComplianceInfo set a specific complianceInfo in the store from its index.
func (Keeper) SetProvisionalModel ¶
func (k Keeper) SetProvisionalModel(ctx sdk.Context, provisionalModel types.ProvisionalModel)
SetProvisionalModel set a specific provisionalModel in the store from its index.
func (Keeper) SetRevokedModel ¶
func (k Keeper) SetRevokedModel(ctx sdk.Context, revokedModel types.RevokedModel)
SetRevokedModel set a specific revokedModel in the store from its index.
Source Files ¶
- certified_model.go
- compliance_info.go
- grpc_query.go
- grpc_query_certified_model.go
- grpc_query_compliance_info.go
- grpc_query_provisional_model.go
- grpc_query_revoked_model.go
- keeper.go
- msg_server.go
- msg_server_certify_model.go
- msg_server_provision_model.go
- msg_server_revoke_model.go
- provisional_model.go
- revoked_model.go