Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 89 for apitesting (0.18 sec)

  1. pkg/registry/core/event/strategy_test.go

    */
    
    package event
    
    import (
    	"context"
    	"reflect"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/fields"
    	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 TestGetAttrs(t *testing.T) {
    	eventA := &api.Event{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. pkg/controller/apis/config/scheme/scheme_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package scheme
    
    import (
    	"testing"
    
    	"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
    	"k8s.io/kubernetes/pkg/controller/apis/config/fuzzer"
    )
    
    func TestRoundTripTypes(t *testing.T) {
    	roundtrip.RoundTripTestForScheme(t, Scheme, fuzzer.Funcs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 25 09:31:47 UTC 2018
    - 819 bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/apis/example/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"
    	examplefuzzer "k8s.io/apiserver/pkg/apis/example/fuzzer"
    )
    
    func TestRoundTrip(t *testing.T) {
    	roundtrip.RoundTripTestForAPIGroup(t, Install, examplefuzzer.Funcs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 03:35:42 UTC 2019
    - 905 bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/apis/example2/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"
    	examplefuzzer "k8s.io/apiserver/pkg/apis/example/fuzzer"
    )
    
    func TestRoundTrip(t *testing.T) {
    	roundtrip.RoundTripTestForAPIGroup(t, Install, examplefuzzer.Funcs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 03:35:42 UTC 2019
    - 905 bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_testing_utils_test.go

    limitations under the License.
    */
    
    package cacher
    
    import (
    	"context"
    	"fmt"
    	"testing"
    
    	clientv3 "go.etcd.io/etcd/client/v3"
    
    	"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"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 20:43:52 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. pkg/proxy/apis/config/scheme/scheme_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package scheme
    
    import (
    	"testing"
    
    	"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
    	componentconfigtesting "k8s.io/component-base/config/testing"
    	"k8s.io/kubernetes/pkg/proxy/apis/config/fuzzer"
    )
    
    func TestRoundTripFuzzing(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 16 17:34:39 UTC 2019
    - 1K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/apis/kubeadm/fuzzer/fuzzer_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package fuzzer
    
    import (
    	"testing"
    
    	"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/scheme"
    )
    
    func TestRoundTripTypes(t *testing.T) {
    	roundtrip.RoundTripTestForAPIGroup(t, scheme.AddToScheme, Funcs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 17 14:40:46 UTC 2021
    - 829 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/scheme/roundtrip_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package scheme
    
    import (
    	"testing"
    
    	"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
    	"k8s.io/apimachinery/pkg/apis/meta/fuzzer"
    )
    
    func TestRoundTrip(t *testing.T) {
    	roundtrip.RoundTripTestForScheme(t, scheme, fuzzer.Funcs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 12 17:32:02 UTC 2019
    - 803 bytes
    - Viewed (0)
  9. pkg/apis/apiserverinternal/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/kubernetes/pkg/apis/apiserverinternal/fuzzer"
    )
    
    func TestRoundTrip(t *testing.T) {
    	roundtrip.RoundTripTestForAPIGroup(t, Install, fuzzer.Funcs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 08 21:34:55 UTC 2020
    - 888 bytes
    - Viewed (0)
  10. pkg/kubelet/apis/config/scheme/scheme_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package scheme
    
    import (
    	"testing"
    
    	"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
    	componentconfigtesting "k8s.io/component-base/config/testing"
    	"k8s.io/kubernetes/pkg/kubelet/apis/config/fuzzer"
    )
    
    func TestRoundTripFuzzing(t *testing.T) {
    	scheme, _, err := NewSchemeAndCodecs()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 08 16:06:16 UTC 2020
    - 1.4K bytes
    - Viewed (0)
Back to top