Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 95 for resources (0.25 sec)

  1. cmd/api-response.go

    	errBody string, reqURL *url.URL,
    ) {
    	reqInfo := logger.GetReqInfo(ctx)
    	errorResponse := APIErrorResponse{
    		Code:       err.Code,
    		Message:    errBody,
    		Resource:   reqURL.Path,
    		BucketName: reqInfo.BucketName,
    		Key:        reqInfo.ObjectName,
    		RequestID:  w.Header().Get(xhttp.AmzRequestID),
    		HostID:     globalDeploymentID(),
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  2. internal/config/identity/openid/openid.go

    			}
    
    			// We set the resource ID of the role arn as a hash of client
    			// ID, so we can get a short roleARN that stays the same on
    			// restart.
    			var resourceID string
    			{
    				h := sha1.New()
    				h.Write([]byte(p.ClientID))
    				bs := h.Sum(nil)
    				resourceID = base64.RawURLEncoding.EncodeToString(bs)
    			}
    			p.roleArn, err = arn.NewIAMRoleARN(resourceID, serverRegion)
    			if err != nil {
    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)
  3. cmd/metacache-stream.go

    				metaDataPoolPut(o.metadata)
    			}
    			if err != nil {
    				w.streamErr = err
    				continue
    			}
    		}
    	}()
    
    	return objs, nil
    }
    
    // Close and release resources.
    func (w *metacacheWriter) Close() error {
    	if w == nil || w.closer == nil {
    		return nil
    	}
    	w.streamWg.Wait()
    	err := w.closer()
    	w.closer = nil
    	return err
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  4. istioctl/pkg/injector/injector-list.go

    	retval := map[resource.Namespace][]corev1.Pod{}
    	// All pods in all namespaces
    	pods, err := client.Kube().CoreV1().Pods("").List(ctx, metav1.ListOptions{})
    	if err != nil {
    		return retval, err
    	}
    	for _, pod := range pods.Items {
    		retval[resource.Namespace(pod.GetNamespace())] = append(retval[resource.Namespace(pod.GetNamespace())], pod)
    	}
    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. istioctl/pkg/wait/wait_test.go

    						watch.(addObject).Add(object)
    					}
    				}
    				return true, watch, nil
    			})
    			k.Dynamic().Resource(gvr.VirtualService).Namespace("default").Create(context.Background(),
    				newUnstructured("networking.istio.io/v1alpha3", "virtualservice", "default", "foo", int64(1)),
    				metav1.CreateOptions{})
    			k.Dynamic().Resource(gvr.VirtualService).Namespace("default").Create(context.Background(),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 6.8K bytes
    - Viewed (1)
  6. cmd/sts-handlers_test.go

    		// Built-in user should be imported without errors even if LDAP is
    		// enabled.
    		allUsersFile: `{
      "foo": {
        "secretKey": "foobar123",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  7. istioctl/pkg/internaldebug/internal-debug_test.go

    	"github.com/spf13/cobra"
    	"google.golang.org/grpc"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/cli-runtime/pkg/resource"
    	"k8s.io/client-go/rest/fake"
    	cmdtesting "k8s.io/kubectl/pkg/cmd/testing"
    	cmdutil "k8s.io/kubectl/pkg/cmd/util"
    
    	"istio.io/api/label"
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  8. istioctl/pkg/cli/context.go

    	// InferPodInfoFromTypedResource returns the pod name and namespace for the given typed resource
    	InferPodInfoFromTypedResource(name, namespace string) (pod string, ns string, err error)
    	// InferPodsFromTypedResource returns the pod names and namespace for the given typed resource
    	InferPodsFromTypedResource(name, namespace string) ([]string, string, error)
    	// Namespace returns the namespace specified by the user
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    	},
    	ErrSlowDownRead: {
    		Code:           "SlowDownRead",
    		Description:    "Resource requested is unreadable, please reduce your request rate",
    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    	ErrSlowDownWrite: {
    		Code:           "SlowDownWrite",
    		Description:    "Resource requested is unwritable, please reduce your request rate",
    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  10. cmd/erasure-decode.go

    		shardSize:     e.ShardSize(),
    		shardFileSize: e.ShardFileSize(totalLength),
    		buf:           make([][]byte, len(readers)),
    		readerToBuf:   r2b,
    		stashBuffer:   b,
    	}
    }
    
    // Done will release any resources used by the parallelReader.
    func (p *parallelReader) Done() {
    	if p.stashBuffer != nil {
    		globalBytePoolCap.Load().Put(p.stashBuffer)
    		p.stashBuffer = nil
    	}
    }
    
    // preferReaders can mark readers as preferred.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 9.4K bytes
    - Viewed (0)
Back to top