Documentation ¶
Index ¶
- Variables
- func FilterCatalogByAppStoreID(catalog map[string]*service.ComposeApp, appStoreIDs []string) map[string]*service.ComposeApp
- func FilterCatalogByAuthorType(catalog map[string]*service.ComposeApp, authorType codegen.StoreAppAuthorType) map[string]*service.ComposeApp
- func FilterCatalogByCategory(catalog map[string]*service.ComposeApp, category string) map[string]*service.ComposeApp
- func NewAppManagement() codegen.ServerInterface
- func PropertiesFromQueryParams(httpCtx echo.Context) map[string]string
- func WebAppGridItemAdapterContainer(container *model.MyAppList) (*codegen.WebAppGridItem, error)
- func WebAppGridItemAdapterV1(app *model.MyAppList) (*codegen.WebAppGridItem, error)
- func WebAppGridItemAdapterV2(composeAppWithStoreInfo *codegen.ComposeAppWithStoreInfo) (*codegen.WebAppGridItem, error)
- func YAMLfromRequest(ctx echo.Context) ([]byte, error)
- type AppManagement
- func (a *AppManagement) AppStoreList(ctx echo.Context) error
- func (a *AppManagement) ApplyComposeAppSettings(ctx echo.Context, id codegen.ComposeAppID, ...) error
- func (a *AppManagement) CheckComposeAppHealthByID(ctx echo.Context, id codegen.ComposeAppID) error
- func (a *AppManagement) CheckContainerHealthByID(ctx echo.Context, id codegen.ContainerID) error
- func (a *AppManagement) ComposeApp(ctx echo.Context, id codegen.StoreAppIDString) error
- func (a *AppManagement) ComposeAppContainers(ctx echo.Context, id codegen.ComposeAppID) error
- func (a *AppManagement) ComposeAppLogs(ctx echo.Context, id codegen.ComposeAppID, params codegen.ComposeAppLogsParams) error
- func (a *AppManagement) ComposeAppStoreInfo(ctx echo.Context, id codegen.StoreAppIDString) error
- func (a *AppManagement) ComposeAppStoreInfoList(ctx echo.Context, params codegen.ComposeAppStoreInfoListParams) error
- func (a *AppManagement) GetAppGrid(ctx echo.Context) error
- func (a *AppManagement) Info(ctx echo.Context) error
- func (a *AppManagement) InstallComposeApp(ctx echo.Context, params codegen.InstallComposeAppParams) error
- func (a *AppManagement) MyComposeApp(ctx echo.Context, id codegen.ComposeAppID) error
- func (a *AppManagement) MyComposeAppList(ctx echo.Context) error
- func (a *AppManagement) PullImages(ctx echo.Context, params codegen.PullImagesParams) error
- func (a *AppManagement) RecreateContainerByID(ctx echo.Context, id codegen.ContainerID, ...) error
- func (a *AppManagement) RegisterAppStore(ctx echo.Context, params codegen.RegisterAppStoreParams) error
- func (a *AppManagement) SetComposeAppStatus(ctx echo.Context, id codegen.ComposeAppID) error
- func (a *AppManagement) UninstallComposeApp(ctx echo.Context, id codegen.ComposeAppID, ...) error
- func (a *AppManagement) UnregisterAppStore(ctx echo.Context, id codegen.AppStoreID) error
- func (a *AppManagement) UpdateComposeApp(ctx echo.Context, id codegen.ComposeAppID, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrComposeAppIDNotProvided = errors.New("compose AppID (compose project name) is not provided")
Functions ¶
func FilterCatalogByAppStoreID ¶ added in v0.4.4
func FilterCatalogByAppStoreID(catalog map[string]*service.ComposeApp, appStoreIDs []string) map[string]*service.ComposeApp
func FilterCatalogByAuthorType ¶ added in v0.4.4
func FilterCatalogByAuthorType(catalog map[string]*service.ComposeApp, authorType codegen.StoreAppAuthorType) map[string]*service.ComposeApp
func FilterCatalogByCategory ¶ added in v0.4.3
func FilterCatalogByCategory(catalog map[string]*service.ComposeApp, category string) map[string]*service.ComposeApp
func NewAppManagement ¶
func NewAppManagement() codegen.ServerInterface
func PropertiesFromQueryParams ¶ added in v0.4.2
func WebAppGridItemAdapterContainer ¶ added in v0.4.4
func WebAppGridItemAdapterContainer(container *model.MyAppList) (*codegen.WebAppGridItem, error)
func WebAppGridItemAdapterV1 ¶ added in v0.4.4
func WebAppGridItemAdapterV1(app *model.MyAppList) (*codegen.WebAppGridItem, error)
func WebAppGridItemAdapterV2 ¶ added in v0.4.4
func WebAppGridItemAdapterV2(composeAppWithStoreInfo *codegen.ComposeAppWithStoreInfo) (*codegen.WebAppGridItem, error)
func YAMLfromRequest ¶ added in v0.4.3
Types ¶
type AppManagement ¶
type AppManagement struct{}
func (*AppManagement) AppStoreList ¶ added in v0.4.3
func (a *AppManagement) AppStoreList(ctx echo.Context) error
func (*AppManagement) ApplyComposeAppSettings ¶ added in v0.4.3
func (a *AppManagement) ApplyComposeAppSettings(ctx echo.Context, id codegen.ComposeAppID, params codegen.ApplyComposeAppSettingsParams) error
func (*AppManagement) CheckComposeAppHealthByID ¶ added in v0.4.4
func (a *AppManagement) CheckComposeAppHealthByID(ctx echo.Context, id codegen.ComposeAppID) error
func (*AppManagement) CheckContainerHealthByID ¶ added in v0.4.2
func (a *AppManagement) CheckContainerHealthByID(ctx echo.Context, id codegen.ContainerID) error
func (*AppManagement) ComposeApp ¶ added in v0.4.2
func (a *AppManagement) ComposeApp(ctx echo.Context, id codegen.StoreAppIDString) error
func (*AppManagement) ComposeAppContainers ¶ added in v0.4.3
func (a *AppManagement) ComposeAppContainers(ctx echo.Context, id codegen.ComposeAppID) error
func (*AppManagement) ComposeAppLogs ¶ added in v0.4.3
func (a *AppManagement) ComposeAppLogs(ctx echo.Context, id codegen.ComposeAppID, params codegen.ComposeAppLogsParams) error
func (*AppManagement) ComposeAppStoreInfo ¶ added in v0.4.2
func (a *AppManagement) ComposeAppStoreInfo(ctx echo.Context, id codegen.StoreAppIDString) error
func (*AppManagement) ComposeAppStoreInfoList ¶ added in v0.4.2
func (a *AppManagement) ComposeAppStoreInfoList(ctx echo.Context, params codegen.ComposeAppStoreInfoListParams) error
func (*AppManagement) GetAppGrid ¶ added in v0.4.3
func (a *AppManagement) GetAppGrid(ctx echo.Context) error
func (*AppManagement) Info ¶ added in v0.4.2
func (a *AppManagement) Info(ctx echo.Context) error
func (*AppManagement) InstallComposeApp ¶ added in v0.4.2
func (a *AppManagement) InstallComposeApp(ctx echo.Context, params codegen.InstallComposeAppParams) error
func (*AppManagement) MyComposeApp ¶ added in v0.4.3
func (a *AppManagement) MyComposeApp(ctx echo.Context, id codegen.ComposeAppID) error
func (*AppManagement) MyComposeAppList ¶ added in v0.4.2
func (a *AppManagement) MyComposeAppList(ctx echo.Context) error
func (*AppManagement) PullImages ¶ added in v0.4.2
func (a *AppManagement) PullImages(ctx echo.Context, params codegen.PullImagesParams) error
func (*AppManagement) RecreateContainerByID ¶ added in v0.4.2
func (a *AppManagement) RecreateContainerByID(ctx echo.Context, id codegen.ContainerID, params codegen.RecreateContainerByIDParams) error
func (*AppManagement) RegisterAppStore ¶ added in v0.4.3
func (a *AppManagement) RegisterAppStore(ctx echo.Context, params codegen.RegisterAppStoreParams) error
func (*AppManagement) SetComposeAppStatus ¶ added in v0.4.3
func (a *AppManagement) SetComposeAppStatus(ctx echo.Context, id codegen.ComposeAppID) error
func (*AppManagement) UninstallComposeApp ¶ added in v0.4.3
func (a *AppManagement) UninstallComposeApp(ctx echo.Context, id codegen.ComposeAppID, params codegen.UninstallComposeAppParams) error
func (*AppManagement) UnregisterAppStore ¶ added in v0.4.3
func (a *AppManagement) UnregisterAppStore(ctx echo.Context, id codegen.AppStoreID) error
func (*AppManagement) UpdateComposeApp ¶ added in v0.4.3
func (a *AppManagement) UpdateComposeApp(ctx echo.Context, id codegen.ComposeAppID, params codegen.UpdateComposeAppParams) error
Click to show internal directories.
Click to hide internal directories.