Documentation
¶
Index ¶
- func BuiltIn() catalog.BuiltIn
- type Configuration
- type PSProcessInfo
- type Plugin
- func (p *Plugin) Attest(_ context.Context, req *workloadattestorv1.AttestRequest) (*workloadattestorv1.AttestResponse, error)
- func (p *Plugin) Configure(_ context.Context, req *configv1.ConfigureRequest) (*configv1.ConfigureResponse, error)
- func (p *Plugin) SetLogger(log hclog.Logger)
- func (p *Plugin) Validate(_ context.Context, req *configv1.ValidateRequest) (*configv1.ValidateResponse, 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 {
workloadattestorv1.UnsafeWorkloadAttestorServer
configv1.UnsafeConfigServer
// contains filtered or unexported fields
}
func (*Plugin) Attest ¶
func (p *Plugin) Attest(_ context.Context, req *workloadattestorv1.AttestRequest) (*workloadattestorv1.AttestResponse, error)
func (*Plugin) Configure ¶
func (p *Plugin) Configure(_ context.Context, req *configv1.ConfigureRequest) (*configv1.ConfigureResponse, error)
func (*Plugin) Validate ¶ added in v1.11.0
func (p *Plugin) Validate(_ context.Context, req *configv1.ValidateRequest) (*configv1.ValidateResponse, error)
Click to show internal directories.
Click to hide internal directories.