Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 65 for IntPtr (0.09 sec)

  1. pkg/apis/apps/v1beta1/defaults.go

    		if strategy.RollingUpdate.MaxUnavailable == nil {
    			// Set default MaxUnavailable as 25% by default.
    			maxUnavailable := intstr.FromString("25%")
    			strategy.RollingUpdate.MaxUnavailable = &maxUnavailable
    		}
    		if strategy.RollingUpdate.MaxSurge == nil {
    			// Set default MaxSurge as 25% by default.
    			maxSurge := intstr.FromString("25%")
    			strategy.RollingUpdate.MaxSurge = &maxSurge
    		}
    	}
    	if obj.Spec.RevisionHistoryLimit == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/apis/extensions/v1beta1/conversion.go

    		return err
    	}
    	if in.Service != nil {
    		out.ServiceName = in.Service.Name
    		if len(in.Service.Port.Name) > 0 {
    			out.ServicePort = intstr.FromString(in.Service.Port.Name)
    		} else {
    			out.ServicePort = intstr.FromInt32(in.Service.Port.Number)
    		}
    	}
    	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)
  9. pkg/registry/networking/networkpolicy/storage/storage_test.go

    			object.Spec.Ingress = []networking.NetworkPolicyIngressRule{
    				{
    					Ports: []networking.NetworkPolicyPort{
    						{
    							Protocol: &protocolICMP,
    							Port:     &intstr.IntOrString{Type: intstr.Int, IntVal: 80},
    						},
    					},
    				},
    			}
    			return object
    		},
    	)
    }
    
    func TestDelete(t *testing.T) {
    	storage, server := newStorage(t)
    	defer server.Terminate(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. pkg/api/service/testing/make.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package testing
    
    import (
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/util/intstr"
    	utilpointer "k8s.io/utils/pointer"
    
    	api "k8s.io/kubernetes/pkg/apis/core"
    )
    
    // Tweak is a function that modifies a Service.
    type Tweak func(*api.Service)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top