Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewWithOptions (0.06 sec)

  1. docs/sts/assume-role.go

    		fmt.Println("SessionToken:", v.SessionToken)
    		return
    	}
    
    	// API requests are secure (HTTPS) if secure=true and insecure (HTTP) otherwise.
    	// New returns an MinIO Admin client object.
    	madmClnt, err := madmin.NewWithOptions(stsEndpointURL.Host, mopts)
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	err = madmClnt.ServiceRestart(context.Background())
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 17 01:24:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top