Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fetch_failure (0.35 sec)

  1. pkg/wasm/convert.go

    	var pullSecret []byte
    	pullPolicy := Unspecified
    	resourceVersion := ""
    	if envs != nil {
    		if sec, found := envs.KeyValues[model.WasmSecretEnv]; found {
    			if sec == "" {
    				*status = fetchFailure
    				return fmt.Errorf("cannot fetch Wasm module %v: missing image pulling secret", configName)
    			}
    			pullSecret = []byte(sec)
    		}
    
    		if ps, found := envs.KeyValues[model.WasmPolicyEnv]; found {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. pkg/wasm/cache.go

    			return nil, fmt.Errorf("could not fetch Wasm binary: %v", err)
    		}
    	}
    
    	if !isValidWasmBinary(b) {
    		wasmRemoteFetchCount.With(resultTag.Value(fetchFailure)).Increment()
    		return nil, fmt.Errorf("fetched Wasm binary from %s is invalid", key.downloadURL)
    	}
    
    	wasmRemoteFetchCount.With(resultTag.Value(fetchSuccess)).Increment()
    
    	key.checksum = dChecksum
    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