Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 231 for JSONPath (0.16 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/helpers.go

    	}
    	strSlice := make([]string, 0, len(m))
    	for _, v := range m {
    		if str, ok := v.(string); ok {
    			strSlice = append(strSlice, str)
    		} else {
    			return nil, false, fmt.Errorf("%v accessor error: contains non-string key in the slice: %v is of the type %T, expected string", jsonPath(fields), v, v)
    		}
    	}
    	return strSlice, true, nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 20:39:55 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/admin/GeneralTests.java

            String response = checkGetMethod(searchBody, "").asString();
            final Map<String, Object> res = JsonPath.from(response).getMap("response.setting");
            assertTrue(!res.isEmpty());
            assertEquals(new Integer(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
        protected void tearDown() {
            // do nothing
        }
    
        @Test
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/admin/AccessTokenTests.java

            // Test: access admin api using a new token
            String id = JsonPath.from(response).get("response.id");
            response = checkGetMethod(requestBody, ITEM_ENDPOINT_SUFFIX + "/" + id).asString();
            String token = JsonPath.from(response).get("response.setting.token");
            checkGetMethod(requestBody, ITEM_ENDPOINT_SUFFIX + "/" + id).then()
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. operator/cmd/mesh/testdata/operator/output/operator-init.yaml

        - iop
        - io
      scope: Namespaced
      versions:
      - additionalPrinterColumns:
        - description: Istio control plane revision
          jsonPath: .spec.revision
          name: Revision
          type: string
        - description: IOP current state
          jsonPath: .status.status
          name: Status
          type: string
        - description: 'CreationTimestamp is a timestamp representing the server time
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. internal/s3select/sql/utils.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package sql
    
    import (
    	"fmt"
    	"strings"
    )
    
    // String functions
    
    // String - returns the JSONPath representation
    func (e *JSONPath) String() string {
    	if len(e.pathString) == 0 {
    		parts := make([]string, len(e.PathExpr)+1)
    		parts[0] = e.BaseKey.String()
    		for i, pe := range e.PathExpr {
    			parts[i+1] = pe.String()
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Nov 10 16:12:50 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/strategy.go

    	result := make([]selectableField, len(selectableFields))
    	for i, sf := range selectableFields {
    		name := strings.TrimPrefix(sf.JSONPath, ".")
    
    		parser := jsonpath.New("selectableField")
    		parser.AllowMissingKeys(true)
    		err := parser.Parse("{" + sf.JSONPath + "}")
    		if err == nil {
    			result[i] = selectableField{
    				name:      name,
    				fieldPath: parser,
    			}
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 21:22:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  7. common/scripts/metallb-native.yaml

      scope: Namespaced
      versions:
      - additionalPrinterColumns:
        - jsonPath: .spec.passiveMode
          name: Passive Mode
          type: boolean
        - jsonPath: .spec.transmitInterval
          name: Transmit Interval
          type: integer
        - jsonPath: .spec.receiveInterval
          name: Receive Interval
          type: integer
        - jsonPath: .spec.detectMultiplier
          name: Multiplier
          type: integer
        name: v1beta1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 23:56:31 UTC 2024
    - 63.9K bytes
    - Viewed (0)
  8. pkg/test/util/structpath/instance.go

    		return nil, fmt.Errorf("no value for path: %v", path)
    	}
    	return values[0][0].Interface(), nil
    }
    
    // Fixes up some quirks in jsonpath handling.
    // See https://github.com/kubernetes/client-go/issues/553
    func (i *Instance) fixPath(path string) string {
    	// jsonpath doesn't handle numeric comparisons in a tolerant way. All json numbers are floats
    	// and filter expressions on the form {.x[?(@.some.value==123]} won't work but
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/admin/LogTests.java

    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.fess.it.CrudTestBase;
    import org.junit.jupiter.api.Tag;
    import org.junit.jupiter.api.Test;
    
    import io.restassured.path.json.JsonPath;
    
    @Tag("it")
    public class LogTests extends CrudTestBase {
    
        private static final String NAME_PREFIX = "logTest_";
        private static final String API_PATH = "/api/admin/log";
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. operator/cmd/mesh/testdata/operator/output/operator-dump.yaml

        - iop
        - io
      scope: Namespaced
      versions:
      - additionalPrinterColumns:
        - description: Istio control plane revision
          jsonPath: .spec.revision
          name: Revision
          type: string
        - description: IOP current state
          jsonPath: .status.status
          name: Status
          type: string
        - description: 'CreationTimestamp is a timestamp representing the server time
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top