Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for GoRuntime (0.18 sec)

  1. cmd/kubeadm/app/phases/copycerts/copycerts_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package copycerts
    
    import (
    	"context"
    	"encoding/hex"
    	"os"
    	"path/filepath"
    	"regexp"
    	goruntime "runtime"
    	"testing"
    
    	"github.com/lithammer/dedent"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	fakeclient "k8s.io/client-go/kubernetes/fake"
    	"k8s.io/client-go/util/keyutil"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 01 00:15:30 UTC 2023
    - 9.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. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_test.go

    		GitVersion:   "42",
    		GitCommit:    "34973274ccef6ab4dfaaf86599792fa9c3fe4689",
    		GitTreeState: "Dirty",
    		BuildDate:    time.Now().String(),
    		GoVersion:    goruntime.Version(),
    		Compiler:     goruntime.Compiler,
    		Platform:     fmt.Sprintf("%s/%s", goruntime.GOOS, goruntime.GOARCH),
    	}
    }
    
    // TestGracefulShutdown verifies server shutdown after request handler finish.
    func TestGracefulShutdown(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/finisher/finisher.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package finisher
    
    import (
    	"context"
    	"fmt"
    	"net/http"
    	goruntime "runtime"
    	"time"
    
    	"k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 07 14:20:33 UTC 2021
    - 6K bytes
    - Viewed (0)
  5. 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)
  6. pkg/kubelet/nodestatus/setters.go

    			})
    		}
    
    		node.Status.Images = imagesOnNode
    		return nil
    	}
    }
    
    // GoRuntime returns a Setter that sets GOOS and GOARCH on the node.
    func GoRuntime() Setter {
    	return func(ctx context.Context, node *v1.Node) error {
    		node.Status.NodeInfo.OperatingSystem = goruntime.GOOS
    		node.Status.NodeInfo.Architecture = goruntime.GOARCH
    		return nil
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 12:12:04 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  7. pkg/kubelet/userns/userns_manager_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package userns
    
    import (
    	"errors"
    	"fmt"
    	"os"
    	goruntime "runtime"
    	"testing"
    
    	"github.com/stretchr/testify/assert"
    	"github.com/stretchr/testify/require"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. 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)
  9. cmd/kube-proxy/app/server_linux_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package app
    
    import (
    	"fmt"
    	"net"
    	"os"
    	"path/filepath"
    	"reflect"
    	goruntime "runtime"
    	"strings"
    	"testing"
    	"time"
    
    	"github.com/spf13/pflag"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. 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)
Back to top