Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Heller (0.22 sec)

  1. cni/pkg/repair/repaircontroller.go

    	m.With(resultLabel.Value(resultSuccess)).Increment()
    	return nil
    }
    
    // MatchesFilter returns true if the pod matches the repair filter criteria
    func (c *Controller) matchesFilter(pod *corev1.Pod) bool {
    	// Helper function; checks that a container's termination message matches filter
    	matchTerminationMessage := func(state *corev1.ContainerStateTerminated) bool {
    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)
  2. istioctl/pkg/describe/describe_test.go

    			t.Fatalf("Output didn't match for the port protocol: got %s want %s", protocol, tc.expectedProtocol)
    		}
    	}
    }
    
    func verifyExecAndK8sConfigTestCaseTestOutput(t *testing.T, c execAndK8sConfigTestCase) {
    	t.Helper()
    
    	ctx := cli.NewFakeContext(&cli.NewFakeContextOption{
    		Namespace:      c.namespace,
    		IstioNamespace: c.istioNamespace,
    		Results:        c.configDumps,
    	})
    	client, err := ctx.CLIClient()
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  3. cni/test/install_cni.go

    		return value
    	}
    	return fallback
    }
    
    func setEnv(key, value string, t *testing.T) {
    	t.Helper()
    	err := os.Setenv(key, value)
    	if err != nil {
    		t.Fatalf("Couldn't set environment variable, err: %v", err)
    	}
    }
    
    func mktemp(dir, prefix string, t *testing.T) string {
    	t.Helper()
    	tempDir, err := os.MkdirTemp(dir, prefix)
    	if err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  4. cni/pkg/iptables/iptables.go

    	ZtunnelInboundPort          = 15008
    	ZtunnelOutboundPort         = 15001
    	ZtunnelInboundPlaintextPort = 15006
    	ProbeIPSet                  = "istio-inpod-probes"
    )
    
    var log = istiolog.RegisterScope("iptables", "iptables helper")
    
    type Config struct {
    	RestoreFormat     bool `json:"RESTORE_FORMAT"`
    	TraceLogging      bool `json:"IPTABLES_TRACE_LOGGING"`
    	EnableInboundIPv6 bool `json:"ENABLE_INBOUND_IPV6"`
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 01:42:30 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  5. cni/pkg/install/install.go

    				return err
    			}
    		}
    	}
    	return nil
    }
    
    // sleepWatchInstall blocks until any file change for the binaries or config are detected.
    // At that point, the func yields so the caller can recheck the validity of the install.
    // If an error occurs or context is canceled, the function will return an error.
    func (in *Installer) sleepWatchInstall(ctx context.Context, installedBinFiles sets.String) error {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  6. istioctl/pkg/validate/validate_test.go

    	t.Helper()
    	validFile, err := os.CreateTemp("", "TestValidateCommand")
    	if err != nil {
    		t.Fatal(err)
    	}
    	if _, err := validFile.WriteString(data); err != nil {
    		t.Fatal(err)
    	}
    	return validFile.Name(), validFile
    }
    
    func createTestDirectory(t *testing.T, files map[string]string) string {
    	t.Helper()
    	tempDir, err := os.MkdirTemp("", "TestValidateCommand")
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jul 25 08:08:36 GMT 2023
    - 21.5K bytes
    - Viewed (0)
  7. architecture/networking/pilot.md

    ### Writing controllers
    
    Istio provides a few helper libraries to get started writing a controller. While these libraries help, there are still a lot of subtleties in correctly writing (and testing!) a controller properly.
    
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Feb 07 17:53:24 GMT 2024
    - 19.1K bytes
    - Viewed (0)
  8. istioctl/pkg/workload/workload_test.go

    			verifyTestcaseOutput(t, Cmd(cli.NewFakeContext(nil)), c)
    		})
    	}
    }
    
    func verifyTestcaseOutput(t *testing.T, cmd *cobra.Command, c testcase) {
    	t.Helper()
    
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    	cmd.SilenceUsage = true
    	if c.namespace != "" {
    		namespace = c.namespace
    	}
    
    	fErr := cmd.Execute()
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  9. Makefile.core.mk

    endif
    endef
    
    $(foreach bin,$(STANDARD_BINARIES),$(eval $(call build-linux,$(bin),$(STANDARD_TAGS))))
    $(foreach bin,$(LINUX_AGENT_BINARIES),$(eval $(call build-linux,$(bin),$(AGENT_TAGS))))
    
    # Create helper targets for each binary, like "pilot-discovery"
    # As an optimization, these still build everything
    $(foreach bin,$(BINARIES),$(shell basename $(bin))): build
    ifneq ($(TARGET_OUT_LINUX),$(LOCAL_OUT))
    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)
  10. operator/cmd/mesh/test-util_test.go

    func mustSelect(t test.Failer, selector map[string]string, labels map[string]string) {
    	t.Helper()
    	kselector := labels2.Set(selector).AsSelectorPreValidated()
    	if !kselector.Matches(labels2.Set(labels)) {
    		t.Fatalf("%v does not select %v", selector, labels)
    	}
    }
    
    func mustNotSelect(t test.Failer, selector map[string]string, labels map[string]string) {
    	t.Helper()
    	kselector := labels2.Set(selector).AsSelectorPreValidated()
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
Back to top