Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for Plugin (0.17 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 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K 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 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin_dryrun_test.go

    			golden:   filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/include-exclude-ports.txt.golden"),
    		},
    		{
    			name: "tproxy",
    			annotations: map[string]string{
    				annotation.SidecarStatus.Name:           "true",
    				annotation.SidecarInterceptionMode.Name: redirectModeTPROXY,
    			},
    			proxyEnv: []corev1.EnvVar{},
    			golden:   filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/tproxy.txt.golden"),
    		},
    		{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  4. cni/pkg/plugin/plugin_cni_conformance.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package plugin
    
    import (
    	"testing"
    
    	"github.com/containernetworking/cni/pkg/types"
    )
    
    // Validate k8sArgs struct works for unmarshalling kubelet args
    // This is important for CNI plugin conformance
    func TestLoadArgs(t *testing.T) {
    	kubeletArgs := "IgnoreUnknown=1;K8S_POD_NAMESPACE=istio-system;" +
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  5. cni/README.md

    ## Other Reference
    
    The framework for this implementation of the CNI plugin is based on the
    [containernetworking sample plugin](https://github.com/containernetworking/plugins/tree/main/plugins/sample)
    
    The details for the deployment & installation of this plugin were pretty much lifted directly from the
    [Calico CNI plugin](https://github.com/projectcalico/cni-plugin).
    
    Specifically:
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.3K 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 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  7. cni/test/install_k8s_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // This tests the k8s installation.  It validates the CNI plugin configuration
    // and the existence of the CNI plugin binary locations.
    package install_test
    
    import (
    	"testing"
    
    	install "istio.io/istio/cni/test"
    	"istio.io/istio/pkg/test/env"
    )
    
    var (
    	Hub = "gcr.io/istio-release"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Jul 27 18:01:48 GMT 2022
    - 8K bytes
    - Viewed (0)
  8. cni/pkg/plugin/sidecar_iptables.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
    
    type iptables struct{}
    
    func newIPTables() InterceptRuleMgr {
    	return &iptables{}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 810 bytes
    - Viewed (0)
  9. cni/pkg/plugin/sidecar_iptables_unspecified.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 "errors"
    
    // ErrNotImplemented is returned when a requested feature is not implemented.
    var ErrNotImplemented = errors.New("not implemented")
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  10. cni/pkg/config/config.go

    	// Name of the CNI config file
    	CNIConfName string
    	// Whether to install CNI plugin as a chained or standalone
    	ChainedCNIPlugin bool
    
    	// CNI config template file
    	CNINetworkConfigFile string
    	// CNI config template string
    	CNINetworkConfig string
    
    	// Logging level
    	LogLevel string
    	// Name of the kubeconfig file used by the CNI plugin
    	KubeconfigFilename string
    	// The file mode to set when creating the kubeconfig file
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
Back to top