Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 111 for resources (0.29 sec)

  1. cmd/api-resources.go

    Harshavardhana <******@****.***> 1686162326 -0700
    Go
    - Registered: Sun Apr 28 19:28:10 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  3. cmd/local-locker_test.go

    	if len(l.lockMap) != len(rResources)+len(wResources)*m {
    		t.Fatalf("lockmap len, got %d, want %d + %d", len(l.lockMap), len(rResources), len(wResources)*m)
    	}
    	// A UID is added for every resource.
    	// We removed len(rResources) read sources.
    	if len(l.lockUID) != len(rResources)+len(wResources)*m {
    		t.Fatalf("lockUID len, got %d, want %d + %d", len(l.lockUID), len(rResources), len(wResources)*m)
    	}
    	// RUnlock again, different uids
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  4. cmd/local-locker.go

    	if len(args.Resources) > maxDeleteList {
    		return false, fmt.Errorf("internal error: localLocker.Lock called with more than %d resources", maxDeleteList)
    	}
    
    	l.mutex.Lock()
    	defer l.mutex.Unlock()
    
    	if !l.canTakeLock(args.Resources...) {
    		// Not all locks can be taken on resources,
    		// reject it completely.
    		return false, nil
    	}
    
    	// No locks held on the all resources, so claim write
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. internal/dsync/lock-args_gen.go

    				return
    			}
    		case "Resources":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Resources")
    				return
    			}
    			if cap(z.Resources) >= int(zb0002) {
    				z.Resources = (z.Resources)[:zb0002]
    			} else {
    				z.Resources = make([]string, zb0002)
    			}
    			for za0001 := range z.Resources {
    				z.Resources[za0001], err = dc.ReadString()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 9.5K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/pilot/status_test.go

    			Version: "1.1",
    		},
    	}
    	identifier, _ := json.Marshal(icp)
    
    	resources := make([]*anypb.Any, 0)
    	for _, input := range configInputs {
    		resources = append(resources, protoconv.MessageToAny(newXdsClientConfig(input)))
    	}
    
    	return &discovery.DiscoveryResponse{
    		VersionInfo: "1.1",
    		TypeUrl:     clientConfigType,
    		Resources:   resources,
    		ControlPlane: &core.ControlPlane{
    			Identifier: string(identifier),
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. internal/arn/arn.go

    		return ARN{}, fmt.Errorf("invalid resource ID: %s", resourceID)
    	}
    	return ARN{
    		Partition:    arnPartitionMinio,
    		Service:      arnServiceIAM,
    		Region:       serverRegion,
    		ResourceType: arnResourceTypeRole,
    		ResourceID:   resourceID,
    	}, nil
    }
    
    // String - returns string representation of the ARN.
    func (arn ARN) String() string {
    	return strings.Join(
    		[]string{
    			arnPrefixArn,
    			arn.Partition,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  8. istioctl/pkg/kubeinject/kubeinject.go

    doubt re-run istioctl kube-inject on deployments to get the most up-to-date changes.
    
    It's best to do kube-inject when the resource is initially created.
    `,
    		Example: `  # Update resources on the fly before applying.
      kubectl apply -f <(istioctl kube-inject -f <resource.yaml>)
    
      # Create a persistent version of the deployment with Istio sidecar injected.
      istioctl kube-inject -f deployment.yaml -o deployment-injected.yaml
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  9. istioctl/pkg/validate/validate.go

    	"istio.io/istio/pkg/config/schema/collections"
    	"istio.io/istio/pkg/config/schema/resource"
    	"istio.io/istio/pkg/config/validation"
    	"istio.io/istio/pkg/kube/labels"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/url"
    )
    
    var (
    	errMissingFilename = errors.New(`error: you must specify resources by --filename.
    Example resource specifications include:
       '-f rsrc.yaml'
       '--filename=rsrc.json'`)
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  10. internal/dsync/drwmutex.go

    	// Create buffered channel of size equal to total number of nodes.
    	ch := make(chan Granted, len(restClnts))
    	var wg sync.WaitGroup
    
    	args := LockArgs{
    		Owner:     owner,
    		UID:       id,
    		Resources: names,
    		Source:    source,
    		Quorum:    quorum,
    	}
    
    	// Combined timeout for the lock attempt.
    	ctx, cancel := context.WithTimeout(ctx, ds.Timeouts.Acquire)
    	defer cancel()
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
Back to top