Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Plugin (1.34 sec)

  1. cni/pkg/plugin/plugin.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 (
    	"context"
    	"encoding/json"
    	"fmt"
    	"runtime/debug"
    	"strconv"
    	"time"
    
    	"github.com/containernetworking/cni/pkg/skel"
    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)
  2. cni/pkg/plugin/plugin_test.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package plugin
    
    import (
    	"fmt"
    	"net/http"
    	"net/http/httptest"
    	"reflect"
    	"testing"
    
    	"github.com/containernetworking/cni/pkg/skel"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    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)
  3. cni/pkg/install/cniconfig.go

    		}
    
    		for i, rawPlugin := range plugins {
    			plugin, err := util.GetPlugin(rawPlugin)
    			if err != nil {
    				return nil, fmt.Errorf("existing CNI plugin: %v", err)
    			}
    			if plugin["type"] == "istio-cni" {
    				plugins = append(plugins[:i], plugins[i+1:]...)
    				break
    			}
    		}
    
    		newMap["plugins"] = append(plugins, istioMap)
    	}
    
    	return util.MarshalCNIConfig(newMap)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  4. cni/pkg/cmd/root.go

    	rootCmd.AddCommand(collateral.CobraCommand(rootCmd, collateral.Metadata{
    		Title:   "Istio CNI Plugin Installer",
    		Section: "install-cni CLI",
    		Manual:  "Istio CNI Plugin Installer",
    	}))
    
    	registerStringParameter(constants.CNINetDir, "/etc/cni/net.d", "Directory on the host where CNI network plugins are installed")
    	registerStringParameter(constants.CNIConfName, "", "Name of the CNI configuration file")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  5. cni/test/install_cni.go

    		t.Fatal(err)
    	}
    
    	// Find Istio CNI and remove from plugin list
    	plugins, err := util.GetPlugins(cniConfigMap)
    	if err != nil {
    		t.Fatal(err)
    	}
    	for i, rawPlugin := range plugins {
    		plugin, err := util.GetPlugin(rawPlugin)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if plugin["type"] == "istio-cni" {
    			cniConfigMap["plugins"] = append(plugins[:i], plugins[i+1:]...)
    			break
    		}
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  6. istioctl/pkg/multicluster/remote_secret.go

      istioctl --kubeconfig=c0.yaml create-remote-secret --name c0 \
        | kubectl --kubeconfig=c1.yaml delete -f -
    
      # Create a secret access a remote cluster with an auth plugin
      istioctl --kubeconfig=c0.yaml create-remote-secret --name c0 --auth-type=plugin --auth-plugin-name=gcp \
        | kubectl --kubeconfig=c1.yaml apply -f -`,
    		Args: cobra.NoArgs,
    		RunE: func(c *cobra.Command, args []string) error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  7. cni/pkg/install/cniconfig_test.go

    			existingConfFiles: []string{"bridge.conf", "list.conflist"},
    		},
    		{
    			name:             "standalone CNI plugin unspecified CNI config file",
    			expectedConfName: "YYY-istio-cni.conf",
    		},
    		{
    			name:              "standalone CNI plugin specified CNI config file",
    			specifiedConfName: "specific-name.conf",
    			expectedConfName:  "specific-name.conf",
    		},
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 17 02:22:22 GMT 2023
    - 15.4K bytes
    - Viewed (0)
  8. cmd/config-current.go

    	idplugin "github.com/minio/minio/internal/config/identity/plugin"
    	xtls "github.com/minio/minio/internal/config/identity/tls"
    	"github.com/minio/minio/internal/config/ilm"
    	"github.com/minio/minio/internal/config/lambda"
    	"github.com/minio/minio/internal/config/notify"
    	"github.com/minio/minio/internal/config/policy/opa"
    	polplugin "github.com/minio/minio/internal/config/policy/plugin"
    	"github.com/minio/minio/internal/config/scanner"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  9. cmd/globals.go

    	"github.com/minio/minio/internal/config/dns"
    	"github.com/minio/minio/internal/config/drive"
    	idplugin "github.com/minio/minio/internal/config/identity/plugin"
    	polplugin "github.com/minio/minio/internal/config/policy/plugin"
    	"github.com/minio/minio/internal/config/storageclass"
    	"github.com/minio/minio/internal/config/subnet"
    	xhttp "github.com/minio/minio/internal/http"
    	etcd "go.etcd.io/etcd/client/v3"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  10. cni/pkg/plugin/sidecar_redirect.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // Defines the redirect object and operations.
    package plugin
    
    import (
    	"fmt"
    	"net/netip"
    	"strconv"
    	"strings"
    
    	"istio.io/api/annotation"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/tools/istio-iptables/pkg/cmd"
    )
    
    const (
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
Back to top