Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Askjel (0.17 sec)

  1. cni/pkg/plugin/plugin_test.go

    	}))
    
    	return testServer.URL, func() bool {
    		testServer.Close()
    		return cniAddServerCalled
    	}
    }
    
    func buildCmdArgs(stdinData, podName, podNamespace string) *skel.CmdArgs {
    	return &skel.CmdArgs{
    		ContainerID: "testContainerID",
    		Netns:       testSandboxDirectory,
    		IfName:      "eth0",
    		Args:        fmt.Sprintf("K8S_POD_NAMESPACE=%s;K8S_POD_NAME=%s", podNamespace, podName),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  2. cni/cmd/istio-cni/main.go

    		// to https://github.com/uber-go/zap/issues/328
    		_ = log.Sync()
    	}()
    
    	// TODO: implement plugin version
    	funcs := skel.CNIFuncs{
    		Add:   plugin.CmdAdd,
    		Del:   plugin.CmdDelete,
    		Check: plugin.CmdCheck,
    	}
    	err := skel.PluginMainFuncsWithError(funcs, version.All, fmt.Sprintf("CNI plugin istio-cni %v", istioversion.Info.Version))
    	if err != nil {
    		log.Errorf("istio-cni failed with: %v", err)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 13:56:46 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin.go

    	}
    
    	// Pass through the result for the next plugin
    	return types.PrintResult(conf.PrevResult, conf.CNIVersion)
    }
    
    func CmdCheck(args *skel.CmdArgs) (err error) {
    	return nil
    }
    
    func CmdDelete(args *skel.CmdArgs) (err error) {
    	return nil
    }
    
    func isAmbientPod(client kubernetes.Interface, podName, podNamespace string) (bool, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  4. cni/pkg/plugin/cnieventclient.go

    // limitations under the License.
    
    package plugin
    
    import (
    	"bytes"
    	"context"
    	"encoding/json"
    	"fmt"
    	"net"
    	"net/http"
    	"time"
    
    	"github.com/containernetworking/cni/pkg/skel"
    	cniv1 "github.com/containernetworking/cni/pkg/types/100"
    
    	"istio.io/istio/cni/pkg/nodeagent"
    )
    
    // newCNIClient is a unit test override variable for mocking.
    var newCNIClient = buildClient
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  5. cni/pkg/plugin/cnieventclient_test.go

    // limitations under the License.
    
    package plugin
    
    import (
    	"encoding/json"
    	"fmt"
    	"io"
    	"net"
    	"net/http"
    	"net/http/httptest"
    	"strings"
    	"testing"
    
    	"github.com/containernetworking/cni/pkg/skel"
    	cniv1 "github.com/containernetworking/cni/pkg/types/100"
    
    	"istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/cni/pkg/nodeagent"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top