- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 170 for ObjectReference (0.33 sec)
-
staging/src/k8s.io/apiserver/pkg/apis/audit/v1/generated.pb.go
func (m *ObjectReference) Reset() { *m = ObjectReference{} } func (*ObjectReference) ProtoMessage() {} func (*ObjectReference) Descriptor() ([]byte, []int) { return fileDescriptor_62937bb89ca7b6dd, []int{3} } func (m *ObjectReference) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *ObjectReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 81.4K bytes - Viewed (0) -
pkg/registry/core/event/storage/storage_test.go
someTime := metav1.MicroTime{Time: time.Unix(1505828956, 0)} return &api.Event{ ObjectMeta: metav1.ObjectMeta{ Name: "foo", Namespace: namespace, }, InvolvedObject: api.ObjectReference{ Name: "bar", Namespace: namespace, }, EventTime: someTime, ReportingController: "test-controller", ReportingInstance: "test-node", Action: "Do",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 01 14:50:28 UTC 2020 - 3.4K bytes - Viewed (0) -
pkg/api/endpoints/testing/make.go
// MakeEndpointAddress helps construct EndpointAddress objects which pass API // validation. func MakeEndpointAddress(ip string, pod string) api.EndpointAddress { return api.EndpointAddress{ IP: ip, TargetRef: &api.ObjectReference{ Name: pod, Namespace: metav1.NamespaceDefault, }, } } // MakeEndpointPort helps construct EndpointPort objects which pass API // validation.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 02 01:26:45 UTC 2021 - 1.9K bytes - Viewed (0) -
pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go
// create dswp mode := v1.PersistentVolumeFilesystem pv := &v1.PersistentVolume{ ObjectMeta: metav1.ObjectMeta{ Name: "dswp-test-volume-name", }, Spec: v1.PersistentVolumeSpec{ ClaimRef: &v1.ObjectReference{Namespace: "ns", Name: "file-bound"}, VolumeMode: &mode, }, } pvc := &v1.PersistentVolumeClaim{ Spec: v1.PersistentVolumeClaimSpec{ VolumeName: "dswp-test-volume-name", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 51.4K bytes - Viewed (0) -
pkg/kubelet/nodeshutdown/nodeshutdown_manager.go
type Config struct { Logger klog.Logger ProbeManager prober.Manager Recorder record.EventRecorder NodeRef *v1.ObjectReference GetPodsFunc eviction.ActivePodsFunc KillPodFunc eviction.KillPodFunc SyncNodeStatusFunc func() ShutdownGracePeriodRequested time.Duration
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 24 09:20:34 UTC 2022 - 2.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/audit/fuzzer/fuzzer.go
Raw: []byte(`{"apiVersion":"","kind":"Pod","someKey":"someValue"}`), ContentType: runtime.ContentTypeJSON, } } }, func(o *audit.ObjectReference, c fuzz.Continue) { c.FuzzNoCustom(o) switch c.Intn(3) { case 0: // core api group o.APIGroup = "" o.APIVersion = "v1" case 1: // other group
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 04 16:10:17 UTC 2017 - 2.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/defaultbinder/default_binder.go
binding := &v1.Binding{ ObjectMeta: metav1.ObjectMeta{Namespace: p.Namespace, Name: p.Name, UID: p.UID}, Target: v1.ObjectReference{Kind: "Node", Name: nodeName}, } err := b.handle.ClientSet().CoreV1().Pods(binding.Namespace).Bind(ctx, binding, metav1.CreateOptions{}) if err != nil { return framework.AsStatus(err) } return nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 20 09:49:54 UTC 2023 - 2K bytes - Viewed (0) -
pkg/kubelet/oom/oom_watcher_linux.go
const ( systemOOMEvent = "SystemOOM" recordEventContainerName = "/" ) // Start watches for system oom's and records an event for every system oom encountered. func (ow *realWatcher) Start(ref *v1.ObjectReference) error { outStream := make(chan *oomparser.OomInstance, 10) go ow.oomStreamer.StreamOoms(outStream) go func() { defer runtime.HandleCrash() for event := range outStream {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 23:17:05 UTC 2022 - 2.3K bytes - Viewed (0) -
pkg/api/v1/endpoints/util_test.go
"k8s.io/apimachinery/pkg/util/dump" ) func podRef(uid string) *v1.ObjectReference { ref := v1.ObjectReference{UID: types.UID(uid)} return &ref } func TestPackSubsets(t *testing.T) { // The downside of table-driven tests is that some things have to live outside the table. fooObjRef := v1.ObjectReference{Name: "foo"} barObjRef := v1.ObjectReference{Name: "bar"} testCases := []struct { name string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 27 01:24:22 UTC 2023 - 16.6K bytes - Viewed (0) -
pkg/registry/core/serviceaccount/storage/storage_test.go
func validNewServiceAccount(name string) *api.ServiceAccount { return &api.ServiceAccount{ ObjectMeta: metav1.ObjectMeta{ Name: name, Namespace: metav1.NamespaceDefault, }, Secrets: []api.ObjectReference{}, } } func TestCreate(t *testing.T) { storage, server := newStorage(t) defer server.Terminate(t) defer storage.Store.DestroyFunc() test := genericregistrytest.New(t, storage.Store)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 6.7K bytes - Viewed (0)