Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 196 for IntPtr (0.15 sec)

  1. pkg/apis/policy/v1/zz_generated.conversion.go

    import (
    	unsafe "unsafe"
    
    	v1 "k8s.io/api/policy/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	conversion "k8s.io/apimachinery/pkg/conversion"
    	runtime "k8s.io/apimachinery/pkg/runtime"
    	intstr "k8s.io/apimachinery/pkg/util/intstr"
    	policy "k8s.io/kubernetes/pkg/apis/policy"
    )
    
    func init() {
    	localSchemeBuilder.Register(RegisterConversions)
    }
    
    // RegisterConversions adds conversion functions to the given scheme.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 22:32:27 UTC 2022
    - 12.2K bytes
    - Viewed (0)
  2. pkg/api/v1/pod/util_test.go

    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/util/intstr"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/apimachinery/pkg/util/validation/field"
    )
    
    func TestFindPort(t *testing.T) {
    	testCases := []struct {
    		name       string
    		containers []v1.Container
    		port       intstr.IntOrString
    		expected   int
    		pass       bool
    	}{{
    		name:       "valid int, no ports",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 32.1K bytes
    - Viewed (0)
  3. pkg/apis/networking/validation/validation_test.go

    		makeNetworkPolicyCustom(setIngressPorts(
    			makePort(nil, intstr.FromInt32(80), 0),
    			makePort(&protocolTCP, intstr.FromInt32(0), 0),
    			makePort(&protocolTCP, intstr.FromInt32(443), 0),
    			makePort(&protocolUDP, intstr.FromString("dns"), 0),
    			makePort(&protocolSCTP, intstr.FromInt32(7777), 0),
    		)),
    		makeNetworkPolicyCustom(setIngressFromPodSelector("c", "d")),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 73.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/intstr/generated.proto

    */
    
    
    // This file was autogenerated by go-to-protobuf. Do not edit it manually!
    
    syntax = "proto2";
    
    package k8s.io.apimachinery.pkg.util.intstr;
    
    // Package-wide variables from generator "generated".
    option go_package = "k8s.io/apimachinery/pkg/util/intstr";
    
    // IntOrString is a type that can hold an int32 or a string.  When used in
    // JSON or YAML marshalling and unmarshalling, it produces or consumes the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 04 23:57:45 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/policy/v1/zz_generated.deepcopy.go

    limitations under the License.
    */
    
    // Code generated by deepcopy-gen. DO NOT EDIT.
    
    package v1
    
    import (
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	runtime "k8s.io/apimachinery/pkg/runtime"
    	intstr "k8s.io/apimachinery/pkg/util/intstr"
    )
    
    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *Eviction) DeepCopyInto(out *Eviction) {
    	*out = *in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 22:32:27 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  6. common-protos/k8s.io/apimachinery/pkg/util/intstr/generated.proto

    */
    
    
    // This file was autogenerated by go-to-protobuf. Do not edit it manually!
    
    syntax = "proto2";
    
    package k8s.io.apimachinery.pkg.util.intstr;
    
    // Package-wide variables from generator "generated".
    option go_package = "k8s.io/apimachinery/pkg/util/intstr";
    
    // IntOrString is a type that can hold an int32 or a string.  When used in
    // JSON or YAML marshalling and unmarshalling, it produces or consumes the
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. pkg/registry/core/service/storage/storage_test.go

    					svctest.MakeServicePort("p", 80, intstr.FromInt32(80), api.ProtocolTCP),
    					svctest.MakeServicePort("q", 443, intstr.FromInt32(443), api.ProtocolTCP)),
    				svctest.SetNodePorts(93)),
    			expectClusterIPs: true,
    			expectNodePorts:  true,
    		},
    		output: svctest.MakeService("foo", svctest.SetTypeNodePort,
    			svctest.SetPorts(
    				svctest.MakeServicePort("p", 80, intstr.FromInt32(80), api.ProtocolTCP),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 440.2K bytes
    - Viewed (0)
  8. pkg/apis/policy/zz_generated.deepcopy.go

    limitations under the License.
    */
    
    // Code generated by deepcopy-gen. DO NOT EDIT.
    
    package policy
    
    import (
    	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	runtime "k8s.io/apimachinery/pkg/runtime"
    	intstr "k8s.io/apimachinery/pkg/util/intstr"
    )
    
    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *Eviction) DeepCopyInto(out *Eviction) {
    	*out = *in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/policy/v1beta1/zz_generated.deepcopy.go

    limitations under the License.
    */
    
    // Code generated by deepcopy-gen. DO NOT EDIT.
    
    package v1beta1
    
    import (
    	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	runtime "k8s.io/apimachinery/pkg/runtime"
    	intstr "k8s.io/apimachinery/pkg/util/intstr"
    )
    
    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *Eviction) DeepCopyInto(out *Eviction) {
    	*out = *in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/construct.go

    		obj.(*metav1.MicroTime).Time = time.Date(2000+i, 1, 1, 1, 1, 1, i*int(time.Microsecond), time.UTC)
    	}
    	funcs[reflect.TypeOf(&intstr.IntOrString{})] = func(s string, i int, obj interface{}) {
    		// use the string as a string value
    		obj.(*intstr.IntOrString).Type = intstr.String
    		obj.(*intstr.IntOrString).StrVal = s + "Value"
    	}
    	return funcs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 19:12:59 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top