Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for postgres (0.18 sec)

  1. internal/event/target/postgresql.go

    	EnvPostgresEnable             = "MINIO_NOTIFY_POSTGRES_ENABLE"
    	EnvPostgresFormat             = "MINIO_NOTIFY_POSTGRES_FORMAT"
    	EnvPostgresConnectionString   = "MINIO_NOTIFY_POSTGRES_CONNECTION_STRING"
    	EnvPostgresTable              = "MINIO_NOTIFY_POSTGRES_TABLE"
    	EnvPostgresHost               = "MINIO_NOTIFY_POSTGRES_HOST"
    	EnvPostgresPort               = "MINIO_NOTIFY_POSTGRES_PORT"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  2. internal/event/target/postgresql_test.go

    import (
    	"database/sql"
    	"testing"
    )
    
    // TestPostgreSQLRegistration checks if postgres driver
    // is registered and fails otherwise.
    func TestPostgreSQLRegistration(t *testing.T) {
    	var found bool
    	for _, drv := range sql.Drivers() {
    		if drv == "postgres" {
    			found = true
    			break
    		}
    	}
    	if !found {
    		t.Fatal("postgres driver not registered")
    	}
    }
    
    func TestPsqlTableNameValidation(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  3. cmd/config-current.go

    			Description:     "publish bucket notifications to MySQL databases",
    			MultipleTargets: true,
    		},
    		config.HelpKV{
    			Key:             config.NotifyPostgresSubSys,
    			Description:     "publish bucket notifications to Postgres databases",
    			MultipleTargets: true,
    		},
    		config.HelpKV{
    			Key:             config.NotifyESSubSys,
    			Description:     "publish bucket notifications to Elasticsearch endpoints",
    			MultipleTargets: true,
    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)
  4. internal/config/notify/help.go

    			Type:        "sentence",
    		},
    	}
    
    	HelpPostgres = config.HelpKVS{
    		config.HelpKV{
    			Key:         target.PostgresConnectionString,
    			Description: `Postgres server connection-string e.g. "host=localhost port=5432 dbname=minio_events user=postgres password=password sslmode=disable"`,
    			Type:        "string",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         target.PostgresTable,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 18.8K bytes
    - Viewed (0)
  5. internal/config/notify/parse.go

    		if err = nsqArgs.Validate(); err != nil {
    			return nil, err
    		}
    
    		nsqTargets[k] = nsqArgs
    	}
    	return nsqTargets, nil
    }
    
    // DefaultPostgresKVS - default Postgres KV for server config.
    var (
    	DefaultPostgresKVS = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: config.EnableOff,
    		},
    		config.KV{
    			Key:   target.PostgresFormat,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 46.4K bytes
    - Viewed (0)
  6. internal/config/notify/config.go

    	MySQL         map[string]target.MySQLArgs         `json:"mysql"`
    	NATS          map[string]target.NATSArgs          `json:"nats"`
    	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"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.8K bytes
    - Viewed (0)
  7. cmd/config-migrate.go

    	}
    	for k, args := range cfg.Notify.NATS {
    		notify.SetNotifyNATS(newCfg, k, args)
    	}
    	for k, args := range cfg.Notify.NSQ {
    		notify.SetNotifyNSQ(newCfg, k, args)
    	}
    	for k, args := range cfg.Notify.PostgreSQL {
    		notify.SetNotifyPostgres(newCfg, k, args)
    	}
    	for k, args := range cfg.Notify.Redis {
    		notify.SetNotifyRedis(newCfg, k, args)
    	}
    	for k, args := range cfg.Notify.Webhook {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:05:24 GMT 2023
    - 5.4K bytes
    - Viewed (0)
Back to top