...

Source file src/edge-infra.dev/pkg/k8s/testing/kmp/doc.go

Documentation: edge-infra.dev/pkg/k8s/testing/kmp

     1  // Package kmp provides K8s comparisons for test assertions.
     2  //
     3  // kmp works directly against K8s objects in order to avoid dependencies on
     4  // a live cluster or K8s client. The comparisons provided by kmp can be used
     5  // directly with [edge-infra.dev/test/f2/x/ktest/kpoll] to evaluate assertions
     6  // against objects fetched from live clusters for integration tests.
     7  //
     8  // kmp provides [gotest.tools/v3/assert/cmp] Comparisons as well as K8s object
     9  // comparisons ([Komparison]) which can be used to evaluate any object types
    10  // which implement [sigs.k8s.io/controller-runtime/pkg/client.Object].
    11  package kmp
    12  

View as plain text