kubernetesk8s.io/kubernetes/test/e2e/apimachinery Index | Files

package apimachinery

import "k8s.io/kubernetes/test/e2e/apimachinery"

Package apimachinery contains e2e tests owned by SIG-API-Machinery.

Index

Variables

var SIGDescribe = framework.SIGDescribe("api-machinery")

SIGDescribe annotates the test with the SIG label.

Functions

func SetUpSampleAPIServer

func SetUpSampleAPIServer(ctx context.Context, f *framework.Framework, aggrclient *aggregatorclient.Clientset, image string, n sampleAPIServerObjectNames, apiServiceGroupName, apiServiceVersion string)

SetUpSampleAPIServer sets up a sample-apiserver.

Important: Test cases that call this function should be marked as serial due to potential conflicts with other test cases that also set up a sample-apiserver. For more information, see https://github.com/kubernetes/kubernetes/issues/119582#issuecomment-2215054411.

func TestSampleAPIServer

func TestSampleAPIServer(ctx context.Context, f *framework.Framework, aggrclient *aggregatorclient.Clientset, image, apiServiceGroupName, apiServiceVersion string)

TestSampleAPIServer is a basic test if the sample-apiserver code from 1.29 and compiled against 1.29 will work on the current Aggregator/API-Server.

Source Files

aggregated_discovery.go aggregator.go apiserver_identity.go apply.go certs.go chunking.go coordinatedleaderelection.go crd_conversion_webhook.go crd_publish_openapi.go crd_selectable_fields.go crd_validation_ratcheting.go crd_validation_rules.go crd_watch.go custom_resource_definition.go discovery.go etcd_failure.go field_validation.go flowcontrol.go framework.go garbage_collector.go generated_clientset.go health_handlers.go mutatingadmissionpolicy.go namespace.go openapiv3.go protocol.go request_timeout.go resource_quota.go server_version.go storage_version.go table_conversion.go validatingadmissionpolicy.go watch.go watchlist.go webhook.go

Version
v1.33.2 (latest)
Published
Jun 17, 2025
Platform
js/wasm
Imports
146 packages
Last checked
1 hour ago

Tools for package owners.