func(c *Controller, object client.Object, ctx *common.RequestContext) error
(c *Controller, object client.Object, ctx *common.RequestContext)
| 324 | // func(c *Controller, object client.Object, ctx *common.RequestContext) error |
| 325 | |
| 326 | func PVCreateObject(c *Controller, object client.Object, ctx *common.RequestContext) error { |
| 327 | pv := object.(*v1.PersistentVolume) |
| 328 | if err := c.CreatePV(pv, ctx); err != nil { |
| 329 | return err |
| 330 | } |
| 331 | return nil |
| 332 | } |
| 333 | |
| 334 | func PVCCreateObject(c *Controller, object client.Object, ctx *common.RequestContext) error { |
| 335 | pvc := object.(*v1.PersistentVolumeClaim) |