Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 101 for Natchev (0.19 sec)

  1. istioctl/pkg/metrics/metrics_test.go

    	return nil
    }
    
    func (client mockPromAPI) Config(ctx context.Context) (promv1.ConfigResult, error) {
    	return promv1.ConfigResult{}, nil
    }
    
    func (client mockPromAPI) DeleteSeries(ctx context.Context, matches []string, startTime time.Time, endTime time.Time) error {
    	return nil
    }
    
    func (client mockPromAPI) Flags(ctx context.Context) (promv1.FlagsResult, error) {
    	return nil, nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 25 02:07:44 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  2. internal/hash/checksum.go

    	}
    	if len(c.Encoded) == 0 || c.Type.Trailing() {
    		return c.Type.Is(ChecksumNone) || c.Type.Trailing()
    	}
    	raw := c.Raw
    	return c.Type.RawByteLen() == len(raw)
    }
    
    // Matches returns whether given content matches c.
    func (c Checksum) Matches(content []byte) error {
    	if len(c.Encoded) == 0 {
    		return nil
    	}
    	hasher := c.Type.Hasher()
    	_, err := hasher.Write(content)
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  3. internal/hash/errors.go

    type ChecksumMismatch struct {
    	Want string
    	Got  string
    }
    
    func (e ChecksumMismatch) Error() string {
    	return "Bad checksum: Want " + e.Want + " does not match calculated " + e.Got
    }
    
    // IsChecksumMismatch matches if 'err' is hash.ChecksumMismatch
    func IsChecksumMismatch(err error) bool {
    	var herr ChecksumMismatch
    	return errors.As(err, &herr)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon May 15 21:08:54 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  4. istioctl/pkg/injector/injector-list.go

    	for _, hook := range hooks {
    		for _, webhook := range hook.Webhooks {
    			nsSelector, err := metav1.LabelSelectorAsSelector(webhook.NamespaceSelector)
    			if err != nil {
    				continue
    			}
    			if nsSelector.Matches(api_pkg_labels.Set(namespace.ObjectMeta.Labels)) {
    				return &hook
    			}
    		}
    	}
    	return nil
    }
    
    func getInjectedRevision(namespace *corev1.Namespace, hooks []admitv1.MutatingWebhookConfiguration) string {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  5. internal/mountinfo/mountinfo_linux.go

    		ppath := strings.TrimSuffix(path, "/") + "/"
    		if strings.HasPrefix(mpath, ppath) {
    			// At this point if the mount point has a common prefix two conditions can happen.
    			// - mount.Path matches exact with `path` means we can proceed no error here.
    			// - mount.Path doesn't match (means cross-device mount), should error out.
    			if mount.Path != path {
    				crossMounts = append(crossMounts, mount)
    			}
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  6. tests/customize_field_test.go

    		t.Errorf("Failed to query CustomizeColumn")
    	}
    }
    
    func TestCustomColumnAndIgnoredFieldClash(t *testing.T) {
    	// Make sure an ignored field does not interfere with another field's custom
    	// column name that matches the ignored field.
    	type CustomColumnAndIgnoredFieldClash struct {
    		Body    string `gorm:"-"`
    		RawBody string `gorm:"column:body"`
    	}
    
    	DB.Migrator().DropTable(&CustomColumnAndIgnoredFieldClash{})
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Sep 11 09:33:31 GMT 2020
    - 6.9K bytes
    - Viewed (0)
  7. finisher_api.go

    		return db.CreateInBatches(value, db.CreateBatchSize)
    	}
    
    	tx = db.getInstance()
    	tx.Statement.Dest = value
    	return tx.callbacks.Create().Execute(tx)
    }
    
    // CreateInBatches inserts value in batches of batchSize
    func (db *DB) CreateInBatches(value interface{}, batchSize int) (tx *DB) {
    	reflectValue := reflect.Indirect(reflect.ValueOf(value))
    
    	switch reflectValue.Kind() {
    	case reflect.Slice, reflect.Array:
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  8. internal/event/target/kafka.go

    func (target *KafkaTarget) SendFromStore(key store.Key) error {
    	if err := target.init(); err != nil {
    		return err
    	}
    
    	// If batch is enabled, the event will be batched in memory
    	// and will be committed once the batch is full.
    	if target.batch != nil {
    		return target.addToBatch(key)
    	}
    
    	eventData, eErr := target.store.Get(key.Name)
    	if eErr != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
  9. internal/config/identity/openid/openid.go

    	Scopes             = "scopes"
    	RedirectURI        = "redirect_uri"
    	RedirectURIDynamic = "redirect_uri_dynamic"
    	Vendor             = "vendor"
    
    	// Vendor specific ENV only enabled if the Vendor matches == "vendor"
    	KeyCloakRealm    = "keycloak_realm"
    	KeyCloakAdminURL = "keycloak_admin_url"
    
    	// Removed params
    	JwksURL     = "jwks_url"
    	ClaimPrefix = "claim_prefix"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  10. src/bytes/bytes.go

    		t[i] = r
    		i++
    		s = s[l:]
    	}
    	return t
    }
    
    // Replace returns a copy of the slice s with the first n
    // non-overlapping instances of old replaced by new.
    // If old is empty, it matches at the beginning of the slice
    // and after each UTF-8 sequence, yielding up to k+1 replacements
    // for a k-rune slice.
    // If n < 0, there is no limit on the number of replacements.
    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)
Back to top