workloadattestor

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository added in v1.0.0

type Repository struct {
	WorkloadAttestors []WorkloadAttestor
}

func (*Repository) AddWorkloadAttestor added in v1.0.0

func (repo *Repository) AddWorkloadAttestor(workloadattestor WorkloadAttestor)

func (*Repository) Clear added in v1.0.0

func (repo *Repository) Clear()

func (*Repository) GetWorkloadAttestors added in v1.0.0

func (repo *Repository) GetWorkloadAttestors() []WorkloadAttestor

func (*Repository) SetWorkloadAttestors added in v1.0.0

func (repo *Repository) SetWorkloadAttestors(workloadAttestors ...WorkloadAttestor)

type V1 added in v1.0.0

func (*V1) Attest added in v1.0.0

func (v1 *V1) Attest(ctx context.Context, pid int) ([]*common.Selector, error)

type WorkloadAttestor

type WorkloadAttestor interface {
	catalog.PluginInfo

	Attest(ctx context.Context, pid int) ([]*common.Selector, error)
}

Directories

Path Synopsis
k8s

Jump to

Keyboard shortcuts

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