validationstore

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ValidationStore

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

func NewValidationStore

func NewValidationStore() *ValidationStore

NewValidationStore creates a new validation store

func NewValidationStoreFromBackMatter

func NewValidationStoreFromBackMatter(backMatter oscalTypes_1_1_2.BackMatter) *ValidationStore

NewValidationStoreFromBackMatter creates a new validation store from a back matter

func (*ValidationStore) AddLulaValidation

func (v *ValidationStore) AddLulaValidation(validation *types.LulaValidation, id string)

AddLulaValidation adds a LulaValidation to the store

func (*ValidationStore) AddValidation

func (v *ValidationStore) AddValidation(validation *common.Validation) (id string, err error)

AddValidation adds a validation to the store

func (*ValidationStore) GetLulaValidation

func (v *ValidationStore) GetLulaValidation(id string) (validation *types.LulaValidation, err error)

GetLulaValidation gets the LulaValidation from the store

Jump to

Keyboard shortcuts

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