Documentation ¶
Index ¶
- func BuiltIn() catalog.Plugin
- type Docker
- type Plugin
- func (p *Plugin) Attest(ctx context.Context, req *workloadattestor.AttestRequest) (*workloadattestor.AttestResponse, error)
- func (p *Plugin) Configure(ctx context.Context, req *spi.ConfigureRequest) (*spi.ConfigureResponse, error)
- func (*Plugin) GetPluginInfo(context.Context, *spi.GetPluginInfoRequest) (*spi.GetPluginInfoResponse, error)
- func (p *Plugin) SetLogger(log hclog.Logger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Docker ¶
type Docker interface {
ContainerInspect(ctx context.Context, containerID string) (types.ContainerJSON, error)
}
Docker is a subset of the docker client functionality, useful for mocking.
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) Attest ¶
func (p *Plugin) Attest(ctx context.Context, req *workloadattestor.AttestRequest) (*workloadattestor.AttestResponse, error)
func (*Plugin) Configure ¶
func (p *Plugin) Configure(ctx context.Context, req *spi.ConfigureRequest) (*spi.ConfigureResponse, error)
func (*Plugin) GetPluginInfo ¶
func (*Plugin) GetPluginInfo(context.Context, *spi.GetPluginInfoRequest) (*spi.GetPluginInfoResponse, error)
Click to show internal directories.
Click to hide internal directories.