manifests

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeployAppRequest

type DeployAppRequest struct {
	AppName   string
	GitURL    string
	Namespace string
	Template  string
	ImageRef  string
	Replicas  int32
	Port      int32
	Resources ResourceSpec
	EnvVars   map[string]string
	Labels    map[string]string
	// OTLPEndpoint 는 스택의 OpenTelemetry Collector 주소다 (host:port).
	//
	// 비어 있으면 그 스택에 수집기가 없다는 뜻이고, 그때는 관련 환경변수를
	// 아예 넣지 않는다 — 닿지 않는 주소를 박으면 앱이 영원히 재시도하며
	// 내보내기 실패 로그만 쌓는다.
	OTLPEndpoint string
}

type GeneratedManifests

type GeneratedManifests struct {
	Namespace  string
	Deployment string
	Service    string
	Ingress    string
}

func Generate

func Generate(req DeployAppRequest) (*GeneratedManifests, error)

type ResourceSpec

type ResourceSpec struct {
	CPULimit   string
	MemLimit   string
	CPURequest string
	MemRequest string
}

Jump to

Keyboard shortcuts

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