Function
NewRootCreateAction
(resource schema.GroupVersionResource, object runtime.Object)
Source from the content-addressed store, hash-verified
| 93 | } |
| 94 | |
| 95 | func NewRootCreateAction(resource schema.GroupVersionResource, object runtime.Object) CreateActionImpl { |
| 96 | action := CreateActionImpl{} |
| 97 | action.Verb = "create" |
| 98 | action.Resource = resource |
| 99 | action.Object = object |
| 100 | |
| 101 | return action |
| 102 | } |
| 103 | |
| 104 | func NewCreateAction(resource schema.GroupVersionResource, namespace string, object runtime.Object) CreateActionImpl { |
| 105 | action := CreateActionImpl{} |
Tested by
no test coverage detected