Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  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/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)
  8. internal/config/lambda/target/webhook.go

    	WebhookClientCert = "client_cert"
    	WebhookClientKey  = "client_key"
    
    	EnvWebhookEnable     = "MINIO_LAMBDA_WEBHOOK_ENABLE"
    	EnvWebhookEndpoint   = "MINIO_LAMBDA_WEBHOOK_ENDPOINT"
    	EnvWebhookAuthToken  = "MINIO_LAMBDA_WEBHOOK_AUTH_TOKEN"
    	EnvWebhookClientCert = "MINIO_LAMBDA_WEBHOOK_CLIENT_CERT"
    	EnvWebhookClientKey  = "MINIO_LAMBDA_WEBHOOK_CLIENT_KEY"
    )
    
    // WebhookArgs - Webhook target arguments.
    type WebhookArgs struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Nov 17 20:02:26 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  9. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 11:33:28 GMT 2024
    - 30.7K bytes
    - Viewed (0)
  10. 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)
Back to top