Documentation ¶
Overview ¶
Package verifyif provides the interface for artifact verifiers, including the Result type
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactType ¶
type ArtifactType string
ArtifactType represents the type of artifact, i.e., container, npm, etc.
const ( // ArtifactTypeContainer is a container artifact ArtifactTypeContainer ArtifactType = "container" )
type ArtifactVerifier ¶
type ArtifactVerifier interface { Verify(ctx context.Context, artifactType ArtifactType, owner, name, checksumref string) ([]Result, error) VerifyContainer(ctx context.Context, owner, artifact, checksumref string) ([]Result, error) }
ArtifactVerifier is the interface for artifact verifiers
Click to show internal directories.
Click to hide internal directories.