Documentation ¶
Index ¶
- Constants
- func GetActivityName(v1Name string, isV2 bool) string
- func IntegratedServiceJobWorkflow(ctx workflow.Context, input IntegratedServiceJobWorkflowInput) error
- func IntegratedServiceJobWorkflowV2(ctx workflow.Context, input IntegratedServiceJobWorkflowInput) error
- type IntegratedServiceApplyActivity
- type IntegratedServiceApplyActivityInput
- type IntegratedServiceCleanActivity
- type IntegratedServiceCleanActivityInput
- type IntegratedServiceDeactivateActivity
- type IntegratedServiceDeactivateActivityInput
- type IntegratedServiceDeleteActivity
- type IntegratedServiceDeleteActivityInput
- type IntegratedServiceJobSignalInput
- type IntegratedServiceJobWorkflowInput
- type IntegratedServiceSetSpecActivity
- type IntegratedServiceSetSpecActivityInput
- type IntegratedServiceSetStatusActivity
- type IntegratedServiceSetStatusActivityInput
Constants ¶
View Source
const ( // OperationApply identifies the integrated service apply operation OperationApply = "apply" // OperationDeactivate identifies the integrated service deactivation operation OperationDeactivate = "deactivate" )
View Source
const IntegratedServiceApplyActivityName = "integrated-service-apply"
View Source
const IntegratedServiceCleanActivityName = "integrated-service-clean"
View Source
const IntegratedServiceDeactivateActivityName = "integrated-service-deactivate"
View Source
const IntegratedServiceDeleteActivityName = "integrated-service-delete"
View Source
const IntegratedServiceJobSignalName = "job"
IntegratedServiceJobSignalName is the name of signal with which jobs can be sent to the workflow
View Source
const IntegratedServiceJobWorkflowName = "integrated-service-job"
IntegratedServiceJobWorkflowName is the name the IntegratedServiceJobWorkflow is registered under
View Source
const IntegratedServiceJobWorkflowV2Name = "integrated-service-job-v2"
IntegratedServiceJobWorkflowV2Name name of the v2 integrated service workflow
View Source
const IntegratedServiceSetSpecActivityName = "integrated-service-set-spec"
View Source
const IntegratedServiceSetStatusActivityName = "integrated-service-set-status"
Variables ¶
This section is empty.
Functions ¶
func GetActivityName ¶
func IntegratedServiceJobWorkflow ¶
func IntegratedServiceJobWorkflow(ctx workflow.Context, input IntegratedServiceJobWorkflowInput) error
IntegratedServiceJobWorkflow executes integrated service jobs
func IntegratedServiceJobWorkflowV2 ¶
func IntegratedServiceJobWorkflowV2(ctx workflow.Context, input IntegratedServiceJobWorkflowInput) error
IntegratedServiceJobWorkflowV2 workflow that skips status updates (and all database operations related to integrated services)
Types ¶
type IntegratedServiceApplyActivity ¶
type IntegratedServiceApplyActivity struct {
// contains filtered or unexported fields
}
func MakeIntegratedServicesApplyActivity ¶
func MakeIntegratedServicesApplyActivity(integratedServices integratedservices.IntegratedServiceOperatorRegistry) IntegratedServiceApplyActivity
func (IntegratedServiceApplyActivity) Execute ¶
func (a IntegratedServiceApplyActivity) Execute(ctx context.Context, input IntegratedServiceApplyActivityInput) error
type IntegratedServiceApplyActivityInput ¶
type IntegratedServiceApplyActivityInput struct { ClusterID uint IntegratedServiceName string IntegratedServiceSpec integratedservices.IntegratedServiceSpec RetryInterval time.Duration }
type IntegratedServiceCleanActivity ¶
type IntegratedServiceCleanActivity struct {
// contains filtered or unexported fields
}
func MakeIntegratedServiceCleanActivity ¶
func MakeIntegratedServiceCleanActivity(integratedCleaner integratedservices.IntegratedServiceCleaner, logger logrus.FieldLogger) IntegratedServiceCleanActivity
func (IntegratedServiceCleanActivity) Execute ¶
func (a IntegratedServiceCleanActivity) Execute(ctx context.Context, input IntegratedServiceCleanActivityInput) error
type IntegratedServiceDeactivateActivity ¶
type IntegratedServiceDeactivateActivity struct {
// contains filtered or unexported fields
}
func MakeIntegratedServiceDeactivateActivity ¶
func MakeIntegratedServiceDeactivateActivity(integratedServices integratedservices.IntegratedServiceOperatorRegistry) IntegratedServiceDeactivateActivity
func (IntegratedServiceDeactivateActivity) Execute ¶
func (a IntegratedServiceDeactivateActivity) Execute(ctx context.Context, input IntegratedServiceDeactivateActivityInput) error
type IntegratedServiceDeactivateActivityInput ¶
type IntegratedServiceDeactivateActivityInput struct { ClusterID uint IntegratedServiceName string IntegratedServiceSpec integratedservices.IntegratedServiceSpec RetryInterval time.Duration }
type IntegratedServiceDeleteActivity ¶
type IntegratedServiceDeleteActivity struct {
// contains filtered or unexported fields
}
func MakeIntegratedServiceDeleteActivity ¶
func MakeIntegratedServiceDeleteActivity(integratedServices integratedservices.IntegratedServiceRepository) IntegratedServiceDeleteActivity
func (IntegratedServiceDeleteActivity) Execute ¶
func (a IntegratedServiceDeleteActivity) Execute(ctx context.Context, input IntegratedServiceDeleteActivityInput) error
type IntegratedServiceJobSignalInput ¶
type IntegratedServiceJobSignalInput struct { Operation string IntegratedServiceSpecs integratedservices.IntegratedServiceSpec RetryInterval time.Duration }
IntegratedServiceJobSignalInput defines the dynamic inputs of the IntegratedServiceJobWorkflow
type IntegratedServiceJobWorkflowInput ¶
IntegratedServiceJobWorkflowInput defines the fixed inputs of the IntegratedServiceJobWorkflow
type IntegratedServiceSetSpecActivity ¶
type IntegratedServiceSetSpecActivity struct {
// contains filtered or unexported fields
}
func MakeIntegratedServiceSetSpecActivity ¶
func MakeIntegratedServiceSetSpecActivity(integratedServices integratedservices.IntegratedServiceRepository) IntegratedServiceSetSpecActivity
func (IntegratedServiceSetSpecActivity) Execute ¶
func (a IntegratedServiceSetSpecActivity) Execute(ctx context.Context, input IntegratedServiceSetSpecActivityInput) error
type IntegratedServiceSetStatusActivity ¶
type IntegratedServiceSetStatusActivity struct {
// contains filtered or unexported fields
}
func MakeIntegratedServiceSetStatusActivity ¶
func MakeIntegratedServiceSetStatusActivity(integratedServices integratedservices.IntegratedServiceRepository) IntegratedServiceSetStatusActivity
func (IntegratedServiceSetStatusActivity) Execute ¶
func (a IntegratedServiceSetStatusActivity) Execute(ctx context.Context, input IntegratedServiceSetStatusActivityInput) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.