Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for Cmp (0.05 sec)

  1. pkg/scheduler/schedule_one_test.go

    import (
    	"context"
    	"errors"
    	"fmt"
    	"math"
    	"math/rand"
    	"reflect"
    	"regexp"
    	goruntime "runtime"
    	"sort"
    	"strconv"
    	"sync"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	v1 "k8s.io/api/core/v1"
    	eventsv1 "k8s.io/api/events/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/types"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/runtime/framework_test.go

    limitations under the License.
    */
    
    package runtime
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"reflect"
    	"strings"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/component-base/metrics/testutil"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  3. pkg/controller/job/job_controller_test.go

    limitations under the License.
    */
    
    package job
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"math"
    	"sort"
    	"strconv"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/go-cmp/cmp/cmpopts"
    	batch "k8s.io/api/batch/v1"
    	v1 "k8s.io/api/core/v1"
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  4. pkg/apis/apps/validation/validation_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package validation
    
    import (
    	"fmt"
    	"strings"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/go-cmp/cmp/cmpopts"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/util/dump"
    	"k8s.io/apimachinery/pkg/util/intstr"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  5. pkg/apis/batch/validation/validation_test.go

    limitations under the License.
    */
    
    package validation
    
    import (
    	"errors"
    	_ "time/tzdata"
    
    	"fmt"
    	"strings"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/go-cmp/cmp/cmpopts"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/validation/field"
    	"k8s.io/kubernetes/pkg/apis/batch"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
  6. pkg/kubelet/eviction/eviction_manager_test.go

    limitations under the License.
    */
    
    package eviction
    
    import (
    	"context"
    	"fmt"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/go-cmp/cmp/cmpopts"
    	gomock "go.uber.org/mock/gomock"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	"k8s.io/apimachinery/pkg/types"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  7. go.sum

    github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
    github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
    github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
    github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
    github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 15:32:28 UTC 2024
    - 101.6K bytes
    - Viewed (0)
  8. pkg/controller/nodelifecycle/node_lifecycle_controller_test.go

    limitations under the License.
    */
    
    package nodelifecycle
    
    import (
    	"context"
    	"fmt"
    	goruntime "runtime"
    	"strings"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	coordv1 "k8s.io/api/coordination/v1"
    	v1 "k8s.io/api/core/v1"
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 03:26:45 UTC 2024
    - 119K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster_builder_test.go

    	tls "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tls/v3"
    	http "github.com/envoyproxy/go-control-plane/envoy/extensions/upstreams/http/v3"
    	"github.com/google/go-cmp/cmp"
    	"google.golang.org/protobuf/testing/protocmp"
    	"google.golang.org/protobuf/types/known/durationpb"
    	"google.golang.org/protobuf/types/known/structpb"
    	wrappers "google.golang.org/protobuf/types/known/wrapperspb"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  10. pkg/volume/util/operationexecutor/operation_generator.go

    		migrated := false
    
    		newSize := pvc.Spec.Resources.Requests[v1.ResourceStorage]
    		statusSize := pvc.Status.Capacity[v1.ResourceStorage]
    		pvSize := pv.Spec.Capacity[v1.ResourceStorage]
    		if pvSize.Cmp(newSize) < 0 {
    			updatedSize, expandErr := volumePlugin.ExpandVolumeDevice(
    				volumeSpec,
    				newSize,
    				statusSize)
    			if expandErr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
Back to top