opa

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2025 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpaQuery

type OpaQuery struct {
	// contains filtered or unexported fields
}

func CreateQuery

func CreateQuery(filename string, query string, ctx context.Context, verifier notation.ImageVerifier) (*OpaQuery, error)

func (*OpaQuery) Query

func (q *OpaQuery) Query(ctx context.Context, payload *types2.Payload) (*OpaQueryResult, error)

type OpaQueryResult

type OpaQueryResult struct {
	// contains filtered or unexported fields
}

func (*OpaQueryResult) GetErrors

func (result *OpaQueryResult) GetErrors() []interface{}

func (*OpaQueryResult) GetPatch

func (result *OpaQueryResult) GetPatch() []interface{}

func (*OpaQueryResult) GetWarnings

func (result *OpaQueryResult) GetWarnings() []interface{}

Jump to

Keyboard shortcuts

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