- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for Program (0.18 sec)
-
cni/pkg/plugin/sidecar_iptables_unspecified.go
import "errors" // ErrNotImplemented is returned when a requested feature is not implemented. var ErrNotImplemented = errors.New("not implemented") // Program defines a method which programs iptables based on the parameters // provided in Redirect. func (ipt *iptables) Program(podName, netns string, rdrct *Redirect) error { return ErrNotImplemented
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 1.1K 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 {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 10.4K bytes - Viewed (0) -
cni/README.md
- CNI installer will try to look for the config file under the mounted CNI net dir based on file name extensions (`.conf`, `.conflist`) - the file name can be explicitly set by `CNI_CONF_NAME` env var - the program inserts `CNI_NETWORK_CONFIG` into the `plugins` list in `/etc/cni/net.d/${CNI_CONF_NAME}` - the actual code is in pkg/install - including a readiness probe, monitoring.
Plain Text - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Wed Feb 28 17:29:38 GMT 2024 - 12.1K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
}, ObjectMeta: metav1.ObjectMeta{ Name: testNSName, Namespace: "", Labels: map[string]string{}, }, } return fakePod, fakeNS } func (mrdir *mockInterceptRuleMgr) Program(podName, netns string, redirect *Redirect) error { mrdir.lastRedirect = append(mrdir.lastRedirect, redirect) return nil } // returns the test server URL and a dispose func for the test server
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 17.5K bytes - Viewed (0) -
cni/pkg/plugin/plugin.go
} log.Debugf("Setting up redirect") redirect, err := NewRedirect(pi) if err != nil { log.Errorf("redirect failed due to bad params: %v", err) return err } if err := rulesMgr.Program(podName, args.Netns, redirect); err != nil { return err } return nil } func setupLogging(conf *Config) { if conf.LogUDSAddress != "" {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 10.4K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_iptables_linux.go
"istio.io/istio/tools/istio-iptables/pkg/dependencies" ) // getNs is a unit test override variable for interface create. var getNs = ns.GetNS // Program defines a method which programs iptables based on the parameters // provided in Redirect. func (ipt *iptables) Program(podName, netns string, rdrct *Redirect) error { cfg := config.DefaultConfig() cfg.CNIMode = true cfg.NetworkNamespace = netns cfg.ProxyPort = rdrct.targetPort
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 17:36:41 GMT 2024 - 2.5K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_intercept_rule_mgr.go
// limitations under the License. package plugin // InterceptRuleMgr configures networking tables (e.g. iptables or nftables) for // redirecting traffic to an Istio proxy. type InterceptRuleMgr interface { Program(podName, netns string, redirect *Redirect) error } // Constructor for iptables InterceptRuleMgr func IptablesInterceptRuleMgr() InterceptRuleMgr { return newIPTables()
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 940 bytes - Viewed (0) -
Makefile.core.mk
warning+=Googlers: go/installdocker\#the-version-of-docker-thats-installed-is-old-eg-1126 endif # The old docker issue manifests as not being able to run *any* binary. So we can test # by trying to run a trivial program and ensuring it actually ran. If not, emit our warning. # Note: we cannot do anything like $(shell docker version) to check, since that would also fail. CAN_RUN := $(shell echo "can I run echo") ifeq ($(CAN_RUN),)
Plain Text - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Apr 19 19:41:41 GMT 2024 - 22.5K bytes - Viewed (0) -
common/config/.golangci.yml
# - name: bare-return # - name: flag-parameter # - name: unhandled-error # - name: if-return unparam: # Inspect exported functions, default is false. Set to true if no external program/library imports your code. # XXX: if you enable this setting, unparam will report a lot of false-positives in text editors:
Others - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Mon Apr 22 19:22:39 GMT 2024 - 11K bytes - Viewed (0) -
README.md
information on the Istio community, including the various documents that govern the Istio open source project. - [istio/istio](README.md). This is the main code repository. It hosts Istio's core components, install artifacts, and sample programs. It includes: - [istioctl](istioctl/). This directory contains code for the [_istioctl_](https://istio.io/latest/docs/reference/commands/istioctl/) command line utility.
Plain Text - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 15:28:59 GMT 2024 - 6.6K bytes - Viewed (0)