Documentation ¶
Index ¶
- type SuperAPIServer
- func (s *SuperAPIServer) CreateDeployment(c *fiber.Ctx) error
- func (s *SuperAPIServer) DeleteAllPods(c *fiber.Ctx) error
- func (s *SuperAPIServer) DeploymentRoutes()
- func (s *SuperAPIServer) GetAllPods(c *fiber.Ctx) error
- func (s *SuperAPIServer) GetDeploymentByName(c *fiber.Ctx) error
- func (s *SuperAPIServer) GetPodsBySelector(c *fiber.Ctx) error
- func (s *SuperAPIServer) ProcessDeployment(deployment api.Deployment) error
- func (s *SuperAPIServer) Run() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SuperAPIServer ¶
type SuperAPIServer struct {
// contains filtered or unexported fields
}
func NewSuperAPIServer ¶
func NewSuperAPIServer() (*SuperAPIServer, error)
func (*SuperAPIServer) CreateDeployment ¶
func (s *SuperAPIServer) CreateDeployment(c *fiber.Ctx) error
Create a deployement in the cache Supercontroller will monitor the deployments key in the cache using some sort of loop the alternative to this would have been the use of a message queue, but we would have to transmit the crashing and creation of new pods as well
func (*SuperAPIServer) DeleteAllPods ¶
func (s *SuperAPIServer) DeleteAllPods(c *fiber.Ctx) error
func (*SuperAPIServer) DeploymentRoutes ¶
func (s *SuperAPIServer) DeploymentRoutes()
func (*SuperAPIServer) GetAllPods ¶
func (s *SuperAPIServer) GetAllPods(c *fiber.Ctx) error
func (*SuperAPIServer) GetDeploymentByName ¶
func (s *SuperAPIServer) GetDeploymentByName(c *fiber.Ctx) error
func (*SuperAPIServer) GetPodsBySelector ¶
func (s *SuperAPIServer) GetPodsBySelector(c *fiber.Ctx) error
func (*SuperAPIServer) ProcessDeployment ¶
func (s *SuperAPIServer) ProcessDeployment(deployment api.Deployment) error
func (*SuperAPIServer) Run ¶
func (s *SuperAPIServer) Run() error
Click to show internal directories.
Click to hide internal directories.