package apimachinery
import "k8s.io/kubernetes/test/e2e/apimachinery"
Index ¶
- Variables
- func SetUpSampleAPIServer(ctx context.Context, f *framework.Framework, aggrclient *aggregatorclient.Clientset, image string, n sampleAPIServerObjectNames, apiServiceGroupName, apiServiceVersion string)
- func TestSampleAPIServer(ctx context.Context, f *framework.Framework, aggrclient *aggregatorclient.Clientset, image, apiServiceGroupName, apiServiceVersion string)
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.10 and compiled against 1.10 will work on the current Aggregator/API-Server.
Source Files ¶
aggregator.go apiserver_identity.go apply.go certs.go chunking.go crd_conversion_webhook.go crd_publish_openapi.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 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.29.14
- Published
- Feb 12, 2025
- Platform
- js/wasm
- Imports
- 125 packages
- Last checked
- 2 minutes ago –
Tools for package owners.