- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 68 for registrytest (0.23 sec)
-
pkg/registry/core/service/allocator/storage/storage_test.go
api "k8s.io/kubernetes/pkg/apis/core" "k8s.io/kubernetes/pkg/registry/core/service/allocator" "k8s.io/kubernetes/pkg/registry/registrytest" ) func newStorage(t *testing.T) (*Etcd, *etcd3testing.EtcdTestServer, allocator.Interface, *storagebackend.Config) { etcdStorage, server := registrytest.NewEtcdStorage(t, "") mem := allocator.NewAllocationMap(100, "rangeSpecValue")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 01 20:54:26 UTC 2021 - 4.8K bytes - Viewed (0) -
pkg/registry/batch/cronjob/storage/storage_test.go
"k8s.io/kubernetes/pkg/apis/batch" api "k8s.io/kubernetes/pkg/apis/core" "k8s.io/kubernetes/pkg/registry/registrytest" ) // TODO: allow for global factory override func newStorage(t *testing.T) (*REST, *StatusREST, *etcd3testing.EtcdTestServer) { etcdStorage, server := registrytest.NewEtcdStorageForResource(t, batch.SchemeGroupVersion.WithResource("cronjobs").GroupResource()) restOptions := generic.RESTOptions{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 12 20:55:35 UTC 2019 - 4.4K bytes - Viewed (0) -
pkg/registry/storage/csinode/storage/storage_test.go
etcd3testing "k8s.io/apiserver/pkg/storage/etcd3/testing" storageapi "k8s.io/kubernetes/pkg/apis/storage" "k8s.io/kubernetes/pkg/registry/registrytest" ) func newStorage(t *testing.T) (*REST, *etcd3testing.EtcdTestServer) { etcdStorage, server := registrytest.NewEtcdStorageForResource(t, storageapi.SchemeGroupVersion.WithResource("csinodes").GroupResource()) restOptions := generic.RESTOptions{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 12 20:55:35 UTC 2019 - 4.4K bytes - Viewed (0) -
pkg/registry/registrytest/categoriesProvider.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package registrytest import ( "reflect" "testing" "k8s.io/apiserver/pkg/registry/rest" ) func AssertCategories(t *testing.T, storage rest.CategoriesProvider, expected []string) { actual := storage.Categories()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 05 23:18:12 UTC 2017 - 930 bytes - Viewed (0) -
pkg/registry/registrytest/shortNamesProvider.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package registrytest import ( "reflect" "testing" "k8s.io/apiserver/pkg/registry/rest" ) func AssertShortNames(t *testing.T, storage rest.ShortNamesProvider, expected []string) { actual := storage.ShortNames()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 06 22:35:07 UTC 2017 - 927 bytes - Viewed (0) -
pkg/registry/core/persistentvolumeclaim/storage/storage_test.go
api "k8s.io/kubernetes/pkg/apis/core" "k8s.io/kubernetes/pkg/features" "k8s.io/kubernetes/pkg/registry/registrytest" ) func newStorage(t *testing.T) (*REST, *StatusREST, *etcd3testing.EtcdTestServer) { etcdStorage, server := registrytest.NewEtcdStorage(t, "") restOptions := generic.RESTOptions{ StorageConfig: etcdStorage, Decorator: generic.UndecoratedStorage,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 8.9K bytes - Viewed (0) -
pkg/registry/apiserverinternal/storageversion/storage/storage_test.go
genericregistrytest "k8s.io/apiserver/pkg/registry/generic/testing" etcd3testing "k8s.io/apiserver/pkg/storage/etcd3/testing" "k8s.io/kubernetes/pkg/apis/apiserverinternal" "k8s.io/kubernetes/pkg/registry/registrytest" // Ensure that admissionregistration package is initialized. _ "k8s.io/kubernetes/pkg/apis/apiserverinternal/install" ) func TestCreate(t *testing.T) { storage, _, server := newStorage(t)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 06 07:26:18 UTC 2021 - 5.4K bytes - Viewed (0) -
pkg/registry/registrytest/validate.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package registrytest import ( "fmt" "k8s.io/apiserver/pkg/registry/generic/registry" "k8s.io/apiserver/pkg/registry/rest" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Dec 12 15:56:24 UTC 2022 - 1.6K bytes - Viewed (0) -
pkg/registry/certificates/clustertrustbundle/storage/storage_test.go
genericregistrytest "k8s.io/apiserver/pkg/registry/generic/testing" etcd3testing "k8s.io/apiserver/pkg/storage/etcd3/testing" "k8s.io/kubernetes/pkg/apis/certificates" "k8s.io/kubernetes/pkg/registry/registrytest" ) const validCert1 = ` -----BEGIN CERTIFICATE----- MIIDmTCCAoGgAwIBAgIUUW9bIIsHU61w3yQR6amBuVvRFvcwDQYJKoZIhvcNAQEL BQAwXDELMAkGA1UEBhMCeHgxCjAIBgNVBAgMAXgxCjAIBgNVBAcMAXgxCjAIBgNV
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 16 03:10:18 UTC 2023 - 7.3K bytes - Viewed (0) -
pkg/registry/apps/controllerrevision/storage/storage_test.go
etcd3testing "k8s.io/apiserver/pkg/storage/etcd3/testing" "k8s.io/kubernetes/pkg/apis/apps" api "k8s.io/kubernetes/pkg/apis/core" "k8s.io/kubernetes/pkg/registry/registrytest" ) func TestCreate(t *testing.T) { storage, server := newStorage(t) defer server.Terminate(t) defer storage.Store.DestroyFunc() test := genericregistrytest.New(t, storage.Store) var (
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 12 20:55:35 UTC 2019 - 5.6K bytes - Viewed (0)