Documentation ¶
Overview ¶
Provides interfaces and adapters for the WorkloadAttestor service
Generated code. Do not modify by hand.
Index ¶
Constants ¶
View Source
const (
Type = "WorkloadAttestor"
)
Variables ¶
View Source
var PluginClient catalog.PluginClient = pluginClient{}
PluginClient is a catalog PluginClient implementation for the WorkloadAttestor plugin.
Functions ¶
func PluginServer ¶
func PluginServer(server WorkloadAttestorServer) catalog.PluginServer
PluginServer returns a catalog PluginServer implementation for the WorkloadAttestor plugin.
Types ¶
type AttestRequest ¶
type AttestRequest = workloadattestor.AttestRequest //nolint: golint
type AttestResponse ¶
type AttestResponse = workloadattestor.AttestResponse //nolint: golint
type Plugin ¶
type Plugin interface { Attest(context.Context, *AttestRequest) (*AttestResponse, error) Configure(context.Context, *spi.ConfigureRequest) (*spi.ConfigureResponse, error) GetPluginInfo(context.Context, *spi.GetPluginInfoRequest) (*spi.GetPluginInfoResponse, error) }
Plugin is the client interface for the service with the plugin related methods used by the catalog to initialize the plugin.
type UnimplementedWorkloadAttestorServer ¶
type UnimplementedWorkloadAttestorServer = workloadattestor.UnimplementedWorkloadAttestorServer //nolint: golint
type UnsafeWorkloadAttestorServer ¶ added in v0.12.0
type UnsafeWorkloadAttestorServer = workloadattestor.UnsafeWorkloadAttestorServer //nolint: golint
type WorkloadAttestor ¶
type WorkloadAttestor interface {
Attest(context.Context, *AttestRequest) (*AttestResponse, error)
}
WorkloadAttestor is the client interface for the service type WorkloadAttestor interface.
func AdaptPluginClient ¶
func AdaptPluginClient(client WorkloadAttestorClient) WorkloadAttestor
type WorkloadAttestorClient ¶
type WorkloadAttestorClient = workloadattestor.WorkloadAttestorClient //nolint: golint
type WorkloadAttestorServer ¶
type WorkloadAttestorServer = workloadattestor.WorkloadAttestorServer //nolint: golint
Click to show internal directories.
Click to hide internal directories.