Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for incorrect (0.18 sec)

  1. operator/cmd/mesh/manifest-generate.go

    			componentName := name.ComponentName(cArg)
    			if cManifests, ok := manifests[componentName]; ok {
    				filteredManifests[componentName] = cManifests
    			} else {
    				return fmt.Errorf("incorrect component name: %s. Valid options: %v", cArg, name.AllComponentNames)
    			}
    		}
    		manifests = filteredManifests
    	}
    
    	if mgArgs.OutFilename == "" {
    		ordered, err := orderedManifests(manifests)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/netns_linux.go

    	// to switch the namespace back to the original one, we can safely
    	// leave the thread locked to die without a risk of the current thread
    	// left lingering with incorrect namespace.
    	var innerError error
    	go func() {
    		defer wg.Done()
    		runtime.LockOSThread()
    		innerError = containedCall()
    	}()
    	wg.Wait()
    
    	return innerError
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 31 10:05:36 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  3. istioctl/pkg/cli/context_test.go

    // limitations under the License.
    
    package cli
    
    import "testing"
    
    func Test_handleNamespace(t *testing.T) {
    	ns := handleNamespace("test", "default")
    	if ns != "test" {
    		t.Fatalf("Get the incorrect namespace: %q back", ns)
    	}
    
    	tests := []struct {
    		description      string
    		namespace        string
    		defaultNamespace string
    		wantNamespace    string
    	}{
    		{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jun 09 18:17:49 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  4. istioctl/pkg/tag/generate_test.go

    		}
    		if tag != tc.tagName {
    			t.Errorf("expected tag webhook to have istio.io/tag=%s, found %s instead", tc.tagName, tag)
    		}
    
    		// ensure all webhooks have the correct client config
    		for _, webhook := range wh.Webhooks {
    			injectionWhConf := webhook.ClientConfig
    			if tc.whSVC != "" {
    				if injectionWhConf.Service == nil {
    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)
  5. cni/pkg/ipset/ipset.go

    // superset of type `list:set` - we can then query the superset directly in iptables (with the same rule),
    // and iptables will be smart enough to pick the correct underlying set (v4 or v6, based on context),
    // reducing the # of rules we need.
    //
    // BUT netlink lib doesn't support adding things to `list:set` types yet, and current tagged release
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. cni/pkg/install/install.go

    	if err != nil {
    		return err
    	}
    	defer func() {
    		setNotReady(in.isReady)
    		watcher.Close()
    	}()
    
    	// Before we process whether any file events have been triggered, we must check that the file is correct
    	// at this moment, and if not, yield. This is to catch other CNIs which might have mutated the file between
    	// the (theoretical) window after we initially install/write, but before we actually start the filewatch.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  7. istioctl/pkg/tag/generate.go

    		// to ease complexity when pointing default to revision without per-revision validating webhook,
    		// instead grab the endpoint information from the mutating webhook. This is not strictly correct.
    		validationWhConfig, err := fixWhConfig(client, tagWhConfig)
    		if err != nil {
    			return "", fmt.Errorf("failed to create validating webhook config: %w", err)
    		}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  8. operator/cmd/mesh/manifest-generate_test.go

    	validateReferentialIntegrity(t, objsRev, "istiod-canary", istiodCanary16Selector)
    
    	t.Run("cross revision", func(t *testing.T) {
    		// Istiod revisions have complicated cross revision implications. We should assert these are correct
    		// First we fetch all the objects for our default install
    		cname := "istiod"
    		deployment := mustFindObject(t, objs, cname, name.DeploymentStr)
    		service := mustFindObject(t, objs, cname, name.ServiceStr)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
Back to top