provisioner

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2020 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowOptions added in v0.4.0

func AllowOptions(w http.ResponseWriter, _ *http.Request)

func CreateSaaS

func CreateSaaS(w http.ResponseWriter, r *http.Request)

Provisions an instance of Order-Meow UI, Backend, and a Database Note: the database is not persistent until a PVC is created and mounted at the correct location

func DeleteSaaS added in v0.4.0

func DeleteSaaS(w http.ResponseWriter, r *http.Request)

Delete an instance of SaaS

func GetSaaS added in v0.4.0

func GetSaaS(w http.ResponseWriter, _ *http.Request)

Get all instances of SaaS Get all instances of SaaS

func Routes

func Routes(cs *kubernetes.Clientset) *chi.Mux

Types

type BackendUser added in v0.4.0

type BackendUser struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

type NamespaceRequest added in v0.4.0

type NamespaceRequest struct {
	Namespace string `json:"namespace"`
}

type NamespaceResponse added in v0.4.0

type NamespaceResponse struct {
	Name     string `json:"name,omitempty"`
	Status   string `json:"status,omitempty"`
	Error    string `json:"error,omitempty"`
	Username string `json:"username,omitempty"`
	Password string `json:"password,omitempty"`
	Url      string `json:"url,omitempty"`
}

Jump to

Keyboard shortcuts

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