- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 26 for nAmespace (1.04 sec)
-
pkg/printers/internalversion/printers_test.go
} } func TestPrintNamespace(t *testing.T) { tests := []struct { namespace api.Namespace expected []metav1.TableRow }{ // Basic namespace with status and age. { namespace: api.Namespace{ ObjectMeta: metav1.ObjectMeta{ Name: "namespace1", CreationTimestamp: metav1.Time{Time: time.Now().Add(1.9e9)}, }, Status: api.NamespaceStatus{
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/kubelet/eviction/helpers_test.go
// newPodStats returns a pod stat where each container is using the specified working set // each pod must have a Name, UID, Namespace func newPodStats(pod *v1.Pod, podWorkingSetBytes uint64) statsapi.PodStats { return statsapi.PodStats{ PodRef: statsapi.PodReference{ Name: pod.Name, Namespace: pod.Namespace, UID: string(pod.UID), }, Memory: &statsapi.MemoryStats{ WorkingSetBytes: &podWorkingSetBytes,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 23:14:12 UTC 2024 - 106.7K bytes - Viewed (0) -
pkg/kubelet/eviction/eviction_manager_test.go
diskInfoProvider := &mockDiskInfoProvider{dedicatedImageFs: ptr.To(false)} diskGC := &mockDiskGC{err: nil} nodeRef := &v1.ObjectReference{Kind: "Node", Name: "test", UID: types.UID("test"), Namespace: ""} config := Config{ PressureTransitionPeriod: time.Minute * 5, Thresholds: []evictionapi.Threshold{ { Signal: evictionapi.SignalMemoryAvailable,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 23:14:12 UTC 2024 - 119.9K bytes - Viewed (0) -
pkg/scheduler/schedule_one_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0) -
pkg/controller/job/job_controller_test.go
return pb } func (pb podBuilder) ns(n string) podBuilder { pb.Namespace = n return pb } func (pb podBuilder) uid(u string) podBuilder { pb.UID = types.UID(u) return pb } func (pb podBuilder) job(j *batch.Job) podBuilder { pb.Labels = j.Spec.Selector.MatchLabels pb.Namespace = j.Namespace pb.OwnerReferences = []metav1.OwnerReference{*metav1.NewControllerRef(j, controllerKind)}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 15:36:36 UTC 2024 - 229.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go
errors: map[string]string{ "has(self.metadata.namespace)": "undefined field 'namespace'", }, }, {name: "typemeta and objectmeta access not specified", isRoot: true, obj: map[string]interface{}{ "apiVersion": "v1", "kind": "Pod", "metadata": map[string]interface{}{ "name": "foo", "generateName": "pickItForMe", "namespace": "xyz", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 17:14:10 UTC 2024 - 159.9K bytes - Viewed (0) -
pkg/printers/internalversion/printers.go
} paramName := "<unset>" if pr := obj.Spec.ParamRef; pr != nil { if len(pr.Name) > 0 { if pr.Namespace != "" { paramName = pr.Namespace + "/" + pr.Name } else { // Can't tell from here if param is cluster-scoped, so all // params without names get * namespace paramName = "*/" + pr.Name } } else if pr.Selector != nil { paramName = pr.Selector.String() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 128.3K bytes - Viewed (0) -
pkg/apis/core/zz_generated.deepcopy.go
func (in *Namespace) DeepCopyInto(out *Namespace) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) in.Status.DeepCopyInto(&out.Status) return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace. func (in *Namespace) DeepCopy() *Namespace { if in == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 181.5K bytes - Viewed (0) -
staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go
func (in *Namespace) DeepCopyInto(out *Namespace) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) in.Status.DeepCopyInto(&out.Status) return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace. func (in *Namespace) DeepCopy() *Namespace { if in == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 181.9K bytes - Viewed (0) -
pkg/kubelet/kubelet.go
UID: types.UID(nodeName), Namespace: "", } oomWatcher, err := oomwatcher.NewWatcher(kubeDeps.Recorder) if err != nil { if inuserns.RunningInUserNS() { if utilfeature.DefaultFeatureGate.Enabled(features.KubeletInUserNamespace) { // oomwatcher.NewWatcher returns "open /dev/kmsg: operation not permitted" error, // when running in a user namespace with sysctl value `kernel.dmesg_restrict=1`.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 126.1K bytes - Viewed (0)