Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 217 for Reconfig (0.18 sec)

  1. internal/config/notify/config.go

    	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{
    		NSQ:           make(map[string]target.NSQArgs),
    		AMQP:          make(map[string]target.AMQPArgs),
    		MQTT:          make(map[string]target.MQTTArgs),
    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)
  2. cmd/bucket-metadata-sys.go

    // GetNotificationConfig returns configured notification config
    // The returned object may not be modified.
    func (sys *BucketMetadataSys) GetNotificationConfig(bucket string) (*event.Config, error) {
    	meta, _, err := sys.GetConfig(GlobalContext, bucket)
    	if err != nil {
    		return nil, err
    	}
    	return meta.notificationConfig, nil
    }
    
    // GetSSEConfig returns configured SSE config
    // The returned object may not be modified.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  3. internal/kms/config.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 kms
    
    // Top level config constants for KMS
    const (
    	EnvKMSSecretKey        = "MINIO_KMS_SECRET_KEY"
    	EnvKMSSecretKeyFile    = "MINIO_KMS_SECRET_KEY_FILE"
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 07:42:50 GMT 2024
    - 2K bytes
    - Viewed (0)
  4. .github/ISSUE_TEMPLATE/config.yml

    Harshavardhana <******@****.***> 1594223083 -0700
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jul 08 15:44:43 GMT 2020
    - 257 bytes
    - Viewed (0)
  5. internal/config/config.go

    	for _, kv := range kvs {
    		if kv.Key == key {
    			return kv.Value, true
    		}
    	}
    	return "", false
    }
    
    // Config - MinIO server config structure.
    type Config map[string]map[string]KVS
    
    // DelFrom - deletes all keys in the input reader.
    func (c Config) DelFrom(r io.Reader) error {
    	scanner := bufio.NewScanner(r)
    	for scanner.Scan() {
    		// Skip any empty lines, or comment like characters
    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)
  6. internal/config/policy/plugin/config.go

    	EnvPolicyPluginEnableHTTP2 = "MINIO_POLICY_PLUGIN_ENABLE_HTTP2"
    )
    
    // DefaultKVS - default config for Authz plugin config
    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   URL,
    			Value: "",
    		},
    		config.KV{
    			Key:   AuthToken,
    			Value: "",
    		},
    		config.KV{
    			Key:   EnableHTTP2,
    			Value: "off",
    		},
    	}
    )
    
    // Args for general purpose policy engine configuration.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  7. cmd/config-common.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"io"
    	"net/http"
    
    	"github.com/minio/minio/internal/hash"
    )
    
    var errConfigNotFound = errors.New("config file not found")
    
    func readConfigWithMetadata(ctx context.Context, store objectIO, configFile string, opts ObjectOptions) ([]byte, ObjectInfo, error) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  8. cmd/config-dir.go

    func getDefaultCertsDir() string {
    	return filepath.Join(getDefaultConfigDir(), certsDir)
    }
    
    func getDefaultCertsCADir() string {
    	return filepath.Join(getDefaultCertsDir(), certsCADir)
    }
    
    var (
    	// Default config, certs and CA directories.
    	defaultConfigDir  = &ConfigDir{path: getDefaultConfigDir()}
    	defaultCertsDir   = &ConfigDir{path: getDefaultCertsDir()}
    	defaultCertsCADir = &ConfigDir{path: getDefaultCertsCADir()}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 3K bytes
    - Viewed (0)
  9. internal/config/config_test.go

    // GNU Affero General Public License for more details.
    //
    // 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 config
    
    import (
    	"testing"
    )
    
    func TestKVFields(t *testing.T) {
    	tests := []struct {
    		input          string
    		keys           []string
    		expectedFields map[string]struct{}
    	}{
    		// No keys present
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Aug 18 22:55:17 GMT 2022
    - 4.2K bytes
    - Viewed (0)
  10. cmd/config-encrypted_test.go

    	cred1 := auth.Credentials{
    		AccessKey: "minio",
    		SecretKey: "minio123",
    	}
    
    	cred2 := auth.Credentials{
    		AccessKey: "minio",
    		SecretKey: "minio1234",
    	}
    
    	data := []byte(`config data`)
    	edata1, err := madmin.EncryptData(cred1.String(), data)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	edata2, err := madmin.EncryptData(cred2.String(), data)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 1.9K bytes
    - Viewed (0)
Back to top