server

package
v0.0.0-...-699ca5e Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: MPL-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(conf *config.Config) (*gin.Engine, error)

Types

type Factory

type Factory struct {
	Database *gorm.DB
	S3Client *s3.Client
}

func NewFactory

func NewFactory(database *gorm.DB) (*Factory, error)

func (*Factory) NewAgentsController

func (f *Factory) NewAgentsController() *controller.AgentsController

func (*Factory) NewOauthServer

func (f *Factory) NewOauthServer() *server.Server

func (*Factory) NewOrganizationsController

func (f *Factory) NewOrganizationsController() *controller.OrganizationsController

func (*Factory) NewRunsController

func (f *Factory) NewRunsController() *controller.RunsController

func (*Factory) NewVcsConnectionsController

func (f *Factory) NewVcsConnectionsController() *vcs_connection.Controller

func (*Factory) NewWorkspaceController

func (f *Factory) NewWorkspaceController() *controller.WorkspacesController

Directories

Path Synopsis
endpoints

Jump to

Keyboard shortcuts

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