- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 42 for IntVal (0.11 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/intstr/generated.pb.go
if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field IntVal", wireType) } m.IntVal = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGenerated } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ m.IntVal |= int32(b&0x7F) << shift if b < 0x80 { break } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 9.5K bytes - Viewed (0) -
pkg/probe/util_test.go
}{ { name: "get port by int type", args: args{ param: intstr.IntOrString{Type: 0, IntVal: 443}, container: &v1.Container{}, }, want: 443, wantErr: false, }, { name: "invalid port", args: args{ param: intstr.IntOrString{Type: 0, IntVal: 66666}, container: &v1.Container{}, }, want: 66666, wantErr: true, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 10 06:14:41 UTC 2023 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/intstr/generated.proto
// TODO: Rename to Int32OrString // // +protobuf=true // +protobuf.options.(gogoproto.goproto_stringer)=false // +k8s:openapi-gen=true message IntOrString { optional int64 type = 1; optional int32 intVal = 2; optional string strVal = 3;
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 04 23:57:45 UTC 2022 - 1.3K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/server_test.go
HTTPGet: &apimirror.HTTPGetAction{ Path: "/hello/sunnyvale", Port: apimirror.IntOrString{IntVal: int32(appPort)}, }, }, "/app-health/hello-world/livez": &Prober{ HTTPGet: &apimirror.HTTPGetAction{ Port: apimirror.IntOrString{IntVal: int32(appPort)}, }, }, } simpleTCPConfig := KubeAppProbers{ "/app-health/hello-world/readyz": &Prober{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 42.6K bytes - Viewed (0) -
cmd/kubeadm/app/phases/addons/dns/dns_test.go
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, }, }, }, Selector: map[string]string{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 41.7K bytes - Viewed (0) -
common-protos/k8s.io/apimachinery/pkg/util/intstr/generated.proto
// TODO: Rename to Int32OrString // // +protobuf=true // +protobuf.options.(gogoproto.goproto_stringer)=false // +k8s:openapi-gen=true message IntOrString { optional int64 type = 1; optional int32 intVal = 2; optional string strVal = 3;
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 1.3K bytes - Viewed (0) -
pkg/apis/extensions/v1beta1/conversion.go
return err } if len(in.ServiceName) > 0 || in.ServicePort.IntVal != 0 || in.ServicePort.StrVal != "" || in.ServicePort.Type == intstr.String { out.Service = &networking.IngressServiceBackend{} out.Service.Name = in.ServiceName out.Service.Port.Name = in.ServicePort.StrVal out.Service.Port.Number = in.ServicePort.IntVal } return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:16:15 UTC 2023 - 8.1K bytes - Viewed (0) -
pkg/registry/networking/networkpolicy/strategy_test.go
MatchLabels: map[string]string{"c": "d"}, }, }, }, } ports := []networking.NetworkPolicyPort{ { Protocol: &protocolTCP, Port: &intstr.IntOrString{Type: intstr.Int, IntVal: 31000}, }, } ingress.Ports = ports egress.Ports = ports if hasEndPort { ingress.Ports[0].EndPort = &endPort egress.Ports[0].EndPort = &endPort } if isIngress {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 18:19:25 UTC 2023 - 2.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/util.go
// TODO(@hzxuzhonghu): check protocol as well as port if p.Name == servicePort.Name || p.Port == int32(servicePort.Port) { if p.TargetPort.Type == intstr.Int && p.TargetPort.IntVal > 0 { return serviceTargetPort{num: int(p.TargetPort.IntVal), name: p.Name, explicitName: false} } return serviceTargetPort{num: 0, name: p.TargetPort.StrVal, explicitName: true} } } // should never happen
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jul 28 02:01:47 UTC 2023 - 6.1K bytes - Viewed (0) -
logger/sql_test.go
jsVal = []byte(`{"Name":"test","Val":"test"}`) js = JSON(jsVal) esVal = []byte(`{"Name":"test","Val":"test"}`) es = ExampleStruct{Name: "test", Val: "test"} intVal intType = 1 floatVal floatType = 1.23 ) results := []struct { SQL string NumericRegexp *regexp.Regexp Vars []interface{} Result string }{ {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 8.4K bytes - Viewed (0)