Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PrepareFetch (0.25 sec)

  1. pkg/wasm/imagefetcher.go

    	}
    }
    
    // PrepareFetch is the entrypoint for fetching Wasm binary from Wasm Image Specification compatible images.
    // Wasm binary is not fetched immediately, but returned by `binaryFetcher` function, which is returned by PrepareFetch.
    // By this way, we can have another chance to check cache with `actualDigest` without downloading the OCI image.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Dec 10 05:44:51 UTC 2023
    - 12K bytes
    - Viewed (0)
  2. pkg/wasm/cache.go

    		}
    		wasmLog.Debugf("fetching oci image from %s with options: %v", key.downloadURL, imgFetcherOps)
    		fetcher := NewImageFetcher(ctx, imgFetcherOps)
    		binaryFetcher, dChecksum, err = fetcher.PrepareFetch(u.Host + u.Path)
    		if err != nil {
    			wasmRemoteFetchCount.With(resultTag.Value(manifestFailure)).Increment()
    			return nil, fmt.Errorf("could not fetch Wasm OCI image: %v", err)
    		}
    	default:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top