Versions in this module Expand all Collapse all v1 v1.19.0 Aug 3, 2026 Changes in this version + type CustomFlow struct + FlowYaml *string + ID *string + IsEnabled *bool + Name *string + func (o *CustomFlow) SetFlowYaml(v *string) *CustomFlow + func (o *CustomFlow) SetIsEnabled(v *bool) *CustomFlow + func (o *CustomFlow) SetName(v *string) *CustomFlow + func (o CustomFlow) MarshalJSON() ([]byte, error) + type CustomFlowMapping struct + CustomFlowId *string + TargetId *string + TargetType *string + func (o *CustomFlowMapping) SetCustomFlowId(v *string) *CustomFlowMapping + func (o *CustomFlowMapping) SetTargetId(v *string) *CustomFlowMapping + func (o *CustomFlowMapping) SetTargetType(v *string) *CustomFlowMapping + func (o CustomFlowMapping) MarshalJSON() ([]byte, error) + type Service interface + CreateCustomFlow func(context.Context, *CustomFlow) (*CustomFlow, error) + CreateCustomFlowMapping func(context.Context, *CustomFlowMapping) (*CustomFlowMapping, error) + DeleteCustomFlow func(context.Context, string) (*commons.EmptyResponse, error) + DeleteCustomFlowMapping func(context.Context, *CustomFlowMapping) (*commons.EmptyResponse, error) + ListCustomFlowMappings func(context.Context) ([]*CustomFlowMapping, error) + ListCustomFlows func(context.Context, *string, *string, *string, *string) ([]*CustomFlow, error) + ReadCustomFlow func(context.Context, string) (*CustomFlow, error) + UpdateCustomFlow func(context.Context, string, *CustomFlow) (*CustomFlow, error) + func New(sess *session.Session, cfgs ...*controlmonkey.Config) Service + type ServiceOp struct + Client *client.Client + func (s *ServiceOp) CreateCustomFlow(ctx context.Context, input *CustomFlow) (*CustomFlow, error) + func (s *ServiceOp) CreateCustomFlowMapping(ctx context.Context, input *CustomFlowMapping) (*CustomFlowMapping, error) + func (s *ServiceOp) DeleteCustomFlow(ctx context.Context, customFlowId string) (*commons.EmptyResponse, error) + func (s *ServiceOp) DeleteCustomFlowMapping(ctx context.Context, input *CustomFlowMapping) (*commons.EmptyResponse, error) + func (s *ServiceOp) ListCustomFlowMappings(ctx context.Context) ([]*CustomFlowMapping, error) + func (s *ServiceOp) ListCustomFlows(ctx context.Context, customFlowId *string, customFlowName *string, ...) ([]*CustomFlow, error) + func (s *ServiceOp) ReadCustomFlow(ctx context.Context, customFlowId string) (*CustomFlow, error) + func (s *ServiceOp) UpdateCustomFlow(ctx context.Context, customFlowId string, input *CustomFlow) (*CustomFlow, error)