Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for doDecode (0.32 sec)

  1. pkg/generated/openapi/zz_generated.openapi.go

    	return common.OpenAPIDefinition{
    		Schema: spec.Schema{
    			SchemaProps: spec.SchemaProps{
    				Description: "An API server instance reports the version it can decode and the version it encodes objects to when persisting objects in the backend.",
    				Type:        []string{"object"},
    				Properties: map[string]spec.Schema{
    					"apiServerID": {
    						SchemaProps: spec.SchemaProps{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
  2. api/openapi-spec/swagger.json

          "properties": {
            "apiServerID": {
              "description": "The ID of the reporting API server.",
              "type": "string"
            },
            "decodableVersions": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3.1M bytes
    - Viewed (0)
  3. api/openapi-spec/v3/api__v1_openapi.json

    `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\":\"MyAPIObject\",\n\t\t\"apiVersion\":\"v1\",\n\t\t\"myPlugin\": {\n\t\t\t\"kind\":\"PluginA\",\n\t\t\t\"aOption\":\"foo\",\n\t\t},\n\t}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 1.8M bytes
    - Viewed (0)
Back to top