Versions in this module Expand all Collapse all v1 v1.0.0 Aug 17, 2023 Changes in this version + type Env struct + Clusters []string + Name string + type Error struct + Code float64 + Msg string + func (e Error) Error() string + type KVItem struct + CreateBy string + CreateTime string + Key string + LastModifyBy string + LastModifyTime string + Value string + type Lock struct + Locked bool + LockedBy string + NamespaceName string + type NamespaceInfo struct + AppID string + ClusterName string + Comment string + CreateBy string + CreateTime string + Format string + IsPublic bool + Items []KVItem + LastModifyBy string + LastModifyTime string + NamespaceName string + type OpenAPI interface + AddConfig func(namespaceName string, key, value string, comment string, ...) error + CreateNamespace func(namespaceName string, format string, public bool, comment string, ...) error + DeleteConfig func(namespaceName string, key, operator string) error + Envs func() ([]*Env, error) + GetLock func(namespaceName string) (*Lock, error) + GetRelease func(namespaceName string) (*Release, error) + NamespaceInfo func(namespaceName string) (*NamespaceInfo, error) + Namespaces func() ([]*NamespaceInfo, error) + Release func(namnespaceName string, releaseTitle string, releaseComment string, ...) error + UpdateConfig func(namespaceName string, key, value string, comment string, ...) error + func New(portal_address string, appid string, env string, cluster string, token string) OpenAPI + type Release struct + AppId string + ClusterName string + Comment string + Configurations map[string]string + DataChangeCreatedBy string + DataChangeCreatedTime string + DataChangeLastModifiedBy string + DataChangeLastModifiedTime string + Name string + NamespaceName string