Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for GoRuntime (0.2 sec)

  1. pkg/kubelet/kubelet_node_status.go

    			Name: string(kl.nodeName),
    			Labels: map[string]string{
    				v1.LabelHostname:      kl.hostname,
    				v1.LabelOSStable:      goruntime.GOOS,
    				v1.LabelArchStable:    goruntime.GOARCH,
    				kubeletapis.LabelOS:   goruntime.GOOS,
    				kubeletapis.LabelArch: goruntime.GOARCH,
    			},
    		},
    		Spec: v1.NodeSpec{
    			Unschedulable: !kl.registerSchedulable,
    		},
    	}
    	osLabels, err := getOSSpecificLabels()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    			if test.skipOnWindows && goruntime.GOOS == "windows" {
    				// TODO: remove skip once the failing test has been fixed.
    				t.Skip("Skip failing test on Windows.")
    			}
    			actual := toKubeContainerStatus(test.input, cid.Type)
    			assert.Equal(t, test.expected, actual, desc)
    		})
    	}
    }
    
    func TestToKubeContainerStatusWithUser(t *testing.T) {
    	if goruntime.GOOS == "windows" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  3. cmd/kube-scheduler/app/server.go

    limitations under the License.
    */
    
    // Package app implements a Server object for running the scheduler.
    package app
    
    import (
    	"context"
    	"fmt"
    	"net/http"
    	"os"
    	goruntime "runtime"
    
    	"github.com/spf13/cobra"
    
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    	"k8s.io/apiserver/pkg/authentication/authenticator"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_test.go

    			nodeLabels:  map[string]string{v1.LabelOSStable: goruntime.GOOS, v1.LabelArchStable: goruntime.GOARCH},
    			podSelector: map[string]string{v1.LabelOSStable: "dummyOS"},
    			podStatus:   v1.PodFailed,
    		},
    		{
    			name:        "correct OS label, correct pod selector, admission denied",
    			nodeLabels:  map[string]string{v1.LabelOSStable: goruntime.GOOS, v1.LabelArchStable: goruntime.GOARCH},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  5. pkg/test/framework/suite.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package framework
    
    import (
    	"errors"
    	"fmt"
    	"os"
    	"path/filepath"
    	"regexp"
    	goruntime "runtime"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    
    	"github.com/hashicorp/go-multierror"
    
    	kubelib "istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/echo"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. cmd/kube-proxy/app/server_linux.go

    limitations under the License.
    */
    
    // Package app does all of the work necessary to configure and run a
    // Kubernetes app process.
    package app
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	goruntime "runtime"
    	"strings"
    	"time"
    
    	"github.com/google/cadvisor/machine"
    	"github.com/google/cadvisor/utils/sysfs"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  7. pkg/kubelet/images/image_gc_manager_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package images
    
    import (
    	"context"
    	"fmt"
    	goruntime "runtime"
    	"testing"
    	"time"
    
    	"github.com/stretchr/testify/assert"
    	"github.com/stretchr/testify/require"
    	"go.uber.org/mock/gomock"
    
    	noopoteltrace "go.opentelemetry.io/otel/trace/noop"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 15:38:20 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/config.go

    limitations under the License.
    */
    
    package server
    
    import (
    	"context"
    	"crypto/sha256"
    	"encoding/base32"
    	"fmt"
    	"net"
    	"net/http"
    	"os"
    	goruntime "runtime"
    	"runtime/debug"
    	"sort"
    	"strconv"
    	"strings"
    	"sync/atomic"
    	"time"
    
    	"github.com/google/uuid"
    	"golang.org/x/crypto/cryptobyte"
    	jsonpatch "gopkg.in/evanphx/json-patch.v4"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_container.go

    			}
    
    			// Volume Mounts fail on Windows if it is not of the form C:/
    			containerLogPath = volumeutil.MakeAbsolutePath(goruntime.GOOS, containerLogPath)
    			terminationMessagePath := volumeutil.MakeAbsolutePath(goruntime.GOOS, container.TerminationMessagePath)
    			selinuxRelabel := selinux.GetEnabled()
    			volumeMounts = append(volumeMounts, &runtimeapi.Mount{
    				HostPath:       containerLogPath,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  10. pkg/kubelet/server/server.go

    limitations under the License.
    */
    
    package server
    
    import (
    	"context"
    	"crypto/tls"
    	"fmt"
    	"io"
    	"net"
    	"net/http"
    	"net/http/pprof"
    	"net/url"
    	"os"
    	"reflect"
    	goruntime "runtime"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/emicklei/go-restful/v3"
    	cadvisormetrics "github.com/google/cadvisor/container"
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
Back to top