opa

package
v1.18.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

type Bundle struct {
	Data  []*DataSpec
	Roots []string
	// contains filtered or unexported fields
}

func (*Bundle) Hash

func (b *Bundle) Hash() (string, error)

func (*Bundle) Rehash

func (b *Bundle) Rehash() (string, error)

func (*Bundle) Save

func (b *Bundle) Save(parentPath string) error

type DataSpec

type DataSpec struct {
	Data interface{}
	Path string
}

type Manifest

type Manifest struct {
	Revision string   `json:"revision"`
	Roots    []string `json:"roots"`
}

Jump to

Keyboard shortcuts

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