Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for webRoot (0.36 sec)

  1. internal/config/lambda/target/webhook.go

    	xnet "github.com/minio/pkg/v2/net"
    )
    
    // Webhook constants
    const (
    	WebhookEndpoint   = "endpoint"
    	WebhookAuthToken  = "auth_token"
    	WebhookClientCert = "client_cert"
    	WebhookClientKey  = "client_key"
    
    	EnvWebhookEnable     = "MINIO_LAMBDA_WEBHOOK_ENABLE"
    	EnvWebhookEndpoint   = "MINIO_LAMBDA_WEBHOOK_ENDPOINT"
    	EnvWebhookAuthToken  = "MINIO_LAMBDA_WEBHOOK_AUTH_TOKEN"
    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)
  2. internal/config/lambda/event/targetidset_test.go

    		{NewTargetIDSet(), NewTargetIDSet(TargetID{"1", "webhook"}), NewTargetIDSet(TargetID{"1", "webhook"})},
    		{NewTargetIDSet(TargetID{"1", "webhook"}), NewTargetIDSet(), NewTargetIDSet(TargetID{"1", "webhook"})},
    		{NewTargetIDSet(TargetID{"1", "webhook"}), NewTargetIDSet(TargetID{"2", "amqp"}), NewTargetIDSet(TargetID{"1", "webhook"}, TargetID{"2", "amqp"})},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  3. internal/event/targetidset_test.go

    		{NewTargetIDSet(), NewTargetIDSet(TargetID{"1", "webhook"}), NewTargetIDSet(TargetID{"1", "webhook"})},
    		{NewTargetIDSet(TargetID{"1", "webhook"}), NewTargetIDSet(), NewTargetIDSet(TargetID{"1", "webhook"})},
    		{NewTargetIDSet(TargetID{"1", "webhook"}), NewTargetIDSet(TargetID{"2", "amqp"}), NewTargetIDSet(TargetID{"1", "webhook"}, TargetID{"2", "amqp"})},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  4. internal/event/targetlist_test.go

    		target         Target
    		expectedResult []TargetID
    		expectErr      bool
    	}{
    		{targetListCase1, &ExampleTarget{TargetID{"1", "webhook"}, false, false}, []TargetID{{"1", "webhook"}}, false},
    		{targetListCase2, &ExampleTarget{TargetID{"1", "webhook"}, false, false}, []TargetID{{"2", "testcase"}, {"1", "webhook"}}, false},
    		{targetListCase3, &ExampleTarget{TargetID{"3", "testcase"}, false, false}, nil, true},
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Dec 05 10:16:33 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  5. internal/config/notify/config.go

    	NSQ           map[string]target.NSQArgs           `json:"nsq"`
    	PostgreSQL    map[string]target.PostgreSQLArgs    `json:"postgresql"`
    	Redis         map[string]target.RedisArgs         `json:"redis"`
    	Webhook       map[string]target.WebhookArgs       `json:"webhook"`
    }
    
    const (
    	defaultTarget = "1"
    )
    
    // NewConfig - initialize notification config.
    func NewConfig() Config {
    	// Make sure to initialize notification targets
    	cfg := Config{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.8K bytes
    - Viewed (0)
  6. internal/config/lambda/parse.go

    }
    
    // DefaultLambdaKVS - default notification list of kvs.
    var (
    	DefaultLambdaKVS = map[string]config.KVS{
    		config.LambdaWebhookSubSys: DefaultWebhookKVS,
    	}
    )
    
    // DefaultWebhookKVS - default KV for webhook config
    var (
    	DefaultWebhookKVS = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: config.EnableOff,
    		},
    		config.KV{
    			Key:   target.WebhookEndpoint,
    			Value: "",
    		},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. internal/config/lambda/event/arn_test.go

    		{"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},
    	}
    
    	for i, testCase := range testCases {
    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/event/config_test.go

    		{config1, "eu-west-1", []ARN{{TargetID{"1", "webhook"}, "eu-west-1"}}},
    		{config1, "", []ARN{{TargetID{"1", "webhook"}, ""}}},
    		{config2, "us-east-1", []ARN{{TargetID{"1", "webhook"}, "us-east-1"}}},
    		{config2, "", []ARN{{TargetID{"1", "webhook"}, ""}}},
    		{config3, "us-east-1", []ARN{{TargetID{"1", "webhook"}, "us-east-1"}, {TargetID{"2", "amqp"}, "us-east-1"}}},
    		{config3, "", []ARN{{TargetID{"1", "webhook"}, ""}, {TargetID{"2", "amqp"}, ""}}},
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Dec 05 10:16:33 GMT 2023
    - 29K bytes
    - Viewed (0)
  9. internal/config/lambda/help.go

    		},
    		config.HelpKV{
    			Key:         target.WebhookClientCert,
    			Description: "client cert for Webhook mTLS auth",
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         target.WebhookClientKey,
    			Description: "client cert key for Webhook mTLS auth",
    			Optional:    true,
    			Type:        "string",
    			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)
  10. internal/logger/target/http/http.go

    	// Sending a value on logCh must hold read lock on logChMu (to avoid closing)
    	logCh   chan interface{}
    	logChMu sync.RWMutex
    
    	// If this webhook is being re-configured we will
    	// assign the new webhook target to this field.
    	// The Send() method will then re-direct entries
    	// to the new target when the current one
    	// has been set to status "statusClosed".
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
Back to top