unix

package
v1.5.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuiltIn

func BuiltIn() catalog.BuiltIn

Types

type Configuration

type Configuration struct {
	DiscoverWorkloadPath bool  `hcl:"discover_workload_path"`
	WorkloadSizeLimit    int64 `hcl:"workload_size_limit"`
}

type PSProcessInfo added in v0.10.0

type PSProcessInfo struct {
	*process.Process
}

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 New

func New() *Plugin

func (*Plugin) Configure

func (*Plugin) SetLogger added in v0.12.2

func (p *Plugin) SetLogger(log hclog.Logger)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL