executor

package
v2.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExecutor

func NewExecutor(opts *Options) (*ratify.Executor, error)

NewExecutor creates a new ratify.Executor instance based on the provided options.

Types

type Options

type Options struct {
	// Verifiers contains the configuration options for the verifiers. Required.
	Verifiers []factory.NewVerifierOptions `json:"verifiers"`

	// Stores contains the configuration options for the stores. Required.
	Stores store.PatternOptions `json:"stores"`

	// Policy contains the configuration options for the policy enforcer.
	// Optional.
	Policy *policyFactory.NewPolicyEnforcerOptions `json:"policyEnforcer,omitempty"`
}

Options contains the configuration options to create a new executor.

Jump to

Keyboard shortcuts

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