Versions in this module Expand all Collapse all v0 v0.2.1 Apr 7, 2024 Changes in this version + func IsSuccessResponse[T any](resp *GenericArkResponseBase[T]) error + type ArkBizInfo struct + BizName string + BizState string + BizVersion string + MainClass string + WebContextPath string + type ArkContainerRunType string + const ArkContainerRunTypeK8s + const ArkContainerRunTypeLocal + const ArkContainerRunTypeVM + type ArkContainerRuntimeInfo struct + Coordinate string + Port *int + RunType ArkContainerRunType + func (info *ArkContainerRuntimeInfo) GetPort() int + type ArkResponseBase struct + Code string + Data ArkResponseData + ErrorStackTrace string + Message string + type ArkResponseData struct + BizInfos []interface{} + Code string + ElapsedSpace int + Message string + type BizModel struct + BizName string + BizUrl fileutil.FileUrl + BizVersion string + func ParseBizModel(ctx context.Context, bizUrl fileutil.FileUrl) (*BizModel, error) + type GenericArkResponseBase struct + Code string + Data T + Message string + type InstallBizRequest struct + BizHomeDir *string + BizModel BizModel + InstallType string + TargetContainer ArkContainerRuntimeInfo + type InstallBizResponse struct + type QueryAllArkBizRequest struct + HostName string + Port int + type QueryAllArkBizResponse struct + type Service interface + InstallBiz func(ctx context.Context, req InstallBizRequest) error + ParseBizModel func(ctx context.Context, bizUrl fileutil.FileUrl) (*BizModel, error) + QueryAllBiz func(ctx context.Context, req QueryAllArkBizRequest) (*QueryAllArkBizResponse, error) + UnInstallBiz func(ctx context.Context, req UnInstallBizRequest) error + func BuildService(_ context.Context) Service + type UnInstallBizRequest struct + BizModel BizModel + TargetContainer ArkContainerRuntimeInfo + type UnInstallBizResponse struct