Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for prevResult (0.2 sec)

  1. cni/pkg/plugin/plugin.go

    		if err != nil {
    			return nil, fmt.Errorf("could not serialize prevResult: %v", err)
    		}
    		res, err := version.NewResult(conf.CNIVersion, resultBytes)
    		if err != nil {
    			return nil, fmt.Errorf("could not parse prevResult: %v", err)
    		}
    		conf.RawPrevResult = nil
    		conf.PrevResult, err = cniv1.NewResultFromResult(res)
    		if err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. cni/pkg/plugin/sidecar_iptables_linux.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // This is a sample chained plugin that supports multiple CNI versions. It
    // parses prevResult according to the cniVersion
    package plugin
    
    import (
    	"fmt"
    
    	"github.com/containernetworking/plugins/pkg/ns"
    
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/tools/istio-iptables/pkg/cmd"
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 17:36:41 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. cni/pkg/plugin/sidecar_iptables.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // This is a sample chained plugin that supports multiple CNI versions. It
    // parses prevResult according to the cniVersion
    package plugin
    
    type iptables struct{}
    
    func newIPTables() InterceptRuleMgr {
    	return &iptables{}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 810 bytes
    - Viewed (0)
  4. cni/pkg/plugin/sidecar_iptables_unspecified.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // This is a sample chained plugin that supports multiple CNI versions. It
    // parses prevResult according to the cniVersion
    package plugin
    
    import "errors"
    
    // ErrNotImplemented is returned when a requested feature is not implemented.
    var ErrNotImplemented = errors.New("not implemented")
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  5. cni/cmd/istio-cni/main.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // This is a sample chained plugin that supports multiple CNI versions. It
    // parses prevResult according to the cniVersion
    package main
    
    import (
    	"fmt"
    	"os"
    
    	"github.com/containernetworking/cni/pkg/skel"
    	"github.com/containernetworking/cni/pkg/version"
    
    	"istio.io/istio/cni/pkg/plugin"
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 02:37:48 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  6. cni/README.md

        - If excluded, ignore the pod and return prevResult
    1. Setup redirect rules for the pods:
        - Get the port list from pods definition, as well as annotations.
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Feb 28 17:29:38 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    		enableSha256:     enableSha256,
    	})
    	var prevResult madmin.SpeedTestResult
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-keepAliveTicker.C:
    			// if previous result is set keep writing the
    			// previous result back to the client
    			if prevResult.Version != "" {
    				if err := enc.Encode(prevResult); err != nil {
    					return
    				}
    			} else {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  8. cni/pkg/plugin/plugin_test.go

            "type": "testIPAM"
        },
        "dns": {
            "nameservers": ["testNameServer"],
            "domain": "testDomain",
            "search": ["testSearch"],
            "options": ["testOption"]
        },
        "prevResult": {
            "cniversion": "%s",
            "interfaces": [
                {
                    "name": "%s",
                    "sandbox": "%s"
                }
            ],
            "ips": [
                {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top