Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Zambia (0.31 sec)

  1. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  2. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  4. internal/http/lambda-headers.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package http
    
    // Object Lambda headers
    const (
    	AmzRequestRoute = "x-amz-request-route"
    	AmzRequestToken = "x-amz-request-token"
    
    	AmzFwdStatus                   = "x-amz-fwd-status"
    	AmzFwdErrorCode                = "x-amz-fwd-error-code"
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  5. cmd/object-lambda-handlers.go

    			return nil
    		}
    		return apiErr
    	}
    	return nil
    }
    
    // GetObjectLamdbaHandler - GET Object with transformed data via lambda functions
    // ----------
    // This implementation of the GET operation applies lambda functions and returns the
    // response generated via the lambda functions. To use this API, you must have READ access
    // to the object.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Sep 15 04:58:17 GMT 2023
    - 10.2K bytes
    - Viewed (1)
  6. internal/config/config.go

    	NotifyRedisSubSys    = madmin.NotifyRedisSubSys
    	NotifyWebhookSubSys  = madmin.NotifyWebhookSubSys
    
    	// Add new constants here (similar to above) if you add new fields to config.
    )
    
    // Lambda config constants.
    const (
    	LambdaWebhookSubSys = madmin.LambdaWebhookSubSys
    )
    
    // NotifySubSystems - all notification sub-systems
    var NotifySubSystems = set.CreateStringSet(
    	NotifyKafkaSubSys,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  7. internal/config/lambda/event/arn_test.go

    		expectErr   bool
    	}{
    		{"", nil, true},
    		{"arn:minio:s3-object-lambda:::", nil, true},
    		{"arn:minio:s3-object-lambda::1:webhook:remote", nil, true},
    		{"arn:aws:s3-object-lambda::1:webhook", nil, true},
    		{"arn:minio:sns::1:webhook", nil, true},
    		{"arn:minio:s3-object-lambda::1:webhook", &ARN{TargetID{"1", "webhook"}, ""}, false},
    		{"arn:minio:s3-object-lambda:us-east-1:1:webhook", &ARN{TargetID{"1", "webhook"}, "us-east-1"}, false},
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  8. internal/config/lambda/help.go

    package lambda
    
    import (
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/event/target"
    )
    
    // Help template inputs for all lambda targets
    var (
    	HelpWebhook = config.HelpKVS{
    		config.HelpKV{
    			Key:         target.WebhookEndpoint,
    			Description: "webhook server endpoint e.g. http://localhost:8080/minio/lambda",
    			Type:        "url",
    			Sensitive:   true,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  9. docs/lambda/README.md

    ...
    ...
    Object Lambda ARNs: arn:minio:s3-object-lambda::function:webhook
    
    ```
    
    ### Lambda Target with Auth Token
    
    If your lambda target expects an authorization token then you can enable it per function target as follows
    
    ```
    MINIO_LAMBDA_WEBHOOK_ENABLE_function=on MINIO_LAMBDA_WEBHOOK_ENDPOINT_function=http://localhost:5000 MINIO_LAMBDA_WEBHOOK_AUTH_TOKEN="mytoken" minio server /data &
    ```
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 04 19:15:28 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  10. internal/config/lambda/config.go

    package lambda
    
    import "github.com/minio/minio/internal/event/target"
    
    // Config - lambda target configuration structure, holds
    // information about various lambda targets.
    type Config struct {
    	Webhook map[string]target.WebhookArgs `json:"webhook"`
    }
    
    const (
    	defaultTarget = "1"
    )
    
    // NewConfig - initialize lambda config.
    func NewConfig() Config {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 1.3K bytes
    - Viewed (0)
Back to top