Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for DOCKER (0.19 sec)

  1. cmd/update.go

    	internalLogIf(GlobalContext, err)
    
    	return err == nil
    }
    
    // IsDCOS returns true if minio is running in DCOS.
    func IsDCOS() bool {
    	// http://mesos.apache.org/documentation/latest/docker-containerizer/
    	// Mesos docker containerizer sets this value
    	return env.Get("MESOS_CONTAINER_NAME", "") != ""
    }
    
    // IsKubernetes returns true if minio is running in kubernetes.
    func IsKubernetes() bool {
    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)
  2. cni/pkg/nodeagent/podcgroupns.go

    	// - /docker/8d461fa5765781bcf5f7eb192f101bc3103d4b932e26236f43feecfa20664f96/kubepods/besteffort/poddaa5c7ee-3484-4533-af39-3591564fd03e/aff34703e5e1f89443e9a1bffcc80f43f74d4808a2dd22c8f88c08547b323934
    	// - /kubepods.slice/kubepods-burstable.slice/kubepods-burstable-pod2c48913c-b29f-11e7-9350-020968147796.slice/docker-9bca8d63d5fa610783847915bcff0ecac1273e5b4bed3f6fa1b07350e0135961.scope
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  3. cni/test/install_cni.go

    		}
    	}
    	t.Logf("PASS: All temporary files removed from %v", tempCNIConfDir)
    }
    
    // doTest sets up necessary environment variables, runs the Docker installation
    // container and verifies output file correctness.
    func doTest(t *testing.T, chainedCNIPlugin bool, wd, preConfFile, resultFileName, delayedConfFile, expectedOutputFile,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  4. istioctl/pkg/multicluster/remote_secret.go

    		return server, fmt.Errorf(
    			"server in Kubeconfig is %s. This is likely not reachable from inside the cluster, "+
    				"if you're using Kubernetes in Docker, pass --server with the container IP for the API Server",
    			server), nil
    	}
    	return server, nil, nil
    }
    
    const (
    	outputHeader  = "# This file is autogenerated, do not edit.\n"
    	outputTrailer = "---\n"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  5. cmd/common-main.go

    		}
    		ekvs = append(ekvs, ekv)
    	}
    	if err = scanner.Err(); err != nil {
    		return nil, err
    	}
    	return ekvs, nil
    }
    
    func readFromSecret(sp string) (string, error) {
    	// Supports reading path from docker secrets, filename is
    	// relative to /run/secrets/ position.
    	if isFile(pathJoin("/run/secrets/", sp)) {
    		sp = pathJoin("/run/secrets/", sp)
    	}
    	credBuf, err := os.ReadFile(sp)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  6. cmd/endpoint.go

    							endpoints[i].Hostname()), endpoints[i].Hostname(), logger.ErrorKind)
    					}
    
    					continue
    				}
    
    				// return err if not Docker or Kubernetes
    				// We use IsDocker() to check for Docker environment
    				// We use IsKubernetes() to check for Kubernetes environment
    				isLocal, err := isLocalHost(endpoints[i].Hostname(),
    					endpoints[i].Port(),
    					globalMinioPort,
    				)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  7. cmd/update_test.go

    			}
    		}
    
    		str := getUserAgent(testCase.mode)
    		expectedStr := testCase.expectedStr
    		if IsDocker() {
    			expectedStr = strings.ReplaceAll(expectedStr, "; source", "; docker; source")
    		}
    		if !strings.Contains(str, expectedStr) {
    			t.Errorf("Test %d: expected: %s, got: %s", i+1, expectedStr, str)
    		}
    		globalIsCICD = sci
    		os.Unsetenv("MARATHON_APP_LABEL_DCOS_PACKAGE_VERSION")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  8. istioctl/pkg/validate/validate_test.go

            sidecar.istio.io/bootstrapOverride: "istio-custom-bootstrap-config"
          labels:
            app: helloworld
            version: v1
        spec:
          containers:
            - name: helloworld
              image: docker.io/istio/examples-helloworld-v1
              resources:
                requests:
                  cpu: "100m"
              imagePullPolicy: IfNotPresent
              ports:
                - containerPort: 5000
    `
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 25 08:08:36 GMT 2023
    - 21.5K bytes
    - Viewed (0)
  9. istioctl/pkg/describe/describe.go

    	}
    
    	if hIP := ingress.pods[0].Status.HostIP; hIP != "" {
    		return hIP
    	}
    
    	// The scope of this function is to get the IP from Kubernetes, we do not
    	// ask Docker or minikube for an IP.
    	// See https://istio.io/docs/tasks/traffic-management/ingress/ingress-control/#determining-the-ingress-ip-and-ports
    	return "unknown"
    }
    
    func printIngressInfo(
    	writer io.Writer,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top