Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 138 for xargs (0.15 sec)

  1. internal/dsync/lock-args_gen_test.go

    Klaus Post <******@****.***> 1700528975 -0800
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  2. docs/debugging/inspect/main.go

    		}{}
    		got, err := io.ReadAll(os.Stdin)
    		if err != nil {
    			fatalErr(err)
    		}
    		fatalErr(json.Unmarshal(got, &input))
    		inputFileName = input.File
    		*keyHex = input.Key
    	case len(flag.Args()) == 1:
    		inputFileName = flag.Args()[0]
    	default:
    		flag.Usage()
    		fatalIf(true, "Only 1 file can be decrypted")
    		os.Exit(1)
    	}
    
    	// Calculate the output file name
    	switch {
    	case strings.HasSuffix(inputFileName, ".enc"):
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  3. main.go

    package main // import "github.com/minio/minio"
    
    import (
    	"os"
    
    	// MUST be first import.
    	_ "github.com/minio/minio/internal/init"
    
    	minio "github.com/minio/minio/cmd"
    )
    
    func main() {
    	minio.Main(os.Args)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 973 bytes
    - Viewed (0)
  4. internal/grid/manager.go

    		res = append(res, k)
    	}
    	return res
    }
    
    // debugMsg should *only* be used by tests.
    //
    //lint:ignore U1000 This is used by tests.
    func (m *Manager) debugMsg(d debugMsg, args ...any) {
    	for _, c := range m.targets {
    		c.debugMsg(d, args...)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  5. docs/iam/identity-management-plugin.md

    ```sh
    $ mc admin config set myminio identity_plugin --env
    KEY:
    identity_plugin  enable Identity Plugin via external hook
    
    ARGS:
    MINIO_IDENTITY_PLUGIN_URL*          (url)       plugin hook endpoint (HTTP(S)) e.g. "http://localhost:8181/path/to/endpoint"
    MINIO_IDENTITY_PLUGIN_AUTH_TOKEN    (string)    authorization token for plugin hook endpoint
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 4.2K bytes
    - Viewed (0)
  6. cmd/bucket-policy.go

    	policy, _, err := globalBucketMetadataSys.GetPolicyConfig(bucket)
    	return policy, err
    }
    
    // IsAllowed - checks given policy args is allowed to continue the Rest API.
    func (sys *PolicySys) IsAllowed(args policy.BucketPolicyArgs) bool {
    	p, err := sys.Get(args.BucketName)
    	if err == nil {
    		return p.IsAllowed(args)
    	}
    
    	// Log unhandled errors.
    	if _, ok := err.(BucketPolicyNotFound); !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
  7. internal/s3select/csv/reader.go

    func NewReader(readCloser io.ReadCloser, args *ReaderArgs) (*Reader, error) {
    	if args == nil || args.IsEmpty() {
    		panic(fmt.Errorf("empty args passed %v", args))
    	}
    	csvIn := io.Reader(readCloser)
    	if args.RecordDelimiter != "\n" {
    		csvIn = &recordTransform{
    			reader:          readCloser,
    			recordDelimiter: []byte(args.RecordDelimiter),
    			oneByte:         make([]byte, len(args.RecordDelimiter)-1),
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  8. internal/event/target/elasticsearch.go

    }
    
    func newClientV7(args ElasticsearchArgs) (*esClientV7, error) {
    	// Client options
    	elasticConfig := elasticsearch7.Config{
    		Addresses:  []string{args.URL.String()},
    		Transport:  args.Transport,
    		MaxRetries: 10,
    	}
    	// Set basic auth
    	if args.Username != "" && args.Password != "" {
    		elasticConfig.Username = args.Username
    		elasticConfig.Password = args.Password
    	}
    	// Create a client
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 15K bytes
    - Viewed (0)
  9. internal/event/target/nsq.go

    }
    
    func (target *NSQTarget) initNSQ() error {
    	args := target.args
    
    	config := nsq.NewConfig()
    	if args.TLS.Enable {
    		config.TlsV1 = true
    		config.TlsConfig = &tls.Config{
    			InsecureSkipVerify: args.TLS.SkipVerify,
    		}
    	}
    	target.config = config
    
    	producer, err := nsq.NewProducer(args.NSQDAddress.String(), config)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  10. internal/dsync/locker.go

    	// * an error on failure of lock request operation.
    	RLock(ctx context.Context, args LockArgs) (bool, error)
    
    	// Do write lock for given LockArgs. It should return
    	// * a boolean to indicate success/failure of the operation
    	// * an error on failure of lock request operation.
    	Lock(ctx context.Context, args LockArgs) (bool, error)
    
    	// Do read unlock for given LockArgs. It should return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 18 20:44:38 GMT 2022
    - 2.7K bytes
    - Viewed (0)
Back to top