Versions in this module Expand all Collapse all v0 v0.38.0 Jun 12, 2023 Changes in this version + func NewFakeAssertServerWithList(listResults []*assetpb.Asset, err error) (*asset.Client, error) + func NewFakeAssetServer(searchResults []*assetpb.ResourceSearchResult, err error) (*asset.Client, error) + func NewFakeStorageServer(routes map[string]http.HandlerFunc) (*storage.Client, *httptest.Server, error) + type FakeAssetServer struct + ListAssetsResults []*assetpb.Asset + SearchAllResourcesResults []*assetpb.ResourceSearchResult + func (s *FakeAssetServer) ListAssets(context.Context, *assetpb.ListAssetsRequest) (*assetpb.ListAssetsResponse, error) + func (s *FakeAssetServer) SearchAllResources(context.Context, *assetpb.SearchAllResourcesRequest) (*assetpb.SearchAllResourcesResponse, error) + type FakeStorageServer struct + func (s *FakeStorageServer) ServeHTTP(w http.ResponseWriter, r *http.Request)