Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,814 for RUNTIME (0.12 sec)

  1. pkg/registry/apps/statefulset/storage/storage.go

    }
    
    func (r *ScaleREST) ConvertToTable(ctx context.Context, object runtime.Object, tableOptions runtime.Object) (*metav1.Table, error) {
    	return r.store.ConvertToTable(ctx, object, tableOptions)
    }
    
    func toScaleCreateValidation(f rest.ValidateObjectFunc) rest.ValidateObjectFunc {
    	return func(ctx context.Context, obj runtime.Object) error {
    		scale, err := scaleFromStatefulSet(obj.(*apps.StatefulSet))
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_test_context.go

    	"k8s.io/apimachinery/pkg/api/meta"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/runtime/serializer"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/uuid"
    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/apimachinery/pkg/watch"
    	"k8s.io/client-go/dynamic"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured_conversion_test.go

    	testapigroupv1 "k8s.io/apimachinery/pkg/apis/testapigroup/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/test"
    )
    
    func TestObjectToUnstructuredConversion(t *testing.T) {
    	scheme, _ := test.TestScheme()
    	testCases := []struct {
    		name                          string
    		objectToConvert               runtime.Object
    		expectedErr                   error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 07 15:19:26 UTC 2020
    - 16.4K bytes
    - Viewed (0)
  4. src/go/build/build_test.go

    	match(runtime.GOOS+","+runtime.GOARCH, map[string]bool{runtime.GOOS: true, runtime.GOARCH: true})
    	match(runtime.GOOS+","+runtime.GOARCH+",foo", map[string]bool{runtime.GOOS: true, runtime.GOARCH: true, "foo": true})
    	nomatch(runtime.GOOS+","+runtime.GOARCH+",!foo", map[string]bool{runtime.GOOS: true, runtime.GOARCH: true, "foo": true})
    	match(runtime.GOOS+","+runtime.GOARCH+",!bar", map[string]bool{runtime.GOOS: true, runtime.GOARCH: true, "bar": true})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/watch_test.go

    func roundTripOrDie(codec runtime.Codec, object runtime.Object) runtime.Object {
    	data, err := runtime.Encode(codec, object)
    	if err != nil {
    		panic(err)
    	}
    	obj, err := runtime.Decode(codec, data)
    	if err != nil {
    		panic(err)
    	}
    	return obj
    }
    
    var watchTestTable = []struct {
    	t   watch.EventType
    	obj runtime.Object
    }{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 30 17:27:39 UTC 2023
    - 30K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/strategy.go

    }
    
    // WarningsOnUpdate returns warnings for the given update.
    func (strategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string {
    	return nil
    }
    
    type statusStrategy struct {
    	runtime.ObjectTyper
    	names.NameGenerator
    }
    
    func NewStatusStrategy(typer runtime.ObjectTyper) statusStrategy {
    	return statusStrategy{typer, names.SimpleNameGenerator}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. pkg/controller/serviceaccount/legacy_serviceaccount_token_cleaner_test.go

    package serviceaccount
    
    import (
    	"context"
    	"encoding/json"
    	"reflect"
    	"testing"
    	"time"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/types"
    	applyv1 "k8s.io/client-go/applyconfigurations/core/v1"
    	"k8s.io/client-go/informers"
    	"k8s.io/client-go/kubernetes/fake"
    	core "k8s.io/client-go/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 03:52:06 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor_test.go

    		name          string
    		options       []Option
    		data          []byte
    		gvk           *schema.GroupVersionKind
    		metaFactory   metaFactory
    		typer         runtime.ObjectTyper
    		creater       runtime.ObjectCreater
    		into          runtime.Object
    		expectedObj   runtime.Object
    		expectedGVK   *schema.GroupVersionKind
    		assertOnError func(*testing.T, error)
    	}{
    		{
    			name:        "self-described cbor tag accepted",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  9. pkg/apis/rbac/zz_generated.deepcopy.go

    limitations under the License.
    */
    
    // Code generated by deepcopy-gen. DO NOT EDIT.
    
    package rbac
    
    import (
    	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	runtime "k8s.io/apimachinery/pkg/runtime"
    )
    
    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *AggregationRule) DeepCopyInto(out *AggregationRule) {
    	*out = *in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 11.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/rbac/v1beta1/zz_generated.deepcopy.go

    limitations under the License.
    */
    
    // Code generated by deepcopy-gen. DO NOT EDIT.
    
    package v1beta1
    
    import (
    	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	runtime "k8s.io/apimachinery/pkg/runtime"
    )
    
    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *AggregationRule) DeepCopyInto(out *AggregationRule) {
    	*out = *in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 10.6K bytes
    - Viewed (0)
Back to top