- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 93 for NewTest (0.13 sec)
-
pkg/registry/core/replicationcontroller/storage/storage.go
controllerREST, statusREST, err := NewREST(optsGetter) if err != nil { return ControllerStorage{}, err } return ControllerStorage{ Controller: controllerREST, Status: statusREST, Scale: &ScaleREST{store: controllerREST.Store}, }, nil } type REST struct { *genericregistry.Store } // NewREST returns a RESTStorage object that will work against replication controllers.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 12K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_gc.go
func (cu containersByEvictUnit) NumEvictUnits() int { return len(cu) } // Newest first. type byCreated []containerGCInfo func (a byCreated) Len() int { return len(a) } func (a byCreated) Swap(i, j int) { a[i], a[j] = a[j], a[i] } func (a byCreated) Less(i, j int) bool { return a[i].createTime.After(a[j].createTime) } // Newest first. type sandboxByCreated []sandboxGCInfo
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 15.3K bytes - Viewed (0) -
pkg/registry/apps/statefulset/storage/storage.go
}, nil } // REST implements a RESTStorage for statefulsets against etcd type REST struct { *genericregistry.Store } // NewREST returns a RESTStorage object that will work against statefulsets. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &apps.StatefulSet{} },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 12.7K bytes - Viewed (0) -
pkg/kubelet/preemption/preemption.go
// minimal impact for guaranteed pods > minimal impact for burstable pods > minimal impact for besteffort pods. // minimal impact is defined as follows: fewest pods evicted > fewest total requests of pods. // finding the fewest total requests of pods is considered besteffort. type CriticalPodAdmissionHandler struct { getPodsFunc eviction.ActivePodsFunc killPodFunc eviction.KillPodFunc
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 16:53:19 UTC 2023 - 11.5K bytes - Viewed (0) -
pkg/registry/flowcontrol/rest/storage_flowcontrol.go
// flow-schema if resource := "flowschemas"; apiResourceConfigSource.ResourceEnabled(groupVersion.WithResource(resource)) { flowSchemaStorage, flowSchemaStatusStorage, err := flowschemastore.NewREST(restOptionsGetter) if err != nil { return nil, err } storage[resource] = flowSchemaStorage storage[resource+"/status"] = flowSchemaStatusStorage } // priority-level-configuration
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:35 UTC 2023 - 12.3K bytes - Viewed (0) -
pkg/registry/apps/deployment/storage/storage.go
Rollback: deploymentRollbackRest, }, nil } // REST implements a RESTStorage for Deployments. type REST struct { *genericregistry.Store } // NewREST returns a RESTStorage object that will work against deployments. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, *RollbackREST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &apps.Deployment{} },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 16.8K bytes - Viewed (0) -
pkg/registry/core/namespace/storage/storage_test.go
restOptions := generic.RESTOptions{StorageConfig: etcdStorage, Decorator: generic.UndecoratedStorage, DeleteCollectionWorkers: 1, ResourcePrefix: "namespaces"} namespaceStorage, _, _, err := NewREST(restOptions) if err != nil { t.Fatalf("unexpected error from REST storage: %v", err) } return namespaceStorage, server } func validNewNamespace() *api.Namespace { return &api.Namespace{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 17 05:13:34 UTC 2022 - 19.8K bytes - Viewed (0) -
pkg/registry/core/namespace/storage/storage.go
store *genericregistry.Store } // FinalizeREST implements the REST endpoint for finalizing a namespace. type FinalizeREST struct { store *genericregistry.Store } // NewREST returns a RESTStorage object that will work against namespaces. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, *FinalizeREST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &api.Namespace{} },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:19 UTC 2022 - 13.4K bytes - Viewed (0) -
pkg/kubelet/logs/container_log_manager.go
// Sort log files in oldest to newest order. sort.Strings(logs) // Container will create a new log file, and we'll rotate the latest log file. // Other than those 2 files, we can have at most MaxFiles-2 rotated log files. // Keep MaxFiles-2 files by removing old files. // We should remove from oldest to newest, so as not to break ongoing `kubectl logs`. maxRotatedFiles := c.policy.MaxFiles - 2
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 15K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformIntegrationTest.groovy
@Requires(IntegTestPreconditions.NotEmbeddedExecutor) // JUnitCoverage is quite limited and doesn't test older versions or the newest version. // Future work is planned to improve junit test rewriting, and at the same time should verify // greater ranges of junit platform testing. This is only reproducible with the newest version // of junit, so test that version explicitly here. @Issue("https://github.com/gradle/gradle/issues/24429")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 17.2K bytes - Viewed (0)