Documentation ¶
Overview ¶
Copyright 2022-2023 Contributors to the Veraison project. SPDX-License-Identifier: Apache-2.0
Copyright 2022-2023 Contributors to the Veraison project. SPDX-License-Identifier: Apache-2.0
Index ¶
- Variables
- func GetAmmoClient(c *rpc.Client) interface{}
- func GetAmmoServer(i IAmmo) interface{}
- func GetMookClient(c *rpc.Client) interface{}
- func GetMookServer(i IMook) interface{}
- func RegisterAmmoImplementation(v IAmmo)
- func RegisterMookImplementation(v IMook)
- type AmmoRPCClient
- type AmmoRPCServer
- func (o *AmmoRPCServer) GetAttestationScheme(args interface{}, resp *string) error
- func (o *AmmoRPCServer) GetCapacity(args interface{}, resp *int) error
- func (o *AmmoRPCServer) GetName(args interface{}, resp *string) error
- func (o *AmmoRPCServer) GetSupportedMediaTypes(args interface{}, resp *[]string) error
- type IAmmo
- type IMook
- type MookRPCClient
- type MookRPCServer
- func (o *MookRPCServer) GetAttestationScheme(args interface{}, resp *string) error
- func (o *MookRPCServer) GetName(args interface{}, resp *string) error
- func (o *MookRPCServer) GetSupportedMediaTypes(args interface{}, resp *[]string) error
- func (o *MookRPCServer) Shoot(args interface{}, resp *string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var AmmoRPC = &plugin.RPCChannel[IAmmo]{ GetClient: GetAmmoClient, GetServer: GetAmmoServer, }
View Source
var MookRPC = &plugin.RPCChannel[IMook]{ GetClient: GetMookClient, GetServer: GetMookServer, }
Functions ¶
func GetAmmoClient ¶
func GetAmmoServer ¶
func GetAmmoServer(i IAmmo) interface{}
func GetMookClient ¶
func GetMookServer ¶
func GetMookServer(i IMook) interface{}
func RegisterAmmoImplementation ¶
func RegisterAmmoImplementation(v IAmmo)
func RegisterMookImplementation ¶
func RegisterMookImplementation(v IMook)
Types ¶
type AmmoRPCClient ¶
type AmmoRPCClient struct {
// contains filtered or unexported fields
}
func (*AmmoRPCClient) GetAttestationScheme ¶
func (o *AmmoRPCClient) GetAttestationScheme() string
func (*AmmoRPCClient) GetCapacity ¶
func (o *AmmoRPCClient) GetCapacity() int
func (*AmmoRPCClient) GetName ¶
func (o *AmmoRPCClient) GetName() string
func (*AmmoRPCClient) GetSupportedMediaTypes ¶
func (o *AmmoRPCClient) GetSupportedMediaTypes() []string
type AmmoRPCServer ¶
type AmmoRPCServer struct {
Impl IAmmo
}
func (*AmmoRPCServer) GetAttestationScheme ¶
func (o *AmmoRPCServer) GetAttestationScheme(args interface{}, resp *string) error
func (*AmmoRPCServer) GetCapacity ¶
func (o *AmmoRPCServer) GetCapacity(args interface{}, resp *int) error
func (*AmmoRPCServer) GetName ¶
func (o *AmmoRPCServer) GetName(args interface{}, resp *string) error
func (*AmmoRPCServer) GetSupportedMediaTypes ¶
func (o *AmmoRPCServer) GetSupportedMediaTypes(args interface{}, resp *[]string) error
type MookRPCClient ¶
type MookRPCClient struct {
// contains filtered or unexported fields
}
func (*MookRPCClient) GetAttestationScheme ¶
func (o *MookRPCClient) GetAttestationScheme() string
func (*MookRPCClient) GetName ¶
func (o *MookRPCClient) GetName() string
func (*MookRPCClient) GetSupportedMediaTypes ¶
func (o *MookRPCClient) GetSupportedMediaTypes() []string
func (*MookRPCClient) Shoot ¶
func (o *MookRPCClient) Shoot() string
type MookRPCServer ¶
type MookRPCServer struct {
Impl IMook
}
func (*MookRPCServer) GetAttestationScheme ¶
func (o *MookRPCServer) GetAttestationScheme(args interface{}, resp *string) error
func (*MookRPCServer) GetName ¶
func (o *MookRPCServer) GetName(args interface{}, resp *string) error
func (*MookRPCServer) GetSupportedMediaTypes ¶
func (o *MookRPCServer) GetSupportedMediaTypes(args interface{}, resp *[]string) error
func (*MookRPCServer) Shoot ¶
func (o *MookRPCServer) Shoot(args interface{}, resp *string) error
Click to show internal directories.
Click to hide internal directories.