opa

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 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 added in v0.1.0

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

func CreateQuery added in v0.1.0

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

func (*OpaQuery) Query added in v0.1.0

func (q *OpaQuery) Query(ctx context.Context, input *api.Job) (*OpaQueryResult, error)

type OpaQueryResult added in v0.1.0

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

func (*OpaQueryResult) GetErrors added in v0.1.0

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

func (*OpaQueryResult) GetPatch added in v0.1.0

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

func (*OpaQueryResult) GetWarnings added in v0.1.0

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

Jump to

Keyboard shortcuts

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