workloadattestor

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository struct {
	WorkloadAttestors []WorkloadAttestor
}

func (*Repository) AddWorkloadAttestor

func (repo *Repository) AddWorkloadAttestor(workloadattestor WorkloadAttestor)

func (*Repository) Clear

func (repo *Repository) Clear()

func (*Repository) GetWorkloadAttestors

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

func (*Repository) SetWorkloadAttestors

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

type V1

func (*V1) Attest

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

type WorkloadAttestor

type WorkloadAttestor interface {
	catalog.PluginInfo

	Attest(ctx context.Context, pid int, meta map[string]string) ([]*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