Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for apitesting (0.56 sec)

  1. staging/src/k8s.io/apimachinery/pkg/test/runtime_helper_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package test
    
    import (
    	"testing"
    
    	apitesting "k8s.io/apimachinery/pkg/api/apitesting"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/apis/testapigroup"
    	"k8s.io/apimachinery/pkg/runtime"
    )
    
    func TestDecodeList(t *testing.T) {
    	pl := List{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 01 19:31:12 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/test/runtime_unversioned_test.go

    import (
    	"encoding/json"
    	"reflect"
    	"testing"
    
    	// TODO: Ideally we should create the necessary package structure in e.g.,
    	// pkg/conversion/test/... instead of importing pkg/api here.
    	apitesting "k8s.io/apimachinery/pkg/api/apitesting"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    )
    
    func TestV1EncodeDecodeStatus(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 13 16:56:29 UTC 2019
    - 2.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/apis/example/fuzzer/fuzzer.go

    limitations under the License.
    */
    
    package fuzzer
    
    import (
    	"fmt"
    
    	"github.com/google/gofuzz"
    
    	apitesting "k8s.io/apimachinery/pkg/api/apitesting"
    	"k8s.io/apimachinery/pkg/api/apitesting/fuzzer"
    	"k8s.io/apimachinery/pkg/runtime"
    	runtimeserializer "k8s.io/apimachinery/pkg/runtime/serializer"
    	"k8s.io/apiserver/pkg/apis/example"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 01 19:31:12 UTC 2018
    - 3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/fuzzer/fuzzer.go

    limitations under the License.
    */
    
    package fuzzer
    
    import (
    	"fmt"
    
    	"github.com/google/gofuzz"
    
    	apitesting "k8s.io/apimachinery/pkg/api/apitesting"
    	"k8s.io/apimachinery/pkg/api/apitesting/fuzzer"
    	"k8s.io/apimachinery/pkg/apis/testapigroup"
    	"k8s.io/apimachinery/pkg/apis/testapigroup/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 01 19:31:12 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/tls_test.go

    import (
    	"context"
    	"io/ioutil"
    	"os"
    	"path"
    	"path/filepath"
    	"testing"
    
    	"go.etcd.io/etcd/client/pkg/v3/transport"
    	noopoteltrace "go.opentelemetry.io/otel/trace/noop"
    
    	apitesting "k8s.io/apimachinery/pkg/api/apitesting"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/runtime/serializer"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. pkg/api/testing/fuzzer.go

    limitations under the License.
    */
    
    package testing
    
    import (
    	"fmt"
    
    	fuzz "github.com/google/gofuzz"
    
    	appsv1 "k8s.io/api/apps/v1"
    	v1 "k8s.io/api/core/v1"
    	apitesting "k8s.io/apimachinery/pkg/api/apitesting"
    	"k8s.io/apimachinery/pkg/api/apitesting/fuzzer"
    	metafuzzer "k8s.io/apimachinery/pkg/apis/meta/fuzzer"
    	"k8s.io/apimachinery/pkg/runtime"
    	runtimeserializer "k8s.io/apimachinery/pkg/runtime/serializer"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 19:08:24 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  7. pkg/registry/core/secret/strategy_test.go

    limitations under the License.
    */
    
    package secret
    
    import (
    	"testing"
    
    	apitesting "k8s.io/kubernetes/pkg/api/testing"
    	api "k8s.io/kubernetes/pkg/apis/core"
    
    	// ensure types are installed
    	_ "k8s.io/kubernetes/pkg/apis/core/install"
    )
    
    func TestSelectableFieldLabelConversions(t *testing.T) {
    	apitesting.TestSelectableFieldLabelConversionsOfKind(t,
    		"v1",
    		"Secret",
    		SelectableFields(&api.Secret{}),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 22 18:47:31 UTC 2021
    - 956 bytes
    - Viewed (0)
  8. pkg/api/testing/copy_test.go

    package testing
    
    import (
    	"bytes"
    	"math/rand"
    	"reflect"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	fuzz "github.com/google/gofuzz"
    
    	"k8s.io/apimachinery/pkg/api/apitesting/fuzzer"
    	"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    )
    
    func TestDeepCopyApiObjects(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:45:31 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/audit/install/roundtrip_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package install
    
    import (
    	"testing"
    
    	"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
    	"k8s.io/apiserver/pkg/apis/audit/fuzzer"
    )
    
    func TestRoundTrip(t *testing.T) {
    	roundtrip.RoundTripTestForAPIGroup(t, Install, fuzzer.Funcs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 03:35:42 UTC 2019
    - 875 bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/install/roundtrip_test.go

    limitations under the License.
    */
    
    package install
    
    import (
    	"testing"
    
    	apiextensionsfuzzer "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/fuzzer"
    	"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
    )
    
    func TestRoundTrip(t *testing.T) {
    	roundtrip.RoundTripTestForAPIGroup(t, Install, apiextensionsfuzzer.Funcs)
    	roundtrip.RoundTripProtobufTestForAPIGroup(t, Install, apiextensionsfuzzer.Funcs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 03:35:42 UTC 2019
    - 943 bytes
    - Viewed (0)
Back to top