Documentation
¶
Index ¶
Constants ¶
View Source
const ( CreateProjectPath = "/projects" CreateTaskAnsiblePlaybookPath = "/tasks/ansible-playbook/:project_id" GetHealthPath = "/health" GetProjectPath = "/projects/:id" GetProjectsPath = "/projects" GetTaskPath = "/tasks/:id" GetTasksPath = "/tasks" )
Variables ¶
View Source
var ( // ErrStartDispatcher represents an error when starting the dispatcher ErrStartDispatcher = fmt.Errorf("error starting dispatcher") // ErrLoadProjects represents an error when loading projects ErrLoadProjects = fmt.Errorf("error loading projects") )
Functions ¶
func NewCommand ¶
func NewCommand(config *configuration.Configuration) *cobra.Command
NewCommand returns a new cobra.Command to serve a Ransidble server
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.