shareddata

package
v0.0.0-...-985fced Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPolicy

func AddPolicy(name string, p dsse.Envelope)

func AddPublicKey

func AddPublicKey(name string, p policy.PublicKey)

func RemovePolicy

func RemovePolicy(name string)

func RemovePublicKey

func RemovePublicKey(name string)

func UsePoliciesAndPublicKeys

func UsePoliciesAndPublicKeys(doWork func(policies map[string]dsse.Envelope, publicKeys map[string]policy.PublicKey) (results *[]externaldata.Item)) *[]externaldata.Item

TODO: Can we do this without returning results?

func UsePolicy

func UsePolicy(name string, doWork func(dsse.Envelope)) error

func UsePublicKey

func UsePublicKey(name string, doWork func(policy.PublicKey)) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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