Versions in this module Expand all Collapse all v1 v1.0.1 Nov 9, 2023 v1.0.0 Nov 9, 2023 Changes in this version + const AnnotationKey + const CmConfigKey + const CmNamePrefix + const DEV_END + const DEV_STA + const DEV_STARTING_SUFFIX + const DependenceConfigMapPrefix + const DuplicateSuffix + const Helm + const HelmLocal + const HelmRepo + const INSTALLED + const INSTALLING + const KustomizeGit + const KustomizeLocal + const Manifest + const ManifestGit + const ManifestLocal + const NONE + const STARTED + const STARTING + const SecretAppTypeKey + const SecretConfigKey + const SecretDepKey + const SecretDevMetaKey + const SecretHelmReleaseNameKey + const SecretManifestKey + const SecretNamePrefix + const SecretNamespaceIdKey + const SecretPostDeleteKey + const SecretPostInstallKey + const SecretPostUpgradeKey + const SecretPreDeleteKey + const SecretPreInstallKey + const SecretPreUpgradeKey + const SecretStateKey + const SecretType + const SecretUninstallBackOffKey + const UNINSTALLED + const UNKNOWN + var ErrAlreadyDev = errors.New("Svc already in dev mode") + func ConfigMapName(appName string) string + func FillingExtField(s *profile2.SvcProfileV2, meta *ApplicationMeta, ...) + func GetAppNameFromConfigMapName(cmName string) string + func GetApplicationName(secretName string) (string, error) + func HasConfigMapPrefix(key string) bool + func HasDevStartingSuffix(name string) bool + type AppType string + func AppTypeOf(s string) AppType + func (a AppType) IsHelm() bool + type ApplicationDevMeta map[base.SvcType]map[string]string + func (from *ApplicationDevMeta) Events(to ApplicationDevMeta) *[]*ApplicationEvent + type ApplicationEvent struct + DevType base.SvcType + EventType EVENT + Identifier string + ResourceName string + type ApplicationMeta struct + Application string + ApplicationState ApplicationState + ApplicationType AppType + Config *profile2.NocalHostAppConfigV2 + DepConfigName string + DevMeta ApplicationDevMeta + HelmReleaseName string + Manifest string + NamespaceId string + Ns string + PostDeleteManifest string + PostInstallManifest string + PostUpgradeManifest string + PreDeleteManifest string + PreInstallManifest string + PreUpgradeManifest string + Secret *corev1.Secret + UninstallBackOff int64 + func Decode(secret *corev1.Secret) (*ApplicationMeta, error) + func FakeAppMeta(ns, application string) *ApplicationMeta + func (a *ApplicationMeta) CheckIfSvcDeveloping(name, identifier string, svcType base.SvcType, modeType profile2.DevModeType) DevStartStatus + func (a *ApplicationMeta) Delete() error + func (a *ApplicationMeta) DoWithTempOperator(configBytes []byte, funny func() error) error + func (a *ApplicationMeta) GenerateNidINE() error + func (a *ApplicationMeta) GetApplicationConfig() *profile2.ApplicationConfig + func (a *ApplicationMeta) GetApplicationDevMeta() ApplicationDevMeta + func (a *ApplicationMeta) GetClient() *clientgoutils.ClientGoUtils + func (a *ApplicationMeta) GetCurrentDevModeTypeOfWorkload(workloadName string, workloadType base.SvcType, identifier string) profile2.DevModeType + func (a *ApplicationMeta) InitGoClient(kubeConfigPath string) error + func (a *ApplicationMeta) Initial(force bool) error + func (a *ApplicationMeta) IsHelm() bool + func (a *ApplicationMeta) IsInstalled() bool + func (a *ApplicationMeta) IsInstalling() bool + func (a *ApplicationMeta) IsNotInstall() bool + func (a *ApplicationMeta) IsUnknown() bool + func (a *ApplicationMeta) NewResourceReader() *clientgoutils.Resource + func (a *ApplicationMeta) NotInstallTips() string + func (a *ApplicationMeta) OneTimesInitial(fun func(meta *ApplicationMeta), force bool) error + func (a *ApplicationMeta) ProtectedFromReInstall() bool + func (a *ApplicationMeta) ReAssignmentBySecret(secret *corev1.Secret) error + func (a *ApplicationMeta) SvcDevEnd(name, identifier string, svcType base.SvcType, modeType profile2.DevModeType) error + func (a *ApplicationMeta) SvcDevModePossessor(name string, svcType base.SvcType, identifier string, ...) bool + func (a *ApplicationMeta) SvcDevStartComplete(name string, svcType base.SvcType, identifier string, ...) error + func (a *ApplicationMeta) SvcDevStarting(name string, svcType base.SvcType, identifier string, ...) error + func (a *ApplicationMeta) Uninstall(force bool) error + func (a *ApplicationMeta) Update() error + type ApplicationMetaSimple struct + Application string + ApplicationState ApplicationState + DevMeta ApplicationDevMeta + Manifest string + Ns string + PreInstallManifest string + type ApplicationMetaSimples []*ApplicationMetaSimple + type ApplicationMetas []*ApplicationMeta + func (as ApplicationMetas) Desc() (result ApplicationMetaSimples) + type ApplicationState string + func ApplicationStateOf(s string) ApplicationState + type DevStartStatus string + type EVENT string