convert

package
v0.0.0-...-b8a7cb5 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KTHCLOUD_CORES       = "KTHCLOUD_CORES"
	KTHCLOUD_RAM         = "KTHCLOUD_RAM"
	KTHCLOUD_REPLICAS    = "KTHCLOUD_REPLICAS"
	KTHCLOUD_HEALTH_PATH = "KTHCLOUD_HEALTH_PATH"
	KTHCLOUD_VISIBILITY  = "KTHCLOUD_VISIBILITY"
)

Variables

Functions

func HandleSpecialEnvs

func HandleSpecialEnvs(key, value string, deployment *body.DeploymentCreate) bool

func Hash

func Hash(keys ...string) string

func HashServices

func HashServices(services types.Services) string

func ServiceToDeployment

func ServiceToDeployment(in *types.ServiceConfig, additionalInfo ...ServiceToDeploymentAdditionalInfo) (out *body.DeploymentCreate, dependencies []string, err error)

func ToCloud

func ToCloud(in *types.Project, out *Wrap) error

Types

type ServiceToDeploymentAdditionalInfo

type ServiceToDeploymentAdditionalInfo struct {
	Name string
	Hash string
	CWD  string
}

type Wrap

type Wrap struct {
	Deployments  []body.DeploymentCreate
	Dependencies map[string][]string
	Source       *types.Project
}

Jump to

Keyboard shortcuts

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