Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for Resources (0.18 sec)

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

    type manifestDiffArgs struct {
    	// compareDir indicates comparison between directory.
    	compareDir bool
    	// verbose generates verbose output.
    	verbose bool
    	// selectResources constrains the list of resources to compare to only the ones in this list, ignoring all others.
    	// The format of each list item is :: and the items are comma separated. The * character represents wildcard selection.
    	// e.g.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. istioctl/pkg/multixds/gather.go

    		// Combine all the shards as one, even if that means losing information about
    		// the control plane version from each shard.
    		retval.ControlPlane = response.ControlPlane
    		retval.Resources = append(retval.Resources, response.Resources...)
    	}
    
    	return &retval, nil
    }
    
    func makeSan(istioNamespace, revision string) string {
    	if revision == "" {
    		return fmt.Sprintf("istiod.%s.svc", istioNamespace)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest_shared_test.go

    }
    
    // fakeApplyExtraResources applies any extra resources for the given test name.
    func fakeApplyExtraResources(inFile string) error {
    	reconciler, err := helmreconciler.NewHelmReconciler(testClient, nil, nil, nil)
    	if err != nil {
    		return err
    	}
    
    	if rs, err := readFile(filepath.Join(testDataDir, "input-extra-resources", inFile+".yaml")); err == nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  4. internal/dsync/lock-args.go

    	// Unique ID of lock/unlock request.
    	UID string
    
    	// Resources contains single or multiple entries to be locked/unlocked.
    	Resources []string
    
    	// Source contains the line number, function and file name of the code
    	// on the client node that requested the lock.
    	Source string
    
    	// Owner represents unique ID for this instance, an owner who originally requested
    	// the locked resource, useful primarily in figuring out stale locks.
    	Owner string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 04:34:26 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  5. istioctl/pkg/internaldebug/internal-debug.go

    	// Gather the statuses before printing so they may be sorted
    	mappedResp := map[string]string{}
    	for id, dr := range drs {
    		for _, resource := range dr.Resources {
    			if s.InternalDebugAllIstiod {
    				mappedResp[id] = string(resource.Value) + "\n"
    			} else {
    				_, _ = s.Writer.Write(resource.Value)
    				_, _ = s.Writer.Write([]byte("\n"))
    			}
    		}
    	}
    	if len(mappedResp) > 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/compare/comparator.go

    	c := &Comparator{}
    	for _, resp := range istiodResponses {
    		if len(resp.Resources) > 0 {
    			c.istiod = &configdump.Wrapper{
    				ConfigDump: &admin.ConfigDump{
    					Configs: resp.Resources,
    				},
    			}
    			break
    		}
    	}
    	if c.istiod == nil {
    		return nil, fmt.Errorf("unable to find config dump in Istiod responses")
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 3.7K bytes
    - Viewed (1)
  7. operator/cmd/mesh/manifest-generate_test.go

    		}
    	}
    }
    
    func TestManifestGenerateGateways(t *testing.T) {
    	g := NewWithT(t)
    
    	flags := "-s components.ingressGateways.[0].k8s.resources.requests.memory=999Mi " +
    		"-s components.ingressGateways.[name:user-ingressgateway].k8s.resources.requests.cpu=555m"
    
    	objss, err := runManifestCommands("gateways", flags, liveCharts, nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	for _, objs := range objss {
    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)
  8. istioctl/pkg/checkinject/checkinject.go

    	cmd := &cobra.Command{
    		Use:   "check-inject [<type>/]<name>[.<namespace>]",
    		Short: "Check the injection status or inject-ability of a given resource, explains why it is (or will be) injected or not",
    		Long: `
    Checks associated resources of the given resource, and running webhooks to examine whether the pod can be or will be injected or not.`,
    		Example: `  # Check the injection status of a pod
    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)
  9. istioctl/pkg/writer/pilot/status.go

    	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{}
    			err := resource.UnmarshalTo(&clientConfig)
    			if err != nil {
    				return nil, nil, fmt.Errorf("could not unmarshal ClientConfig: %w", err)
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  10. istioctl/pkg/precheck/precheck.go

    	}
    	return nil
    }
    
    func ObjectToInstance(c controllers.Object) *resource.Instance {
    	return &resource.Instance{
    		Origin: &legacykube.Origin{
    			Type: kubetypes.GvkFromObject(c),
    			FullName: resource.FullName{
    				Namespace: resource.Namespace(c.GetNamespace()),
    				Name:      resource.LocalName(c.GetName()),
    			},
    			ResourceVersion: resource.Version(c.GetResourceVersion()),
    			Ref:             nil,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top