convert

package
v1.46.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BundleFile

func BundleFile(in, out string) error

BundleFile parses `in` as a bundle and writes a binary bundle to `out`.

func DumpData

func DumpData(name string) error

Types

type BjsonBundle

type BjsonBundle struct {
	Manifest bundle.Manifest
	Data     bjson.Object
	Modules  []bundle.ModuleFile
	Patch    bundle.Patch
	Etag     string
}

BjsonBundle is OPA's Bundle with bjson.Object instead of map[string]interface{} and no wasm or plan artifacts; or signatures.

Jump to

Keyboard shortcuts

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