Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for apimachineryversion (0.77 sec)

  1. cmd/kubeadm/app/constants/constants_test.go

    func TestGetSkewedKubernetesVersionImpl(t *testing.T) {
    	tests := []struct {
    		name           string
    		versionInfo    *apimachineryversion.Info
    		n              int
    		expectedResult *version.Version
    	}{
    		{
    			name:           "invalid versionInfo; placeholder version is returned",
    			versionInfo:    &apimachineryversion.Info{},
    			expectedResult: DefaultKubernetesPlaceholderVersion,
    		},
    		{
    			name:           "valid skew of -1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 03:26:36 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/version.go

    	"encoding/json"
    	"fmt"
    	"io"
    
    	"github.com/pkg/errors"
    	"github.com/spf13/cobra"
    
    	apimachineryversion "k8s.io/apimachinery/pkg/version"
    	"k8s.io/component-base/version"
    	"k8s.io/klog/v2"
    	"sigs.k8s.io/yaml"
    )
    
    // Version provides the version information of kubeadm.
    type Version struct {
    	ClientVersion *apimachineryversion.Info `json:"clientVersion"`
    }
    
    // newCmdVersion provides the version information of kubeadm.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 17 14:40:46 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/config/common_test.go

    	validVersionInfo := &apimachineryversion.Info{Major: "1", GitVersion: "v1.23.0-alpha.1"}
    	tests := []struct {
    		name           string
    		versionInfo    *apimachineryversion.Info
    		k8sVersion     *version.Version
    		mcpVersion     *version.Version
    		expectedResult bool
    	}{
    		{
    			name:           "invalid versionInfo",
    			versionInfo:    &apimachineryversion.Info{},
    			expectedResult: false,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/deleted_kinds.go

    import (
    	"os"
    	"strconv"
    	"strings"
    
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    	"k8s.io/apimachinery/pkg/util/sets"
    	apimachineryversion "k8s.io/apimachinery/pkg/version"
    	"k8s.io/apiserver/pkg/registry/rest"
    	"k8s.io/klog/v2"
    )
    
    // resourceExpirationEvaluator holds info for deciding if a particular rest.Storage needs to excluded from the API
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 16 03:02:49 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/config/common.go

    	"strings"
    
    	"github.com/pkg/errors"
    
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	netutil "k8s.io/apimachinery/pkg/util/net"
    	"k8s.io/apimachinery/pkg/util/version"
    	apimachineryversion "k8s.io/apimachinery/pkg/version"
    	componentversion "k8s.io/component-base/version"
    	"k8s.io/klog/v2"
    	netutils "k8s.io/utils/net"
    
    	kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/constants/constants.go

    package constants
    
    import (
    	"fmt"
    	"net"
    	"os"
    	"path/filepath"
    	"strings"
    	"time"
    
    	"github.com/pkg/errors"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/util/version"
    	apimachineryversion "k8s.io/apimachinery/pkg/version"
    	componentversion "k8s.io/component-base/version"
    	netutils "k8s.io/utils/net"
    )
    
    const (
    	// KubernetesDir is the directory Kubernetes owns for storing various configuration files
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 32.4K bytes
    - Viewed (0)
Back to top