executor

package
v0.1.4-alpha.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor interface {
	// VerifySubject returns the result of verifying a subject
	VerifySubject(ctx context.Context, verifyParameters VerifyParameters) (types.VerifyResult, error)

	// GetVerifyRequestTimeout returns the timeout for the verification request configured with the executor
	GetVerifyRequestTimeout() time.Duration
}

Executor is an interface that defines methods to verify a subject

type VerifyParameters

type VerifyParameters struct {
	Subject        string   `json:"subjectReference"`
	ReferenceTypes []string `json:"referenceTypes,omitempty"`
}

VerifyParameters describes the subject verification parameters

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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