serve

package
v0.0.0-...-aea7a5c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2025 License: Apache-2.0 Imports: 28 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL