This interface defines virtual methods for each of the user-facing overload sets in GrafeasClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type GrafeasClient.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-14 UTC."],[[["The page details the `GrafeasConnection` object, which acts as an interface defining virtual methods for `GrafeasClient` in the containeranalysis v1 API."],["This page provides access to documentation for various versions of the `GrafeasConnection` class, ranging from version 2.11.0 up to the latest release candidate 2.37.0-rc."],["Users can customize `GrafeasClient` behavior during testing by injecting mock objects, thanks to the `GrafeasConnection` interface."],["The `GrafeasConnection` object includes several virtual functions for managing occurrences and notes, such as `GetOccurrence`, `ListOccurrences`, `CreateNote`, and `UpdateNote`, which will all require a request in order to function."],["A concrete instance of `GrafeasConnection` can be created using `MakeGrafeasConnection()`, and `containeranalysis_v1_mocks::MockGrafeasConnection` can be used for mocking."]]],[]]