Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cni/cmd/istio-cni/main.go

    // 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"
    	"istio.io/istio/pkg/log"
    	istioversion "istio.io/istio/pkg/version"
    )
    
    func main() {
    	if err := runPlugin(); err != nil {
    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)
  2. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  4. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  5. 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 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