package inspect

import "github.com/open-policy-agent/opa/internal/bundle/inspect"

Index

Types

type Info

type Info struct {
	Manifest    bundle.Manifest          `json:"manifest,omitempty"`
	Signatures  bundle.SignaturesConfig  `json:"signatures_config,omitempty"`
	WasmModules []map[string]interface{} `json:"wasm_modules,omitempty"`
	Namespaces  map[string][]string      `json:"namespaces,omitempty"`
	Annotations []*ast.AnnotationsRef    `json:"annotations,omitempty"`
}

Info represents information about a bundle.

func File

func File(path string, includeAnnotations bool) (*Info, error)

Source Files

inspect.go

Version
v0.49.2
Published
Feb 24, 2023
Platform
js/wasm
Imports
11 packages
Last checked
2 minutes ago

Tools for package owners.