Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 134 for cjson (0.13 sec)

  1. cni/pkg/nodeagent/cni-watcher_test.go

    		PodNamespace: "funkyns",
    	}
    
    	payload, _ := json.Marshal(valid)
    
    	addEvent, err := processAddEvent(payload)
    
    	assert.NoError(t, err)
    	assert.Equal(t, valid, addEvent)
    }
    
    func TestProcessAddEventBadPayload(t *testing.T) {
    	valid := CNIPluginAddEvent{
    		Netns:        "/var/netns/foo",
    		PodName:      "pod-bingo",
    		PodNamespace: "funkyns",
    	}
    
    	payload, _ := json.Marshal(valid)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    	// IAM identity file which captures identity credentials.
    	iamIdentityFile = "identity.json"
    
    	// IAM policy file which provides policies for each users.
    	iamPolicyFile = "policy.json"
    
    	// IAM group members file
    	iamGroupMembersFile = "members.json"
    
    	// IAM format file
    	iamFormatFile = "format.json"
    
    	iamFormatVersion1 = 1
    
    	minServiceAccountExpiry time.Duration = 15 * time.Minute
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  3. cmd/storage-interface.go

    	// Storage operations.
    
    	// Returns true if disk is online and its valid i.e valid format.json.
    	// This has nothing to do with if the drive is hung or not responding.
    	// For that individual storage API calls will fail properly. The purpose
    	// of this function is to know if the "drive" has "format.json" or not
    	// if it has a "format.json" then is it correct "format.json" or not.
    	IsOnline() bool
    
    	// Returns the last time this disk (re)-connected
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/openapi-callbacks.md

    ```
    
    with a JSON body of:
    
    ```JSON
    {
        "id": "2expen51ve",
        "customer": "Mr. Richie Rich",
        "total": "9999"
    }
    ```
    
    then *your API* will process the invoice, and at some point later, send a callback request to the `callback_url` (the *external API*):
    
    ```
    https://www.external.org/events/invoices/2expen51ve
    ```
    
    with a JSON body containing something like:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. docs/bucket/replication/setup_3site_replication.sh

    sleep 1
    
    echo "Verifying the metadata difference between source and target"
    if diff -pruN <(./mc stat --json sitea/bucket/hosts | jq .) <(./mc stat --json siteb/bucket/hosts | jq .) | grep -q 'COMPLETED\|REPLICA'; then
    	echo "verified sitea-> COMPLETED, siteb-> REPLICA"
    fi
    
    if diff -pruN <(./mc stat --json sitea/bucket/hosts | jq .) <(./mc stat --json sitec/bucket/hosts | jq .) | grep -q 'COMPLETED\|REPLICA'; then
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  6. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

      istioctl x ztunnel-config workload <ztunnel-name[.namespace]> --address 0.0.0.0 -o json
    
      # Retrieve Ztunnel config dump separately and inspect from file.
      kubectl exec -it $ZTUNNEL -n istio-system -- curl localhost:15000/config_dump > ztunnel-config.json
      istioctl x ztunnel-config workloads --file ztunnel-config.json
    
      # Retrieve workload summary for a specific namespace
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  7. docs/en/docs/features.md

    * Automatic data model documentation with <a href="https://json-schema.org/" class="external-link" target="_blank"><strong>JSON Schema</strong></a> (as OpenAPI itself is based on JSON Schema).
    * Designed around these standards, after a meticulous study. Instead of an afterthought layer on top.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  8. docs/zh/docs/how-to/general.md

    ## 文档弃用**路径操作** - OpenAPI
    
    在文档界面中显示弃用的**路径操作**,请阅读 [教程 - 路径操作配置 - 弃用](../tutorial/path-operation-configuration.md#deprecate-a-path-operation){.internal-link target=_blank} 文档。
    
    ## 将任何数据转换为 JSON 兼容格式
    
    要将任何数据转换为 JSON 兼容格式,请阅读 [教程 - JSON 兼容编码器](../tutorial/encoder.md){.internal-link target=_blank} 文档。
    
    ## OpenAPI 元数据 - 文档
    
    要添加 OpenAPI 的元数据,包括许可证、版本、联系方式等,请阅读 [教程 - 元数据和文档 URL](../tutorial/metadata.md){.internal-link target=_blank} 文档。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 22 23:41:09 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. internal/event/name.go

    		return err
    	}
    
    	*name = eventName
    	return nil
    }
    
    // MarshalJSON - encodes to JSON data.
    func (name Name) MarshalJSON() ([]byte, error) {
    	return json.Marshal(name.String())
    }
    
    // UnmarshalJSON - decodes JSON data.
    func (name *Name) UnmarshalJSON(data []byte) error {
    	var s string
    	if err := json.Unmarshal(data, &s); err != nil {
    		return err
    	}
    
    	eventName, err := ParseName(s)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                            }
                        """
                    )
                    withFile(
                        "resources/upgraded-properties.json",
                        """
                            [{
                                "containingType": "com.example.Task",
                                "methodName": "getSourceCompatibility",
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 20.2K bytes
    - Viewed (0)
Back to top