Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for fetch_failure (0.17 sec)

  1. pkg/wasm/monitoring.go

    	// For Wasm conversion metric.
    	conversionSuccess   = "success"
    	noRemoteLoad        = "no_remote_load"
    	marshalFailure      = "marshal_failure"
    	unmarshalFailure    = "unmarshal_failure"
    	fetchFailure        = "fetch_failure"
    	missRemoteFetchHint = "miss_remote_fetch_hint"
    )
    
    var (
    	hitTag    = monitoring.CreateLabel("hit")
    	resultTag = monitoring.CreateLabel("result")
    
    	wasmCacheEntries = monitoring.NewGauge(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. 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)
  3. 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