Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFromAPI = errors.New("failed to transform system from API")
Functions ¶
func FromAPIPatch ¶
func FromAPIPatch(system cmkapi.SystemPatch) model.System
Types ¶
type ToAPIOpt ¶ added in v0.9.0
ToAPIOpt is a functional option for customizing the ToAPI transformation.
func WithWorkflow ¶ added in v0.9.0
func WithWorkflow( ctx context.Context, wf *model.Workflow, idm identitymanagement.IdentityManagement, opts ...workflow.ToAPIOpt, ) ToAPIOpt
WithWorkflow sets the workflow field on the API system metadata.
Click to show internal directories.
Click to hide internal directories.