server

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bootstrap added in v0.1.2

func Bootstrap(baseURL, token string) (*types.Bootstrap, error)

Bootstrap implement the bootstrap call to ourselves

Types

type BootstrapService

type BootstrapService struct {
	Storer *storer.Ferrite
}

func (*BootstrapService) Bootstrap

func (b *BootstrapService) Bootstrap(c echo.Context) error

type ClusterService

type ClusterService struct {
	Storer *storer.Ferrite
}

func (*ClusterService) Create

func (g *ClusterService) Create(c echo.Context) error

func (*ClusterService) Get

func (g *ClusterService) Get(c echo.Context) error

type CodeService

type CodeService struct {
	Storer *storer.Ferrite
}

func (*CodeService) Create

func (g *CodeService) Create(c echo.Context) error

func (*CodeService) Credentials

func (g *CodeService) Credentials(c echo.Context) error

func (*CodeService) Delete

func (g *CodeService) Delete(c echo.Context) error

func (*CodeService) Find

func (g *CodeService) Find(c echo.Context) error

func (*CodeService) Get

func (g *CodeService) Get(c echo.Context) error

type Ferrite

type Ferrite struct {
	Code      CodeService
	Project   ProjectService
	Cluster   ClusterService
	Task      TaskService
	Schedule  ScheduleService
	Bootstrap BootstrapService
}

func New

func New(fs *storer.Ferrite) (*Ferrite, error)

type ProjectService

type ProjectService struct {
	Storer *storer.Ferrite
}

func (*ProjectService) Create

func (h *ProjectService) Create(c echo.Context) error

func (*ProjectService) Get

func (h *ProjectService) Get(c echo.Context) error

type ScheduleService

type ScheduleService struct {
	Storer *storer.Ferrite
}

func (*ScheduleService) Create

func (g *ScheduleService) Create(c echo.Context) error

func (*ScheduleService) Delete

func (g *ScheduleService) Delete(c echo.Context) error

func (*ScheduleService) Find

func (g *ScheduleService) Find(c echo.Context) error

func (*ScheduleService) Get

func (g *ScheduleService) Get(c echo.Context) error

type TaskService

type TaskService struct {
	Storer *storer.Ferrite
}

func (*TaskService) Create

func (g *TaskService) Create(c echo.Context) error

func (*TaskService) Delete

func (g *TaskService) Delete(c echo.Context) error

func (*TaskService) Find

func (g *TaskService) Find(c echo.Context) error

func (*TaskService) Get

func (g *TaskService) Get(c echo.Context) error

Jump to

Keyboard shortcuts

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