Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Isn (0.14 sec)

  1. operator/cmd/mesh/test-util_test.go

    		out["port"] = port
    	}
    	if targetPort != -1 {
    		out["targetPort"] = targetPort
    	}
    	return out
    }
    
    // checkRoleBindingsReferenceRoles fails if any RoleBinding in objs references a Role that isn't found in objs.
    func checkRoleBindingsReferenceRoles(g *WithT, objs *ObjectSet) {
    	for _, o := range objs.kind(name2.RoleBindingStr).objSlice {
    		ou := o.Unstructured()
    		rrname := mustGetValueAtPath(g, ou, "roleRef.name")
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  2. istioctl/pkg/injector/injector-list.go

    	}
    	newRev := namespace.ObjectMeta.GetLabels()[label.IoIstioRev.Name]
    	oldLabel, ok := namespace.ObjectMeta.GetLabels()[analyzer_util.InjectionLabelName]
    	// If there is no istio-injection=disabled and no istio.io/rev, the namespace isn't injected
    	if newRev == "" && (ok && oldLabel == "disabled" || !ok) {
    		return ""
    	}
    	if newRev != "" {
    		return fmt.Sprintf("MISSING/%s", newRev)
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/asm.go

    	}
    
    	// Issue an error if we see a function defined as ABIInternal
    	// without NOSPLIT. In ABIInternal, obj needs to know the function
    	// signature in order to construct the morestack path, so this
    	// currently isn't supported for asm functions.
    	if nameAddr.Sym.ABI() == obj.ABIInternal && flag&obj.NOSPLIT == 0 {
    		p.errorf("TEXT %q: ABIInternal requires NOSPLIT", name)
    	}
    
    	// Next operand is the frame and arg size.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  4. istioctl/pkg/workload/workload.go

    		return err
    	}
    
    	serviceAccount := wg.Spec.Template.ServiceAccount
    	tokenPath := filepath.Join(dir, "istio-token")
    	token := &authenticationv1.TokenRequest{
    		// ObjectMeta isn't required in real k8s, but needed for tests
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      serviceAccount,
    			Namespace: wg.Namespace,
    		},
    		Spec: authenticationv1.TokenRequestSpec{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  5. cmd/storage-datatypes.go

    	// Earlier MinIO versions didn't reset "x-minio-internal-inline-data"
    	// from fi.Metadata when the object was tiered. So, tiered objects
    	// would return true for InlineData() in these versions even though the
    	// object isn't inlined in xl.meta
    	return ok && !fi.IsRemote()
    }
    
    // SetInlineData marks object (version) as inline.
    func (fi *FileInfo) SetInlineData() {
    	if fi.Metadata == nil {
    		fi.Metadata = make(map[string]string, 1)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  6. cmd/xl-storage-disk-id-check.go

    		return err
    	}
    	defer done(&err)
    
    	return p.storage.ReadMultiple(ctx, req, resp)
    }
    
    // CleanAbandonedData will read metadata of the object on disk
    // and delete any data directories and inline data that isn't referenced in metadata.
    func (p *xlStorageDiskIDCheck) CleanAbandonedData(ctx context.Context, volume string, path string) (err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricDeleteAbandonedParts, volume, path)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  7. cmd/storage-rest-client.go

    		select {
    		case <-ctx.Done():
    			return ctx.Err()
    		case resp <- file:
    		}
    	}
    }
    
    // CleanAbandonedData will read metadata of the object on disk
    // and delete any data directories and inline data that isn't referenced in metadata.
    func (client *storageRESTClient) CleanAbandonedData(ctx context.Context, volume string, path string) error {
    	values := make(url.Values)
    	values.Set(storageRESTVolume, volume)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  8. src/bytes/bytes.go

    				break
    			}
    			i += o + 1
    		}
    		if s[i+1] == c1 && Equal(s[i:i+n], sep) {
    			return i
    		}
    		i++
    		fails++
    		if fails >= 4+i>>4 && i < t {
    			// Give up on IndexByte, it isn't skipping ahead
    			// far enough to be better than Rabin-Karp.
    			// Experiments (using IndexPeriodic) suggest
    			// the cutover is about 16 byte skips.
    			// TODO: if large prefixes of sep are matching
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  9. internal/grid/grid.go

    		return 0, context.Cause(w.ctx)
    	}
    }
    
    // WriterToChannel will return an io.Writer that writes to the given channel.
    // The context both allows returning errors on writes and to ensure that
    // this isn't abandoned if the channel is no longer being read from.
    func WriterToChannel(ctx context.Context, ch chan<- []byte) io.Writer {
    	return &writerWrapper{ch: ch, ctx: ctx}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 15:56:18 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    			ModTime: st.ModTime(),
    		})
    	}
    	return stat, nil
    }
    
    // CleanAbandonedData will read metadata of the object on disk
    // and delete any data directories and inline data that isn't referenced in metadata.
    // Metadata itself is not modified, only inline data.
    func (s *xlStorage) CleanAbandonedData(ctx context.Context, volume string, path string) error {
    	if volume == "" || path == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
Back to top