Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 50 for Reference (0.35 sec)

  1. cmd/tier.go

    		return nil
    	}
    
    	config.RLock()
    	defer config.RUnlock()
    
    	var tierCfgs []madmin.TierConfig
    	for _, tier := range config.Tiers {
    		// This makes a local copy of tier config before
    		// passing a reference to it.
    		tier := tier.Clone()
    		tierCfgs = append(tierCfgs, tier)
    	}
    	return tierCfgs
    }
    
    // Edit replaces the credentials of the remote tier specified by tierName with creds.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  2. cni/pkg/cmd/root.go

    	envName := strings.Replace(strings.ToUpper(name), "-", "_", -1)
    	// Note: we do not rely on istio env package to retrieve configuration. We relies on viper.
    	// This is just to make sure the reference doc tool can generate doc with these vars as env variable at istio.io.
    	env.Register(envName, defaultValue, usage)
    	bindViper(name)
    }
    
    func bindViper(name string) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  3. cmd/metacache-entries.go

    	// Entries without metadata will only be present in non-recursive scans.
    	metadata []byte
    
    	// cached contains the metadata if decoded.
    	cached *xlMetaV2
    
    	// Indicates the entry can be reused and only one reference to metadata is expected.
    	reusable bool
    }
    
    // isDir returns if the entry is representing a prefix directory.
    func (e metaCacheEntry) isDir() bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  4. cmd/metrics.go

    func init() {
    	prometheus.MustRegister(httpRequestsDuration)
    	prometheus.MustRegister(newMinioCollector())
    	prometheus.MustRegister(minioVersionInfo)
    }
    
    // newMinioCollector describes the collector
    // and returns reference of minioCollector
    // It creates the Prometheus Description which is used
    // to define metric and  help string
    func newMinioCollector() *minioCollector {
    	return &minioCollector{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    // as an argument.
    func ExecObjectLayerAPINilTest(t TestErrHandler, bucketName, objectName, instanceType string, apiRouter http.Handler, req *http.Request) {
    	// httptest Recorder to capture all the response by the http handler.
    	rec := httptest.NewRecorder()
    
    	// The  API handler gets the reference to the object layer via the global object Layer,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  6. internal/grid/connection.go

    	case <-ctx.Done():
    		// Returning error here is too noisy.
    		return nil
    	case c.outQueue <- msg:
    		return nil
    	}
    }
    
    // queueMsg queues a message, with an optional payload.
    // sender should not reference msg.Payload
    func (c *Connection) queueMsg(msg message, payload sender) error {
    	// Add baseflags.
    	msg.Flags.Set(c.baseFlags)
    	// This cannot encode subroute.
    	msg.Flags.Clear(FlagSubroute)
    	if payload != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  7. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    		TypeMeta:      metav1.TypeMeta{},
    		LabelSelector: strings.Join(kv, ","),
    		FieldSelector: "spec.nodeName=" + node,
    	})
    	if err != nil {
    		return types.NamespacedName{}, err
    	}
    	pods := slices.Reference(podsr.Items)
    	if len(pods) > 0 {
    		// We need to pass in a sorter, and the one used by `kubectl logs` is good enough.
    		sortBy := func(pods []*corev1.Pod) sort.Interface { return podutils.ByLogging(pods) }
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  8. internal/arn/arn.go

    import (
    	"errors"
    	"fmt"
    	"regexp"
    	"strings"
    )
    
    // ARN structure:
    //
    // arn:partition:service:region:account-id:resource-type/resource-id
    //
    // In this implementation, account-id is empty.
    //
    // Reference: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
    
    const (
    	arnPrefixArn        = "arn"
    	arnPartitionMinio   = "minio"
    	arnServiceIAM       = "iam"
    	arnResourceTypeRole = "role"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  9. operator/cmd/mesh/manifest-generate_test.go

    			t.Fatalf("Depployment selectors are immutable, but changed since 1.5. Was %v, now is %v", deploymentSelector, sel)
    		}
    	})
    }
    
    // This test enforces that objects that reference other objects do so properly, such as Service selecting deployment
    func TestConfigSelectors(t *testing.T) {
    	selectors := []string{
    		"templates/deployment.yaml",
    		"templates/service.yaml",
    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)
  10. cmd/erasure-sets.go

    		}
    		// CopyObject optimization where we don't create an entire copy
    		// of the content, instead we add a reference, we disallow legacy
    		// objects to be self referenced in this manner so make sure
    		// that we actually create a new dataDir for legacy objects.
    		if dstOpts.Versioned && srcOpts.VersionID != dstOpts.VersionID && !srcInfo.Legacy {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
Back to top