Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for Retriever (0.24 sec)

  1. istioctl/pkg/proxystatus/proxystatus.go

    	statusCmd := &cobra.Command{
    		Use:   "proxy-status [<type>/]<name>[.<namespace>]",
    		Short: "Retrieves the synchronization status of each Envoy in the mesh",
    		Long: `
    Retrieves last sent and last acknowledged xDS sync from Istiod to each Envoy in the mesh
    `,
    		Example: `  # Retrieve sync status for all Envoys in a mesh
      istioctl proxy-status
    
      # Retrieve sync status for Envoys in a specific namespace
      istioctl proxy-status --namespace foo
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  2. istioctl/pkg/internaldebug/internal-debug.go

    		Use:   "internal-debug [<type>/]<name>[.<namespace>]",
    		Short: "Retrieves the debug information of istio",
    		Long: `
    Retrieves the debug information from Istiod or Pods in the mesh using the service account from the pod if --cert-dir is empty.
    By default it will use the default serviceAccount from (istio-system) namespace if the pod is not specified.
    `,
    		Example: `  # Retrieve sync status for all Envoys in a mesh
      istioctl x internal-debug syncz
    
    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)
  3. cmd/bucket-quota.go

    		if len(dui.BucketsUsage) > 0 {
    			internalLogOnceIf(GlobalContext, fmt.Errorf("unable to retrieve usage information for bucket: %s, relying on older value cached in-memory: err(%v)", bucket, err), "bucket-usage-cache-"+bucket)
    		} else {
    			internalLogOnceIf(GlobalContext, errors.New("unable to retrieve usage information for bucket: %s, no reliable usage value available - quota will not be enforced"), "bucket-usage-empty-"+bucket)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. cmd/etcd.go

    	timeoutCtx, cancel := context.WithTimeout(ctx, defaultContextTimeout)
    	defer cancel()
    	resp, err := client.Get(timeoutCtx, key)
    	if err != nil {
    		etcdLogOnceIf(ctx, err, "etcd-retrieve-keys")
    		return nil, etcdErrToErr(err, client.Endpoints())
    	}
    	if resp.Count == 0 {
    		return nil, errConfigNotFound
    	}
    	for _, ev := range resp.Kvs {
    		if string(ev.Key) == key {
    			return ev.Value, nil
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  5. internal/handlers/proxy.go

    	protoRegex = regexp.MustCompile(`(?i)^(;|,| )+(?:proto=)(https|http)`)
    )
    
    // GetSourceScheme retrieves the scheme from the X-Forwarded-Proto and RFC7239
    // Forwarded headers (in that order).
    func GetSourceScheme(r *http.Request) string {
    	var scheme string
    
    	// Retrieve the scheme from X-Forwarded-Proto.
    	if proto := r.Header.Get(xForwardedProto); proto != "" {
    		scheme = strings.ToLower(proto)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  6. internal/config/cache/cache.go

    // Config represents the subnet related configuration
    type Config struct {
    	// Flag indicating whether cache is enabled.
    	Enable bool `json:"enable"`
    
    	// Endpoint for caching uses remote mcache server to
    	// store and retrieve pre-condition check entities such as
    	// Etag and ModTime of an object + version
    	Endpoint string `json:"endpoint"`
    
    	// BlockSize indicates the maximum object size below which
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  7. istioctl/pkg/util/configdump/route.go

    	route "github.com/envoyproxy/go-control-plane/envoy/config/route/v3"
    
    	"istio.io/istio/pilot/pkg/util/protoconv"
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    )
    
    // GetLastUpdatedDynamicRouteTime retrieves the LastUpdated timestamp of the
    // most recently updated DynamicRouteConfig
    func (w *Wrapper) GetLastUpdatedDynamicRouteTime() (*time.Time, error) {
    	routeDump, err := w.GetRouteConfigDump()
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  8. istioctl/pkg/util/configdump/cluster.go

    	"sort"
    
    	admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    	cluster "github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3"
    
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    )
    
    // GetDynamicClusterDump retrieves a cluster dump with just dynamic active clusters in it
    func (w *Wrapper) GetDynamicClusterDump(stripVersions bool) (*admin.ClustersConfigDump, error) {
    	clusterDump, err := w.GetClusterConfigDump()
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  9. internal/bpool/bpool_test.go

    	}
    
    	// Check with width cap
    	if bufPool.WidthCap() != capWidth {
    		t.Fatalf("bytepool capWidth invalid: got %v want %v", bufPool.WidthCap(), capWidth)
    	}
    
    	// Check that retrieved buffer are of the expected width
    	b := bufPool.Get()
    	if len(b) != width {
    		t.Fatalf("bytepool length invalid: got %v want %v", len(b), width)
    	}
    	if cap(b) != capWidth {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 19:13:27 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  10. docs/site-replication/gen-oidc-sts-cred.go

    		STSEndpoint: endpoint,
    		GetWebIDTokenExpiry: func() (*cr.WebIdentityToken, error) {
    			return &cr.WebIdentityToken{
    				Token: oidcToken,
    			}, nil
    		},
    		RoleARN: roleARN,
    	}
    
    	value, err := webID.Retrieve()
    	if err != nil {
    		log.Fatalf("Expected to generate credentials: %v", err)
    	}
    
    	// Print credentials separated by colons:
    	fmt.Printf("%s:%s:%s\n", value.AccessKeyID, value.SecretAccessKey, value.SessionToken)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 29 01:27:09 GMT 2022
    - 2.3K bytes
    - Viewed (0)
Back to top