superapiserver

package
v0.0.0-...-cae2324 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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