Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 171 for could (0.28 sec)

  1. cmd/bucket-policy.go

    	for k, v := range claims {
    		vStr, ok := v.(string)
    		if ok {
    			// Trim any LDAP specific prefix
    			args[strings.ToLower(strings.TrimPrefix(k, "ldap"))] = []string{vStr}
    		}
    	}
    
    	// Add groups claim which could be a list. This will ensure that the claim
    	// `jwt:groups` works.
    	if grpsVal, ok := claims["groups"]; ok {
    		if grpsIs, ok := grpsVal.([]interface{}); ok {
    			grps := []string{}
    			for _, gI := range grpsIs {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
  2. istioctl/pkg/install/k8sversion/version.go

    func extractKubernetesVersion(versionInfo *version.Info) (int, error) {
    	ver, err := goversion.NewVersion(versionInfo.String())
    	if err != nil {
    		return 0, fmt.Errorf("could not parse %v", err)
    	}
    	// Segments provide slice of int eg: v1.19.1 => [1, 19, 1]
    	num := ver.Segments()[1]
    	return num, nil
    }
    
    // IsK8VersionSupported checks minimum supported Kubernetes version for Istio.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 02:07:51 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. istioctl/pkg/xds/client.go

    			CertDir:            opts.CertDir,
    			InsecureSkipVerify: opts.InsecureSkipVerify,
    			XDSSAN:             opts.XDSSAN,
    			GrpcOpts:           grpcOpts,
    		},
    	}, nil)
    	if err != nil {
    		return nil, fmt.Errorf("could not dial: %w", err)
    	}
    	err = adscConn.Run()
    	if err != nil {
    		return nil, fmt.Errorf("ADSC: failed running %v", err)
    	}
    
    	err = adscConn.Send(dr)
    	if err != nil {
    		return nil, err
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  4. istioctl/pkg/workload/workload.go

    	tokenReq, err := kubeClient.Kube().CoreV1().ServiceAccounts(wg.Namespace).CreateToken(context.Background(), serviceAccount, token, metav1.CreateOptions{})
    	// errors if the token could not be created with the given service account in the given namespace
    	if err != nil {
    		return fmt.Errorf("could not create a token under service account %s in namespace %s: %v", serviceAccount, wg.Namespace, err)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  5. cmd/bucket-replication.go

    						replLogIf(ctx, fmt.Errorf("could not save resync metadata to drive for %s - %w", bucket, err))
    					} else {
    						lastResyncStatusSave[bucket] = brs.LastUpdate
    					}
    				}
    			}
    			s.RUnlock()
    
    			resyncTimer.Reset(resyncTimeInterval)
    		case <-ctx.Done():
    			// server could be restarting - need
    			// to exit immediately
    			return
    		}
    	}
    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)
  6. operator/cmd/mesh/root.go

    	TagFlagHelpStr                     = `The tag for the operator controller image.`
    	ImagePullSecretsHelpStr            = `The imagePullSecrets are used to pull the operator image from the private registry,
    could be secret list separated by comma, eg. '--imagePullSecrets imagePullSecret1,imagePullSecret2'`
    	OperatorNamespaceHelpstr  = `The namespace the operator controller is installed into.`
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. cmd/sts-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSTSInvalidClientGrantsToken: {
    		Code:           "InvalidClientGrantsToken",
    		Description:    "The client grants token that was passed could not be validated by MinIO.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSTSMalformedPolicyDocument: {
    		Code:           "MalformedPolicyDocument",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. internal/kms/kms.go

    	// is specified. It is empty if the KMS does not support
    	// a default key.
    	DefaultKey string
    
    	// Details provides more details about the KMS endpoint status.
    	// including uptime, version and available CPUs.
    	// Could be more in future.
    	Details kes.State
    }
    
    // DEK is a data encryption key. It consists of a
    // plaintext-ciphertext pair and the ID of the key
    // used to generate the ciphertext.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/net.go

    	s.iptablesConfigurator.DeleteHostRules()
    
    	log.Debug("destroying host ipset")
    	s.hostsideProbeIPSet.Flush()
    	if err := s.hostsideProbeIPSet.DestroySet(); err != nil {
    		log.Warnf("could not destroy host ipset on shutdown")
    	}
    	log.Debug("stopping ztunnel server")
    	s.ztunnelServer.Close()
    }
    
    func (s *NetServer) rescanPod(pod *corev1.Pod) error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  10. operator/cmd/mesh/test-util_test.go

    	t.Helper()
    	got := mustGetPath(t, obj, path)
    	conv, ok := got.(map[string]any)
    	if !ok {
    		t.Fatalf("could not convert %v", got)
    	}
    	ret := map[string]string{}
    	for k, v := range conv {
    		sv, ok := v.(string)
    		if !ok {
    			t.Fatalf("could not convert to string %v", v)
    		}
    		ret[k] = sv
    	}
    	return ret
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
Back to top