Documentation ¶
Overview ¶
Copyright 2022 Contributors to the Veraison project. SPDX-License-Identifier: Apache-2.0
Copyright 2022 Contributors to the Veraison project. SPDX-License-Identifier: Apache-2.0
Copyright 2022 Contributors to the Veraison project. SPDX-License-Identifier: Apache-2.0
Copyright 2022 Contributors to the Veraison project. SPDX-License-Identifier: Apache-2.0
Copyright 2022 Contributors to the Veraison project. SPDX-License-Identifier: Apache-2.0
Index ¶
- Variables
- type EndorsementDecoderResponse
- func (*EndorsementDecoderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EndorsementDecoderResponse) GetSwComponents() []*proto.Endorsement
- func (x *EndorsementDecoderResponse) GetTrustAnchors() []*proto.Endorsement
- func (*EndorsementDecoderResponse) ProtoMessage()
- func (x *EndorsementDecoderResponse) ProtoReflect() protoreflect.Message
- func (x *EndorsementDecoderResponse) Reset()
- func (x *EndorsementDecoderResponse) String() string
- type GoPluginDecoderContext
- type GoPluginDecoderManager
- func (o GoPluginDecoderManager) Close() error
- func (o GoPluginDecoderManager) Dispatch(mediaType string, data []byte) (*EndorsementDecoderResponse, error)
- func (o *GoPluginDecoderManager) Init(dir string) error
- func (o GoPluginDecoderManager) IsSupportedMediaType(mediaType string) bool
- func (o GoPluginDecoderManager) SupportedMediaTypes() string
- type IDecoder
- type IDecoderManager
- type Params
- type Plugin
- type RPCClient
- type RPCServer
- func (s RPCServer) Close(unused0 interface{}, unused1 interface{}) error
- func (s RPCServer) Decode(data []byte, resp *[]byte) error
- func (s *RPCServer) GetName(args interface{}, resp *string) error
- func (s *RPCServer) GetSupportedMediaTypes(args interface{}, resp *[]string) error
- func (s *RPCServer) Init(params Params, unused interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var File_decoder_response_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type EndorsementDecoderResponse ¶
type EndorsementDecoderResponse struct { SwComponents []*proto.Endorsement `protobuf:"bytes,1,rep,name=swComponents,proto3" json:"swComponents,omitempty"` TrustAnchors []*proto.Endorsement `protobuf:"bytes,2,rep,name=trustAnchors,proto3" json:"trustAnchors,omitempty"` // contains filtered or unexported fields }
func (*EndorsementDecoderResponse) Descriptor
deprecated
func (*EndorsementDecoderResponse) Descriptor() ([]byte, []int)
Deprecated: Use EndorsementDecoderResponse.ProtoReflect.Descriptor instead.
func (*EndorsementDecoderResponse) GetSwComponents ¶
func (x *EndorsementDecoderResponse) GetSwComponents() []*proto.Endorsement
func (*EndorsementDecoderResponse) GetTrustAnchors ¶
func (x *EndorsementDecoderResponse) GetTrustAnchors() []*proto.Endorsement
func (*EndorsementDecoderResponse) ProtoMessage ¶
func (*EndorsementDecoderResponse) ProtoMessage()
func (*EndorsementDecoderResponse) ProtoReflect ¶
func (x *EndorsementDecoderResponse) ProtoReflect() protoreflect.Message
func (*EndorsementDecoderResponse) Reset ¶
func (x *EndorsementDecoderResponse) Reset()
func (*EndorsementDecoderResponse) String ¶
func (x *EndorsementDecoderResponse) String() string
type GoPluginDecoderContext ¶
type GoPluginDecoderContext struct {
// contains filtered or unexported fields
}
func NewGoPluginDecoderContext ¶
func NewGoPluginDecoderContext(path string) (*GoPluginDecoderContext, error)
type GoPluginDecoderManager ¶
type GoPluginDecoderManager struct {
DispatchTable map[string]*GoPluginDecoderContext
}
func (GoPluginDecoderManager) Close ¶
func (o GoPluginDecoderManager) Close() error
func (GoPluginDecoderManager) Dispatch ¶
func (o GoPluginDecoderManager) Dispatch( mediaType string, data []byte, ) (*EndorsementDecoderResponse, error)
func (*GoPluginDecoderManager) Init ¶
func (o *GoPluginDecoderManager) Init(dir string) error
func (GoPluginDecoderManager) IsSupportedMediaType ¶
func (o GoPluginDecoderManager) IsSupportedMediaType(mediaType string) bool
func (GoPluginDecoderManager) SupportedMediaTypes ¶
func (o GoPluginDecoderManager) SupportedMediaTypes() string
type IDecoderManager ¶
type RPCClient ¶
type RPCClient struct {
// contains filtered or unexported fields
}
func (RPCClient) Decode ¶
func (c RPCClient) Decode(data []byte) (*EndorsementDecoderResponse, error)
func (RPCClient) GetSupportedMediaTypes ¶
Click to show internal directories.
Click to hide internal directories.