Documentation ¶
Index ¶
Constants ¶
View Source
const ExpireActivityName = "expire-cluster-activity"
View Source
const (
ExpiryJobWorkflowName = "expiry-job"
)
Variables ¶
This section is empty.
Functions ¶
func ExpiryJobWorkflow ¶
func ExpiryJobWorkflow(ctx workflow.Context, input ExpiryJobWorkflowInput) error
ExpiryJobWorkflow triggers the cluster deletion at a given date
Types ¶
type ExpiryActivity ¶
type ExpiryActivity struct {
// contains filtered or unexported fields
}
func NewExpiryActivity ¶
func NewExpiryActivity(clusterDeleter clusterDeleter) ExpiryActivity
func (ExpiryActivity) Execute ¶
func (a ExpiryActivity) Execute(ctx context.Context, input ExpiryActivityInput) error
type ExpiryActivityInput ¶
type ExpiryActivityInput struct {
ClusterID uint
}
type ExpiryJobWorkflowInput ¶
ExpiryJobWorkflowInput defines the fixed inputs of the expiry workflow
Click to show internal directories.
Click to hide internal directories.