- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for Askjel (0.28 sec)
-
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 Mar 27 22:53:09 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 2.4K bytes - Viewed (0) -
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 Mar 27 22:53:09 GMT 2024 - Last Modified: Tue Jan 16 02:37:48 GMT 2024 - 1.8K bytes - Viewed (0) -
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 Mar 27 22:53:09 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 10.4K bytes - Viewed (0) -
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 Mar 27 22:53:09 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 4.2K bytes - Viewed (0) -
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 Mar 27 22:53:09 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 17.5K bytes - Viewed (0)