Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Zambia (0.15 sec)

  1. internal/config/lambda/event/targetlist.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package event
    
    import (
    	"fmt"
    	"net/http"
    	"strings"
    	"sync"
    )
    
    // Target - lambda target interface
    type Target interface {
    	ID() TargetID
    	IsActive() (bool, error)
    	Send(Event) (*http.Response, error)
    	Stat() TargetStat
    	Close() error
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    	},
    	ErrLambdaARNInvalid: {
    		Code:           "LambdaARNInvalid",
    		Description:    "The specified lambda ARN is invalid",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrLambdaARNNotFound: {
    		Code:           "LambdaARNNotFound",
    		Description:    "The specified lambda ARN does not exist",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrPolicyAlreadyAttached: {
    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)
  3. cmd/globals.go

    	"github.com/minio/minio/internal/config/subnet"
    	xhttp "github.com/minio/minio/internal/http"
    	etcd "go.etcd.io/etcd/client/v3"
    
    	levent "github.com/minio/minio/internal/config/lambda/event"
    	"github.com/minio/minio/internal/event"
    	"github.com/minio/minio/internal/pubsub"
    	"github.com/minio/pkg/v2/certs"
    	"github.com/minio/pkg/v2/env"
    	xnet "github.com/minio/pkg/v2/net"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    	iamSubsystem              MetricSubsystem = "iam"
    	kmsSubsystem              MetricSubsystem = "kms"
    	notifySubsystem           MetricSubsystem = "notify"
    	lambdaSubsystem           MetricSubsystem = "lambda"
    	auditSubsystem            MetricSubsystem = "audit"
    	webhookSubsystem          MetricSubsystem = "webhook"
    )
    
    // MetricName are the individual names for the metric.
    type MetricName string
    
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  5. cmd/api-router.go

    			Queries("retention", "")
    		// GetObjectLegalHold
    		router.Methods(http.MethodGet).Path("/{object:.+}").
    			HandlerFunc(s3APIMiddleware(api.GetObjectLegalHoldHandler)).
    			Queries("legal-hold", "")
    		// GetObject with lambda ARNs
    		router.Methods(http.MethodGet).Path("/{object:.+}").
    			HandlerFunc(s3APIMiddleware(api.GetObjectLambdaHandler, traceHdrsS3HFlag)).
    			Queries("lambdaArn", "{lambdaArn:.*}")
    		// GetObject
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  6. cmd/config-current.go

    		configLogIf(ctx, fmt.Errorf("Unable to initialize notification target(s): %w", err))
    	}
    
    	bootstrapTraceMsg("initialize the lambda targets")
    	globalLambdaTargetList, err = lambda.FetchEnabledTargets(GlobalContext, s, transport)
    	if err != nil {
    		configLogIf(ctx, fmt.Errorf("Unable to initialize lambda target(s): %w", err))
    	}
    
    	bootstrapTraceMsg("applying the dynamic configuration")
    	// Apply dynamic config values
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  7. internal/event/config.go

    func (q Queue) ToRulesMap() RulesMap {
    	pattern := q.Filter.RuleList.Pattern()
    	return NewRulesMap(q.Events, pattern, q.ARN.TargetID)
    }
    
    // Unused.  Available for completion.
    type lambda struct {
    	ARN string `xml:"CloudFunction"`
    }
    
    // Unused. Available for completion.
    type topic struct {
    	ARN string `xml:"Topic" json:"Topic"`
    }
    
    // Config - notification configuration described in
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 8.4K bytes
    - Viewed (0)
  8. internal/config/lambda/event/arn.go

    		return ""
    	}
    
    	return "arn:minio:s3-object-lambda:" + arn.region + ":" + arn.TargetID.String()
    }
    
    // ParseARN - parses string to ARN.
    func ParseARN(s string) (*ARN, error) {
    	// ARN must be in the format of arn:minio:s3-object-lambda:<REGION>:<ID>:<TYPE>
    	if !strings.HasPrefix(s, "arn:minio:s3-object-lambda:") {
    		return nil, &ErrInvalidARN{s}
    	}
    
    	tokens := strings.Split(s, ":")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  9. internal/config/lambda/parse.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lambda
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"net/http"
    
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/config/lambda/event"
    	"github.com/minio/minio/internal/config/lambda/target"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/env"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  10. internal/config/lambda/event/event.go

    // to the server.
    type GetObjectContext struct {
    	OutputRoute string `json:"outputRoute"`
    	OutputToken string `json:"outputToken"`
    	InputS3URL  string `json:"inputS3Url"`
    }
    
    // Event represents lambda function event, this is undocumented in AWS S3. This
    // structure bases itself on this structure but there is no binding.
    //
    //	{
    //	  "xAmzRequestId": "a2871150-1df5-4dc9-ad9f-3da283ca1bf3",
    //	  "getObjectContext": {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 2.6K bytes
    - Viewed (0)
Back to top