Documentation
¶
Overview ¶
Copyright 2025 NVIDIA CORPORATION SPDX-License-Identifier: Apache-2.0
Index ¶
- Constants
- func CreateTestcrd(ctx context.Context, apiExtensionClient *apiextensions.Clientset) error
- func CreateTestcrdInstance(ctx context.Context, testCtx *testcontext.TestContext, namespace, name string) error
- func DeleteTestcrd(ctx context.Context, apiExtensionClient *apiextensions.Clientset) error
- func DeleteTestcrdInstance(ctx context.Context, testCtx *testcontext.TestContext, namespace, name string) error
- func GetTestcrdInstance(ctx context.Context, testCtx *testcontext.TestContext, namespace, name string) (*unstructured.Unstructured, error)
- func SkipIfCrdIsNotInstalled(ctx context.Context, kubeConfig *rest.Config, name, version string)
- type Testcrd
Constants ¶
View Source
const ( TestcrdPlural = "testcrds" TestcrdKind = "Testcrd" TestcrdSingular = "testcrd" TestcrdGroup = "test.kai" TestcrdVersion = "v1" )
Variables ¶
This section is empty.
Functions ¶
func CreateTestcrd ¶ added in v0.4.2
func CreateTestcrd(ctx context.Context, apiExtensionClient *apiextensions.Clientset) error
func CreateTestcrdInstance ¶ added in v0.4.2
func CreateTestcrdInstance(ctx context.Context, testCtx *testcontext.TestContext, namespace, name string) error
func DeleteTestcrd ¶ added in v0.4.2
func DeleteTestcrd(ctx context.Context, apiExtensionClient *apiextensions.Clientset) error
func DeleteTestcrdInstance ¶ added in v0.4.2
func DeleteTestcrdInstance(ctx context.Context, testCtx *testcontext.TestContext, namespace, name string) error
func GetTestcrdInstance ¶ added in v0.4.2
func GetTestcrdInstance(ctx context.Context, testCtx *testcontext.TestContext, namespace, name string) (*unstructured.Unstructured, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.