Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for Kissling (0.17 sec)

  1. istioctl/pkg/workload/workload_test.go

    	cases := []testcase{
    		{
    			description:       "Invalid command args - missing service name and namespace",
    			args:              strings.Split("group create", " "),
    			expectedException: true,
    			expectedOutput:    "Error: expecting a workload name\n",
    		},
    		{
    			description:       "Invalid command args - missing service name",
    			args:              strings.Split("group create -n bar", " "),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  2. cmd/peer-rest-server.go

    	if objAPI == nil {
    		return np, grid.NewRemoteErr(errServerNotInitialized)
    	}
    
    	policyName := mss.Get(peerRESTPolicy)
    	if policyName == "" {
    		return np, grid.NewRemoteErr(errors.New("policyName is missing"))
    	}
    
    	if err := globalIAMSys.DeletePolicy(context.Background(), policyName, false); err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  3. istioctl/pkg/multixds/gather.go

    	if xdsResponse.ControlPlane == nil {
    		return pilotxds.IstioControlPlaneInstance{
    			Component: "MISSING",
    			ID:        "MISSING",
    			Info: istioversion.BuildInfo{
    				Version: "MISSING CP ID",
    			},
    		}
    	}
    
    	cpID := pilotxds.IstioControlPlaneInstance{}
    	err := json.Unmarshal([]byte(xdsResponse.ControlPlane.Identifier), &cpID)
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    	if err != nil && !errors.Is(err, BucketReplicationConfigNotFound{Bucket: bucketName}) {
    		return rCfg, err
    	}
    	return rCfg, nil
    }
    
    // validateReplicationDestination returns error if replication destination bucket missing or not configured
    // It also returns true if replication destination is same as this server.
    func validateReplicationDestination(ctx context.Context, bucket string, rCfg *replication.Config, checkRemote bool) (bool, APIError) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  5. cmd/net.go

    	//	":9000"
    	//	"localhost:9000"
    	//	"localhost" <- in this case, we check for scheme
    
    	host, port, err := net.SplitHostPort(addr)
    	if err != nil {
    		if !strings.Contains(err.Error(), "missing port in address") {
    			return "", "", err
    		}
    
    		host = addr
    
    		switch scheme {
    		case "https":
    			port = "443"
    		case "http":
    			port = "80"
    		default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    // provided current cluster has the most recent update.
    func (c *SiteReplicationSys) healUsers(ctx context.Context, objAPI ObjectLayer, user string, info srStatusInfo) error {
    	// create user if missing; fix user policy mapping if missing
    	us := info.UserStats[user]
    
    	c.RLock()
    	defer c.RUnlock()
    	if !c.enabled {
    		return nil
    	}
    	var (
    		latestID, latestPeerName string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  7. cmd/batch-expire.go

    			HTTPStatusCode: http.StatusBadRequest,
    		}
    	}
    
    	if r.Bucket == "" {
    		return batchExpireJobError{
    			Code:           "InvalidArgument",
    			Description:    "Bucket argument missing",
    			HTTPStatusCode: http.StatusBadRequest,
    		}
    	}
    
    	if _, err := o.GetBucketInfo(ctx, r.Bucket, BucketOptions{}); err != nil {
    		if isErrBucketNotFound(err) {
    			return batchExpireJobError{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  8. internal/grid/handlers.go

    func NewStream[Payload, Req, Resp RoundTripper](h HandlerID, newPayload func() Payload, newReq func() Req, newResp func() Resp) *StreamTypeHandler[Payload, Req, Resp] {
    	if newResp == nil {
    		panic("newResp missing in NewStream")
    	}
    
    	s := newStreamHandler[Payload, Req, Resp](h)
    	if newReq != nil {
    		s.reqPool.New = func() interface{} {
    			return newReq()
    		}
    	} else {
    		s.InCapacity = 0
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  9. cmd/test-utils_test.go

    func generateTLSCertKey(host string) ([]byte, []byte, error) {
    	validFor := 365 * 24 * time.Hour
    	rsaBits := 2048
    
    	if len(host) == 0 {
    		return nil, nil, fmt.Errorf("Missing host parameter")
    	}
    
    	publicKey := func(priv interface{}) interface{} {
    		switch k := priv.(type) {
    		case *rsa.PrivateKey:
    			return &k.PublicKey
    		case *ecdsa.PrivateKey:
    			return &k.PublicKey
    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)
  10. internal/kms/identity-manager.go

    	// e.g. which policy is currently assigned and whether its an admin identity.
    	DescribeIdentity(ctx context.Context, identity string) (*kes.IdentityInfo, error)
    
    	// DescribeSelfIdentity describes the identity issuing the request.
    	// It infers the identity from the TLS client certificate used to authenticate.
    	// It returns the identity and policy information for the client identity.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 1.6K bytes
    - Viewed (0)
Back to top