Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
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
Click to show internal directories.
Click to hide internal directories.