- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 59 for Plugin (0.15 sec)
-
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) -
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) -
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 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 8.4K bytes - Viewed (0) -
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 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 1.4K bytes - Viewed (0) -
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 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 12.3K bytes - Viewed (0) -
cni/pkg/install/install_test.go
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) -
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 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 810 bytes - Viewed (0) -
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 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 1.1K bytes - Viewed (0) -
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 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 5.5K bytes - Viewed (0) -
cni/pkg/repair/repaircontroller.go
func redirectRunningPod(pod *corev1.Pod, netns string) error { pi := plugin.ExtractPodInfo(pod) redirect, err := plugin.NewRedirect(pi) if err != nil { return fmt.Errorf("setup redirect: %v", err) } rulesMgr := plugin.IptablesInterceptRuleMgr() if err := rulesMgr.Program(pod.Name, netns, redirect); err != nil { return fmt.Errorf("program redirection: %v", err)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 10.4K bytes - Viewed (0)