Documentation
¶
Index ¶
- func AddTime(c *fiber.Ctx, userid int, level int) (bool, string, int64)
- func BuildImage(instance_name string, flag string, level int, password string) error
- func CatchError(rd io.Reader) error
- func DeleteImage(imageIDs []string) error
- func DeleteInstance(c *fiber.Ctx, userid int, level int) error
- func DeployInstance(c *fiber.Ctx, userid int, level int) (int64, string, int32, string, error)
- func GetClient() (*client.Client, error)
- func GetKubeClient() (*kubernetes.Clientset, error)
- func GetParsedDockerfile(level int, flag string, password string, username string) (*bytes.Reader, error)
- func ImageExists(image string) ([]string, bool, error)
- func UpdateDeadline(kubeclient *kubernetes.Clientset, instance_name string, deadline int64) error
- type ErrorDetail
- type ErrorLine
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildImage ¶
func DeleteImage ¶
func DeployInstance ¶
func GetKubeClient ¶
func GetKubeClient() (*kubernetes.Clientset, error)
func GetParsedDockerfile ¶
func UpdateDeadline ¶
func UpdateDeadline(kubeclient *kubernetes.Clientset, instance_name string, deadline int64) error
Types ¶
type ErrorDetail ¶
type ErrorDetail struct {
Message string `json:"message"`
}
type ErrorLine ¶
type ErrorLine struct {
Error string `json:"error"`
ErrorDetail ErrorDetail `json:"errorDetail"`
}
Click to show internal directories.
Click to hide internal directories.