Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 560 for cmd (0.39 sec)

  1. cmd/admin-handlers_test.go

    	// Setting up a go routine to simulate ServerRouter's
    	// handleServiceSignals for stop and restart commands.
    	if cmd == restartCmd {
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    			testServiceSignalReceiver(cmd, t)
    		}()
    	}
    	credentials := globalActiveCred
    
    	req, err := getServiceCmdRequest(cmd, credentials)
    	if err != nil {
    		t.Fatalf("Failed to build service status request %v", err)
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  2. Dockerfile.release

    ARG TARGETARCH
    ARG RELEASE
    
    ENV GOPATH /go
    ENV CGO_ENABLED 0
    
    # Install curl and minisign
    RUN apk add -U --no-cache ca-certificates && \
        apk add -U --no-cache curl && \
        go install aead.dev/minisign/cmd/minisign@v0.2.1
    
    # Download minio binary and signature file
    RUN curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE} -o /go/bin/minio && \
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 29 19:10:49 GMT 2024
    - 2.8K bytes
    - Viewed (1)
  3. Dockerfile

    FROM minio/minio:latest
    
    COPY ./minio /usr/bin/minio
    COPY dockerscripts/docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
    
    ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"]
    
    VOLUME ["/data"]
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Oct 28 19:19:49 GMT 2023
    - 202 bytes
    - Viewed (0)
  4. Dockerfile.dev

    FROM minio/minio:latest
    
    ENV PATH=/opt/bin:$PATH
    
    COPY ./minio /opt/bin/minio
    COPY dockerscripts/docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
    
    ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"]
    
    VOLUME ["/data"]
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 02 16:54:36 GMT 2022
    - 227 bytes
    - Viewed (0)
  5. README.md

    ```sh
    ufw allow 9000:9010/tcp
    ```
    
    ### firewall-cmd
    
    For hosts with firewall-cmd enabled (CentOS), you can use `firewall-cmd` command to allow traffic to specific ports. Use below commands to allow access to port 9000
    
    ```sh
    firewall-cmd --get-active-zones
    ```
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 14 17:51:34 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  6. cmd/version_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 cmd
    
    import (
    	"testing"
    	"time"
    )
    
    func TestVersion(t *testing.T) {
    	Version = "2017-05-07T06:37:49Z"
    	_, err := time.Parse(time.RFC3339, Version)
    	if err != nil {
    		t.Fatal(err)
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 956 bytes
    - Viewed (0)
  7. cmd/os-dirent_namelen_bsd.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 cmd
    
    import "syscall"
    
    func direntNamlen(dirent *syscall.Dirent) (uint64, error) {
    	return uint64(dirent.Namlen), nil
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 982 bytes
    - Viewed (0)
  8. cmd/api-headers_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 cmd
    
    import (
    	"testing"
    )
    
    func TestNewRequestID(t *testing.T) {
    	// Ensure that it returns an alphanumeric result of length 16.
    	id := mustGetRequestID(UTCNow())
    
    	if len(id) != 16 {
    		t.Fail()
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  9. cmd/setup-type.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 cmd
    
    // SetupType - enum for setup type.
    type SetupType int
    
    const (
    	// UnknownSetupType - starts with unknown setup type.
    	UnknownSetupType SetupType = iota
    
    	// FSSetupType - FS setup type enum.
    	FSSetupType
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  10. cmd/service.go

    // process when successful.
    func restartProcess() error {
    	if runtime.GOOS == globalWindowsOSName {
    		cmd := exec.Command(os.Args[0], os.Args[1:]...)
    		cmd.Stdout = os.Stdout
    		cmd.Stderr = os.Stderr
    		cmd.Stdin = os.Stdin
    		cmd.Env = os.Environ()
    		err := cmd.Run()
    		if err == nil {
    			os.Exit(0)
    		}
    		return err
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 28 07:02:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top