Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for init (0.21 sec)

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

    }
    
    func operatorInitCmd(ctx cli.Context, rootArgs *RootArgs, oiArgs *operatorInitArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "init",
    		Short: "Installs the Istio operator controller in the cluster.",
    		Long:  "The init subcommand installs the Istio operator controller in the cluster.",
    		Args:  cobra.ExactArgs(0),
    		PreRunE: func(cmd *cobra.Command, args []string) error {
    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. operator/cmd/mesh/operator_test.go

    	}
    }
    
    // TODO: rewrite this with running the actual top level command.
    func TestOperatorInit(t *testing.T) {
    	goldenFilepath := filepath.Join(operatorRootDir, "cmd/mesh/testdata/operator/output/operator-init.yaml")
    	rootArgs := &RootArgs{}
    	oiArgs := &operatorInitArgs{
    		common: operatorCommonArgs{
    			hub:               "foo.io/istio",
    			tag:               "1.2.3",
    			operatorNamespace: "operator-test-namespace",
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Aug 29 14:15:33 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  3. istioctl/pkg/config/config_test.go

    			WantException: false,
    		},
    	}
    
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.Args, " ")), func(t *testing.T) {
    			testutil.VerifyOutput(t, Cmd(), c)
    		})
    	}
    }
    
    func init() {
    	viper.SetDefault("istioNamespace", constants.IstioSystemNamespace)
    	viper.SetDefault("xds-port", 15012)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  4. istioctl/pkg/proxyconfig/clusters.go

    	return cmd
    }
    
    func writeMulticlusterStatus(out io.Writer, input map[string][]byte) error {
    	statuses, err := parseClusterStatuses(input)
    	if err != nil {
    		return err
    	}
    	w := new(tabwriter.Writer).Init(out, 0, 8, 5, ' ', 0)
    	_, _ = fmt.Fprintln(w, "NAME\tSECRET\tSTATUS\tISTIOD")
    	for istiod, clusters := range statuses {
    		for _, c := range clusters {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  5. cni/pkg/plugin/plugin_test.go

    		eventURL,
    		ambientEnabled,
    		"mock",
    	)
    }
    
    func buildFakePodAndNSForClient() (*corev1.Pod, *corev1.Namespace) {
    	proxy := corev1.Container{Name: "mockContainer"}
    	app := corev1.Container{Name: "foo-init"}
    	fakePod := &corev1.Pod{
    		TypeMeta: metav1.TypeMeta{
    			APIVersion: "core/v1",
    			Kind:       "Pod",
    		},
    		ObjectMeta: metav1.ObjectMeta{
    			Name:        testPodName,
    			Namespace:   testNSName,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/pilot/status.go

    	// Gather the statuses before printing so they may be sorted
    	var fullStatus []*xdsWriterStatus
    	mappedResp := map[string]string{}
    	w := new(tabwriter.Writer).Init(s.Writer, 0, 8, 5, ' ', 0)
    	_, _ = fmt.Fprintln(w, "NAME\tCLUSTER\tCDS\tLDS\tEDS\tRDS\tECDS\tISTIOD\tVERSION")
    	for _, dr := range drs {
    		for _, resource := range dr.Resources {
    			clientConfig := xdsstatus.ClientConfig{}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/informers_test.go

    		types.MergePatchType, labelsPatch, metav1.PatchOptions{})
    	assert.NoError(t, err)
    
    	// wait for another two update events
    	// total 3 update at before unlabel point: 1. init ns reconcile 2. ns label reconcile 3. pod annotation update
    	mt.Assert(EventTotals.Name(), map[string]string{"type": "update"}, monitortest.AtLeast(5))
    
    	waitForMockCalls()
    
    	assertPodNotAnnotated(t, client, pod)
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/ztunnelserver.go

    	}
    }
    
    func (z *ZtunnelConnection) sendMsgAndWaitForAck(msg *zdsapi.WorkloadRequest, fd *int) (*zdsapi.WorkloadResponse, error) {
    	data, err := proto.Marshal(msg)
    	if err != nil {
    		return nil, err
    	}
    	return z.sendDataAndWaitForAck(data, fd)
    }
    
    func (z *ZtunnelConnection) sendDataAndWaitForAck(data []byte, fd *int) (*zdsapi.WorkloadResponse, error) {
    	var rights []byte
    	if fd != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/ztunnel/configdump/policies.go

    func (c *ConfigWriter) PrintPolicySummary(filter PolicyFilter) error {
    	w := c.tabwriter()
    	zDump := c.ztunnelDump
    
    	pols := slices.Filter(maps.Values(zDump.Policies), filter.Verify)
    	slices.SortFunc(pols, func(a, b *ZtunnelPolicy) int {
    		if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 {
    			return r
    		}
    		return cmp.Compare(a.Name, b.Name)
    	})
    	fmt.Fprintln(w, "NAMESPACE\tPOLICY NAME\tACTION\tSCOPE")
    
    	for _, pol := range pols {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  10. istioctl/pkg/util/configdump/route.go

    	}
    	drc := routeDump.GetDynamicRouteConfigs()
    	// Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info.
    	for i := range drc {
    		drc[i].RouteConfig.TypeUrl = v3.RouteType
    	}
    	sort.Slice(drc, func(i, j int) bool {
    		r := &route.RouteConfiguration{}
    		err = drc[i].RouteConfig.UnmarshalTo(r)
    		if err != nil {
    			return false
    		}
    		name := r.Name
    		err = drc[j].RouteConfig.UnmarshalTo(r)
    		if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 3.2K bytes
    - Viewed (0)
Back to top