- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 65 for IntPtr (0.23 sec)
-
pkg/registry/policy/poddisruptionbudget/storage/storage_test.go
*/ package storage import ( "testing" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/fields" "k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/util/intstr" genericapirequest "k8s.io/apiserver/pkg/endpoints/request" "k8s.io/apiserver/pkg/registry/generic" genericregistrytest "k8s.io/apiserver/pkg/registry/generic/testing" "k8s.io/apiserver/pkg/registry/rest"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:17:45 UTC 2023 - 5.3K bytes - Viewed (0) -
pkg/controlplane/import_known_versions_test.go
import ( "reflect" "testing" v1 "k8s.io/api/core/v1" apinamingtest "k8s.io/apimachinery/pkg/api/apitesting/naming" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/intstr" "k8s.io/apimachinery/pkg/util/sets" "k8s.io/kubernetes/pkg/api/legacyscheme" ) func TestGroupVersions(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 22 18:47:31 UTC 2021 - 3.1K bytes - Viewed (0) -
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) -
staging/src/k8s.io/apiserver/pkg/cel/openapi/extensions.go
limitations under the License. */ package openapi import ( "k8s.io/apimachinery/pkg/util/intstr" "k8s.io/apiserver/pkg/cel/common" "k8s.io/kube-openapi/pkg/validation/spec" ) var intOrStringFormat = intstr.IntOrString{}.OpenAPISchemaFormat() func isExtension(schema *spec.Schema, key string) bool { v, ok := schema.Extensions.GetBool(key) return v && ok }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 10 21:26:55 UTC 2023 - 2.9K bytes - Viewed (0) -
pkg/apis/policy/types.go
See the License for the specific language governing permissions and limitations under the License. */ package policy import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/intstr" ) // PodDisruptionBudgetSpec is a description of a PodDisruptionBudget. type PodDisruptionBudgetSpec struct { // An eviction is allowed if at least "minAvailable" pods selected by
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 07 20:44:13 UTC 2023 - 6.9K bytes - Viewed (0) -
pkg/kubelet/prober/scale_test.go
if f.http { handler = v1.ProbeHandler{ HTTPGet: &v1.HTTPGetAction{ Host: "127.0.0.1", Port: intstr.FromInt32(int32(port)), }, } } else { handler = v1.ProbeHandler{ TCPSocket: &v1.TCPSocketAction{ Host: "127.0.0.1", Port: intstr.FromInt32(int32(port)), }, } } return handler } func (f *fakePod) stop() { f.ln.Close() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 16 16:33:01 UTC 2023 - 8.2K bytes - Viewed (0) -
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) -
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) -
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) -
pkg/kube/inject/app_probe_test.go
// See the License for the specific language governing permissions and // limitations under the License. package inject import ( "reflect" "testing" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/util/intstr" "istio.io/api/annotation" "istio.io/istio/pkg/test" "istio.io/istio/pkg/test/util/assert" ) func TestFindSidecar(t *testing.T) { proxy := corev1.Container{Name: "istio-proxy"}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Aug 04 15:06:24 UTC 2023 - 8.6K bytes - Viewed (0)