Documentation ¶
Overview ¶
Copyright 2022 Contributors to the Veraison project. SPDX-License-Identifier: Apache-2.0
Index ¶
- Variables
- type GRPC
- func (o *GRPC) AddSwComponents(ctx context.Context, in *proto.AddSwComponentsRequest, opts ...grpc.CallOption) (*proto.AddSwComponentsResponse, error)
- func (o *GRPC) AddTrustAnchor(ctx context.Context, in *proto.AddTrustAnchorRequest, opts ...grpc.CallOption) (*proto.AddTrustAnchorResponse, error)
- func (o *GRPC) EnsureConnection() error
- func (o *GRPC) GetAttestation(ctx context.Context, in *proto.AttestationToken, opts ...grpc.CallOption) (*proto.AppraisalContext, error)
- func (o *GRPC) GetProvisionerClient() proto.VTSClient
- func (o *GRPC) GetSupportedVerificationMediaTypes(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*proto.MediaTypeList, error)
- type IVTSClient
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoClient = errors.New("there is no active gRPC VTS client")
)
Functions ¶
This section is empty.
Types ¶
type GRPC ¶
type GRPC struct { Config config.Store Connection *grpc.ClientConn }
func (*GRPC) AddSwComponents ¶
func (o *GRPC) AddSwComponents(ctx context.Context, in *proto.AddSwComponentsRequest, opts ...grpc.CallOption, ) (*proto.AddSwComponentsResponse, error)
func (*GRPC) AddTrustAnchor ¶
func (o *GRPC) AddTrustAnchor(ctx context.Context, in *proto.AddTrustAnchorRequest, opts ...grpc.CallOption, ) (*proto.AddTrustAnchorResponse, error)
func (*GRPC) EnsureConnection ¶
func (*GRPC) GetAttestation ¶
func (o *GRPC) GetAttestation( ctx context.Context, in *proto.AttestationToken, opts ...grpc.CallOption, ) (*proto.AppraisalContext, error)
func (*GRPC) GetProvisionerClient ¶
func (*GRPC) GetSupportedVerificationMediaTypes ¶
func (o *GRPC) GetSupportedVerificationMediaTypes( ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption, ) (*proto.MediaTypeList, error)
type IVTSClient ¶
Click to show internal directories.
Click to hide internal directories.