Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. operator/cmd/mesh/operator-init.go

    	vals, mstr, err := renderOperatorManifest(args, &oiArgs.common)
    	if err != nil {
    		l.LogAndFatal(err)
    	}
    
    	installerScope.Debugf("Installing operator charts with the following values:\n%s", vals)
    	installerScope.Debugf("Using the following manifest to install operator:\n%s\n", mstr)
    
    	opts := &applyOptions{
    		DryRun: args.DryRun,
    	}
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  2. istioctl/pkg/precheck/precheck.go

    	if err != nil {
    		return nil, err
    	}
    	msgs := diag.Messages{}
    
    	m, err := checkServerVersion(cli)
    	if err != nil {
    		return nil, err
    	}
    	msgs = append(msgs, m...)
    
    	msgs = append(msgs, checkInstallPermissions(cli, ctx.IstioNamespace())...)
    	gwMsg, err := checkGatewayAPIs(cli)
    	if err != nil {
    		return nil, err
    	}
    	msgs = append(msgs, gwMsg...)
    
    	// TODO: add more checks
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest-generate_test.go

    		g.Expect(objs.kind(name.RoleStr).nameMatches(".*gateway.*").size()).Should(Equal(3))
    		g.Expect(objs.kind(name.RoleBindingStr).nameMatches(".*gateway.*").size()).Should(Equal(3))
    		g.Expect(objs.kind(name.SAStr).nameMatches(".*gateway.*").size()).Should(Equal(3))
    
    		dobj := mustGetDeployment(g, objs, "istio-ingressgateway")
    		d := dobj.Unstructured()
    		c := dobj.Container("istio-proxy")
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Feb 22 08:32:23 GMT 2024
    - 42K bytes
    - Viewed (0)
  4. operator/cmd/mesh/manifest_shared_test.go

    		// placeholders, since the fake API server does not actually pull images and create pods.
    		hub: "fake hub",
    		tag: "fake tag",
    	}
    
    	_, mstr, err := renderOperatorManifest(nil, ocArgs)
    	if err != nil {
    		return err
    	}
    	if err := applyWithReconciler(reconciler, mstr); err != nil {
    		return err
    	}
    
    	return nil
    }
    
    // applyWithReconciler applies the given manifest string using the given reconciler.
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  5. cni/pkg/nodeagent/ztunnelserver_test.go

    	if err != nil {
    		panic(err)
    	}
    
    	receivedoob := oob[:oobn]
    	msgs, err := unix.ParseSocketControlMessage(receivedoob)
    	if err != nil {
    		panic(err)
    	}
    
    	// we should get 0 or 1 oob messages
    	if len(msgs) != 0 {
    		assert.Equal(t, len(msgs), 1)
    	}
    
    	var fdss []int
    	for _, msg := range msgs {
    		fds, err := unix.ParseUnixRights(&msg)
    		if err != nil {
    			panic(err)
    		}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  6. istioctl/pkg/util/formatting/formatter_test.go

    }
    
    func TestFormatter_PrintEmpty(t *testing.T) {
    	g := NewWithT(t)
    
    	msgs := diag.Messages{}
    
    	logOutput, _ := Print(msgs, LogFormat, false)
    	g.Expect(logOutput).To(Equal(""))
    
    	jsonOutput, _ := Print(msgs, JSONFormat, false)
    	g.Expect(jsonOutput).To(Equal("[]"))
    
    	yamlOutput, _ := Print(msgs, YAMLFormat, false)
    	g.Expect(yamlOutput).To(Equal("[]\n"))
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  7. istioctl/pkg/analyze/analyze_test.go

    )
    
    func TestErrorOnIssuesFound(t *testing.T) {
    	g := NewWithT(t)
    
    	msgs := []diag.Message{
    		diag.NewMessage(
    			diag.NewMessageType(diag.Error, "B1", "Template: %q"),
    			nil,
    			"",
    		),
    		diag.NewMessage(
    			diag.NewMessageType(diag.Warning, "A1", "Template: %q"),
    			nil,
    			"",
    		),
    	}
    
    	err := errorIfMessagesExceedThreshold(msgs)
    
    	g.Expect(err).To(BeIdenticalTo(AnalyzerFoundIssuesError{}))
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  8. operator/cmd/mesh/operator-dump.go

    		l.LogAndFatal(fmt.Errorf("unknown output format: %v", odArgs.common.outputFormat))
    	}
    
    	_, mstr, err := renderOperatorManifest(args, &odArgs.common)
    	if err != nil {
    		l.LogAndFatal(err)
    	}
    
    	var output string
    	if output, err = yamlToFormat(mstr, odArgs.common.outputFormat); err != nil {
    		l.LogAndFatal(err)
    	}
    	l.Print(output)
    }
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue May 23 17:08:31 GMT 2023
    - 3.6K bytes
    - Viewed (0)
Back to top