- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 62 for IntPtr (0.25 sec)
-
pkg/controller/statefulset/stateful_set_control_test.go
} } } func setupForInvariant(t *testing.T) (*apps.StatefulSet, *fakeObjectManager, StatefulSetControlInterface, intstr.IntOrString, int32) { var totalPods int32 = 6 set := newStatefulSet(totalPods) // update all pods >=3(3,4,5) var partition int32 = 3 var maxUnavailable = intstr.FromInt32(2) set.Spec.UpdateStrategy = apps.StatefulSetUpdateStrategy{ Type: apps.RollingUpdateStatefulSetStrategyType,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 07 19:01:47 UTC 2024 - 108.7K bytes - Viewed (0) -
pkg/printers/internalversion/printers_test.go
} if !reflect.DeepEqual(expectedRows, rows) { t.Errorf("mismatch: %s", cmp.Diff(expectedRows, rows)) } } func TestPrintPodDisruptionBudget(t *testing.T) { minAvailable := intstr.FromInt32(22) maxUnavailable := intstr.FromInt32(11) tests := []struct { pdb policy.PodDisruptionBudget expected []metav1.TableRow }{ // Min Available set, no Max Available. {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0) -
pkg/generated/openapi/zz_generated.openapi.go
v1beta1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1" resource "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" intstr "k8s.io/apimachinery/pkg/util/intstr" common "k8s.io/kube-openapi/pkg/common" spec "k8s.io/kube-openapi/pkg/validation/spec" ) func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 18:37:07 UTC 2024 - 3M bytes - Viewed (0) -
pkg/apis/core/validation/validation.go
} return allErrors } func ValidatePortNumOrName(port intstr.IntOrString, fldPath *field.Path) field.ErrorList { allErrs := field.ErrorList{} if port.Type == intstr.Int { for _, msg := range validation.IsValidPortNum(port.IntValue()) { allErrs = append(allErrs, field.Invalid(fldPath, port.IntValue(), msg)) } } else if port.Type == intstr.String { for _, msg := range validation.IsValidPortName(port.StrVal) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (0) -
pkg/apis/core/types.go
import ( "k8s.io/apimachinery/pkg/api/resource" metainternalversion "k8s.io/apimachinery/pkg/apis/meta/internalversion" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/intstr" ) const ( // NamespaceDefault means the object is in the default namespace which is applied when not specified by clients NamespaceDefault = "default"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 268.9K bytes - Viewed (0) -
staging/src/k8s.io/api/core/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/core/v1"; // Represents a Persistent Disk resource in AWS. //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 280.3K bytes - Viewed (0) -
api/openapi-spec/v3/apis__apps__v1_openapi.json
"properties": { "maxSurge": { "allOf": [ { "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.util.intstr.IntOrString" } ],
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 810.7K bytes - Viewed (0) -
staging/src/k8s.io/api/core/v1/types.go
limitations under the License. */ package v1 import ( "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/intstr" ) const ( // NamespaceDefault means the object is in the default namespace which is applied when not specified by clients NamespaceDefault string = "default"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 390.8K bytes - Viewed (0) -
api/openapi-spec/v3/apis__batch__v1_openapi.json
"type": "string" }, "port": { "allOf": [ { "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.util.intstr.IntOrString" } ], "description": "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME." },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 18:37:07 UTC 2024 - 485.4K bytes - Viewed (0) -
api/openapi-spec/swagger.json
"description": "Spec to control the desired behavior of daemon set rolling update.", "properties": { "maxSurge": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 18:37:07 UTC 2024 - 3.1M bytes - Viewed (0)