GrypeDbChecker Class

Summary

Runs grype db check.
graph BT Type-->Base0["GrypeTool<GrypeDbCheckSettings>"] Base0-->Base1["Tool<GrypeDbCheckSettings>"] Type["GrypeDbChecker"] class Type type-node

Syntax

public sealed class GrypeDbChecker : GrypeTool<GrypeDbCheckSettings>

Constructors

Methods

Name Value Summary
AcceptsExitCode(int, string) bool
Determines whether a non-zero exit code is expected for this command and must not throw.
Check(GrypeDbCheckSettings) GrypeDbCheckResult
Checks whether a database update is available. An available update is reported through Cake.Grype.Db.GrypeDbCheckResult.UpdateAvailable, not an exception.

Extension Methods

Name Value Summary
Dump<GrypeDbChecker>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<GrypeDbChecker>(GrypeDbChecker[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<GrypeDbChecker>(string) void
Requires the Cake.Issues addin
NotNull<GrypeDbChecker>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<GrypeDbChecker>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<GrypeDbChecker>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin