var fakeSchema …
var fakeOpenAPIV3Legacy …
var fakeOpenAPIV3AppsV1 …
var testingOpenAPISchemas …
var AlwaysErrorsOpenAPISchema …
var FakeOpenAPISchema …
var AlwaysPanicSchema …
var codec …
type OpenAPIV3ClientAlwaysPanic …
func (o *OpenAPIV3ClientAlwaysPanic) Paths() (map[string]openapiclient.GroupVersion, error) { … }
func noopOpenAPIV3Patch(t *testing.T, f func(t *testing.T)) { … }
func disableOpenAPIV3Patch(t *testing.T, f func(t *testing.T)) { … }
var applyFeatureToggles …
type testOpenAPISchema …
func TestApplyExtraArgsFail(t *testing.T) { … }
func TestAlphaEnablement(t *testing.T) { … }
func TestApplyFlagValidation(t *testing.T) { … }
const filenameCM …
const filenameRC …
const filenameRCArgs …
const filenameRCLastAppliedArgs …
const filenameRCNoAnnotation …
const filenameRCLASTAPPLIED …
const filenameRCManagedFieldsLA …
const filenameSVC …
const filenameRCSVC …
const filenameNoExistRC …
const filenameRCPatchTest …
const dirName …
const filenameRCJSON …
const filenamePodGeneratedName …
const filenameWidgetClientside …
const filenameWidgetServerside …
const filenameDeployObjServerside …
const filenameDeployObjClientside …
const filenameApplySetCR …
const filenameApplySetCRD …
func readConfigMapList(t *testing.T, filename string) [][]byte { … }
func readBytesFromFile(t *testing.T, filename string) []byte { … }
func readReplicationController(t *testing.T, filenameRC string) (string, []byte) { … }
func readReplicationControllerFromFile(t *testing.T, filename string) *corev1.ReplicationController { … }
func readUnstructuredFromFile(t *testing.T, filename string) *unstructured.Unstructured { … }
func readServiceFromFile(t *testing.T, filename string) *corev1.Service { … }
func annotateRuntimeObject(t *testing.T, originalObj, currentObj runtime.Object, kind string) (string, []byte) { … }
func readAndAnnotateReplicationController(t *testing.T, filename string) (string, []byte) { … }
func readAndAnnotateService(t *testing.T, filename string) (string, []byte) { … }
func readAndAnnotateUnstructured(t *testing.T, filename string) (string, []byte) { … }
func validatePatchApplication(t *testing.T, req *http.Request, patchType types.PatchType) { … }
func walkMapPath(t *testing.T, start map[string]interface{ … }
func TestRunApplyPrintsValidObjectList(t *testing.T) { … }
func TestRunApplyViewLastApplied(t *testing.T) { … }
func TestApplyObjectWithoutAnnotation(t *testing.T) { … }
func TestOpenAPIV3PatchFeatureFlag(t *testing.T) { … }
func TestOpenAPIV3DoesNotLoadV2(t *testing.T) { … }
func TestApplyObject(t *testing.T) { … }
func TestApplyPruneObjects(t *testing.T) { … }
func TestApplyPruneObjectsWithAllowlist(t *testing.T) { … }
func setLastAppliedConfigAnnotation(obj runtime.Object) error { … }
func TestApplyCSAMigration(t *testing.T) { … }
func TestApplyObjectOutput(t *testing.T) { … }
func TestApplyRetry(t *testing.T) { … }
func TestApplyNonExistObject(t *testing.T) { … }
func TestApplyEmptyPatch(t *testing.T) { … }
func TestApplyMultipleObjectsAsList(t *testing.T) { … }
func TestApplyMultipleObjectsAsFiles(t *testing.T) { … }
func testApplyMultipleObjects(t *testing.T, asList bool) { … }
func readDeploymentFromFile(t *testing.T, file string) []byte { … }
func TestApplyNULLPreservation(t *testing.T) { … }
func TestUnstructuredApply(t *testing.T) { … }
func TestUnstructuredIdempotentApply(t *testing.T) { … }
func TestRunApplySetLastApplied(t *testing.T) { … }
func checkPatchString(t *testing.T, req *http.Request) { … }
func TestForceApply(t *testing.T) { … }
func TestDontAllowForceApplyWithServerDryRun(t *testing.T) { … }
func TestDontAllowForceApplyWithServerSide(t *testing.T) { … }
func TestDontAllowApplyWithPodGeneratedName(t *testing.T) { … }
func TestApplySetParentValidation(t *testing.T) { … }
func setUpClientsForApplySetWithSSA(t *testing.T, tf *cmdtesting.TestFactory, objects ...runtime.Object) { … }
func TestLoadObjects(t *testing.T) { … }
func TestApplySetParentManagement(t *testing.T) { … }
func TestApplySetInvalidLiveParent(t *testing.T) { … }
func TestApplySet_ClusterScopedCustomResourceParent(t *testing.T) { … }
func TestApplyWithPruneV2(t *testing.T) { … }
func TestApplySetUpdateConflictsAreRetried(t *testing.T) { … }
func TestApplyWithPruneV2Fail(t *testing.T) { … }
func fatalNoExit(t *testing.T, ioStreams genericiooptions.IOStreams) func(msg string, code int) { … }
func TestApplySetDryRun(t *testing.T) { … }