Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for Resources (0.21 sec)

  1. cmd/api-resources.go

    Harshavardhana <******@****.***> 1686162326 -0700
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jun 07 18:25:26 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  2. cmd/api-resources_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"net/url"
    	"testing"
    )
    
    // Test list objects resources V2.
    func TestListObjectsV2Resources(t *testing.T) {
    	testCases := []struct {
    		values                               url.Values
    		prefix, token, startAfter, delimiter string
    		fetchOwner                           bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  3. internal/dsync/dsync-server_test.go

    	var locksHeld int64
    	if locksHeld, reply = l.lockMap[args.Resources[0]]; !reply { // No lock is held on the given name
    		return false, fmt.Errorf("Unlock attempted on an unlocked entity: %s", args.Resources[0])
    	}
    	if reply = locksHeld == WriteLock; !reply { // Unless it is a write lock
    		return false, fmt.Errorf("Unlock attempted on a read locked entity: %s (%d read locks active)", args.Resources[0], locksHeld)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 23 16:46:37 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top