- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 406 for fakePC (1.16 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/proxy/upgradeaware_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 10 07:29:34 UTC 2023 - 39.4K bytes - Viewed (0) -
operator/pkg/helmreconciler/apply_test.go
var k8sClient client.Client if tt.currentState != "" { k8sClient = fake.NewClientBuilder(). WithRuntimeObjects(loadData(t, tt.currentState). UnstructuredObject()).WithInterceptorFuncs(interceptorFunc).Build() } else { // no current state provided, initialize fake client without runtime object k8sClient = fake.NewClientBuilder().WithInterceptorFuncs(interceptorFunc).Build() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 12 17:12:54 UTC 2023 - 4.9K bytes - Viewed (0) -
pkg/controller/nodeipam/ipam/range_allocator_test.go
*/ package ipam import ( "net" "testing" "time" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/wait" "k8s.io/client-go/kubernetes/fake" "k8s.io/kubernetes/pkg/controller/nodeipam/ipam/test" "k8s.io/kubernetes/pkg/controller/testutil" "k8s.io/kubernetes/test/utils/ktesting" netutils "k8s.io/utils/net" ) type testCase struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 10:06:15 UTC 2024 - 25.2K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/credentials-handling/publishing-credentials/groovy/build.gradle
plugins { id 'java-library' id 'maven-publish' // this plugin comes from an included build - it fakes a maven repository to allow executing the authentication flow id 'maven-repository-stub' } version = '1.0.2' group = 'com.example' // tag::publication[] publishing { publications { library(MavenPublication) { from components.java } } // tag::repositories[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 648 bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial012_an.py
response = client.get( "/items/", headers={"X-Token": "fake-super-secret-token", "X-Key": "invalid"} ) assert response.status_code == 400, response.text assert response.json() == {"detail": "X-Key header invalid"} def test_get_invalid_second_header_users(): response = client.get( "/users/", headers={"X-Token": "fake-super-secret-token", "X-Key": "invalid"} )
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 8.4K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial012.py
response = client.get( "/items/", headers={"X-Token": "fake-super-secret-token", "X-Key": "invalid"} ) assert response.status_code == 400, response.text assert response.json() == {"detail": "X-Key header invalid"} def test_get_invalid_second_header_users(): response = client.get( "/users/", headers={"X-Token": "fake-super-secret-token", "X-Key": "invalid"} )
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 8.4K bytes - Viewed (0) -
pkg/test/framework/components/gcemetadata/gcemetadata.go
type Instance interface { // Address is the IP Address of the service provided by the fake GCE // Metadata Server. Address() string // Address is the IP Address of the service provided by the fake GCE // Metadata Server to be used for "VM" instances AddressVM() string } // Config defines the options for creating an fake GCE Metadata Server component. type Config struct { // Cluster to be used in a multicluster environment
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 04 22:47:52 UTC 2023 - 1.8K bytes - Viewed (0) -
pkg/kubelet/stats/cri_stats_provider_windows_test.go
fakeStats := map[string]*volume.Metrics{ kuberuntime.BuildContainerLogsDirectory(testPodLogDirectory, "sb0-ns", "sb0-name", types.UID("sb0-uid"), "c0"): c0LogStats, } fakeOS := &kubecontainertest.FakeOS{} fakeHostStatsProvider := NewFakeHostStatsProviderWithData(fakeStats, fakeOS) p := &criStatsProvider{ clock: fakeClock, hostStatsProvider: fakeHostStatsProvider, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Feb 17 00:02:10 UTC 2024 - 13.8K bytes - Viewed (0) -
pilot/pkg/leaderelection/leaderelection_test.go
} return nil }) close(stop) } func TestLeaderElectionNoPermission(t *testing.T) { client := fake.NewSimpleClientset() watcher := &fakeDefaultWatcher{} allowRbac := atomic.NewBool(true) client.Fake.PrependReactor("update", "*", func(action k8stesting.Action) (bool, runtime.Object, error) { if allowRbac.Load() { return false, nil, nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 11.4K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconstruct_test.go
{ name: "when two pods are using same volume and both are deleted", volumePaths: []string{ filepath.Join("pod1", "volumes", "fake-plugin", "pvc-abcdef"), filepath.Join("pod2", "volumes", "fake-plugin", "pvc-abcdef"), }, expectedVolumesNeedDevicePath: []string{"fake-plugin/pvc-abcdef", "fake-plugin/pvc-abcdef"}, expectedVolumesFailedReconstruction: []string{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.8K bytes - Viewed (0)