Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PiotrFerenc/task-tower
/ functions
Functions
206 in github.com/PiotrFerenc/task-tower
⨍
Functions
206
◇
Types & classes
64
Method
Execute
Execute performs the execution of the appendContentToFile action. It appends content to a file specified by the fileName property. Parameters: mess
cmd/worker/actions/file/file-append.go:70
Method
Execute
Execute executes the contentToFile action by writing the content to a file with the provided file name. The file is created in the TmpFolder specified
cmd/worker/actions/file/file-create.go:72
Method
Execute
Execute executes the deleteFile action by deleting the specified file. Parameters: - message: The input process message. Returns: - types.Process: T
cmd/worker/actions/file/file-delete.go:50
Method
Execute
(process types.Process)
cmd/worker/actions/common/for-each.go:48
Method
Execute
Execute executes a Docker container. Parameters: process: The process that contains the required parameters for executing the container. Returns:
cmd/worker/actions/docker/docker-run.go:76
Method
Execute
Execute builds a Docker image using the provided Dockerfile content and tags. Parameters: process: The process object containing the Dockerfile con
cmd/worker/actions/docker/docker-build.go:68
Method
Execute
(process types.Process)
cmd/worker/actions/docker/docker-remove.go:40
Method
Execute
Execute The Execute() method receives a parameter of types.Message type and returns (types.Message, error).
cmd/worker/actions/math/add-numbers.go:65
Method
Execute
Execute renames a folder by moving it to a new location with a new name. Parameters: message: The original Process object. Returns: types.Proces
cmd/worker/actions/folder/folder-rename.go:72
Method
Execute
Execute executes the checkFolder action by checking if a folder with the provided folderName exists in the temporary folder. Parameters: message: T
cmd/worker/actions/folder/folder-exist.go:53
Method
Execute
Execute executes the createFolder action by creating a folder with the provided name in the temporary folder. It returns the updated process message a
cmd/worker/actions/folder/folder-create.go:64
Method
Execute
Execute performs the deletion of a folder with the provided folder name. Parameters: message: The process message containing the necessary informat
cmd/worker/actions/folder/folder-delete.go:61
Method
Execute
Execute executes the addToProject action by starting a Docker container with the specified image name, environment variables, volume bindings, and con
cmd/worker/actions/dotnet/add-nuget.go:70
Method
Execute
Execute executes a classLib process by starting a container with the specified image and environment variables. Parameters: process: The process to
cmd/worker/actions/dotnet/create-classlib.go:57
Method
Execute
Execute executes a solutionFile process by starting a container with the specified image and environment variables. Parameters: process: The proces
cmd/worker/actions/dotnet/create-sln.go:57
Method
Execute
Execute executes the addToSln action by starting a Docker container with the specified image name, environment variables, volume bindings, and context
cmd/worker/actions/dotnet/add-to-sln.go:79
Method
GetById
(processId uuid.UUID)
internal/repositories/postgres-repository.go:39
Method
GetById
GetById retrieves a process pipeline from the MongoDB repository based on the given processId. Parameters: processId: The unique identifier of the p
internal/repositories/mongodb-repository.go:84
Method
GetCategoryName
()
cmd/worker/actions/action.go:15
Method
GetCategoryName
()
cmd/worker/actions/others/console.go:24
Method
GetCategoryName
()
cmd/worker/actions/git/git-branch.go:37
Method
GetCategoryName
()
cmd/worker/actions/git/git-clone.go:37
Method
GetCategoryName
()
cmd/worker/actions/git/git-commit.go:46
Method
GetCategoryName
()
cmd/worker/actions/zip/zip-create.go:46
Method
GetCategoryName
()
cmd/worker/actions/file/file-append.go:45
Method
GetCategoryName
()
cmd/worker/actions/file/file-create.go:45
Method
GetCategoryName
()
cmd/worker/actions/file/file-delete.go:29
Method
GetCategoryName
()
cmd/worker/actions/common/for-each.go:35
Method
GetCategoryName
()
cmd/worker/actions/docker/docker-run.go:51
Method
GetCategoryName
()
cmd/worker/actions/docker/docker-build.go:42
Method
GetCategoryName
()
cmd/worker/actions/docker/docker-remove.go:26
Method
GetCategoryName
()
cmd/worker/actions/math/add-numbers.go:43
Method
GetCategoryName
()
cmd/worker/actions/folder/folder-rename.go:45
Method
GetCategoryName
()
cmd/worker/actions/folder/folder-exist.go:29
Method
GetCategoryName
()
cmd/worker/actions/folder/folder-create.go:37
Method
GetCategoryName
()
cmd/worker/actions/folder/folder-delete.go:37
Method
GetCategoryName
()
cmd/worker/actions/dotnet/add-nuget.go:55
Method
GetCategoryName
()
cmd/worker/actions/dotnet/create-classlib.go:43
Method
GetCategoryName
()
cmd/worker/actions/dotnet/create-sln.go:43
Method
GetCategoryName
()
cmd/worker/actions/dotnet/add-to-sln.go:63
Method
Inputs
()
cmd/worker/actions/others/console.go:27
Method
Inputs
()
cmd/worker/actions/git/git-branch.go:40
Method
Inputs
()
cmd/worker/actions/git/git-clone.go:40
Method
Inputs
()
cmd/worker/actions/git/git-commit.go:49
Method
Inputs
()
cmd/worker/actions/zip/zip-create.go:50
Method
Inputs
()
cmd/worker/actions/file/file-append.go:48
Method
Inputs
()
cmd/worker/actions/file/file-create.go:48
Method
Inputs
()
cmd/worker/actions/file/file-delete.go:32
Method
Inputs
()
cmd/worker/actions/common/for-each.go:39
Method
Inputs
()
cmd/worker/actions/docker/docker-run.go:55
Method
Inputs
()
cmd/worker/actions/docker/docker-build.go:46
Method
Inputs
()
cmd/worker/actions/docker/docker-remove.go:30
Method
Inputs
Inputs The Inputs() method returns a slice of Property structure. The Property structure includes two fields: Name and Type, both of which are strings
cmd/worker/actions/math/add-numbers.go:51
Method
Inputs
()
cmd/worker/actions/folder/folder-rename.go:49
Method
Inputs
()
cmd/worker/actions/folder/folder-exist.go:33
Method
Inputs
()
cmd/worker/actions/folder/folder-create.go:41
Method
Inputs
()
cmd/worker/actions/folder/folder-delete.go:41
Method
Inputs
()
cmd/worker/actions/dotnet/add-nuget.go:43
Method
Inputs
()
cmd/worker/actions/dotnet/create-classlib.go:35
Method
Inputs
()
cmd/worker/actions/dotnet/create-sln.go:35
Method
Inputs
()
cmd/worker/actions/dotnet/add-to-sln.go:51
Method
LoadConfiguration
LoadConfiguration loads the configuration from the specified file and returns a Config object. The method uses Viper to read the configuration file. I
internal/configuration/yml-configuration.go:42
Method
MarkAsDone
MarkAsDone sets the status of the pipeline and its current step to "Done". It then updates the status of the pipeline in the repository.
internal/services/process-service.go:40
Method
MarkAsFailed
MarkAsFailed sets the status of the pipeline and its current step to "Fail", and updates the error message. It then updates the status of the pipeline
internal/services/process-service.go:49
Method
MarkAsStarted
MarkAsStarted saves the pipeline in the repository.
internal/services/process-service.go:26
Method
Outputs
()
cmd/worker/actions/others/console.go:33
Method
Outputs
Outputs method returns an empty list of actions.Property. It is a method of gitCreateBranch struct, which is a implementation of the Action interface.
cmd/worker/actions/git/git-branch.go:51
Method
Outputs
()
cmd/worker/actions/git/git-clone.go:46
Method
Outputs
()
cmd/worker/actions/git/git-commit.go:56
Method
Outputs
()
cmd/worker/actions/zip/zip-create.go:57
Method
Outputs
()
cmd/worker/actions/file/file-append.go:54
Method
Outputs
()
cmd/worker/actions/file/file-create.go:54
Method
Outputs
()
cmd/worker/actions/file/file-delete.go:38
Method
Outputs
()
cmd/worker/actions/common/for-each.go:44
Method
Outputs
()
cmd/worker/actions/docker/docker-run.go:60
Method
Outputs
()
cmd/worker/actions/docker/docker-build.go:52
Method
Outputs
()
cmd/worker/actions/docker/docker-remove.go:36
Method
Outputs
Outputs The Outputs() method returns a slice of Property structure. It creates a property structure for an output, 'c', of 'number' type and returns i
cmd/worker/actions/math/add-numbers.go:60
Method
Outputs
()
cmd/worker/actions/folder/folder-rename.go:56
Method
Outputs
()
cmd/worker/actions/folder/folder-exist.go:39
Method
Outputs
()
cmd/worker/actions/folder/folder-create.go:47
Method
Outputs
()
cmd/worker/actions/folder/folder-delete.go:47
Method
Outputs
()
cmd/worker/actions/dotnet/add-nuget.go:49
Method
Outputs
()
cmd/worker/actions/dotnet/create-classlib.go:40
Method
Outputs
()
cmd/worker/actions/dotnet/create-sln.go:40
Method
Outputs
()
cmd/worker/actions/dotnet/add-to-sln.go:57
Function
RenameFolder
(config *configuration.Config)
cmd/worker/actions/folder/folder-rename.go:18
Method
Run
Run is a method that starts the server and listens for incoming requests. It takes an address and a port as parameters and returns an error if any err
internal/controllers/rest-controller.go:41
Method
Run
(pipeline *apitypes.Pipeline)
internal/services/pipeline-service.go:17
Method
Run
Run runs the pipeline by creating a new process from the provided pipeline, marking the process as started, adding the process to the queue, and retur
internal/services/pipeline-service.go:68
Method
Run
Run starts the worker by running a Gin server on the specified address and port. It takes the address and port as parameters and does not return any v
internal/workers/rest-worker.go:24
Method
Save
Save saves a pipeline to the repository. It takes a types.Process object and saves the corresponding ProcessEntity and StepEntity records in the datab
internal/repositories/postgres-repository.go:70
Method
Save
Save saves a process pipeline in the MongoDB repository. Parameters: pipeline: The process pipeline object to be saved.
internal/repositories/mongodb-repository.go:67
Method
TaskFinished
TaskFinished sets the status of the pipeline to "Processing" and its current step to "Done". It then updates the status of the pipeline in the reposit
internal/services/process-service.go:32
Function
TestProcess
(t *testing.T)
tests/main_test.go:16
Method
UpdateStatus
UpdateStatus updates the status of a pipeline in the repository. It takes a types.Process object and updates the corresponding ProcessEntity and StepE
internal/repositories/postgres-repository.go:49
Method
UpdateStatus
UpdateStatus updates the status of a process pipeline in the MongoDB repository. Parameters: pipeline: The process pipeline object containing the u
internal/repositories/mongodb-repository.go:45
Method
WaitingForFailedTask
WaitingForFailedTask returns a channel of amqp.Delivery that receives messages from the `QueueTaskFailed` queue. It uses the `waitingForTask` method w
internal/queues/rabbitmq-queue.go:109
Method
WaitingForFailedTask
()
internal/queues/message-queue.go:14
Method
WaitingForFinishedTask
WaitingForFinishedTask returns a channel of amqp.Delivery that receives messages from the `QueueTaskFinished` queue. It uses the `waitingForTask` meth
internal/queues/rabbitmq-queue.go:131
← previous
next →
101–200 of 206, ranked by callers