Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 71 for plugins (0.3 sec)

  1. cni/pkg/repair/netns.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package repair
    
    import (
    	"fmt"
    	"math"
    	"net"
    	"strconv"
    
    	netns "github.com/containernetworking/plugins/pkg/ns"
    	"github.com/prometheus/procfs"
    	"github.com/vishvananda/netlink"
    	"golang.org/x/sys/unix"
    	corev1 "k8s.io/api/core/v1"
    
    	"istio.io/istio/pkg/log"
    )
    
    func getPidNamespace(pid int) string {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K 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"
    	"istio.io/istio/tools/istio-iptables/pkg/config"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 17:36:41 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/netns_linux.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package nodeagent
    
    import (
    	"fmt"
    	"runtime"
    	"sync"
    
    	netns "github.com/containernetworking/plugins/pkg/ns"
    	"golang.org/x/sys/unix"
    )
    
    type NetnsWrapper struct {
    	innerNetns netns.NetNS
    	inode      uint64
    }
    
    func (n *NetnsWrapper) Inode() uint64 {
    	return n.inode
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 31 10:05:36 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  4. operator/cmd/mesh/operator-common.go

    // limitations under the License.
    
    package mesh
    
    import (
    	"context"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/client-go/kubernetes"
    	_ "k8s.io/client-go/plugin/pkg/client/auth" //  Import all Kubernetes client auth plugins (e.g. Azure, GCP, OIDC, etc.)
    
    	"istio.io/istio/operator/pkg/helm"
    	"istio.io/istio/operator/pkg/name"
    	"istio.io/istio/operator/pkg/util"
    )
    
    type operatorCommonArgs struct {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Dec 17 02:25:04 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  5. cni/pkg/install/install.go

    			}
    			// Find Istio CNI and remove from plugin list
    			plugins, err := util.GetPlugins(cniConfigMap)
    			if err != nil {
    				return fmt.Errorf("%s: %w", in.cniConfigFilepath, err)
    			}
    			for i, rawPlugin := range plugins {
    				plugin, err := util.GetPlugin(rawPlugin)
    				if err != nil {
    					return fmt.Errorf("%s: %w", in.cniConfigFilepath, err)
    				}
    				if plugin["type"] == "istio-cni" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  6. cni/pkg/install/install_test.go

    		saNewFilename         string
    	}{
    		{
    			name:                  "chained CNI plugin",
    			chainedCNIPlugin:      true,
    			cniConfigFilename:     "plugins.conflist",
    			invalidConfigFilename: "list.conflist",
    			validConfigFilename:   "list.conflist.golden",
    			saFilename:            "token-foo",
    		},
    		{
    			name:                "standalone CNI plugin",
    			cniConfigFilename:   "istio-cni.conf",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/net.go

    // - this is because during add specifically, if CNI plugins have not finished executing,
    // K8S may get a pod Add event without any IPs in the object, and the pod will later be updated with IPs.
    //
    // We always need the IPs, but this is fine because this AddPodToMesh can be called from the CNI plugin as well,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  8. cni/pkg/install/testdata/list.conflist

    {
      "cniVersion": "0.4.0",
      "name": "dbnet",
      "plugins": [
        {
          "type": "bridge",
          "bridge": "cni0",
          "args": {
            "labels" : {
                "appVersion" : "1.0"
            }
          },
          "ipam": {
            "type": "host-local",
            "subnet": "10.1.0.0/16",
            "gateway": "10.1.0.1"
          },
          "dns": {
            "nameservers": [ "10.1.0.1" ]
          }
        },
        {
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jul 01 20:47:54 GMT 2021
    - 494 bytes
    - Viewed (0)
  9. cni/pkg/install/testdata/list-with-istio.conflist

    {
      "cniVersion": "0.4.0",
      "name": "dbnet",
      "plugins": [
        {
          "args": {
            "labels": {
              "appVersion": "1.0"
            }
          },
          "bridge": "cni0",
          "dns": {
            "nameservers": [
              "10.1.0.1"
            ]
          },
          "ipam": {
            "gateway": "10.1.0.1",
            "subnet": "10.1.0.0/16",
            "type": "host-local"
          },
          "type": "bridge"
        },
        {
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jul 01 20:47:54 GMT 2021
    - 717 bytes
    - Viewed (0)
  10. cni/pkg/plugin/plugin_dryrun_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package plugin
    
    import (
    	"fmt"
    	"log"
    	"os"
    	"path/filepath"
    	"reflect"
    	"strings"
    	"testing"
    
    	"github.com/containernetworking/plugins/pkg/ns"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
Back to top