- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 67 for ObjectReference (0.18 sec)
-
pkg/apis/core/validation/events_test.go
Name: "test1", Namespace: "foo", }, InvolvedObject: core.ObjectReference{ Namespace: "bar", Kind: "Pod", }, }, false, }, { &core.Event{ ObjectMeta: metav1.ObjectMeta{ Name: "test2", Namespace: "aoeu-_-aoeu", }, InvolvedObject: core.ObjectReference{ Namespace: "aoeu-_-aoeu", Kind: "Pod", }, }, false,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 01 19:47:37 UTC 2022 - 37.2K bytes - Viewed (0) -
pkg/api/v1/persistentvolume/util_test.go
{Spec: corev1.PersistentVolumeSpec{ ClaimRef: &corev1.ObjectReference{Namespace: "claimrefns", Name: "claimrefname"}, PersistentVolumeSource: corev1.PersistentVolumeSource{ AzureFile: &corev1.AzureFilePersistentVolumeSource{ SecretName: "Spec.PersistentVolumeSource.AzureFile.SecretName"}}}}, {Spec: corev1.PersistentVolumeSpec{ ClaimRef: &corev1.ObjectReference{Namespace: "claimrefns", Name: "claimrefname"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 25 11:04:08 UTC 2023 - 14.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/audit/v1/zz_generated.conversion.go
} if err := s.AddGeneratedConversionFunc((*ObjectReference)(nil), (*audit.ObjectReference)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1_ObjectReference_To_audit_ObjectReference(a.(*ObjectReference), b.(*audit.ObjectReference), scope) }); err != nil { return err } if err := s.AddGeneratedConversionFunc((*audit.ObjectReference)(nil), (*ObjectReference)(nil), func(a, b interface{}, scope conversion.Scope) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 06 19:08:27 UTC 2021 - 14.6K bytes - Viewed (0) -
pkg/controller/garbagecollector/dump_test.go
var ( alphaNode = func() *node { return &node{ identity: objectReference{ OwnerReference: metav1.OwnerReference{ UID: types.UID("alpha"), }, }, owners: []metav1.OwnerReference{ {UID: types.UID("bravo")}, {UID: types.UID("charlie")}, }, } } bravoNode = func() *node { return &node{ identity: objectReference{ OwnerReference: metav1.OwnerReference{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 14 00:05:53 UTC 2023 - 11.2K bytes - Viewed (0) -
pkg/controller/serviceaccount/tokens_controller_test.go
} // emptySecretReferences is used by a service account without any secrets func emptySecretReferences() []v1.ObjectReference { return []v1.ObjectReference{} } // missingSecretReferences is used by a service account that references secrets which do no exist func missingSecretReferences() []v1.ObjectReference { return []v1.ObjectReference{{Name: "missing-secret-1"}} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 14 00:05:53 UTC 2023 - 21.5K bytes - Viewed (0) -
pkg/controller/garbagecollector/graph_builder.go
func getAlternateOwnerIdentity(deps []*node, verifiedAbsentIdentity objectReference) *objectReference { absentIdentityIsClusterScoped := len(verifiedAbsentIdentity.Namespace) == 0 seenAlternates := map[objectReference]bool{verifiedAbsentIdentity: true} // keep track of the first alternate reference (according to referenceLessThan) var first *objectReference
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 36.9K bytes - Viewed (0) -
plugin/pkg/admission/eventratelimit/admission_test.go
sourceAndObjectBurst: 1, sourceAndObjectCacheSize: 10, requests: createSourceAndObjectKeyInclusionRequests(func(label string) *api.Event { return &api.Event{InvolvedObject: api.ObjectReference{Kind: label}} }), }, { name: "involved object namespace should be included in source+object key", serverBurst: 100, sourceAndObjectBurst: 1,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 17 13:19:08 UTC 2021 - 15.6K bytes - Viewed (0) -
pkg/kubelet/cm/node_container_manager_linux.go
return fmt.Errorf("invalid Node Allocatable configuration. %s", strings.Join(errors, " ")) } return nil } // Using ObjectReference for events as the node maybe not cached; refer to #42701 for detail. func nodeRefFromNode(nodeName string) *v1.ObjectReference { return &v1.ObjectReference{ Kind: "Node", Name: nodeName, UID: types.UID(nodeName), Namespace: "", }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:18:16 UTC 2024 - 10.5K bytes - Viewed (0) -
pkg/registry/core/pod/storage/storage_test.go
Target: api.ObjectReference{}, }, errOK: func(err error) bool { return err != nil }, }, "badNameInURL": { binding: api.Binding{ ObjectMeta: metav1.ObjectMeta{Namespace: metav1.NamespaceDefault, Name: "foo"}, Target: api.ObjectReference{}, }, badNameInURL: true, errOK: func(err error) bool { return err != nil },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 07:18:44 UTC 2024 - 38.8K 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)