Documentation ¶
Index ¶
- func BuiltIn() catalog.Plugin
- type Configuration
- type PSProcessInfo
- 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 (p *Plugin) GetPluginInfo(context.Context, *spi.GetPluginInfoRequest) (*spi.GetPluginInfoResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
type PSProcessInfo ¶ added in v0.10.0
func (PSProcessInfo) Groups ¶ added in v0.11.0
func (ps PSProcessInfo) Groups() ([]string, error)
Groups returns the supplementary group IDs This is a custom implementation that only works for linux until the next issue is fixed https://github.com/shirou/gopsutil/issues/913
func (PSProcessInfo) NamespacedExe ¶ added in v0.10.0
func (ps PSProcessInfo) NamespacedExe() string
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 (p *Plugin) GetPluginInfo(context.Context, *spi.GetPluginInfoRequest) (*spi.GetPluginInfoResponse, error)
Click to show internal directories.
Click to hide internal directories.