Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePatchOperation ¶
func CreatePatchOperation(t *optimizev1beta2.Trial, p *optimizev1beta2.PatchTemplate, ref *corev1.ObjectReference, data []byte) (*optimizev1beta2.PatchOperation, error)
createPatchOperation creates a new patch operation from a patch template and it's (fully rendered) patch data
func RenderTemplate ¶
func RenderTemplate(te *template.Engine, t *optimizev1beta2.Trial, p *optimizev1beta2.PatchTemplate) (*corev1.ObjectReference, []byte, error)
RenderTemplate determines the patch target and renders the patch template
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.