Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for Zambia (0.19 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. docs/es/docs/python-types.md

    ```Python
        first_name="john", last_name="doe"
    ```
    
    Es algo diferente.
    
    Estamos usando los dos puntos (`:`), no un símbolo de igual (`=`).
    
    Añadir los type hints normalmente no cambia lo que sucedería si ellos no estuviesen presentes.
    
    Pero ahora imagina que nuevamente estás creando la función, pero con los type hints.
    
    En el mismo punto intentas iniciar el auto-completado con `Ctrl+Space` y ves:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  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. 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)
  10. 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)
Back to top