crd

package
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Copyright 2025 NVIDIA CORPORATION SPDX-License-Identifier: Apache-2.0

Index

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)

func SkipIfCrdIsNotInstalled

func SkipIfCrdIsNotInstalled(ctx context.Context, kubeConfig *rest.Config, name, version string)

Types

type Testcrd added in v0.4.2

type Testcrd struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
}

func (*Testcrd) DeepCopyObject added in v0.4.2

func (t *Testcrd) DeepCopyObject() runtime.Object

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL