Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 102 for IntPtr (0.11 sec)

  1. pkg/controller/endpointslice/endpointslice_controller_test.go

    				},
    				Spec: v1.ServiceSpec{
    					Ports: []v1.ServicePort{
    						{Name: "tcp-example", TargetPort: intstr.FromInt32(80), Protocol: v1.ProtocolTCP},
    						{Name: "udp-example", TargetPort: intstr.FromInt32(161), Protocol: v1.ProtocolUDP},
    						{Name: "sctp-example", TargetPort: intstr.FromInt32(3456), Protocol: v1.ProtocolSCTP},
    					},
    					Selector:   map[string]string{"foo": "bar"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/addons/dns/dns_test.go

    								Name:     "dns",
    								Port:     53,
    								Protocol: v1.ProtocolUDP,
    								TargetPort: intstr.IntOrString{
    									Type:   0,
    									IntVal: 53,
    								},
    							},
    							{
    								Name:     "dns-tcp",
    								Port:     53,
    								Protocol: v1.ProtocolTCP,
    								TargetPort: intstr.IntOrString{
    									Type:   0,
    									IntVal: 53,
    								},
    							},
    						},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/intstr/generated.pb.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Code generated by protoc-gen-gogo. DO NOT EDIT.
    // source: k8s.io/apimachinery/pkg/util/intstr/generated.proto
    
    package intstr
    
    import (
    	fmt "fmt"
    
    	io "io"
    	math "math"
    	math_bits "math/bits"
    
    	proto "github.com/gogo/protobuf/proto"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    					Protocol:   "TCP",
    					TargetPort: intstr.IntOrString{Type: intstr.Int, IntVal: 7442},
    				},
    				{
    					Name:       "tcp-8443",
    					Port:       8443,
    					Protocol:   "TCP",
    					TargetPort: intstr.IntOrString{Type: intstr.Int, IntVal: 7442},
    				},
    				{
    					Name:       "http-7557",
    					Port:       7557,
    					Protocol:   "TCP",
    					TargetPort: intstr.IntOrString{Type: intstr.Int, IntVal: 7442},
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/policy/v1/generated.proto

    import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto";
    import "k8s.io/apimachinery/pkg/runtime/generated.proto";
    import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
    import "k8s.io/apimachinery/pkg/util/intstr/generated.proto";
    
    // Package-wide variables from generator "generated".
    option go_package = "k8s.io/api/policy/v1";
    
    // Eviction evicts a pod from its node subject to certain policies and safety constraints.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. pkg/controller/statefulset/stateful_set_utils_test.go

    		{maxUnavailable: ptr.To(intstr.FromInt32(0)), replicaCount: 0, expectedMaxUnavailable: 1},
    		{maxUnavailable: ptr.To(intstr.FromString("10%")), replicaCount: 25, expectedMaxUnavailable: 2},
    		{maxUnavailable: ptr.To(intstr.FromString("100%")), replicaCount: 5, expectedMaxUnavailable: 5},
    		{maxUnavailable: ptr.To(intstr.FromString("50%")), replicaCount: 5, expectedMaxUnavailable: 2},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  7. pkg/controller/endpoint/endpoints_controller_test.go

    		Spec: v1.ServiceSpec{
    			Selector: map[string]string{"foo": "bar"},
    			Ports: []v1.ServicePort{
    				{Name: "port0", Port: 80, Protocol: "TCP", TargetPort: intstr.FromInt32(8080)},
    				{Name: "port1", Port: 88, Protocol: "TCP", TargetPort: intstr.FromInt32(8088)},
    			},
    		},
    	})
    	err := endpoints.syncService(tCtx, "other/foo")
    	if err != nil {
    		t.Errorf("Unexpected error syncing service %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  8. pkg/kubelet/lifecycle/handlers.go

    // If a port with the same name is found, it's ContainerPort value is returned.  If no matching
    // port is found, an error is returned.
    func resolvePort(portReference intstr.IntOrString, container *v1.Container) (int, error) {
    	if portReference.Type == intstr.Int {
    		return portReference.IntValue(), nil
    	}
    	portName := portReference.StrVal
    	port, err := strconv.Atoi(portName)
    	if err == nil {
    		return port, nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 11:40:52 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/policy/v1/generated.proto

    import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto";
    import "k8s.io/apimachinery/pkg/runtime/generated.proto";
    import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
    import "k8s.io/apimachinery/pkg/util/intstr/generated.proto";
    
    // Package-wide variables from generator "generated".
    option go_package = "k8s.io/api/policy/v1";
    
    // Eviction evicts a pod from its node subject to certain policies and safety constraints.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/policy/v1beta1/generated.proto

    import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto";
    import "k8s.io/apimachinery/pkg/runtime/generated.proto";
    import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
    import "k8s.io/apimachinery/pkg/util/intstr/generated.proto";
    
    // Package-wide variables from generator "generated".
    option go_package = "k8s.io/api/policy/v1beta1";
    
    // Eviction evicts a pod from its node subject to certain policies and safety constraints.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top