GrypeVersionReader Class

Summary

Runs grype version and returns the parsed version information.
graph BT Type-->Base0["GrypeTool<GrypeVersionSettings>"] Base0-->Base1["Tool<GrypeVersionSettings>"] Type["GrypeVersionReader"] class Type type-node

Syntax

public sealed class GrypeVersionReader : GrypeTool<GrypeVersionSettings>

Constructors

Methods

Name Value Summary
Read(GrypeVersionSettings) GrypeVersion
Reads Grype's version information.

Extension Methods

Name Value Summary
Dump<GrypeVersionReader>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<GrypeVersionReader>(GrypeVersionReader[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<GrypeVersionReader>(string) void
Requires the Cake.Issues addin
NotNull<GrypeVersionReader>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<GrypeVersionReader>(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<GrypeVersionReader>(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