cmd

package
v0.0.0-...-6bd82e6 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeAppConfigFromEnt

func MakeAppConfigFromEnt(in *ent.AppConfig) *model.AppConfig

Types

type Config

type Config interface {
	SetConfigValue(*model.AppConfigPayload) (*model.AppConfig, error)
	GetAllAppConfigs(*model.AppMetadata) ([]*model.AppConfig, error)
	GetAppConfigsForEnv(*model.AppMetadata) ([]*model.ResolvedAppConfig, error)
	GetAppConfigsForStack(*model.AppMetadata) ([]*model.ResolvedAppConfig, error)
	GetResolvedAppConfig(*model.AppConfigLookupPayload) (*model.ResolvedAppConfig, error)
	DeleteAppConfig(*model.AppConfigLookupPayload) (*model.AppConfig, error)
	CopyAppConfig(*model.CopyAppConfigPayload) (*model.AppConfig, error)
	AppConfigDiff(*model.AppConfigDiffPayload) ([]string, error)
	CopyAppConfigDiff(*model.AppConfigDiffPayload) ([]*model.AppConfig, error)
}

func MakeConfig

func MakeConfig(db *store.DB) Config

type Stack

type Stack struct{}

func (Stack) GetAppStacks

func (s Stack) GetAppStacks(ctx context.Context, payload model.AppStackPayload) ([]*model.AppStackResponse, error)

type StackManager

type StackManager interface {
	GetAppStacks(context.Context, model.AppStackPayload) ([]*model.AppStackResponse, error)
}

func MakeStack

func MakeStack(db *store.DB) StackManager

Jump to

Keyboard shortcuts

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