types

package
v1.3.0-dev.2 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName defines the module name.
	ModuleName = "compliance"

	// StoreKey defines the primary module store key.
	StoreKey = ModuleName

	// RouterKey is the message route for slashing.
	RouterKey = ModuleName

	// QuerierRoute defines the module's query routing key.
	QuerierRoute = ModuleName

	// MemStoreKey defines the in-memory store key.
	MemStoreKey = "mem_compliance"
)
View Source
const (
	// CertifiedModelKeyPrefix is the prefix to retrieve all CertifiedModel.
	CertifiedModelKeyPrefix = "CertifiedModel/value/"
)
View Source
const (
	// ComplianceInfoKeyPrefix is the prefix to retrieve all ComplianceInfo.
	ComplianceInfoKeyPrefix = "ComplianceInfo/value/"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index.

View Source
const (
	// DeviceSoftwareComplianceKeyPrefix is the prefix to retrieve all DeviceSoftwareCompliance.
	DeviceSoftwareComplianceKeyPrefix = "DeviceSoftwareCompliance/value/"
)
View Source
const (
	// ProvisionalModelKeyPrefix is the prefix to retrieve all ProvisionalModel.
	ProvisionalModelKeyPrefix = "ProvisionalModel/value/"
)
View Source
const (
	// RevokedModelKeyPrefix is the prefix to retrieve all RevokedModel.
	RevokedModelKeyPrefix = "RevokedModel/value/"
)
View Source
const TypeMsgCertifyModel = "certify_model"
View Source
const TypeMsgDeleteComplianceInfo = "delete_compliance_info"
View Source
const TypeMsgProvisionModel = "provision_model"
View Source
const TypeMsgRevokeModel = "revoke_model"
View Source
const TypeMsgUpdateComplianceInfo = "update_compliance_info"

Variables

View Source
var (
	ErrInvalidLengthCertifiedModel        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCertifiedModel          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCertifiedModel = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthDeviceSoftwareCompliance        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDeviceSoftwareCompliance          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDeviceSoftwareCompliance = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrComplianceInfoAlreadyExist      = sdkerrors.Register(ModuleName, 301, "compliance info already exist")
	ErrInconsistentDates               = sdkerrors.Register(ModuleName, 302, "inconsistent dates")
	ErrAlreadyCertified                = sdkerrors.Register(ModuleName, 303, "model already certified")
	ErrAlreadyRevoked                  = sdkerrors.Register(ModuleName, 304, "model already revoked")
	ErrAlreadyProvisional              = sdkerrors.Register(ModuleName, 305, "model already in provisional state")
	ErrModelVersionStringDoesNotMatch  = sdkerrors.Register(ModuleName, 306, "model version does not match")
	ErrInvalidTestDateFormat           = sdkerrors.Register(ModuleName, 307, "test date must be in RFC3339 format")
	ErrInvalidCertificationType        = sdkerrors.Register(ModuleName, 308, "invalid certification type")
	ErrInvalidPFCCertificationRoute    = sdkerrors.Register(ModuleName, 309, "invalid PFC certification route")
	ErrComplianceInfoDoesNotExist      = sdkerrors.Register(ModuleName, 310, "compliance info not found")
	ErrInvalidUint32ForCdVersionNumber = sdkerrors.Register(ModuleName, 311, "invalid uint32 for cd version number")
)

x/compliance module sentinel errors.

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 (
	ErrInvalidLengthProvisionalModel        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProvisionalModel          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProvisionalModel = 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 (
	ErrInvalidLengthRevokedModel        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRevokedModel          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRevokedModel = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)

Functions

func CertifiedModelKey

func CertifiedModelKey(
	vid int32,
	pid int32,
	softwareVersion uint32,
	certificationType string,
) []byte

CertifiedModelKey returns the store key to retrieve a CertifiedModel from the index fields.

func ComplianceInfoKey

func ComplianceInfoKey(
	vid int32,
	pid int32,
	softwareVersion uint32,
	certificationType string,
) []byte

ComplianceInfoKey returns the store key to retrieve a ComplianceInfo from the index fields.

func DeviceSoftwareComplianceKey added in v0.12.0

func DeviceSoftwareComplianceKey(
	cdCertificateID string,
) []byte

DeviceSoftwareComplianceKey returns the store key to retrieve a DeviceSoftwareCompliance from the index fields.

func KeyPrefix

func KeyPrefix(p string) []byte

func NewErrAlreadyCertified

func NewErrAlreadyCertified(vid interface{}, pid interface{}, sv interface{}, certificationType interface{}) error

func NewErrAlreadyProvisional

func NewErrAlreadyProvisional(vid interface{}, pid interface{}, sv interface{}, certificationType interface{}) error

func NewErrAlreadyRevoked

func NewErrAlreadyRevoked(vid interface{}, pid interface{}, sv interface{}, certificationType interface{}) error

func NewErrComplianceInfoAlreadyExist

func NewErrComplianceInfoAlreadyExist(vid interface{}, pid interface{}, sv interface{}, certificationType interface{}) error

func NewErrComplianceInfoDoesNotExist added in v1.1.1

func NewErrComplianceInfoDoesNotExist(vid interface{}, pid interface{}, sv interface{}, certificationType interface{}) error

func NewErrInconsistentDates

func NewErrInconsistentDates(err interface{}) error

func NewErrInvalidCertificationType

func NewErrInvalidCertificationType(certType interface{}, certList interface{}) error

func NewErrInvalidPFCCertificationRoute added in v0.12.0

func NewErrInvalidPFCCertificationRoute(certRoute interface{}, certList interface{}) error

func NewErrInvalidTestDateFormat

func NewErrInvalidTestDateFormat(testDate interface{}) error

func NewErrInvalidUint32ForCdVersionNumber added in v1.1.1

func NewErrInvalidUint32ForCdVersionNumber(vid interface{}, pid interface{}, sv interface{}, certificationType interface{}, cdVersionNumber interface{}) error

func NewErrModelVersionCDVersionNumberDoesNotMatch added in v1.1.1

func NewErrModelVersionCDVersionNumberDoesNotMatch(vid interface{}, pid interface{},
	softwareVersion interface{}, cDVersionNumber interface{},
) error

func NewErrModelVersionStringDoesNotMatch

func NewErrModelVersionStringDoesNotMatch(vid interface{}, pid interface{},
	softwareVersion interface{}, softwareVersionString interface{},
) error

func ProvisionalModelKey

func ProvisionalModelKey(
	vid int32,
	pid int32,
	softwareVersion uint32,
	certificationType string,
) []byte

ProvisionalModelKey returns the store key to retrieve a ProvisionalModel from the index fields.

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

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)

func RevokedModelKey

func RevokedModelKey(
	vid int32,
	pid int32,
	softwareVersion uint32,
	certificationType string,
) []byte

RevokedModelKey returns the store key to retrieve a RevokedModel from the index fields.

Types

type CertifiedModel

type CertifiedModel struct {
	Vid               int32  `protobuf:"varint,1,opt,name=vid,proto3" json:"vid,omitempty"`
	Pid               int32  `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
	SoftwareVersion   uint32 `protobuf:"varint,3,opt,name=softwareVersion,proto3" json:"softwareVersion,omitempty"`
	CertificationType string `protobuf:"bytes,4,opt,name=certificationType,proto3" json:"certificationType,omitempty"`
	Value             bool   `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"`
}

func (*CertifiedModel) Descriptor

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

func (*CertifiedModel) GetCertificationType

func (m *CertifiedModel) GetCertificationType() string

func (*CertifiedModel) GetPid

func (m *CertifiedModel) GetPid() int32

func (*CertifiedModel) GetSoftwareVersion

func (m *CertifiedModel) GetSoftwareVersion() uint32

func (*CertifiedModel) GetValue

func (m *CertifiedModel) GetValue() bool

func (*CertifiedModel) GetVid

func (m *CertifiedModel) GetVid() int32

func (*CertifiedModel) Marshal

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

func (*CertifiedModel) MarshalTo

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

func (*CertifiedModel) MarshalToSizedBuffer

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

func (*CertifiedModel) ProtoMessage

func (*CertifiedModel) ProtoMessage()

func (*CertifiedModel) Reset

func (m *CertifiedModel) Reset()

func (*CertifiedModel) Size

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

func (*CertifiedModel) String

func (m *CertifiedModel) String() string

func (*CertifiedModel) Unmarshal

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

func (*CertifiedModel) XXX_DiscardUnknown

func (m *CertifiedModel) XXX_DiscardUnknown()

func (*CertifiedModel) XXX_Marshal

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

func (*CertifiedModel) XXX_Merge

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

func (*CertifiedModel) XXX_Size

func (m *CertifiedModel) XXX_Size() int

func (*CertifiedModel) XXX_Unmarshal

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

type DclauthKeeper

type DclauthKeeper interface {
	HasRole(ctx sdk.Context, addr sdk.AccAddress, roleToCheck dclauthtypes.AccountRole) bool
}

type DeviceSoftwareCompliance added in v0.12.0

type DeviceSoftwareCompliance struct {
	CDCertificateId string                          `protobuf:"bytes,1,opt,name=cDCertificateId,proto3" json:"cDCertificateId,omitempty"`
	ComplianceInfo  []*dclcompltypes.ComplianceInfo `protobuf:"bytes,2,rep,name=complianceInfo,proto3" json:"complianceInfo,omitempty"`
}

func (*DeviceSoftwareCompliance) Descriptor added in v0.12.0

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

func (*DeviceSoftwareCompliance) GetCDCertificateId added in v0.12.0

func (m *DeviceSoftwareCompliance) GetCDCertificateId() string

func (*DeviceSoftwareCompliance) GetComplianceInfo added in v0.12.0

func (m *DeviceSoftwareCompliance) GetComplianceInfo() []*dclcompltypes.ComplianceInfo

func (*DeviceSoftwareCompliance) IsComplianceInfoExist added in v0.12.0

func (m *DeviceSoftwareCompliance) IsComplianceInfoExist(
	vid int32, pid int32, softwareVersion uint32,
) (int, bool)

func (*DeviceSoftwareCompliance) Marshal added in v0.12.0

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

func (*DeviceSoftwareCompliance) MarshalTo added in v0.12.0

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

func (*DeviceSoftwareCompliance) MarshalToSizedBuffer added in v0.12.0

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

func (*DeviceSoftwareCompliance) ProtoMessage added in v0.12.0

func (*DeviceSoftwareCompliance) ProtoMessage()

func (*DeviceSoftwareCompliance) RemoveComplianceInfo added in v0.12.0

func (m *DeviceSoftwareCompliance) RemoveComplianceInfo(removeComplianceInfoIndex int)

func (*DeviceSoftwareCompliance) Reset added in v0.12.0

func (m *DeviceSoftwareCompliance) Reset()

func (*DeviceSoftwareCompliance) Size added in v0.12.0

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

func (*DeviceSoftwareCompliance) String added in v0.12.0

func (m *DeviceSoftwareCompliance) String() string

func (*DeviceSoftwareCompliance) Unmarshal added in v0.12.0

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

func (*DeviceSoftwareCompliance) XXX_DiscardUnknown added in v0.12.0

func (m *DeviceSoftwareCompliance) XXX_DiscardUnknown()

func (*DeviceSoftwareCompliance) XXX_Marshal added in v0.12.0

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

func (*DeviceSoftwareCompliance) XXX_Merge added in v0.12.0

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

func (*DeviceSoftwareCompliance) XXX_Size added in v0.12.0

func (m *DeviceSoftwareCompliance) XXX_Size() int

func (*DeviceSoftwareCompliance) XXX_Unmarshal added in v0.12.0

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

type GenesisState

type GenesisState struct {
	ComplianceInfoList           []dclcompltypes.ComplianceInfo `protobuf:"bytes,1,rep,name=complianceInfoList,proto3" json:"complianceInfoList"`
	CertifiedModelList           []CertifiedModel               `protobuf:"bytes,2,rep,name=certifiedModelList,proto3" json:"certifiedModelList"`
	RevokedModelList             []RevokedModel                 `protobuf:"bytes,3,rep,name=revokedModelList,proto3" json:"revokedModelList"`
	ProvisionalModelList         []ProvisionalModel             `protobuf:"bytes,4,rep,name=provisionalModelList,proto3" json:"provisionalModelList"`
	DeviceSoftwareComplianceList []DeviceSoftwareCompliance     `protobuf:"bytes,5,rep,name=deviceSoftwareComplianceList,proto3" json:"deviceSoftwareComplianceList"`
}

GenesisState defines the compliance module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state.

func (*GenesisState) Descriptor

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

func (*GenesisState) GetCertifiedModelList

func (m *GenesisState) GetCertifiedModelList() []CertifiedModel

func (*GenesisState) GetComplianceInfoList

func (m *GenesisState) GetComplianceInfoList() []dclcompltypes.ComplianceInfo

func (*GenesisState) GetDeviceSoftwareComplianceList added in v0.12.0

func (m *GenesisState) GetDeviceSoftwareComplianceList() []DeviceSoftwareCompliance

func (*GenesisState) GetProvisionalModelList

func (m *GenesisState) GetProvisionalModelList() []ProvisionalModel

func (*GenesisState) GetRevokedModelList

func (m *GenesisState) GetRevokedModelList() []RevokedModel

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) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

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 ModelKeeper

type ModelKeeper interface {
	GetModelVersion(ctx sdk.Context, vid int32, pid int32, softwareVersion uint32) (val modeltypes.ModelVersion, found bool)
}

type MsgCertifyModel

type MsgCertifyModel struct {
	Signer                             string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" validate:"required"`
	Vid                                int32  `protobuf:"varint,2,opt,name=vid,proto3" json:"vid,omitempty" validate:"gte=1,lte=65535"`
	Pid                                int32  `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty" validate:"gte=1,lte=65535"`
	SoftwareVersion                    uint32 `protobuf:"varint,4,opt,name=softwareVersion,proto3" json:"softwareVersion,omitempty"`
	SoftwareVersionString              string `protobuf:"bytes,5,opt,name=softwareVersionString,proto3" json:"softwareVersionString,omitempty" validate:"required,max=64"`
	CDVersionNumber                    uint32 `protobuf:"varint,6,opt,name=cDVersionNumber,proto3" json:"cDVersionNumber,omitempty" validate:"gte=0,lte=65535"`
	CertificationDate                  string `protobuf:"bytes,7,opt,name=certificationDate,proto3" json:"certificationDate,omitempty" validate:"required"`
	CertificationType                  string `protobuf:"bytes,8,opt,name=certificationType,proto3" json:"certificationType,omitempty" validate:"required,max=100"`
	Reason                             string `protobuf:"bytes,9,opt,name=reason,proto3" json:"reason,omitempty" validate:"max=102400"`
	ProgramTypeVersion                 string `protobuf:"bytes,10,opt,name=programTypeVersion,proto3" json:"programTypeVersion,omitempty" validate:"max=64"`
	CDCertificateId                    string `protobuf:"bytes,11,opt,name=cDCertificateId,proto3" json:"cDCertificateId,omitempty" validate:"required,max=64"`
	FamilyId                           string `protobuf:"bytes,12,opt,name=familyId,proto3" json:"familyId,omitempty" validate:"max=64"`
	SupportedClusters                  string `protobuf:"bytes,13,opt,name=supportedClusters,proto3" json:"supportedClusters,omitempty" validate:"max=64"`
	CompliantPlatformUsed              string `protobuf:"bytes,14,opt,name=compliantPlatformUsed,proto3" json:"compliantPlatformUsed,omitempty" validate:"max=64"`
	CompliantPlatformVersion           string `protobuf:"bytes,15,opt,name=compliantPlatformVersion,proto3" json:"compliantPlatformVersion,omitempty" validate:"max=64"`
	OSVersion                          string `protobuf:"bytes,16,opt,name=OSVersion,proto3" json:"OSVersion,omitempty" validate:"max=64"`
	CertificationRoute                 string `protobuf:"bytes,17,opt,name=certificationRoute,proto3" json:"certificationRoute,omitempty" validate:"max=64"`
	ProgramType                        string `protobuf:"bytes,18,opt,name=programType,proto3" json:"programType,omitempty" validate:"max=64"`
	Transport                          string `protobuf:"bytes,19,opt,name=transport,proto3" json:"transport,omitempty" validate:"max=64"`
	ParentChild                        string `protobuf:"bytes,20,opt,name=parentChild,proto3" json:"parentChild,omitempty" validate:"max=64"`
	CertificationIdOfSoftwareComponent string `` /* 140-byte string literal not displayed */
	SchemaVersion                      uint32 `protobuf:"varint,22,opt,name=schemaVersion,proto3" json:"schemaVersion,omitempty" validate:"gte=0,lte=65535"`
}

func NewMsgCertifyModel

func NewMsgCertifyModel(
	signer string, vid int32, pid int32, softwareVersion uint32, softwareVersionString string, cdVersionNumber uint32,
	certificationDate string, certificationType string, reason string, programTypeVersion string, cDCertificateID string,
	familyID string, supportedClusters string, compliantPlatformUsed string, compliantPlatformVersion string, osVersion string,
	certificationRoute string, programType string, transport string, parentChild string, certificationIDOfSoftwareComponent string,
	schemaVersion uint32,
) *MsgCertifyModel

func (*MsgCertifyModel) Descriptor

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

func (*MsgCertifyModel) GetCDCertificateId added in v0.12.0

func (m *MsgCertifyModel) GetCDCertificateId() string

func (*MsgCertifyModel) GetCDVersionNumber

func (m *MsgCertifyModel) GetCDVersionNumber() uint32

func (*MsgCertifyModel) GetCertificationDate

func (m *MsgCertifyModel) GetCertificationDate() string

func (*MsgCertifyModel) GetCertificationIdOfSoftwareComponent added in v0.12.0

func (m *MsgCertifyModel) GetCertificationIdOfSoftwareComponent() string

func (*MsgCertifyModel) GetCertificationRoute added in v0.12.0

func (m *MsgCertifyModel) GetCertificationRoute() string

func (*MsgCertifyModel) GetCertificationType

func (m *MsgCertifyModel) GetCertificationType() string

func (*MsgCertifyModel) GetCompliantPlatformUsed added in v0.12.0

func (m *MsgCertifyModel) GetCompliantPlatformUsed() string

func (*MsgCertifyModel) GetCompliantPlatformVersion added in v0.12.0

func (m *MsgCertifyModel) GetCompliantPlatformVersion() string

func (*MsgCertifyModel) GetFamilyId added in v0.12.0

func (m *MsgCertifyModel) GetFamilyId() string

func (*MsgCertifyModel) GetOSVersion added in v0.12.0

func (m *MsgCertifyModel) GetOSVersion() string

func (*MsgCertifyModel) GetParentChild added in v0.12.0

func (m *MsgCertifyModel) GetParentChild() string

func (*MsgCertifyModel) GetPid

func (m *MsgCertifyModel) GetPid() int32

func (*MsgCertifyModel) GetProgramType added in v0.12.0

func (m *MsgCertifyModel) GetProgramType() string

func (*MsgCertifyModel) GetProgramTypeVersion added in v0.12.0

func (m *MsgCertifyModel) GetProgramTypeVersion() string

func (*MsgCertifyModel) GetReason

func (m *MsgCertifyModel) GetReason() string

func (*MsgCertifyModel) GetSchemaVersion added in v1.4.0

func (m *MsgCertifyModel) GetSchemaVersion() uint32

func (*MsgCertifyModel) GetSignBytes

func (msg *MsgCertifyModel) GetSignBytes() []byte

func (*MsgCertifyModel) GetSigner

func (m *MsgCertifyModel) GetSigner() string

func (*MsgCertifyModel) GetSigners

func (msg *MsgCertifyModel) GetSigners() []sdk.AccAddress

func (*MsgCertifyModel) GetSoftwareVersion

func (m *MsgCertifyModel) GetSoftwareVersion() uint32

func (*MsgCertifyModel) GetSoftwareVersionString

func (m *MsgCertifyModel) GetSoftwareVersionString() string

func (*MsgCertifyModel) GetSupportedClusters added in v0.12.0

func (m *MsgCertifyModel) GetSupportedClusters() string

func (*MsgCertifyModel) GetTransport added in v0.12.0

func (m *MsgCertifyModel) GetTransport() string

func (*MsgCertifyModel) GetVid

func (m *MsgCertifyModel) GetVid() int32

func (*MsgCertifyModel) Marshal

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

func (*MsgCertifyModel) MarshalTo

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

func (*MsgCertifyModel) MarshalToSizedBuffer

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

func (*MsgCertifyModel) ProtoMessage

func (*MsgCertifyModel) ProtoMessage()

func (*MsgCertifyModel) Reset

func (m *MsgCertifyModel) Reset()

func (*MsgCertifyModel) Route

func (msg *MsgCertifyModel) Route() string

func (*MsgCertifyModel) Size

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

func (*MsgCertifyModel) String

func (m *MsgCertifyModel) String() string

func (*MsgCertifyModel) Type

func (msg *MsgCertifyModel) Type() string

func (*MsgCertifyModel) Unmarshal

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

func (*MsgCertifyModel) ValidateBasic

func (msg *MsgCertifyModel) ValidateBasic() error

func (*MsgCertifyModel) XXX_DiscardUnknown

func (m *MsgCertifyModel) XXX_DiscardUnknown()

func (*MsgCertifyModel) XXX_Marshal

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

func (*MsgCertifyModel) XXX_Merge

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

func (*MsgCertifyModel) XXX_Size

func (m *MsgCertifyModel) XXX_Size() int

func (*MsgCertifyModel) XXX_Unmarshal

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

type MsgCertifyModelResponse

type MsgCertifyModelResponse struct {
}

func (*MsgCertifyModelResponse) Descriptor

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

func (*MsgCertifyModelResponse) Marshal

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

func (*MsgCertifyModelResponse) MarshalTo

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

func (*MsgCertifyModelResponse) MarshalToSizedBuffer

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

func (*MsgCertifyModelResponse) ProtoMessage

func (*MsgCertifyModelResponse) ProtoMessage()

func (*MsgCertifyModelResponse) Reset

func (m *MsgCertifyModelResponse) Reset()

func (*MsgCertifyModelResponse) Size

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

func (*MsgCertifyModelResponse) String

func (m *MsgCertifyModelResponse) String() string

func (*MsgCertifyModelResponse) Unmarshal

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

func (*MsgCertifyModelResponse) XXX_DiscardUnknown

func (m *MsgCertifyModelResponse) XXX_DiscardUnknown()

func (*MsgCertifyModelResponse) XXX_Marshal

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

func (*MsgCertifyModelResponse) XXX_Merge

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

func (*MsgCertifyModelResponse) XXX_Size

func (m *MsgCertifyModelResponse) XXX_Size() int

func (*MsgCertifyModelResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	CertifyModel(ctx context.Context, in *MsgCertifyModel, opts ...grpc.CallOption) (*MsgCertifyModelResponse, error)
	RevokeModel(ctx context.Context, in *MsgRevokeModel, opts ...grpc.CallOption) (*MsgRevokeModelResponse, error)
	ProvisionModel(ctx context.Context, in *MsgProvisionModel, opts ...grpc.CallOption) (*MsgProvisionModelResponse, error)
	UpdateComplianceInfo(ctx context.Context, in *MsgUpdateComplianceInfo, opts ...grpc.CallOption) (*MsgUpdateComplianceInfoResponse, error)
	DeleteComplianceInfo(ctx context.Context, in *MsgDeleteComplianceInfo, opts ...grpc.CallOption) (*MsgDeleteComplianceInfoResponse, 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 MsgDeleteComplianceInfo added in v1.1.1

type MsgDeleteComplianceInfo struct {
	Creator           string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty" validate:"required"`
	Vid               int32  `protobuf:"varint,2,opt,name=vid,proto3" json:"vid,omitempty" validate:"gte=1,lte=65535"`
	Pid               int32  `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty" validate:"gte=1,lte=65535"`
	SoftwareVersion   uint32 `protobuf:"varint,4,opt,name=softwareVersion,proto3" json:"softwareVersion,omitempty"`
	CertificationType string `protobuf:"bytes,5,opt,name=certificationType,proto3" json:"certificationType,omitempty" validate:"required,max=100"`
}

func NewMsgDeleteComplianceInfo added in v1.1.1

func NewMsgDeleteComplianceInfo(creator string, vid int32, pid int32, softwareVersion uint32, certificationType string) *MsgDeleteComplianceInfo

func (*MsgDeleteComplianceInfo) Descriptor added in v1.1.1

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

func (*MsgDeleteComplianceInfo) GetCertificationType added in v1.1.1

func (m *MsgDeleteComplianceInfo) GetCertificationType() string

func (*MsgDeleteComplianceInfo) GetCreator added in v1.1.1

func (m *MsgDeleteComplianceInfo) GetCreator() string

func (*MsgDeleteComplianceInfo) GetPid added in v1.1.1

func (m *MsgDeleteComplianceInfo) GetPid() int32

func (*MsgDeleteComplianceInfo) GetSignBytes added in v1.1.1

func (msg *MsgDeleteComplianceInfo) GetSignBytes() []byte

func (*MsgDeleteComplianceInfo) GetSigners added in v1.1.1

func (msg *MsgDeleteComplianceInfo) GetSigners() []sdk.AccAddress

func (*MsgDeleteComplianceInfo) GetSoftwareVersion added in v1.1.1

func (m *MsgDeleteComplianceInfo) GetSoftwareVersion() uint32

func (*MsgDeleteComplianceInfo) GetVid added in v1.1.1

func (m *MsgDeleteComplianceInfo) GetVid() int32

func (*MsgDeleteComplianceInfo) Marshal added in v1.1.1

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

func (*MsgDeleteComplianceInfo) MarshalTo added in v1.1.1

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

func (*MsgDeleteComplianceInfo) MarshalToSizedBuffer added in v1.1.1

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

func (*MsgDeleteComplianceInfo) ProtoMessage added in v1.1.1

func (*MsgDeleteComplianceInfo) ProtoMessage()

func (*MsgDeleteComplianceInfo) Reset added in v1.1.1

func (m *MsgDeleteComplianceInfo) Reset()

func (*MsgDeleteComplianceInfo) Route added in v1.1.1

func (msg *MsgDeleteComplianceInfo) Route() string

func (*MsgDeleteComplianceInfo) Size added in v1.1.1

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

func (*MsgDeleteComplianceInfo) String added in v1.1.1

func (m *MsgDeleteComplianceInfo) String() string

func (*MsgDeleteComplianceInfo) Type added in v1.1.1

func (msg *MsgDeleteComplianceInfo) Type() string

func (*MsgDeleteComplianceInfo) Unmarshal added in v1.1.1

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

func (*MsgDeleteComplianceInfo) ValidateBasic added in v1.1.1

func (msg *MsgDeleteComplianceInfo) ValidateBasic() error

func (*MsgDeleteComplianceInfo) XXX_DiscardUnknown added in v1.1.1

func (m *MsgDeleteComplianceInfo) XXX_DiscardUnknown()

func (*MsgDeleteComplianceInfo) XXX_Marshal added in v1.1.1

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

func (*MsgDeleteComplianceInfo) XXX_Merge added in v1.1.1

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

func (*MsgDeleteComplianceInfo) XXX_Size added in v1.1.1

func (m *MsgDeleteComplianceInfo) XXX_Size() int

func (*MsgDeleteComplianceInfo) XXX_Unmarshal added in v1.1.1

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

type MsgDeleteComplianceInfoResponse added in v1.1.1

type MsgDeleteComplianceInfoResponse struct {
}

func (*MsgDeleteComplianceInfoResponse) Descriptor added in v1.1.1

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

func (*MsgDeleteComplianceInfoResponse) Marshal added in v1.1.1

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

func (*MsgDeleteComplianceInfoResponse) MarshalTo added in v1.1.1

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

func (*MsgDeleteComplianceInfoResponse) MarshalToSizedBuffer added in v1.1.1

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

func (*MsgDeleteComplianceInfoResponse) ProtoMessage added in v1.1.1

func (*MsgDeleteComplianceInfoResponse) ProtoMessage()

func (*MsgDeleteComplianceInfoResponse) Reset added in v1.1.1

func (*MsgDeleteComplianceInfoResponse) Size added in v1.1.1

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

func (*MsgDeleteComplianceInfoResponse) String added in v1.1.1

func (*MsgDeleteComplianceInfoResponse) Unmarshal added in v1.1.1

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

func (*MsgDeleteComplianceInfoResponse) XXX_DiscardUnknown added in v1.1.1

func (m *MsgDeleteComplianceInfoResponse) XXX_DiscardUnknown()

func (*MsgDeleteComplianceInfoResponse) XXX_Marshal added in v1.1.1

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

func (*MsgDeleteComplianceInfoResponse) XXX_Merge added in v1.1.1

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

func (*MsgDeleteComplianceInfoResponse) XXX_Size added in v1.1.1

func (m *MsgDeleteComplianceInfoResponse) XXX_Size() int

func (*MsgDeleteComplianceInfoResponse) XXX_Unmarshal added in v1.1.1

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

type MsgProvisionModel

type MsgProvisionModel struct {
	Signer                             string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" validate:"required"`
	Vid                                int32  `protobuf:"varint,2,opt,name=vid,proto3" json:"vid,omitempty" validate:"gte=1,lte=65535"`
	Pid                                int32  `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty" validate:"gte=1,lte=65535"`
	SoftwareVersion                    uint32 `protobuf:"varint,4,opt,name=softwareVersion,proto3" json:"softwareVersion,omitempty"`
	SoftwareVersionString              string `protobuf:"bytes,5,opt,name=softwareVersionString,proto3" json:"softwareVersionString,omitempty" validate:"required,max=64"`
	CDVersionNumber                    uint32 `protobuf:"varint,6,opt,name=cDVersionNumber,proto3" json:"cDVersionNumber,omitempty" validate:"gte=0,lte=65535"`
	ProvisionalDate                    string `protobuf:"bytes,7,opt,name=provisionalDate,proto3" json:"provisionalDate,omitempty" validate:"required"`
	CertificationType                  string `protobuf:"bytes,8,opt,name=certificationType,proto3" json:"certificationType,omitempty" validate:"required,max=100"`
	Reason                             string `protobuf:"bytes,9,opt,name=reason,proto3" json:"reason,omitempty" validate:"max=102400"`
	ProgramTypeVersion                 string `protobuf:"bytes,10,opt,name=programTypeVersion,proto3" json:"programTypeVersion,omitempty" validate:"max=64"`
	CDCertificateId                    string `protobuf:"bytes,11,opt,name=cDCertificateId,proto3" json:"cDCertificateId,omitempty" validate:"required,max=64"`
	FamilyId                           string `protobuf:"bytes,12,opt,name=familyId,proto3" json:"familyId,omitempty" validate:"max=64"`
	SupportedClusters                  string `protobuf:"bytes,13,opt,name=supportedClusters,proto3" json:"supportedClusters,omitempty" validate:"max=64"`
	CompliantPlatformUsed              string `protobuf:"bytes,14,opt,name=compliantPlatformUsed,proto3" json:"compliantPlatformUsed,omitempty" validate:"max=64"`
	CompliantPlatformVersion           string `protobuf:"bytes,15,opt,name=compliantPlatformVersion,proto3" json:"compliantPlatformVersion,omitempty" validate:"max=64"`
	OSVersion                          string `protobuf:"bytes,16,opt,name=OSVersion,proto3" json:"OSVersion,omitempty" validate:"max=64"`
	CertificationRoute                 string `protobuf:"bytes,17,opt,name=certificationRoute,proto3" json:"certificationRoute,omitempty" validate:"max=64"`
	ProgramType                        string `protobuf:"bytes,18,opt,name=programType,proto3" json:"programType,omitempty" validate:"max=64"`
	Transport                          string `protobuf:"bytes,19,opt,name=transport,proto3" json:"transport,omitempty" validate:"max=64"`
	ParentChild                        string `protobuf:"bytes,20,opt,name=parentChild,proto3" json:"parentChild,omitempty" validate:"max=64"`
	CertificationIdOfSoftwareComponent string `` /* 140-byte string literal not displayed */
	SchemaVersion                      uint32 `protobuf:"varint,22,opt,name=schemaVersion,proto3" json:"schemaVersion,omitempty" validate:"gte=0,lte=65535"`
}

func NewMsgProvisionModel

func NewMsgProvisionModel(
	signer string, vid int32, pid int32, softwareVersion uint32, softwareVersionString string, cDVersionNumber uint32,
	provisionalDate string, certificationType string, reason string, programTypeVersion string, cDCertificateID string,
	familyID string, supportedClusters string, compliantPlatformUsed string, compliantPlatformVersion string, osVersion string,
	certificationRoute string, programType string, transport string, parentChild string, certificationIDOfSoftwareComponent string,
	schemaVersion uint32,
) *MsgProvisionModel

func (*MsgProvisionModel) Descriptor

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

func (*MsgProvisionModel) GetCDCertificateId added in v0.12.0

func (m *MsgProvisionModel) GetCDCertificateId() string

func (*MsgProvisionModel) GetCDVersionNumber

func (m *MsgProvisionModel) GetCDVersionNumber() uint32

func (*MsgProvisionModel) GetCertificationIdOfSoftwareComponent added in v0.12.0

func (m *MsgProvisionModel) GetCertificationIdOfSoftwareComponent() string

func (*MsgProvisionModel) GetCertificationRoute added in v0.12.0

func (m *MsgProvisionModel) GetCertificationRoute() string

func (*MsgProvisionModel) GetCertificationType

func (m *MsgProvisionModel) GetCertificationType() string

func (*MsgProvisionModel) GetCompliantPlatformUsed added in v0.12.0

func (m *MsgProvisionModel) GetCompliantPlatformUsed() string

func (*MsgProvisionModel) GetCompliantPlatformVersion added in v0.12.0

func (m *MsgProvisionModel) GetCompliantPlatformVersion() string

func (*MsgProvisionModel) GetFamilyId added in v0.12.0

func (m *MsgProvisionModel) GetFamilyId() string

func (*MsgProvisionModel) GetOSVersion added in v0.12.0

func (m *MsgProvisionModel) GetOSVersion() string

func (*MsgProvisionModel) GetParentChild added in v0.12.0

func (m *MsgProvisionModel) GetParentChild() string

func (*MsgProvisionModel) GetPid

func (m *MsgProvisionModel) GetPid() int32

func (*MsgProvisionModel) GetProgramType added in v0.12.0

func (m *MsgProvisionModel) GetProgramType() string

func (*MsgProvisionModel) GetProgramTypeVersion added in v0.12.0

func (m *MsgProvisionModel) GetProgramTypeVersion() string

func (*MsgProvisionModel) GetProvisionalDate

func (m *MsgProvisionModel) GetProvisionalDate() string

func (*MsgProvisionModel) GetReason

func (m *MsgProvisionModel) GetReason() string

func (*MsgProvisionModel) GetSchemaVersion added in v1.4.0

func (m *MsgProvisionModel) GetSchemaVersion() uint32

func (*MsgProvisionModel) GetSignBytes

func (msg *MsgProvisionModel) GetSignBytes() []byte

func (*MsgProvisionModel) GetSigner

func (m *MsgProvisionModel) GetSigner() string

func (*MsgProvisionModel) GetSigners

func (msg *MsgProvisionModel) GetSigners() []sdk.AccAddress

func (*MsgProvisionModel) GetSoftwareVersion

func (m *MsgProvisionModel) GetSoftwareVersion() uint32

func (*MsgProvisionModel) GetSoftwareVersionString

func (m *MsgProvisionModel) GetSoftwareVersionString() string

func (*MsgProvisionModel) GetSupportedClusters added in v0.12.0

func (m *MsgProvisionModel) GetSupportedClusters() string

func (*MsgProvisionModel) GetTransport added in v0.12.0

func (m *MsgProvisionModel) GetTransport() string

func (*MsgProvisionModel) GetVid

func (m *MsgProvisionModel) GetVid() int32

func (*MsgProvisionModel) Marshal

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

func (*MsgProvisionModel) MarshalTo

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

func (*MsgProvisionModel) MarshalToSizedBuffer

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

func (*MsgProvisionModel) ProtoMessage

func (*MsgProvisionModel) ProtoMessage()

func (*MsgProvisionModel) Reset

func (m *MsgProvisionModel) Reset()

func (*MsgProvisionModel) Route

func (msg *MsgProvisionModel) Route() string

func (*MsgProvisionModel) Size

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

func (*MsgProvisionModel) String

func (m *MsgProvisionModel) String() string

func (*MsgProvisionModel) Type

func (msg *MsgProvisionModel) Type() string

func (*MsgProvisionModel) Unmarshal

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

func (*MsgProvisionModel) ValidateBasic

func (msg *MsgProvisionModel) ValidateBasic() error

func (*MsgProvisionModel) XXX_DiscardUnknown

func (m *MsgProvisionModel) XXX_DiscardUnknown()

func (*MsgProvisionModel) XXX_Marshal

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

func (*MsgProvisionModel) XXX_Merge

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

func (*MsgProvisionModel) XXX_Size

func (m *MsgProvisionModel) XXX_Size() int

func (*MsgProvisionModel) XXX_Unmarshal

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

type MsgProvisionModelResponse

type MsgProvisionModelResponse struct {
}

func (*MsgProvisionModelResponse) Descriptor

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

func (*MsgProvisionModelResponse) Marshal

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

func (*MsgProvisionModelResponse) MarshalTo

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

func (*MsgProvisionModelResponse) MarshalToSizedBuffer

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

func (*MsgProvisionModelResponse) ProtoMessage

func (*MsgProvisionModelResponse) ProtoMessage()

func (*MsgProvisionModelResponse) Reset

func (m *MsgProvisionModelResponse) Reset()

func (*MsgProvisionModelResponse) Size

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

func (*MsgProvisionModelResponse) String

func (m *MsgProvisionModelResponse) String() string

func (*MsgProvisionModelResponse) Unmarshal

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

func (*MsgProvisionModelResponse) XXX_DiscardUnknown

func (m *MsgProvisionModelResponse) XXX_DiscardUnknown()

func (*MsgProvisionModelResponse) XXX_Marshal

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

func (*MsgProvisionModelResponse) XXX_Merge

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

func (*MsgProvisionModelResponse) XXX_Size

func (m *MsgProvisionModelResponse) XXX_Size() int

func (*MsgProvisionModelResponse) XXX_Unmarshal

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

type MsgRevokeModel

type MsgRevokeModel struct {
	Signer                string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" validate:"required"`
	Vid                   int32  `protobuf:"varint,2,opt,name=vid,proto3" json:"vid,omitempty" validate:"gte=1,lte=65535"`
	Pid                   int32  `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty" validate:"gte=1,lte=65535"`
	SoftwareVersion       uint32 `protobuf:"varint,4,opt,name=softwareVersion,proto3" json:"softwareVersion,omitempty"`
	SoftwareVersionString string `protobuf:"bytes,5,opt,name=softwareVersionString,proto3" json:"softwareVersionString,omitempty" validate:"required,max=64"`
	CDVersionNumber       uint32 `protobuf:"varint,6,opt,name=cDVersionNumber,proto3" json:"cDVersionNumber,omitempty" validate:"gte=0,lte=65535"`
	RevocationDate        string `protobuf:"bytes,7,opt,name=revocationDate,proto3" json:"revocationDate,omitempty" validate:"required"`
	CertificationType     string `protobuf:"bytes,8,opt,name=certificationType,proto3" json:"certificationType,omitempty" validate:"required,max=100"`
	Reason                string `protobuf:"bytes,9,opt,name=reason,proto3" json:"reason,omitempty" validate:"max=102400"`
	SchemaVersion         uint32 `protobuf:"varint,10,opt,name=schemaVersion,proto3" json:"schemaVersion,omitempty" validate:"gte=0,lte=65535"`
}

func NewMsgRevokeModel

func NewMsgRevokeModel(
	signer string, vid int32, pid int32, softwareVersion uint32, softwareVersionString string, cdVersionNumber uint32,
	revocationDate string, certificationType string, reason string, schemaVersion uint32,
) *MsgRevokeModel

func (*MsgRevokeModel) Descriptor

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

func (*MsgRevokeModel) GetCDVersionNumber

func (m *MsgRevokeModel) GetCDVersionNumber() uint32

func (*MsgRevokeModel) GetCertificationType

func (m *MsgRevokeModel) GetCertificationType() string

func (*MsgRevokeModel) GetPid

func (m *MsgRevokeModel) GetPid() int32

func (*MsgRevokeModel) GetReason

func (m *MsgRevokeModel) GetReason() string

func (*MsgRevokeModel) GetRevocationDate

func (m *MsgRevokeModel) GetRevocationDate() string

func (*MsgRevokeModel) GetSchemaVersion added in v1.4.0

func (m *MsgRevokeModel) GetSchemaVersion() uint32

func (*MsgRevokeModel) GetSignBytes

func (msg *MsgRevokeModel) GetSignBytes() []byte

func (*MsgRevokeModel) GetSigner

func (m *MsgRevokeModel) GetSigner() string

func (*MsgRevokeModel) GetSigners

func (msg *MsgRevokeModel) GetSigners() []sdk.AccAddress

func (*MsgRevokeModel) GetSoftwareVersion

func (m *MsgRevokeModel) GetSoftwareVersion() uint32

func (*MsgRevokeModel) GetSoftwareVersionString

func (m *MsgRevokeModel) GetSoftwareVersionString() string

func (*MsgRevokeModel) GetVid

func (m *MsgRevokeModel) GetVid() int32

func (*MsgRevokeModel) Marshal

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

func (*MsgRevokeModel) MarshalTo

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

func (*MsgRevokeModel) MarshalToSizedBuffer

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

func (*MsgRevokeModel) ProtoMessage

func (*MsgRevokeModel) ProtoMessage()

func (*MsgRevokeModel) Reset

func (m *MsgRevokeModel) Reset()

func (*MsgRevokeModel) Route

func (msg *MsgRevokeModel) Route() string

func (*MsgRevokeModel) Size

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

func (*MsgRevokeModel) String

func (m *MsgRevokeModel) String() string

func (*MsgRevokeModel) Type

func (msg *MsgRevokeModel) Type() string

func (*MsgRevokeModel) Unmarshal

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

func (*MsgRevokeModel) ValidateBasic

func (msg *MsgRevokeModel) ValidateBasic() error

func (*MsgRevokeModel) XXX_DiscardUnknown

func (m *MsgRevokeModel) XXX_DiscardUnknown()

func (*MsgRevokeModel) XXX_Marshal

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

func (*MsgRevokeModel) XXX_Merge

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

func (*MsgRevokeModel) XXX_Size

func (m *MsgRevokeModel) XXX_Size() int

func (*MsgRevokeModel) XXX_Unmarshal

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

type MsgRevokeModelResponse

type MsgRevokeModelResponse struct {
}

func (*MsgRevokeModelResponse) Descriptor

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

func (*MsgRevokeModelResponse) Marshal

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

func (*MsgRevokeModelResponse) MarshalTo

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

func (*MsgRevokeModelResponse) MarshalToSizedBuffer

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

func (*MsgRevokeModelResponse) ProtoMessage

func (*MsgRevokeModelResponse) ProtoMessage()

func (*MsgRevokeModelResponse) Reset

func (m *MsgRevokeModelResponse) Reset()

func (*MsgRevokeModelResponse) Size

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

func (*MsgRevokeModelResponse) String

func (m *MsgRevokeModelResponse) String() string

func (*MsgRevokeModelResponse) Unmarshal

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

func (*MsgRevokeModelResponse) XXX_DiscardUnknown

func (m *MsgRevokeModelResponse) XXX_DiscardUnknown()

func (*MsgRevokeModelResponse) XXX_Marshal

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

func (*MsgRevokeModelResponse) XXX_Merge

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

func (*MsgRevokeModelResponse) XXX_Size

func (m *MsgRevokeModelResponse) XXX_Size() int

func (*MsgRevokeModelResponse) XXX_Unmarshal

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

type MsgServer

MsgServer is the server API for Msg service.

type MsgUpdateComplianceInfo added in v1.1.1

type MsgUpdateComplianceInfo struct {
	Creator                            string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty" validate:"required"`
	Vid                                int32  `protobuf:"varint,2,opt,name=vid,proto3" json:"vid,omitempty" validate:"gte=1,lte=65535"`
	Pid                                int32  `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty" validate:"gte=1,lte=65535"`
	SoftwareVersion                    uint32 `protobuf:"varint,4,opt,name=softwareVersion,proto3" json:"softwareVersion,omitempty"`
	CertificationType                  string `protobuf:"bytes,5,opt,name=certificationType,proto3" json:"certificationType,omitempty" validate:"required,max=64"`
	CDVersionNumber                    string `protobuf:"bytes,6,opt,name=cDVersionNumber,proto3" json:"cDVersionNumber,omitempty" validate:"omitempty,max=64"`
	Date                               string `protobuf:"bytes,7,opt,name=date,proto3" json:"date,omitempty"`
	Reason                             string `protobuf:"bytes,8,opt,name=reason,proto3" json:"reason,omitempty" validate:"omitempty,max=102400"`
	Owner                              string `protobuf:"bytes,9,opt,name=owner,proto3" json:"owner,omitempty"`
	CDCertificateId                    string `protobuf:"bytes,10,opt,name=cDCertificateId,proto3" json:"cDCertificateId,omitempty" validate:"omitempty,max=64"`
	CertificationRoute                 string `protobuf:"bytes,11,opt,name=certificationRoute,proto3" json:"certificationRoute,omitempty" validate:"omitempty,max=64"`
	ProgramType                        string `protobuf:"bytes,12,opt,name=programType,proto3" json:"programType,omitempty" validate:"omitempty,max=64"`
	ProgramTypeVersion                 string `protobuf:"bytes,13,opt,name=programTypeVersion,proto3" json:"programTypeVersion,omitempty" validate:"omitempty,max=64"`
	CompliantPlatformUsed              string `protobuf:"bytes,14,opt,name=compliantPlatformUsed,proto3" json:"compliantPlatformUsed,omitempty" validate:"omitempty,max=64"`
	CompliantPlatformVersion           string `` /* 130-byte string literal not displayed */
	Transport                          string `protobuf:"bytes,16,opt,name=transport,proto3" json:"transport,omitempty" validate:"omitempty,max=64"`
	FamilyId                           string `protobuf:"bytes,17,opt,name=familyId,proto3" json:"familyId,omitempty" validate:"omitempty,max=64"`
	SupportedClusters                  string `protobuf:"bytes,18,opt,name=supportedClusters,proto3" json:"supportedClusters,omitempty" validate:"omitempty,max=64"`
	OSVersion                          string `protobuf:"bytes,19,opt,name=OSVersion,proto3" json:"OSVersion,omitempty" validate:"omitempty,max=64"`
	ParentChild                        string `protobuf:"bytes,20,opt,name=parentChild,proto3" json:"parentChild,omitempty" validate:"omitempty,max=64"`
	CertificationIdOfSoftwareComponent string `` /* 150-byte string literal not displayed */
	SchemaVersion                      uint32 `protobuf:"varint,22,opt,name=schemaVersion,proto3" json:"schemaVersion,omitempty" validate:"gte=0,lte=65535"`
}

func NewMsgUpdateComplianceInfo added in v1.1.1

func NewMsgUpdateComplianceInfo(creator string, vid int32, pid int32, softwareVersion uint32, certificationType string,
	cDVersionNumber string, date string, reason string, owner string, cDCertificateID string, certificationRoute string,
	programType string, programTypeVersion string, compliantPlatformUsed string, compliantPlatformVersion string,
	transport string, familyID string, supportedClusters string, oSVersion string, parentChild string,
	certificationIDOfSoftwareComponent string, schemaVersion uint32) *MsgUpdateComplianceInfo

func (*MsgUpdateComplianceInfo) Descriptor added in v1.1.1

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

func (*MsgUpdateComplianceInfo) GetCDCertificateId added in v1.1.1

func (m *MsgUpdateComplianceInfo) GetCDCertificateId() string

func (*MsgUpdateComplianceInfo) GetCDVersionNumber added in v1.1.1

func (m *MsgUpdateComplianceInfo) GetCDVersionNumber() string

func (*MsgUpdateComplianceInfo) GetCertificationIdOfSoftwareComponent added in v1.1.1

func (m *MsgUpdateComplianceInfo) GetCertificationIdOfSoftwareComponent() string

func (*MsgUpdateComplianceInfo) GetCertificationRoute added in v1.1.1

func (m *MsgUpdateComplianceInfo) GetCertificationRoute() string

func (*MsgUpdateComplianceInfo) GetCertificationType added in v1.1.1

func (m *MsgUpdateComplianceInfo) GetCertificationType() string

func (*MsgUpdateComplianceInfo) GetCompliantPlatformUsed added in v1.1.1

func (m *MsgUpdateComplianceInfo) GetCompliantPlatformUsed() string

func (*MsgUpdateComplianceInfo) GetCompliantPlatformVersion added in v1.1.1

func (m *MsgUpdateComplianceInfo) GetCompliantPlatformVersion() string

func (*MsgUpdateComplianceInfo) GetCreator added in v1.1.1

func (m *MsgUpdateComplianceInfo) GetCreator() string

func (*MsgUpdateComplianceInfo) GetDate added in v1.1.1

func (m *MsgUpdateComplianceInfo) GetDate() string

func (*MsgUpdateComplianceInfo) GetFamilyId added in v1.1.1

func (m *MsgUpdateComplianceInfo) GetFamilyId() string

func (*MsgUpdateComplianceInfo) GetOSVersion added in v1.1.1

func (m *MsgUpdateComplianceInfo) GetOSVersion() string

func (*MsgUpdateComplianceInfo) GetOwner added in v1.1.1

func (m *MsgUpdateComplianceInfo) GetOwner() string

func (*MsgUpdateComplianceInfo) GetParentChild added in v1.1.1

func (m *MsgUpdateComplianceInfo) GetParentChild() string

func (*MsgUpdateComplianceInfo) GetPid added in v1.1.1

func (m *MsgUpdateComplianceInfo) GetPid() int32

func (*MsgUpdateComplianceInfo) GetProgramType added in v1.1.1

func (m *MsgUpdateComplianceInfo) GetProgramType() string

func (*MsgUpdateComplianceInfo) GetProgramTypeVersion added in v1.1.1

func (m *MsgUpdateComplianceInfo) GetProgramTypeVersion() string

func (*MsgUpdateComplianceInfo) GetReason added in v1.1.1

func (m *MsgUpdateComplianceInfo) GetReason() string

func (*MsgUpdateComplianceInfo) GetSchemaVersion added in v1.4.0

func (m *MsgUpdateComplianceInfo) GetSchemaVersion() uint32

func (*MsgUpdateComplianceInfo) GetSignBytes added in v1.1.1

func (msg *MsgUpdateComplianceInfo) GetSignBytes() []byte

func (*MsgUpdateComplianceInfo) GetSigners added in v1.1.1

func (msg *MsgUpdateComplianceInfo) GetSigners() []sdk.AccAddress

func (*MsgUpdateComplianceInfo) GetSoftwareVersion added in v1.1.1

func (m *MsgUpdateComplianceInfo) GetSoftwareVersion() uint32

func (*MsgUpdateComplianceInfo) GetSupportedClusters added in v1.1.1

func (m *MsgUpdateComplianceInfo) GetSupportedClusters() string

func (*MsgUpdateComplianceInfo) GetTransport added in v1.1.1

func (m *MsgUpdateComplianceInfo) GetTransport() string

func (*MsgUpdateComplianceInfo) GetVid added in v1.1.1

func (m *MsgUpdateComplianceInfo) GetVid() int32

func (*MsgUpdateComplianceInfo) Marshal added in v1.1.1

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

func (*MsgUpdateComplianceInfo) MarshalTo added in v1.1.1

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

func (*MsgUpdateComplianceInfo) MarshalToSizedBuffer added in v1.1.1

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

func (*MsgUpdateComplianceInfo) ProtoMessage added in v1.1.1

func (*MsgUpdateComplianceInfo) ProtoMessage()

func (*MsgUpdateComplianceInfo) Reset added in v1.1.1

func (m *MsgUpdateComplianceInfo) Reset()

func (*MsgUpdateComplianceInfo) Route added in v1.1.1

func (msg *MsgUpdateComplianceInfo) Route() string

func (*MsgUpdateComplianceInfo) Size added in v1.1.1

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

func (*MsgUpdateComplianceInfo) String added in v1.1.1

func (m *MsgUpdateComplianceInfo) String() string

func (*MsgUpdateComplianceInfo) Type added in v1.1.1

func (msg *MsgUpdateComplianceInfo) Type() string

func (*MsgUpdateComplianceInfo) Unmarshal added in v1.1.1

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

func (*MsgUpdateComplianceInfo) ValidateBasic added in v1.1.1

func (msg *MsgUpdateComplianceInfo) ValidateBasic() error

func (*MsgUpdateComplianceInfo) XXX_DiscardUnknown added in v1.1.1

func (m *MsgUpdateComplianceInfo) XXX_DiscardUnknown()

func (*MsgUpdateComplianceInfo) XXX_Marshal added in v1.1.1

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

func (*MsgUpdateComplianceInfo) XXX_Merge added in v1.1.1

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

func (*MsgUpdateComplianceInfo) XXX_Size added in v1.1.1

func (m *MsgUpdateComplianceInfo) XXX_Size() int

func (*MsgUpdateComplianceInfo) XXX_Unmarshal added in v1.1.1

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

type MsgUpdateComplianceInfoResponse added in v1.1.1

type MsgUpdateComplianceInfoResponse struct {
}

func (*MsgUpdateComplianceInfoResponse) Descriptor added in v1.1.1

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

func (*MsgUpdateComplianceInfoResponse) Marshal added in v1.1.1

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

func (*MsgUpdateComplianceInfoResponse) MarshalTo added in v1.1.1

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

func (*MsgUpdateComplianceInfoResponse) MarshalToSizedBuffer added in v1.1.1

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

func (*MsgUpdateComplianceInfoResponse) ProtoMessage added in v1.1.1

func (*MsgUpdateComplianceInfoResponse) ProtoMessage()

func (*MsgUpdateComplianceInfoResponse) Reset added in v1.1.1

func (*MsgUpdateComplianceInfoResponse) Size added in v1.1.1

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

func (*MsgUpdateComplianceInfoResponse) String added in v1.1.1

func (*MsgUpdateComplianceInfoResponse) Unmarshal added in v1.1.1

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

func (*MsgUpdateComplianceInfoResponse) XXX_DiscardUnknown added in v1.1.1

func (m *MsgUpdateComplianceInfoResponse) XXX_DiscardUnknown()

func (*MsgUpdateComplianceInfoResponse) XXX_Marshal added in v1.1.1

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

func (*MsgUpdateComplianceInfoResponse) XXX_Merge added in v1.1.1

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

func (*MsgUpdateComplianceInfoResponse) XXX_Size added in v1.1.1

func (m *MsgUpdateComplianceInfoResponse) XXX_Size() int

func (*MsgUpdateComplianceInfoResponse) XXX_Unmarshal added in v1.1.1

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

type ProvisionalModel

type ProvisionalModel struct {
	Vid               int32  `protobuf:"varint,1,opt,name=vid,proto3" json:"vid,omitempty"`
	Pid               int32  `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
	SoftwareVersion   uint32 `protobuf:"varint,3,opt,name=softwareVersion,proto3" json:"softwareVersion,omitempty"`
	CertificationType string `protobuf:"bytes,4,opt,name=certificationType,proto3" json:"certificationType,omitempty"`
	Value             bool   `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"`
}

func (*ProvisionalModel) Descriptor

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

func (*ProvisionalModel) GetCertificationType

func (m *ProvisionalModel) GetCertificationType() string

func (*ProvisionalModel) GetPid

func (m *ProvisionalModel) GetPid() int32

func (*ProvisionalModel) GetSoftwareVersion

func (m *ProvisionalModel) GetSoftwareVersion() uint32

func (*ProvisionalModel) GetValue

func (m *ProvisionalModel) GetValue() bool

func (*ProvisionalModel) GetVid

func (m *ProvisionalModel) GetVid() int32

func (*ProvisionalModel) Marshal

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

func (*ProvisionalModel) MarshalTo

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

func (*ProvisionalModel) MarshalToSizedBuffer

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

func (*ProvisionalModel) ProtoMessage

func (*ProvisionalModel) ProtoMessage()

func (*ProvisionalModel) Reset

func (m *ProvisionalModel) Reset()

func (*ProvisionalModel) Size

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

func (*ProvisionalModel) String

func (m *ProvisionalModel) String() string

func (*ProvisionalModel) Unmarshal

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

func (*ProvisionalModel) XXX_DiscardUnknown

func (m *ProvisionalModel) XXX_DiscardUnknown()

func (*ProvisionalModel) XXX_Marshal

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

func (*ProvisionalModel) XXX_Merge

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

func (*ProvisionalModel) XXX_Size

func (m *ProvisionalModel) XXX_Size() int

func (*ProvisionalModel) XXX_Unmarshal

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

type QueryAllCertifiedModelRequest

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

func (*QueryAllCertifiedModelRequest) Descriptor

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

func (*QueryAllCertifiedModelRequest) GetPagination

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

func (*QueryAllCertifiedModelRequest) Marshal

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

func (*QueryAllCertifiedModelRequest) MarshalTo

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

func (*QueryAllCertifiedModelRequest) MarshalToSizedBuffer

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

func (*QueryAllCertifiedModelRequest) ProtoMessage

func (*QueryAllCertifiedModelRequest) ProtoMessage()

func (*QueryAllCertifiedModelRequest) Reset

func (m *QueryAllCertifiedModelRequest) Reset()

func (*QueryAllCertifiedModelRequest) Size

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

func (*QueryAllCertifiedModelRequest) String

func (*QueryAllCertifiedModelRequest) Unmarshal

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

func (*QueryAllCertifiedModelRequest) XXX_DiscardUnknown

func (m *QueryAllCertifiedModelRequest) XXX_DiscardUnknown()

func (*QueryAllCertifiedModelRequest) XXX_Marshal

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

func (*QueryAllCertifiedModelRequest) XXX_Merge

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

func (*QueryAllCertifiedModelRequest) XXX_Size

func (m *QueryAllCertifiedModelRequest) XXX_Size() int

func (*QueryAllCertifiedModelRequest) XXX_Unmarshal

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

type QueryAllCertifiedModelResponse

type QueryAllCertifiedModelResponse struct {
	CertifiedModel []CertifiedModel    `protobuf:"bytes,1,rep,name=certifiedModel,proto3" json:"certifiedModel"`
	Pagination     *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllCertifiedModelResponse) Descriptor

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

func (*QueryAllCertifiedModelResponse) GetCertifiedModel

func (m *QueryAllCertifiedModelResponse) GetCertifiedModel() []CertifiedModel

func (*QueryAllCertifiedModelResponse) GetPagination

func (*QueryAllCertifiedModelResponse) Marshal

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

func (*QueryAllCertifiedModelResponse) MarshalTo

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

func (*QueryAllCertifiedModelResponse) MarshalToSizedBuffer

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

func (*QueryAllCertifiedModelResponse) ProtoMessage

func (*QueryAllCertifiedModelResponse) ProtoMessage()

func (*QueryAllCertifiedModelResponse) Reset

func (m *QueryAllCertifiedModelResponse) Reset()

func (*QueryAllCertifiedModelResponse) Size

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

func (*QueryAllCertifiedModelResponse) String

func (*QueryAllCertifiedModelResponse) Unmarshal

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

func (*QueryAllCertifiedModelResponse) XXX_DiscardUnknown

func (m *QueryAllCertifiedModelResponse) XXX_DiscardUnknown()

func (*QueryAllCertifiedModelResponse) XXX_Marshal

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

func (*QueryAllCertifiedModelResponse) XXX_Merge

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

func (*QueryAllCertifiedModelResponse) XXX_Size

func (m *QueryAllCertifiedModelResponse) XXX_Size() int

func (*QueryAllCertifiedModelResponse) XXX_Unmarshal

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

type QueryAllComplianceInfoRequest

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

func (*QueryAllComplianceInfoRequest) Descriptor

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

func (*QueryAllComplianceInfoRequest) GetPagination

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

func (*QueryAllComplianceInfoRequest) Marshal

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

func (*QueryAllComplianceInfoRequest) MarshalTo

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

func (*QueryAllComplianceInfoRequest) MarshalToSizedBuffer

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

func (*QueryAllComplianceInfoRequest) ProtoMessage

func (*QueryAllComplianceInfoRequest) ProtoMessage()

func (*QueryAllComplianceInfoRequest) Reset

func (m *QueryAllComplianceInfoRequest) Reset()

func (*QueryAllComplianceInfoRequest) Size

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

func (*QueryAllComplianceInfoRequest) String

func (*QueryAllComplianceInfoRequest) Unmarshal

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

func (*QueryAllComplianceInfoRequest) XXX_DiscardUnknown

func (m *QueryAllComplianceInfoRequest) XXX_DiscardUnknown()

func (*QueryAllComplianceInfoRequest) XXX_Marshal

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

func (*QueryAllComplianceInfoRequest) XXX_Merge

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

func (*QueryAllComplianceInfoRequest) XXX_Size

func (m *QueryAllComplianceInfoRequest) XXX_Size() int

func (*QueryAllComplianceInfoRequest) XXX_Unmarshal

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

type QueryAllComplianceInfoResponse

type QueryAllComplianceInfoResponse struct {
	ComplianceInfo []dclcompltypes.ComplianceInfo `protobuf:"bytes,1,rep,name=complianceInfo,proto3" json:"complianceInfo"`
	Pagination     *query.PageResponse            `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllComplianceInfoResponse) Descriptor

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

func (*QueryAllComplianceInfoResponse) GetComplianceInfo

func (*QueryAllComplianceInfoResponse) GetPagination

func (*QueryAllComplianceInfoResponse) Marshal

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

func (*QueryAllComplianceInfoResponse) MarshalTo

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

func (*QueryAllComplianceInfoResponse) MarshalToSizedBuffer

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

func (*QueryAllComplianceInfoResponse) ProtoMessage

func (*QueryAllComplianceInfoResponse) ProtoMessage()

func (*QueryAllComplianceInfoResponse) Reset

func (m *QueryAllComplianceInfoResponse) Reset()

func (*QueryAllComplianceInfoResponse) Size

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

func (*QueryAllComplianceInfoResponse) String

func (*QueryAllComplianceInfoResponse) Unmarshal

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

func (*QueryAllComplianceInfoResponse) XXX_DiscardUnknown

func (m *QueryAllComplianceInfoResponse) XXX_DiscardUnknown()

func (*QueryAllComplianceInfoResponse) XXX_Marshal

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

func (*QueryAllComplianceInfoResponse) XXX_Merge

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

func (*QueryAllComplianceInfoResponse) XXX_Size

func (m *QueryAllComplianceInfoResponse) XXX_Size() int

func (*QueryAllComplianceInfoResponse) XXX_Unmarshal

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

type QueryAllDeviceSoftwareComplianceRequest added in v0.12.0

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

func (*QueryAllDeviceSoftwareComplianceRequest) Descriptor added in v0.12.0

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

func (*QueryAllDeviceSoftwareComplianceRequest) GetPagination added in v0.12.0

func (*QueryAllDeviceSoftwareComplianceRequest) Marshal added in v0.12.0

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

func (*QueryAllDeviceSoftwareComplianceRequest) MarshalTo added in v0.12.0

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

func (*QueryAllDeviceSoftwareComplianceRequest) MarshalToSizedBuffer added in v0.12.0

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

func (*QueryAllDeviceSoftwareComplianceRequest) ProtoMessage added in v0.12.0

func (*QueryAllDeviceSoftwareComplianceRequest) Reset added in v0.12.0

func (*QueryAllDeviceSoftwareComplianceRequest) Size added in v0.12.0

func (*QueryAllDeviceSoftwareComplianceRequest) String added in v0.12.0

func (*QueryAllDeviceSoftwareComplianceRequest) Unmarshal added in v0.12.0

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

func (*QueryAllDeviceSoftwareComplianceRequest) XXX_DiscardUnknown added in v0.12.0

func (m *QueryAllDeviceSoftwareComplianceRequest) XXX_DiscardUnknown()

func (*QueryAllDeviceSoftwareComplianceRequest) XXX_Marshal added in v0.12.0

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

func (*QueryAllDeviceSoftwareComplianceRequest) XXX_Merge added in v0.12.0

func (*QueryAllDeviceSoftwareComplianceRequest) XXX_Size added in v0.12.0

func (*QueryAllDeviceSoftwareComplianceRequest) XXX_Unmarshal added in v0.12.0

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

type QueryAllDeviceSoftwareComplianceResponse added in v0.12.0

type QueryAllDeviceSoftwareComplianceResponse struct {
	DeviceSoftwareCompliance []DeviceSoftwareCompliance `protobuf:"bytes,1,rep,name=deviceSoftwareCompliance,proto3" json:"deviceSoftwareCompliance"`
	Pagination               *query.PageResponse        `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllDeviceSoftwareComplianceResponse) Descriptor added in v0.12.0

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

func (*QueryAllDeviceSoftwareComplianceResponse) GetDeviceSoftwareCompliance added in v0.12.0

func (m *QueryAllDeviceSoftwareComplianceResponse) GetDeviceSoftwareCompliance() []DeviceSoftwareCompliance

func (*QueryAllDeviceSoftwareComplianceResponse) GetPagination added in v0.12.0

func (*QueryAllDeviceSoftwareComplianceResponse) Marshal added in v0.12.0

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

func (*QueryAllDeviceSoftwareComplianceResponse) MarshalTo added in v0.12.0

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

func (*QueryAllDeviceSoftwareComplianceResponse) MarshalToSizedBuffer added in v0.12.0

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

func (*QueryAllDeviceSoftwareComplianceResponse) ProtoMessage added in v0.12.0

func (*QueryAllDeviceSoftwareComplianceResponse) Reset added in v0.12.0

func (*QueryAllDeviceSoftwareComplianceResponse) Size added in v0.12.0

func (*QueryAllDeviceSoftwareComplianceResponse) String added in v0.12.0

func (*QueryAllDeviceSoftwareComplianceResponse) Unmarshal added in v0.12.0

func (*QueryAllDeviceSoftwareComplianceResponse) XXX_DiscardUnknown added in v0.12.0

func (m *QueryAllDeviceSoftwareComplianceResponse) XXX_DiscardUnknown()

func (*QueryAllDeviceSoftwareComplianceResponse) XXX_Marshal added in v0.12.0

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

func (*QueryAllDeviceSoftwareComplianceResponse) XXX_Merge added in v0.12.0

func (*QueryAllDeviceSoftwareComplianceResponse) XXX_Size added in v0.12.0

func (*QueryAllDeviceSoftwareComplianceResponse) XXX_Unmarshal added in v0.12.0

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

type QueryAllProvisionalModelRequest

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

func (*QueryAllProvisionalModelRequest) Descriptor

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

func (*QueryAllProvisionalModelRequest) GetPagination

func (*QueryAllProvisionalModelRequest) Marshal

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

func (*QueryAllProvisionalModelRequest) MarshalTo

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

func (*QueryAllProvisionalModelRequest) MarshalToSizedBuffer

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

func (*QueryAllProvisionalModelRequest) ProtoMessage

func (*QueryAllProvisionalModelRequest) ProtoMessage()

func (*QueryAllProvisionalModelRequest) Reset

func (*QueryAllProvisionalModelRequest) Size

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

func (*QueryAllProvisionalModelRequest) String

func (*QueryAllProvisionalModelRequest) Unmarshal

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

func (*QueryAllProvisionalModelRequest) XXX_DiscardUnknown

func (m *QueryAllProvisionalModelRequest) XXX_DiscardUnknown()

func (*QueryAllProvisionalModelRequest) XXX_Marshal

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

func (*QueryAllProvisionalModelRequest) XXX_Merge

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

func (*QueryAllProvisionalModelRequest) XXX_Size

func (m *QueryAllProvisionalModelRequest) XXX_Size() int

func (*QueryAllProvisionalModelRequest) XXX_Unmarshal

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

type QueryAllProvisionalModelResponse

type QueryAllProvisionalModelResponse struct {
	ProvisionalModel []ProvisionalModel  `protobuf:"bytes,1,rep,name=provisionalModel,proto3" json:"provisionalModel"`
	Pagination       *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllProvisionalModelResponse) Descriptor

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

func (*QueryAllProvisionalModelResponse) GetPagination

func (*QueryAllProvisionalModelResponse) GetProvisionalModel

func (m *QueryAllProvisionalModelResponse) GetProvisionalModel() []ProvisionalModel

func (*QueryAllProvisionalModelResponse) Marshal

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

func (*QueryAllProvisionalModelResponse) MarshalTo

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

func (*QueryAllProvisionalModelResponse) MarshalToSizedBuffer

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

func (*QueryAllProvisionalModelResponse) ProtoMessage

func (*QueryAllProvisionalModelResponse) ProtoMessage()

func (*QueryAllProvisionalModelResponse) Reset

func (*QueryAllProvisionalModelResponse) Size

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

func (*QueryAllProvisionalModelResponse) String

func (*QueryAllProvisionalModelResponse) Unmarshal

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

func (*QueryAllProvisionalModelResponse) XXX_DiscardUnknown

func (m *QueryAllProvisionalModelResponse) XXX_DiscardUnknown()

func (*QueryAllProvisionalModelResponse) XXX_Marshal

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

func (*QueryAllProvisionalModelResponse) XXX_Merge

func (*QueryAllProvisionalModelResponse) XXX_Size

func (m *QueryAllProvisionalModelResponse) XXX_Size() int

func (*QueryAllProvisionalModelResponse) XXX_Unmarshal

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

type QueryAllRevokedModelRequest

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

func (*QueryAllRevokedModelRequest) Descriptor

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

func (*QueryAllRevokedModelRequest) GetPagination

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

func (*QueryAllRevokedModelRequest) Marshal

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

func (*QueryAllRevokedModelRequest) MarshalTo

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

func (*QueryAllRevokedModelRequest) MarshalToSizedBuffer

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

func (*QueryAllRevokedModelRequest) ProtoMessage

func (*QueryAllRevokedModelRequest) ProtoMessage()

func (*QueryAllRevokedModelRequest) Reset

func (m *QueryAllRevokedModelRequest) Reset()

func (*QueryAllRevokedModelRequest) Size

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

func (*QueryAllRevokedModelRequest) String

func (m *QueryAllRevokedModelRequest) String() string

func (*QueryAllRevokedModelRequest) Unmarshal

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

func (*QueryAllRevokedModelRequest) XXX_DiscardUnknown

func (m *QueryAllRevokedModelRequest) XXX_DiscardUnknown()

func (*QueryAllRevokedModelRequest) XXX_Marshal

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

func (*QueryAllRevokedModelRequest) XXX_Merge

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

func (*QueryAllRevokedModelRequest) XXX_Size

func (m *QueryAllRevokedModelRequest) XXX_Size() int

func (*QueryAllRevokedModelRequest) XXX_Unmarshal

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

type QueryAllRevokedModelResponse

type QueryAllRevokedModelResponse struct {
	RevokedModel []RevokedModel      `protobuf:"bytes,1,rep,name=revokedModel,proto3" json:"revokedModel"`
	Pagination   *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllRevokedModelResponse) Descriptor

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

func (*QueryAllRevokedModelResponse) GetPagination

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

func (*QueryAllRevokedModelResponse) GetRevokedModel

func (m *QueryAllRevokedModelResponse) GetRevokedModel() []RevokedModel

func (*QueryAllRevokedModelResponse) Marshal

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

func (*QueryAllRevokedModelResponse) MarshalTo

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

func (*QueryAllRevokedModelResponse) MarshalToSizedBuffer

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

func (*QueryAllRevokedModelResponse) ProtoMessage

func (*QueryAllRevokedModelResponse) ProtoMessage()

func (*QueryAllRevokedModelResponse) Reset

func (m *QueryAllRevokedModelResponse) Reset()

func (*QueryAllRevokedModelResponse) Size

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

func (*QueryAllRevokedModelResponse) String

func (*QueryAllRevokedModelResponse) Unmarshal

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

func (*QueryAllRevokedModelResponse) XXX_DiscardUnknown

func (m *QueryAllRevokedModelResponse) XXX_DiscardUnknown()

func (*QueryAllRevokedModelResponse) XXX_Marshal

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

func (*QueryAllRevokedModelResponse) XXX_Merge

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

func (*QueryAllRevokedModelResponse) XXX_Size

func (m *QueryAllRevokedModelResponse) XXX_Size() int

func (*QueryAllRevokedModelResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Queries a ComplianceInfo by index.
	ComplianceInfo(ctx context.Context, in *QueryGetComplianceInfoRequest, opts ...grpc.CallOption) (*QueryGetComplianceInfoResponse, error)
	// Queries a list of ComplianceInfo items.
	ComplianceInfoAll(ctx context.Context, in *QueryAllComplianceInfoRequest, opts ...grpc.CallOption) (*QueryAllComplianceInfoResponse, error)
	// Queries a CertifiedModel by index.
	CertifiedModel(ctx context.Context, in *QueryGetCertifiedModelRequest, opts ...grpc.CallOption) (*QueryGetCertifiedModelResponse, error)
	// Queries a list of CertifiedModel items.
	CertifiedModelAll(ctx context.Context, in *QueryAllCertifiedModelRequest, opts ...grpc.CallOption) (*QueryAllCertifiedModelResponse, error)
	// Queries a RevokedModel by index.
	RevokedModel(ctx context.Context, in *QueryGetRevokedModelRequest, opts ...grpc.CallOption) (*QueryGetRevokedModelResponse, error)
	// Queries a list of RevokedModel items.
	RevokedModelAll(ctx context.Context, in *QueryAllRevokedModelRequest, opts ...grpc.CallOption) (*QueryAllRevokedModelResponse, error)
	// Queries a ProvisionalModel by index.
	ProvisionalModel(ctx context.Context, in *QueryGetProvisionalModelRequest, opts ...grpc.CallOption) (*QueryGetProvisionalModelResponse, error)
	// Queries a list of ProvisionalModel items.
	ProvisionalModelAll(ctx context.Context, in *QueryAllProvisionalModelRequest, opts ...grpc.CallOption) (*QueryAllProvisionalModelResponse, error)
	// Queries a DeviceSoftwareCompliance by index.
	DeviceSoftwareCompliance(ctx context.Context, in *QueryGetDeviceSoftwareComplianceRequest, opts ...grpc.CallOption) (*QueryGetDeviceSoftwareComplianceResponse, error)
	// Queries a list of DeviceSoftwareCompliance items.
	DeviceSoftwareComplianceAll(ctx context.Context, in *QueryAllDeviceSoftwareComplianceRequest, opts ...grpc.CallOption) (*QueryAllDeviceSoftwareComplianceResponse, 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 QueryGetCertifiedModelRequest

type QueryGetCertifiedModelRequest struct {
	Vid               int32  `protobuf:"varint,1,opt,name=vid,proto3" json:"vid,omitempty"`
	Pid               int32  `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
	SoftwareVersion   uint32 `protobuf:"varint,3,opt,name=softwareVersion,proto3" json:"softwareVersion,omitempty"`
	CertificationType string `protobuf:"bytes,4,opt,name=certificationType,proto3" json:"certificationType,omitempty"`
}

func (*QueryGetCertifiedModelRequest) Descriptor

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

func (*QueryGetCertifiedModelRequest) GetCertificationType

func (m *QueryGetCertifiedModelRequest) GetCertificationType() string

func (*QueryGetCertifiedModelRequest) GetPid

func (*QueryGetCertifiedModelRequest) GetSoftwareVersion

func (m *QueryGetCertifiedModelRequest) GetSoftwareVersion() uint32

func (*QueryGetCertifiedModelRequest) GetVid

func (*QueryGetCertifiedModelRequest) Marshal

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

func (*QueryGetCertifiedModelRequest) MarshalTo

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

func (*QueryGetCertifiedModelRequest) MarshalToSizedBuffer

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

func (*QueryGetCertifiedModelRequest) ProtoMessage

func (*QueryGetCertifiedModelRequest) ProtoMessage()

func (*QueryGetCertifiedModelRequest) Reset

func (m *QueryGetCertifiedModelRequest) Reset()

func (*QueryGetCertifiedModelRequest) Size

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

func (*QueryGetCertifiedModelRequest) String

func (*QueryGetCertifiedModelRequest) Unmarshal

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

func (*QueryGetCertifiedModelRequest) XXX_DiscardUnknown

func (m *QueryGetCertifiedModelRequest) XXX_DiscardUnknown()

func (*QueryGetCertifiedModelRequest) XXX_Marshal

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

func (*QueryGetCertifiedModelRequest) XXX_Merge

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

func (*QueryGetCertifiedModelRequest) XXX_Size

func (m *QueryGetCertifiedModelRequest) XXX_Size() int

func (*QueryGetCertifiedModelRequest) XXX_Unmarshal

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

type QueryGetCertifiedModelResponse

type QueryGetCertifiedModelResponse struct {
	CertifiedModel CertifiedModel `protobuf:"bytes,1,opt,name=certifiedModel,proto3" json:"certifiedModel"`
}

func (*QueryGetCertifiedModelResponse) Descriptor

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

func (*QueryGetCertifiedModelResponse) GetCertifiedModel

func (m *QueryGetCertifiedModelResponse) GetCertifiedModel() CertifiedModel

func (*QueryGetCertifiedModelResponse) Marshal

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

func (*QueryGetCertifiedModelResponse) MarshalTo

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

func (*QueryGetCertifiedModelResponse) MarshalToSizedBuffer

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

func (*QueryGetCertifiedModelResponse) ProtoMessage

func (*QueryGetCertifiedModelResponse) ProtoMessage()

func (*QueryGetCertifiedModelResponse) Reset

func (m *QueryGetCertifiedModelResponse) Reset()

func (*QueryGetCertifiedModelResponse) Size

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

func (*QueryGetCertifiedModelResponse) String

func (*QueryGetCertifiedModelResponse) Unmarshal

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

func (*QueryGetCertifiedModelResponse) XXX_DiscardUnknown

func (m *QueryGetCertifiedModelResponse) XXX_DiscardUnknown()

func (*QueryGetCertifiedModelResponse) XXX_Marshal

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

func (*QueryGetCertifiedModelResponse) XXX_Merge

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

func (*QueryGetCertifiedModelResponse) XXX_Size

func (m *QueryGetCertifiedModelResponse) XXX_Size() int

func (*QueryGetCertifiedModelResponse) XXX_Unmarshal

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

type QueryGetComplianceInfoRequest

type QueryGetComplianceInfoRequest struct {
	Vid               int32  `protobuf:"varint,1,opt,name=vid,proto3" json:"vid,omitempty"`
	Pid               int32  `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
	SoftwareVersion   uint32 `protobuf:"varint,3,opt,name=softwareVersion,proto3" json:"softwareVersion,omitempty"`
	CertificationType string `protobuf:"bytes,4,opt,name=certificationType,proto3" json:"certificationType,omitempty"`
}

func (*QueryGetComplianceInfoRequest) Descriptor

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

func (*QueryGetComplianceInfoRequest) GetCertificationType

func (m *QueryGetComplianceInfoRequest) GetCertificationType() string

func (*QueryGetComplianceInfoRequest) GetPid

func (*QueryGetComplianceInfoRequest) GetSoftwareVersion

func (m *QueryGetComplianceInfoRequest) GetSoftwareVersion() uint32

func (*QueryGetComplianceInfoRequest) GetVid

func (*QueryGetComplianceInfoRequest) Marshal

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

func (*QueryGetComplianceInfoRequest) MarshalTo

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

func (*QueryGetComplianceInfoRequest) MarshalToSizedBuffer

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

func (*QueryGetComplianceInfoRequest) ProtoMessage

func (*QueryGetComplianceInfoRequest) ProtoMessage()

func (*QueryGetComplianceInfoRequest) Reset

func (m *QueryGetComplianceInfoRequest) Reset()

func (*QueryGetComplianceInfoRequest) Size

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

func (*QueryGetComplianceInfoRequest) String

func (*QueryGetComplianceInfoRequest) Unmarshal

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

func (*QueryGetComplianceInfoRequest) XXX_DiscardUnknown

func (m *QueryGetComplianceInfoRequest) XXX_DiscardUnknown()

func (*QueryGetComplianceInfoRequest) XXX_Marshal

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

func (*QueryGetComplianceInfoRequest) XXX_Merge

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

func (*QueryGetComplianceInfoRequest) XXX_Size

func (m *QueryGetComplianceInfoRequest) XXX_Size() int

func (*QueryGetComplianceInfoRequest) XXX_Unmarshal

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

type QueryGetComplianceInfoResponse

type QueryGetComplianceInfoResponse struct {
	ComplianceInfo dclcompltypes.ComplianceInfo `protobuf:"bytes,1,opt,name=complianceInfo,proto3" json:"complianceInfo"`
}

func (*QueryGetComplianceInfoResponse) Descriptor

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

func (*QueryGetComplianceInfoResponse) GetComplianceInfo

func (*QueryGetComplianceInfoResponse) Marshal

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

func (*QueryGetComplianceInfoResponse) MarshalTo

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

func (*QueryGetComplianceInfoResponse) MarshalToSizedBuffer

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

func (*QueryGetComplianceInfoResponse) ProtoMessage

func (*QueryGetComplianceInfoResponse) ProtoMessage()

func (*QueryGetComplianceInfoResponse) Reset

func (m *QueryGetComplianceInfoResponse) Reset()

func (*QueryGetComplianceInfoResponse) Size

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

func (*QueryGetComplianceInfoResponse) String

func (*QueryGetComplianceInfoResponse) Unmarshal

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

func (*QueryGetComplianceInfoResponse) XXX_DiscardUnknown

func (m *QueryGetComplianceInfoResponse) XXX_DiscardUnknown()

func (*QueryGetComplianceInfoResponse) XXX_Marshal

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

func (*QueryGetComplianceInfoResponse) XXX_Merge

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

func (*QueryGetComplianceInfoResponse) XXX_Size

func (m *QueryGetComplianceInfoResponse) XXX_Size() int

func (*QueryGetComplianceInfoResponse) XXX_Unmarshal

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

type QueryGetDeviceSoftwareComplianceRequest added in v0.12.0

type QueryGetDeviceSoftwareComplianceRequest struct {
	CDCertificateId string `protobuf:"bytes,1,opt,name=cDCertificateId,proto3" json:"cDCertificateId,omitempty"`
}

func (*QueryGetDeviceSoftwareComplianceRequest) Descriptor added in v0.12.0

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

func (*QueryGetDeviceSoftwareComplianceRequest) GetCDCertificateId added in v0.12.0

func (m *QueryGetDeviceSoftwareComplianceRequest) GetCDCertificateId() string

func (*QueryGetDeviceSoftwareComplianceRequest) Marshal added in v0.12.0

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

func (*QueryGetDeviceSoftwareComplianceRequest) MarshalTo added in v0.12.0

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

func (*QueryGetDeviceSoftwareComplianceRequest) MarshalToSizedBuffer added in v0.12.0

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

func (*QueryGetDeviceSoftwareComplianceRequest) ProtoMessage added in v0.12.0

func (*QueryGetDeviceSoftwareComplianceRequest) Reset added in v0.12.0

func (*QueryGetDeviceSoftwareComplianceRequest) Size added in v0.12.0

func (*QueryGetDeviceSoftwareComplianceRequest) String added in v0.12.0

func (*QueryGetDeviceSoftwareComplianceRequest) Unmarshal added in v0.12.0

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

func (*QueryGetDeviceSoftwareComplianceRequest) XXX_DiscardUnknown added in v0.12.0

func (m *QueryGetDeviceSoftwareComplianceRequest) XXX_DiscardUnknown()

func (*QueryGetDeviceSoftwareComplianceRequest) XXX_Marshal added in v0.12.0

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

func (*QueryGetDeviceSoftwareComplianceRequest) XXX_Merge added in v0.12.0

func (*QueryGetDeviceSoftwareComplianceRequest) XXX_Size added in v0.12.0

func (*QueryGetDeviceSoftwareComplianceRequest) XXX_Unmarshal added in v0.12.0

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

type QueryGetDeviceSoftwareComplianceResponse added in v0.12.0

type QueryGetDeviceSoftwareComplianceResponse struct {
	DeviceSoftwareCompliance DeviceSoftwareCompliance `protobuf:"bytes,1,opt,name=deviceSoftwareCompliance,proto3" json:"deviceSoftwareCompliance"`
}

func (*QueryGetDeviceSoftwareComplianceResponse) Descriptor added in v0.12.0

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

func (*QueryGetDeviceSoftwareComplianceResponse) GetDeviceSoftwareCompliance added in v0.12.0

func (m *QueryGetDeviceSoftwareComplianceResponse) GetDeviceSoftwareCompliance() DeviceSoftwareCompliance

func (*QueryGetDeviceSoftwareComplianceResponse) Marshal added in v0.12.0

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

func (*QueryGetDeviceSoftwareComplianceResponse) MarshalTo added in v0.12.0

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

func (*QueryGetDeviceSoftwareComplianceResponse) MarshalToSizedBuffer added in v0.12.0

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

func (*QueryGetDeviceSoftwareComplianceResponse) ProtoMessage added in v0.12.0

func (*QueryGetDeviceSoftwareComplianceResponse) Reset added in v0.12.0

func (*QueryGetDeviceSoftwareComplianceResponse) Size added in v0.12.0

func (*QueryGetDeviceSoftwareComplianceResponse) String added in v0.12.0

func (*QueryGetDeviceSoftwareComplianceResponse) Unmarshal added in v0.12.0

func (*QueryGetDeviceSoftwareComplianceResponse) XXX_DiscardUnknown added in v0.12.0

func (m *QueryGetDeviceSoftwareComplianceResponse) XXX_DiscardUnknown()

func (*QueryGetDeviceSoftwareComplianceResponse) XXX_Marshal added in v0.12.0

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

func (*QueryGetDeviceSoftwareComplianceResponse) XXX_Merge added in v0.12.0

func (*QueryGetDeviceSoftwareComplianceResponse) XXX_Size added in v0.12.0

func (*QueryGetDeviceSoftwareComplianceResponse) XXX_Unmarshal added in v0.12.0

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

type QueryGetProvisionalModelRequest

type QueryGetProvisionalModelRequest struct {
	Vid               int32  `protobuf:"varint,1,opt,name=vid,proto3" json:"vid,omitempty"`
	Pid               int32  `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
	SoftwareVersion   uint32 `protobuf:"varint,3,opt,name=softwareVersion,proto3" json:"softwareVersion,omitempty"`
	CertificationType string `protobuf:"bytes,4,opt,name=certificationType,proto3" json:"certificationType,omitempty"`
}

func (*QueryGetProvisionalModelRequest) Descriptor

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

func (*QueryGetProvisionalModelRequest) GetCertificationType

func (m *QueryGetProvisionalModelRequest) GetCertificationType() string

func (*QueryGetProvisionalModelRequest) GetPid

func (*QueryGetProvisionalModelRequest) GetSoftwareVersion

func (m *QueryGetProvisionalModelRequest) GetSoftwareVersion() uint32

func (*QueryGetProvisionalModelRequest) GetVid

func (*QueryGetProvisionalModelRequest) Marshal

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

func (*QueryGetProvisionalModelRequest) MarshalTo

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

func (*QueryGetProvisionalModelRequest) MarshalToSizedBuffer

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

func (*QueryGetProvisionalModelRequest) ProtoMessage

func (*QueryGetProvisionalModelRequest) ProtoMessage()

func (*QueryGetProvisionalModelRequest) Reset

func (*QueryGetProvisionalModelRequest) Size

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

func (*QueryGetProvisionalModelRequest) String

func (*QueryGetProvisionalModelRequest) Unmarshal

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

func (*QueryGetProvisionalModelRequest) XXX_DiscardUnknown

func (m *QueryGetProvisionalModelRequest) XXX_DiscardUnknown()

func (*QueryGetProvisionalModelRequest) XXX_Marshal

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

func (*QueryGetProvisionalModelRequest) XXX_Merge

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

func (*QueryGetProvisionalModelRequest) XXX_Size

func (m *QueryGetProvisionalModelRequest) XXX_Size() int

func (*QueryGetProvisionalModelRequest) XXX_Unmarshal

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

type QueryGetProvisionalModelResponse

type QueryGetProvisionalModelResponse struct {
	ProvisionalModel ProvisionalModel `protobuf:"bytes,1,opt,name=provisionalModel,proto3" json:"provisionalModel"`
}

func (*QueryGetProvisionalModelResponse) Descriptor

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

func (*QueryGetProvisionalModelResponse) GetProvisionalModel

func (m *QueryGetProvisionalModelResponse) GetProvisionalModel() ProvisionalModel

func (*QueryGetProvisionalModelResponse) Marshal

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

func (*QueryGetProvisionalModelResponse) MarshalTo

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

func (*QueryGetProvisionalModelResponse) MarshalToSizedBuffer

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

func (*QueryGetProvisionalModelResponse) ProtoMessage

func (*QueryGetProvisionalModelResponse) ProtoMessage()

func (*QueryGetProvisionalModelResponse) Reset

func (*QueryGetProvisionalModelResponse) Size

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

func (*QueryGetProvisionalModelResponse) String

func (*QueryGetProvisionalModelResponse) Unmarshal

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

func (*QueryGetProvisionalModelResponse) XXX_DiscardUnknown

func (m *QueryGetProvisionalModelResponse) XXX_DiscardUnknown()

func (*QueryGetProvisionalModelResponse) XXX_Marshal

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

func (*QueryGetProvisionalModelResponse) XXX_Merge

func (*QueryGetProvisionalModelResponse) XXX_Size

func (m *QueryGetProvisionalModelResponse) XXX_Size() int

func (*QueryGetProvisionalModelResponse) XXX_Unmarshal

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

type QueryGetRevokedModelRequest

type QueryGetRevokedModelRequest struct {
	Vid               int32  `protobuf:"varint,1,opt,name=vid,proto3" json:"vid,omitempty"`
	Pid               int32  `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
	SoftwareVersion   uint32 `protobuf:"varint,3,opt,name=softwareVersion,proto3" json:"softwareVersion,omitempty"`
	CertificationType string `protobuf:"bytes,4,opt,name=certificationType,proto3" json:"certificationType,omitempty"`
}

func (*QueryGetRevokedModelRequest) Descriptor

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

func (*QueryGetRevokedModelRequest) GetCertificationType

func (m *QueryGetRevokedModelRequest) GetCertificationType() string

func (*QueryGetRevokedModelRequest) GetPid

func (m *QueryGetRevokedModelRequest) GetPid() int32

func (*QueryGetRevokedModelRequest) GetSoftwareVersion

func (m *QueryGetRevokedModelRequest) GetSoftwareVersion() uint32

func (*QueryGetRevokedModelRequest) GetVid

func (m *QueryGetRevokedModelRequest) GetVid() int32

func (*QueryGetRevokedModelRequest) Marshal

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

func (*QueryGetRevokedModelRequest) MarshalTo

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

func (*QueryGetRevokedModelRequest) MarshalToSizedBuffer

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

func (*QueryGetRevokedModelRequest) ProtoMessage

func (*QueryGetRevokedModelRequest) ProtoMessage()

func (*QueryGetRevokedModelRequest) Reset

func (m *QueryGetRevokedModelRequest) Reset()

func (*QueryGetRevokedModelRequest) Size

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

func (*QueryGetRevokedModelRequest) String

func (m *QueryGetRevokedModelRequest) String() string

func (*QueryGetRevokedModelRequest) Unmarshal

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

func (*QueryGetRevokedModelRequest) XXX_DiscardUnknown

func (m *QueryGetRevokedModelRequest) XXX_DiscardUnknown()

func (*QueryGetRevokedModelRequest) XXX_Marshal

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

func (*QueryGetRevokedModelRequest) XXX_Merge

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

func (*QueryGetRevokedModelRequest) XXX_Size

func (m *QueryGetRevokedModelRequest) XXX_Size() int

func (*QueryGetRevokedModelRequest) XXX_Unmarshal

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

type QueryGetRevokedModelResponse

type QueryGetRevokedModelResponse struct {
	RevokedModel RevokedModel `protobuf:"bytes,1,opt,name=revokedModel,proto3" json:"revokedModel"`
}

func (*QueryGetRevokedModelResponse) Descriptor

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

func (*QueryGetRevokedModelResponse) GetRevokedModel

func (m *QueryGetRevokedModelResponse) GetRevokedModel() RevokedModel

func (*QueryGetRevokedModelResponse) Marshal

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

func (*QueryGetRevokedModelResponse) MarshalTo

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

func (*QueryGetRevokedModelResponse) MarshalToSizedBuffer

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

func (*QueryGetRevokedModelResponse) ProtoMessage

func (*QueryGetRevokedModelResponse) ProtoMessage()

func (*QueryGetRevokedModelResponse) Reset

func (m *QueryGetRevokedModelResponse) Reset()

func (*QueryGetRevokedModelResponse) Size

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

func (*QueryGetRevokedModelResponse) String

func (*QueryGetRevokedModelResponse) Unmarshal

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

func (*QueryGetRevokedModelResponse) XXX_DiscardUnknown

func (m *QueryGetRevokedModelResponse) XXX_DiscardUnknown()

func (*QueryGetRevokedModelResponse) XXX_Marshal

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

func (*QueryGetRevokedModelResponse) XXX_Merge

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

func (*QueryGetRevokedModelResponse) XXX_Size

func (m *QueryGetRevokedModelResponse) XXX_Size() int

func (*QueryGetRevokedModelResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Queries a ComplianceInfo by index.
	ComplianceInfo(context.Context, *QueryGetComplianceInfoRequest) (*QueryGetComplianceInfoResponse, error)
	// Queries a list of ComplianceInfo items.
	ComplianceInfoAll(context.Context, *QueryAllComplianceInfoRequest) (*QueryAllComplianceInfoResponse, error)
	// Queries a CertifiedModel by index.
	CertifiedModel(context.Context, *QueryGetCertifiedModelRequest) (*QueryGetCertifiedModelResponse, error)
	// Queries a list of CertifiedModel items.
	CertifiedModelAll(context.Context, *QueryAllCertifiedModelRequest) (*QueryAllCertifiedModelResponse, error)
	// Queries a RevokedModel by index.
	RevokedModel(context.Context, *QueryGetRevokedModelRequest) (*QueryGetRevokedModelResponse, error)
	// Queries a list of RevokedModel items.
	RevokedModelAll(context.Context, *QueryAllRevokedModelRequest) (*QueryAllRevokedModelResponse, error)
	// Queries a ProvisionalModel by index.
	ProvisionalModel(context.Context, *QueryGetProvisionalModelRequest) (*QueryGetProvisionalModelResponse, error)
	// Queries a list of ProvisionalModel items.
	ProvisionalModelAll(context.Context, *QueryAllProvisionalModelRequest) (*QueryAllProvisionalModelResponse, error)
	// Queries a DeviceSoftwareCompliance by index.
	DeviceSoftwareCompliance(context.Context, *QueryGetDeviceSoftwareComplianceRequest) (*QueryGetDeviceSoftwareComplianceResponse, error)
	// Queries a list of DeviceSoftwareCompliance items.
	DeviceSoftwareComplianceAll(context.Context, *QueryAllDeviceSoftwareComplianceRequest) (*QueryAllDeviceSoftwareComplianceResponse, error)
}

QueryServer is the server API for Query service.

type RevokedModel

type RevokedModel struct {
	Vid               int32  `protobuf:"varint,1,opt,name=vid,proto3" json:"vid,omitempty"`
	Pid               int32  `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
	SoftwareVersion   uint32 `protobuf:"varint,3,opt,name=softwareVersion,proto3" json:"softwareVersion,omitempty"`
	CertificationType string `protobuf:"bytes,4,opt,name=certificationType,proto3" json:"certificationType,omitempty"`
	Value             bool   `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"`
}

func (*RevokedModel) Descriptor

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

func (*RevokedModel) GetCertificationType

func (m *RevokedModel) GetCertificationType() string

func (*RevokedModel) GetPid

func (m *RevokedModel) GetPid() int32

func (*RevokedModel) GetSoftwareVersion

func (m *RevokedModel) GetSoftwareVersion() uint32

func (*RevokedModel) GetValue

func (m *RevokedModel) GetValue() bool

func (*RevokedModel) GetVid

func (m *RevokedModel) GetVid() int32

func (*RevokedModel) Marshal

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

func (*RevokedModel) MarshalTo

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

func (*RevokedModel) MarshalToSizedBuffer

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

func (*RevokedModel) ProtoMessage

func (*RevokedModel) ProtoMessage()

func (*RevokedModel) Reset

func (m *RevokedModel) Reset()

func (*RevokedModel) Size

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

func (*RevokedModel) String

func (m *RevokedModel) String() string

func (*RevokedModel) Unmarshal

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

func (*RevokedModel) XXX_DiscardUnknown

func (m *RevokedModel) XXX_DiscardUnknown()

func (*RevokedModel) XXX_Marshal

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

func (*RevokedModel) XXX_Merge

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

func (*RevokedModel) XXX_Size

func (m *RevokedModel) XXX_Size() int

func (*RevokedModel) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CertifyModel

func (*UnimplementedMsgServer) DeleteComplianceInfo added in v1.1.1

func (*UnimplementedMsgServer) ProvisionModel

func (*UnimplementedMsgServer) RevokeModel

func (*UnimplementedMsgServer) UpdateComplianceInfo added in v1.1.1

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) CertifiedModel

func (*UnimplementedQueryServer) CertifiedModelAll

func (*UnimplementedQueryServer) ComplianceInfo

func (*UnimplementedQueryServer) ComplianceInfoAll

func (*UnimplementedQueryServer) DeviceSoftwareCompliance added in v0.12.0

func (*UnimplementedQueryServer) DeviceSoftwareComplianceAll added in v0.12.0

func (*UnimplementedQueryServer) ProvisionalModelAll

func (*UnimplementedQueryServer) RevokedModel

func (*UnimplementedQueryServer) RevokedModelAll

Jump to

Keyboard shortcuts

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