Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 370 for xnet (0.12 sec)

  1. internal/logger/config.go

    		}
    		if !enabled {
    			continue
    		}
    		var brokers []xnet.Host
    		kafkaBrokers := getCfgVal(EnvKafkaBrokers, k, kv.Get(KafkaBrokers))
    		if len(kafkaBrokers) == 0 {
    			return cfg, config.Errorf("kafka 'brokers' cannot be empty")
    		}
    		for _, s := range strings.Split(kafkaBrokers, config.ValueSeparator) {
    			var host *xnet.Host
    			host, err = xnet.ParseHost(s)
    			if err != nil {
    				break
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. internal/event/target/webhook.go

    	"encoding/json"
    	"errors"
    	"fmt"
    	"net"
    	"net/http"
    	"net/url"
    	"os"
    	"path/filepath"
    	"strings"
    	"syscall"
    	"time"
    
    	"github.com/minio/minio/internal/event"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/once"
    	"github.com/minio/minio/internal/store"
    	"github.com/minio/pkg/v2/certs"
    	xnet "github.com/minio/pkg/v2/net"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 20 22:40:07 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  3. internal/config/etcd/etcd.go

    package etcd
    
    import (
    	"crypto/tls"
    	"crypto/x509"
    	"strings"
    	"time"
    
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/pkg/v2/env"
    	xnet "github.com/minio/pkg/v2/net"
    	clientv3 "go.etcd.io/etcd/client/v3"
    	"go.etcd.io/etcd/client/v3/namespace"
    	"go.uber.org/zap"
    )
    
    const (
    	// Default values used while communicating with etcd.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. internal/event/target/kafka.go

    		target.loggerOnce(context.Background(), err, target.ID().String())
    		return err
    	}
    
    	config.Net.TLS.Enable = args.TLS.Enable
    	config.Net.TLS.Config = tlsConfig
    	config.Net.TLS.Config.InsecureSkipVerify = args.TLS.SkipVerify
    	config.Net.TLS.Config.ClientAuth = args.TLS.ClientAuth
    	config.Net.TLS.Config.RootCAs = args.TLS.RootCAs
    
    	// These settings are needed to ensure that kafka client doesn't hang on brokers
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
  5. internal/config/identity/openid/jwt.go

    package openid
    
    import (
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"sync"
    	"time"
    
    	jwtgo "github.com/golang-jwt/jwt/v4"
    	"github.com/minio/minio/internal/arn"
    	"github.com/minio/minio/internal/auth"
    	xnet "github.com/minio/pkg/v2/net"
    	"github.com/minio/pkg/v2/policy"
    )
    
    type publicKeys struct {
    	*sync.RWMutex
    
    	// map of kid to public key
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 8.3K bytes
    - Viewed (5)
  6. cmd/globals.go

    	levent "github.com/minio/minio/internal/config/lambda/event"
    	"github.com/minio/minio/internal/event"
    	"github.com/minio/minio/internal/pubsub"
    	"github.com/minio/pkg/v2/certs"
    	"github.com/minio/pkg/v2/env"
    	xnet "github.com/minio/pkg/v2/net"
    )
    
    // minio configuration related constants.
    const (
    	GlobalMinioDefaultPort = "9000"
    
    	globalMinioDefaultRegion = ""
    	// This is a sha256 output of ``arn:aws:iam::minio:user/admin``,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  7. internal/config/identity/openid/openid.go

    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/config/identity/openid/provider"
    	"github.com/minio/minio/internal/hash/sha256"
    	"github.com/minio/pkg/v2/env"
    	xnet "github.com/minio/pkg/v2/net"
    	"github.com/minio/pkg/v2/policy"
    )
    
    // OpenID keys and envs.
    const (
    	ClientID      = "client_id"
    	ClientSecret  = "client_secret"
    	ConfigURL     = "config_url"
    	ClaimName     = "claim_name"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  8. internal/event/target/nats_tls_contrib_test.go

    import (
    	"path"
    	"path/filepath"
    	"testing"
    
    	xnet "github.com/minio/pkg/v2/net"
    	natsserver "github.com/nats-io/nats-server/v2/test"
    )
    
    func TestNatsConnTLSCustomCA(t *testing.T) {
    	s, opts := natsserver.RunServerWithConfig(filepath.Join("testdata", "contrib", "nats_tls.conf"))
    	defer s.Shutdown()
    
    	clientConfig := &NATSArgs{
    		Enable: true,
    		Address: xnet.Host{
    			Name:      "localhost",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  9. cmd/update.go

    	"crypto/tls"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"net/url"
    	"os"
    	"path"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"sync/atomic"
    	"time"
    
    	"github.com/klauspost/compress/zstd"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/env"
    	xnet "github.com/minio/pkg/v2/net"
    	"github.com/minio/selfupdate"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  10. internal/event/target/nats.go

    	"context"
    	"crypto/tls"
    	"crypto/x509"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"net/url"
    	"os"
    	"path/filepath"
    
    	"github.com/google/uuid"
    	"github.com/minio/minio/internal/event"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/once"
    	"github.com/minio/minio/internal/store"
    	xnet "github.com/minio/pkg/v2/net"
    	"github.com/nats-io/nats.go"
    	"github.com/nats-io/stan.go"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
Back to top