object_finalizer

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFailedToReadCurrentLockObject = newPkgError("failed to read current lock object")
	ErrEmptyLockKey                  = newPkgError("empty type")
	ErrBuiltinType                   = newPkgError("builtin type")
	ErrBlobReferenceMissingType      = newPkgError("blob reference missing type")
)

Functions

func Builder

func Builder() *builder

func IsTypeLockError

func IsTypeLockError(err error) bool

Types

type Finalizer

type Finalizer = finalizer

func Make

func Make() Finalizer

func (*Finalizer) ValidateIfNecessary

func (finalizer *Finalizer) ValidateIfNecessary(
	daughter *sku.Transacted,
	mother *sku.Transacted,
	options sku.CommitOptions,

) (err error)

func (*Finalizer) Verify

func (finalizer *Finalizer) Verify(
	transacted *sku.Transacted,
) (err error)

type FinalizerGetter

type FinalizerGetter interface {
	GetObjectFinalizer() Finalizer
}

type VerifyOptions

type VerifyOptions struct {
	PubKeyPresent       bool
	ObjectDigestPresent bool
	ObjectSigPresent    bool
	ObjectSigValid      bool
}

func DefaultVerifyOptions

func DefaultVerifyOptions() VerifyOptions

Source Files

  • builder.go
  • errors.go
  • lockfile.go
  • main.go
  • validation.go

Jump to

Keyboard shortcuts

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