unix

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 20 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuiltIn

func BuiltIn() catalog.Plugin

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 {
	workloadattestor.UnsafeWorkloadAttestorServer
	// contains filtered or unexported fields
}

func New

func New() *Plugin

func (*Plugin) Configure

func (p *Plugin) Configure(ctx context.Context, req *spi.ConfigureRequest) (*spi.ConfigureResponse, error)

Jump to

Keyboard shortcuts

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