Documentation ¶
Index ¶
- type CMSvc
- func (s *CMSvc) CreateNS(source apistructs.PipelineSource, ns string) error
- func (s *CMSvc) DeleteConfigs(source apistructs.PipelineSource, ns string, deleteKeys []string, ...) error
- func (s *CMSvc) DeleteNS(source apistructs.PipelineSource, ns string) error
- func (s *CMSvc) GetConfigs(source apistructs.PipelineSource, ns string, globalDecrypt bool, ...) ([]apistructs.PipelineCmsConfig, error)
- func (s *CMSvc) MakeBranchPrefixSecretNamespace(appID, branch string) (string, error)
- func (s *CMSvc) MakeDefaultSecretNamespace(appID string) string
- func (s *CMSvc) PrefixListNS(source apistructs.PipelineSource, nsPrefix string) ([]apistructs.PipelineCmsNs, error)
- func (s *CMSvc) UpdateConfigs(source apistructs.PipelineSource, ns string, ...) error
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CMSvc ¶
type CMSvc struct {
// contains filtered or unexported fields
}
func (*CMSvc) CreateNS ¶
func (s *CMSvc) CreateNS(source apistructs.PipelineSource, ns string) error
func (*CMSvc) DeleteConfigs ¶
func (s *CMSvc) DeleteConfigs(source apistructs.PipelineSource, ns string, deleteKeys []string, forceDel bool) error
func (*CMSvc) DeleteNS ¶
func (s *CMSvc) DeleteNS(source apistructs.PipelineSource, ns string) error
func (*CMSvc) GetConfigs ¶
func (s *CMSvc) GetConfigs(source apistructs.PipelineSource, ns string, globalDecrypt bool, keys ...apistructs.PipelineCmsConfigKey) ( []apistructs.PipelineCmsConfig, error)
func (*CMSvc) MakeBranchPrefixSecretNamespace ¶
func (*CMSvc) MakeDefaultSecretNamespace ¶
func (*CMSvc) PrefixListNS ¶
func (s *CMSvc) PrefixListNS(source apistructs.PipelineSource, nsPrefix string) ([]apistructs.PipelineCmsNs, error)
func (*CMSvc) UpdateConfigs ¶
func (s *CMSvc) UpdateConfigs(source apistructs.PipelineSource, ns string, kvs map[string]apistructs.PipelineCmsConfigValue) error
type Option ¶
type Option func(*CMSvc)
func WithRsaCrypt ¶
func WithRsaCrypt(rsaCrypt *encryption.RsaCrypt) Option
Click to show internal directories.
Click to hide internal directories.