Documentation
¶
Index ¶
- func ApplyError(result map[string]any) (code, message string)
- func CommandExamples() string
- func CommandLong() string
- func DetectManifestKind(path string) (string, error)
- func FormatApplyHuman(result map[string]any) string
- func FormatRuntimeClassInProgress(operationID, status, stage string) string
- func FormatValidateHuman(result map[string]any) string
- func WithStages(result map[string]any, stages []string) map[string]any
- type Request
- type Result
- type Target
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyError ¶
ApplyError extracts structured apply failure details.
func CommandExamples ¶
func CommandExamples() string
CommandExamples returns deploy command examples for Cobra.
func DetectManifestKind ¶
DetectManifestKind reads the manifest kind field.
func FormatApplyHuman ¶
FormatApplyHuman renders apply endpoint output for human mode.
func FormatRuntimeClassInProgress ¶
FormatRuntimeClassInProgress renders a timeout/in-progress message for runtimeclass apply.
func FormatValidateHuman ¶
FormatValidateHuman renders validate endpoint output.
Types ¶
type Target ¶
type Target string
Target is a EdgeletAPI deploy collection.
func DetectTargetFromManifest ¶
DetectTargetFromManifest inspects manifest kind to choose the deploy API target.
Click to show internal directories.
Click to hide internal directories.