Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for clientset (0.36 sec)

  1. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/apimachinery/pkg/watch"
    	"k8s.io/client-go/informers"
    	coreinformers "k8s.io/client-go/informers/core/v1"
    	storageinformers "k8s.io/client-go/informers/storage/v1"
    	clientset "k8s.io/client-go/kubernetes"
    	"k8s.io/client-go/kubernetes/fake"
    	k8stesting "k8s.io/client-go/testing"
    	"k8s.io/component-helpers/storage/volume"
    	"k8s.io/klog/v2"
    	"k8s.io/klog/v2/ktesting"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  2. pkg/controller/disruption/disruption_test.go

    	*DisruptionController
    
    	podStore cache.Store
    	pdbStore cache.Store
    	rcStore  cache.Store
    	rsStore  cache.Store
    	dStore   cache.Store
    	ssStore  cache.Store
    
    	coreClient      *fake.Clientset
    	scaleClient     *scalefake.FakeScaleClient
    	discoveryClient *discoveryfake.FakeDiscovery
    	informerFactory informers.SharedInformerFactory
    }
    
    var customGVK = schema.GroupVersionKind{
    	Group:   "custom.k8s.io",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  3. pkg/volume/csi/csi_attacher_test.go

    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/watch"
    	clientset "k8s.io/client-go/kubernetes"
    	fakeclient "k8s.io/client-go/kubernetes/fake"
    	core "k8s.io/client-go/testing"
    	"k8s.io/kubernetes/pkg/volume"
    	fakecsi "k8s.io/kubernetes/pkg/volume/csi/fake"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    )
    
    const (
    	Removed     string = "removed"
    	Terminating string = "terminating"
    	Other       string = "other"
    )
    
    func pluginPVOmittingClient(dswp *desiredStateOfWorldPopulator) {
    	fakeClient := &fake.Clientset{}
    	fakeClient.AddReactor("get", "persistentvolumeclaims", func(action core.Action) (bool, runtime.Object, error) {
    		return false, nil, nil
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  5. pkg/controller/endpointslice/endpointslice_controller_test.go

    	endpointSliceStore cache.Store
    	nodeStore          cache.Store
    	podStore           cache.Store
    	serviceStore       cache.Store
    }
    
    func newController(t *testing.T, nodeNames []string, batchPeriod time.Duration) (*fake.Clientset, *endpointSliceController) {
    	client := fake.NewSimpleClientset()
    
    	informerFactory := informers.NewSharedInformerFactory(client, controller.NoResyncPeriodFunc())
    	nodeInformer := informerFactory.Core().V1().Nodes()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  6. istioctl/pkg/describe/describe.go

    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/api/networking/v1alpha3"
    	typev1beta1 "istio.io/api/type/v1beta1"
    	clientnetworking "istio.io/client-go/pkg/apis/networking/v1alpha3"
    	istioclient "istio.io/client-go/pkg/clientset/versioned"
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/istioctl/pkg/completion"
    	istioctlutil "istio.io/istio/istioctl/pkg/util"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    					testCtx.verify(t, tc.want.postfilter, initialObjects, nil, status)
    				})
    			}
    		})
    	}
    }
    
    type testContext struct {
    	ctx             context.Context
    	client          *fake.Clientset
    	informerFactory informers.SharedInformerFactory
    	p               *dynamicResources
    	nodeInfos       []*framework.NodeInfo
    	state           *framework.CycleState
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  8. pkg/controller/volume/persistentvolume/pv_controller.go

    	storage "k8s.io/api/storage/v1"
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/util/sets"
    	clientset "k8s.io/client-go/kubernetes"
    	"k8s.io/client-go/kubernetes/scheme"
    	corelisters "k8s.io/client-go/listers/core/v1"
    	storagelisters "k8s.io/client-go/listers/storage/v1"
    	"k8s.io/client-go/tools/cache"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster_tls_test.go

    	err        error
    }
    
    // TestBuildUpstreamClusterTLSContext tests the buildUpstreamClusterTLSContext function
    func TestBuildUpstreamClusterTLSContext(t *testing.T) {
    	clientCert := "/path/to/cert"
    	rootCert := "path/to/cacert"
    	clientKey := "/path/to/key"
    
    	credentialName := "some-fake-credential"
    
    	testCases := []struct {
    		name                     string
    		opts                     *buildClusterOpts
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	fx        *xdsfake.Updater
    	pc        clienttest.TestClient[*corev1.Pod]
    	sc        clienttest.TestClient[*corev1.Service]
    	ns        clienttest.TestWriter[*corev1.Namespace]
    	grc       clienttest.TestWriter[*k8sbeta.Gateway]
    	gwcls     clienttest.TestWriter[*k8sbeta.GatewayClass]
    	se        clienttest.TestWriter[*apiv1alpha3.ServiceEntry]
    	we        clienttest.TestWriter[*apiv1alpha3.WorkloadEntry]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top