equivalent

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EqualState

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

EqualState describes the equivalence state of elements of a component version. For a complete component version the equivalence state describes the local component version content, not the state of the complete graph spanned by component references.

func StateEquivalent

func StateEquivalent() EqualState

func StateLocalHashEqual

func StateLocalHashEqual(ok bool) EqualState

func StateNotArtifactEqual

func StateNotArtifactEqual(detect bool) EqualState

func StateNotDetectable

func StateNotDetectable() EqualState

func StateNotEquivalent

func StateNotEquivalent() EqualState

func StateNotLocalHashEqual

func StateNotLocalHashEqual() EqualState

func (EqualState) Apply

func (s EqualState) Apply(states ...EqualState) EqualState

func (EqualState) IsArtifactDetectable

func (s EqualState) IsArtifactDetectable() bool

IsArtifactEqual returns true if the signature relevant artifact digests are all known on both sides.

func (EqualState) IsArtifactEqual

func (s EqualState) IsArtifactEqual() bool

IsArtifactEqual returns true if the signature relevant parts artifact digests are identical.

func (EqualState) IsEquivalent

func (s EqualState) IsEquivalent() bool

IsEquivalent returns true if everything besides the access methods is identical, including the artifact digests.

func (EqualState) IsHashEqual

func (s EqualState) IsHashEqual() bool

IsHashEqual returns true if the signature relevant parts are identical, including the artifact digests.

func (EqualState) IsLocalHashEqual

func (s EqualState) IsLocalHashEqual() bool

IsLocalHashEqual returns true if the signature relevant parts excluding the artifact digests are identical.

func (EqualState) NotEquivalent

func (s EqualState) NotEquivalent() EqualState

func (EqualState) NotLocalHashEqual

func (s EqualState) NotLocalHashEqual(b ...bool) EqualState

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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