- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for actuel (0.15 sec)
-
cni/pkg/nodeagent/net.go
actualIPSetContents, err := hostsideProbeSet.ListEntriesByIP() if err != nil { log.Warnf("unable to list IPSet: %v", err) return err } actual := sets.New[netip.Addr](actualIPSetContents...) stales := actual.DifferenceInPlace(expected) for staleIP := range stales { if err := hostsideProbeSet.ClearEntriesWithIP(staleIP); err != nil { return err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.2K bytes - Viewed (1) -
istioctl/pkg/checkinject/checkinject.go
# Check the injection status of a pod under a deployment in namespace test istioctl x check-inject deployment/details-v1 -n test # Check the injection status of label pairs in a specific namespace before actual injection istioctl x check-inject -n test -l app=helloworld,version=v1 `, Args: func(cmd *cobra.Command, args []string) error { if len(args) == 0 && labelPairs == "" || len(args) > 1 {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 9.3K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
t.Fatalf("expected nsenterFunc to be called") } r := mockIntercept.lastRedirect[len(mockIntercept.lastRedirect)-1] if r.includeInboundPorts != "*" { t.Fatalf("expect includeInboundPorts has value '*' set by istio, actual %v", r.includeInboundPorts) } } func TestCmdAddTwoContainersWithStarInboundPort(t *testing.T) { pod, ns := buildFakePodAndNSForClient() pod.Spec.Containers[0].Name = "mockContainer"
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/iptables/iptables_test.go
} func ipstr(ipv6 bool) string { if ipv6 { return "ipv6" } return "ipv4" } func compareToGolden(t *testing.T, ipv6 bool, name string, actual []string) { t.Helper() gotBytes := []byte(strings.Join(actual, "\n")) goldenFile := filepath.Join("testdata", name+".golden") if ipv6 { goldenFile = filepath.Join("testdata", name+"_ipv6.golden") }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.7K bytes - Viewed (0) -
operator/cmd/mesh/operator_test.go
"istio.io/istio/pkg/test/env" "istio.io/istio/pkg/test/util/assert" ) var ( extendedClient kube.CLIClient kubeClient client.Client ) // TODO: rewrite this with running the actual top level command. func TestOperatorDump(t *testing.T) { goldenFilepath := filepath.Join(env.IstioSrc, "operator/cmd/mesh/testdata/operator/output/operator-dump.yaml") odArgs := &operatorDumpArgs{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Aug 29 14:15:33 GMT 2023 - 6.4K bytes - Viewed (0) -
istioctl/pkg/tag/generate_test.go
testGenerateOption(t, true, func(t *testing.T, actual, expected []admitv1.MutatingWebhook) { assert.Equal(t, actual, expected) }) // Test generate option 'false', should modify webhooks testGenerateOption(t, false, func(t *testing.T, actual, expected []admitv1.MutatingWebhook) { if err := assert.Compare(actual, expected); err == nil { t.Errorf("expected diff between webhooks, got none") }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:49 GMT 2024 - 12.1K bytes - Viewed (0) -
istioctl/pkg/util/constants.go
package util const ( // DefaultProxyAdminPort is the default port for the proxy admin server DefaultProxyAdminPort = 15000 // DefaultMeshConfigMapName is the default name of the ConfigMap with the mesh config // The actual name can be different - use getMeshConfigMapName DefaultMeshConfigMapName = "istio" // ConfigMapKey should match the expected MeshConfig file name ConfigMapKey = "mesh"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.3K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/util.go
func (s *secretItemBuilder) State(state string) SecretItemBuilder { s.state = state return s } // Build takes the set fields from the builder and constructs the actual SecretItem // including generating the SecretMeta from the supplied cert data, if present func (s *secretItemBuilder) Build() (SecretItem, error) { result := SecretItem{ Name: s.name, Data: s.data,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jun 06 15:14:48 GMT 2023 - 6.6K bytes - Viewed (0) -
operator/cmd/mesh/test-util_test.go
func (m *HavePathValueEqualMatcher) FailureMessage(actual any) string { pv := m.expected.(PathValue) node := actual.(map[string]any) return fmt.Sprintf("Expected the following parseObjectSetFromManifest to have path=value %s=%v\n\n%v", pv.path, pv.value, util.ToYAML(node)) } // NegatedFailureMessage implements the Matcher interface. func (m *HavePathValueEqualMatcher) NegatedFailureMessage(actual any) string { pv := m.expected.(PathValue)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 15.3K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list_test.go
"istio-injection": "enabled", }), } client := kube.NewFakeClient(nss...) expected := sets.New[string]("default", "no-ambient") actual, err := getNamespaces(context.TODO(), client, "istio-system") assert.NoError(t, err) for _, ns := range actual { assert.Equal(t, true, expected.Contains(ns.Name)) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 21:29:40 GMT 2024 - 2.9K bytes - Viewed (0)