Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for embody (0.18 sec)

  1. manifests/manifest.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package manifests
    
    import (
    	"embed"
    	"io/fs"
    	"os"
    )
    
    // FS embeds the manifests
    //
    //go:embed all:charts/* profiles/*
    var FS embed.FS
    
    // BuiltinOrDir returns a FS for the provided directory. If no directory is passed, the compiled in
    // FS will be used
    func BuiltinOrDir(dir string) fs.FS {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Mar 15 02:30:16 GMT 2023
    - 935 bytes
    - Viewed (0)
  2. common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto

    //
    // +protobuf=true
    // +protobuf.embed=string
    // +protobuf.options.marshal=false
    // +protobuf.options.(gogoproto.goproto_stringer)=false
    // +k8s:deepcopy-gen=true
    // +k8s:openapi-gen=true
    message Quantity {
      optional string string = 1;
    }
    
    // QuantityValue makes it possible to use a Quantity as value for a command
    // line parameter.
    //
    // +protobuf=true
    // +protobuf.embed=string
    // +protobuf.options.marshal=false
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/core/v1/generated.proto

    //     and the version of the actual struct is irrelevant.
    //  5. We cannot easily change it.  Because this type is embedded in many locations, updates to this type
    //     will affect numerous schemas.  Don't make new APIs embed an underspecified API type they do not control.
    //
    // Instead of using this type, create a locally provided and used type that is well-focused on your reference.
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/fakes_test.go

    // limitations under the License.
    
    package nodeagent
    
    import (
    	"context"
    	"embed"
    	"io/fs"
    	"sync/atomic"
    	"syscall"
    
    	corev1 "k8s.io/api/core/v1"
    
    	"istio.io/istio/cni/pkg/iptables"
    )
    
    //go:embed testdata/cgroupns
    var fakeProc embed.FS
    
    type fakeZtunnel struct {
    	deletedPods atomic.Int32
    	addedPods   atomic.Int32
    	addError    error
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/cni-watcher.go

    		}
    	})
    	return nil
    }
    
    func (s *CniPluginServer) handleAddEvent(w http.ResponseWriter, req *http.Request) {
    	if req.Body == nil {
    		log.Error("empty request body")
    		http.Error(w, "empty request body", http.StatusBadRequest)
    		return
    	}
    	defer req.Body.Close()
    	data, err := io.ReadAll(req.Body)
    	if err != nil {
    		log.Errorf("Failed to read event report from cni plugin: %v", err)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  6. cni/pkg/plugin/cnieventclient_test.go

    	testServer := httptest.NewServer(http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) {
    		defer req.Body.Close()
    		data, err := io.ReadAll(req.Body)
    		assert.NoError(t, err)
    
    		var msg nodeagent.CNIPluginAddEvent
    		err = json.Unmarshal(data, &msg)
    		assert.NoError(t, err)
    		assert.Equal(t, msg.PodName, testPod)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/bug_report.yml

    name: Bug report
    description: Report a bug to help us improve Istio
    body:
      - type: markdown
        attributes:
          value: |
            Thanks for taking the time to fill out this bug report!
      - type: checkboxes
        id: security-check
        attributes:
          label: Is this the right place to submit this?
          description: |-
            This is used to report product bugs:
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Jan 10 15:17:29 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  8. cni/pkg/plugin/cnieventclient.go

    	if err != nil {
    		return err
    	}
    	var response *http.Response
    	response, err = cniClient.client.Post(cniClient.url, "application/json", bytes.NewBuffer(eventData))
    	if err != nil {
    		return err
    	}
    	defer response.Body.Close()
    
    	if response.StatusCode != http.StatusOK {
    		return fmt.Errorf("unable to push CNI event, error was %d", response.StatusCode)
    	}
    
    	return nil
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/configdump/testdata/routes/istio-gateway-http-route-prefix/configdump.json

              }
             }
            ],
            "include_request_attempt_count": true
           }
          ],
          "validate_clusters": false,
          "max_direct_response_body_size_bytes": 1048576,
          "ignore_port_in_host_matching": true
         },
         "last_updated": "2023-11-29T10:46:50.869Z"
        }
       ]
      }
     ]
    Json
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  10. istioctl/pkg/internaldebug/internal-debug_test.go

    			NegotiatedSerializer: resource.UnstructuredPlusDefaultContentConfig().NegotiatedSerializer,
    			Resp: &http.Response{
    				StatusCode: http.StatusOK,
    				Header:     cmdtesting.DefaultHeader(),
    				Body: cmdtesting.ObjBody(codec,
    					cmdtesting.NewInternalType("", "", "foo")),
    			},
    		}
    		return tf
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 4.5K bytes
    - Viewed (0)
Back to top