Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 964 for Perron (0.22 sec)

  1. internal/kms/single-key.go

    func (secretKey) Metrics(ctx context.Context) (kes.Metric, error) {
    	return kes.Metric{}, Error{
    		HTTPStatusCode: http.StatusNotImplemented,
    		APICode:        "KMS.NotImplemented",
    		Err:            errors.New("metrics are not supported"),
    	}
    }
    
    func (kms secretKey) CreateKey(_ context.Context, keyID string) error {
    	if keyID == kms.keyID {
    		return nil
    	}
    	return Error{
    		HTTPStatusCode: http.StatusNotImplemented,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  2. fastapi/security/http.py

            scheme: str,
            scheme_name: Optional[str] = None,
            description: Optional[str] = None,
            auto_error: bool = True,
        ):
            self.model = HTTPBaseModel(scheme=scheme, description=description)
            self.scheme_name = scheme_name or self.__class__.__name__
            self.auto_error = auto_error
    
        async def __call__(
            self, request: Request
        ) -> Optional[HTTPAuthorizationCredentials]:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Apr 19 15:29:38 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  3. cmd/object-api-input-checks.go

    )
    
    // Checks on CopyObject arguments, bucket and object.
    func checkCopyObjArgs(ctx context.Context, bucket, object string) error {
    	return checkBucketAndObjectNames(ctx, bucket, object)
    }
    
    // Checks on GetObject arguments, bucket and object.
    func checkGetObjArgs(ctx context.Context, bucket, object string) error {
    	return checkBucketAndObjectNames(ctx, bucket, object)
    }
    
    // Checks on DeleteObject arguments, bucket and object.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    	out := c.FullDump
    	if outputFormat == "yaml" {
    		var err error
    		out, err = yaml.JSONToYAML(out)
    		if err != nil {
    			return err
    		}
    	}
    	fmt.Fprintln(c.Stdout, string(out))
    	return nil
    }
    
    // PrintVersionSummary prints version information for Istio and Ztunnel from the config dump
    func (c *ConfigWriter) PrintVersionSummary() error {
    	// TODO
    	return nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. cmd/data-usage_test.go

    				e = &f
    			}
    			if w.isNil {
    				if e != nil {
    					t.Error("want nil, got", e)
    				}
    				return
    			}
    			if e == nil {
    				t.Error("got nil result")
    				return
    			}
    			if e.Size != int64(w.size) {
    				t.Error("got size", e.Size, "want", w.size)
    			}
    			if e.Objects != uint64(w.objs) {
    				t.Error("got objects", e.Objects, "want", w.objs)
    			}
    			if e.Versions != uint64(w.objs) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  6. istioctl/pkg/cli/context.go

    	CLIClient() (kube.CLIClient, error)
    	// CLIClientWithRevision returns a client for the given revision
    	CLIClientWithRevision(rev string) (kube.CLIClient, error)
    	// InferPodInfoFromTypedResource returns the pod name and namespace for the given typed resource
    	InferPodInfoFromTypedResource(name, namespace string) (pod string, ns string, err error)
    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)
  7. istioctl/pkg/cli/mock_client.go

    	"istio.io/istio/pkg/kube"
    )
    
    type MockPortForwarder struct{}
    
    func (m MockPortForwarder) Start() error {
    	return nil
    }
    
    func (m MockPortForwarder) Address() string {
    	return "localhost:3456"
    }
    
    func (m MockPortForwarder) Close() {
    }
    
    func (m MockPortForwarder) ErrChan() <-chan error {
    	return make(chan error)
    }
    
    func (m MockPortForwarder) WaitForStop() {
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. internal/event/target/nats.go

    		}
    	}
    
    	if connErr != nil {
    		if connErr.Error() == nats.ErrNoServers.Error() {
    			return false, store.ErrNotConnected
    		}
    		return false, connErr
    	}
    
    	if target.natsConn != nil && target.args.JetStream.Enable {
    		target.jstream, connErr = target.natsConn.JetStream()
    		if connErr != nil {
    			if connErr.Error() == nats.ErrNoServers.Error() {
    				return false, store.ErrNotConnected
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    type concErr struct {
    	errMap     map[string]error
    	summaryErr error
    }
    
    func (c concErr) Error() string {
    	if c.summaryErr != nil {
    		return c.summaryErr.Error()
    	}
    	return "<nil>"
    }
    
    func (c concErr) Unwrap() error {
    	return c.summaryErr
    }
    
    func (c *SiteReplicationSys) toErrorFromErrMap(errMap map[string]error, actionName string) error {
    	if len(errMap) == 0 {
    		return nil
    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)
  10. internal/s3select/csv/reader.go

    	dst   chan [][]string // result of block decode
    	err   error           // any error encountered will be set here
    }
    
    // Read - reads single record.
    // Once Read is called the previous record should no longer be referenced.
    func (r *Reader) Read(dst sql.Record) (sql.Record, error) {
    	// If we have have any records left, return these before any error.
    	for len(r.current) <= r.recordsRead {
    		if r.err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top