service

package
v0.0.0-...-8e1e73d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 74 Imported by: 0

Documentation

Overview

Package service NOTES

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListAppsAnnotation

func ListAppsAnnotation(ctx context.Context, kt *kit.Kit,
	authorizer iamauth.Authorizer, msg proto.Message) (*webannotation.Annotation, error)

ListAppsAnnotation list apps permission annotations

Types

type ClientSet

type ClientSet struct {
	// DS data service's client api
	DS pbds.DataClient
	AS pbas.AuthClient
	// Esb Esb client api
	Esb esbcli.Client
	// contains filtered or unexported fields
}

ClientSet defines configure server's all the depends api client.

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service do all the data service's work

func NewService

func NewService(sd serviced.Discover) (*Service, error)

NewService create a service instance.

func (*Service) AddTmplsToTmplSets

func (s *Service) AddTmplsToTmplSets(ctx context.Context, req *pbcs.AddTmplsToTmplSetsReq) (
	*pbcs.AddTmplsToTmplSetsResp, error)

AddTmplsToTmplSets add templates to template sets

func (*Service) Approve

func (s *Service) Approve(ctx context.Context, req *pbcs.ApproveReq) (*pbcs.ApproveResp, error)

Approve publish approve

func (*Service) BatchDeleteConfigItems

func (s *Service) BatchDeleteConfigItems(ctx context.Context, req *pbcs.BatchDeleteAppResourcesReq) (
	*pbcs.BatchDeleteResp, error)

BatchDeleteConfigItems is used to batch delete config items.

func (*Service) BatchDeleteGroups

func (s *Service) BatchDeleteGroups(ctx context.Context, req *pbcs.BatchDeleteBizResourcesReq) (
	*pbcs.BatchDeleteResp, error)

BatchDeleteGroups batch delete groups

func (*Service) BatchDeleteHook

func (s *Service) BatchDeleteHook(ctx context.Context, req *pbcs.BatchDeleteHookReq) (*pbcs.BatchDeleteResp,
	error)

BatchDeleteHook batch delete hook

func (*Service) BatchDeleteKv

BatchDeleteKv is used to batch delete key-value data.

func (*Service) BatchDeleteTemplate

func (s *Service) BatchDeleteTemplate(ctx context.Context, req *pbcs.BatchDeleteTemplateReq) (
	*pbcs.BatchDeleteTemplateResp, error)

BatchDeleteTemplate delete templates in batch

func (*Service) BatchDeleteTemplateVariable

func (s *Service) BatchDeleteTemplateVariable(ctx context.Context, req *pbcs.BatchDeleteBizResourcesReq) (
	*pbcs.BatchDeleteResp, error)

BatchDeleteTemplateVariable batch delete template variable

func (*Service) BatchUnDeleteConfigItem

func (s *Service) BatchUnDeleteConfigItem(ctx context.Context, req *pbcs.BatchUnDeleteConfigItemReq) (
	*pbcs.BatchUnDeleteConfigItemResp, error)

BatchUnDeleteConfigItem 批量恢复配置项

func (*Service) BatchUnDeleteKv

func (s *Service) BatchUnDeleteKv(ctx context.Context, req *pbcs.BatchUnDeleteKvReq) (
	*pbcs.BatchUnDeleteKvResp, error)

BatchUnDeleteKv 批量恢复删除的kv

func (*Service) BatchUpdateTemplatePermissions

BatchUpdateTemplatePermissions 批量更新模板权限

func (*Service) BatchUpsertConfigItems

func (s *Service) BatchUpsertConfigItems(ctx context.Context, req *pbcs.BatchUpsertConfigItemsReq) (
	*pbcs.BatchUpsertConfigItemsResp, error)

BatchUpsertConfigItems batch upsert config items with option

func (*Service) BatchUpsertKvs

func (s *Service) BatchUpsertKvs(ctx context.Context, req *pbcs.BatchUpsertKvsReq) (*pbcs.BatchUpsertKvsResp, error)

BatchUpsertKvs is used to insert or update key-value data in bulk.

func (*Service) BatchUpsertTemplates

func (s *Service) BatchUpsertTemplates(ctx context.Context, req *pbcs.BatchUpsertTemplatesReq) (
	*pbcs.BatchUpsertTemplatesResp, error)

BatchUpsertTemplates batch upsert templates.

func (*Service) CheckAppTemplateBinding

func (s *Service) CheckAppTemplateBinding(ctx context.Context, req *pbcs.CheckAppTemplateBindingReq) (
	*pbcs.CheckAppTemplateBindingResp, error)

CheckAppTemplateBinding check conflicts of app template binding.

func (*Service) CheckClientQueryName

func (s *Service) CheckClientQueryName(ctx context.Context, req *pbcs.CheckClientQueryNameReq) (
	*pbcs.CheckClientQueryNameResp, error)

CheckClientQueryName 检查客户端查询名称

func (*Service) CheckCredentialName

func (s *Service) CheckCredentialName(ctx context.Context, req *pbcs.CheckCredentialNameReq) (
	*pbcs.CheckCredentialNameResp, error)

CheckCredentialName Check if the credential name exists

func (*Service) CheckReleaseName

func (s *Service) CheckReleaseName(ctx context.Context, req *pbcs.CheckReleaseNameReq) (
	*pbcs.CheckReleaseNameResp, error)

CheckReleaseName 检测某个服务下已发布的名称是否存在

func (*Service) CheckTemplateSetReferencesApps

CheckTemplateSetReferencesApps 检测模板套餐绑定服务是否超出

func (*Service) ClientAnnotationStatistics

func (s *Service) ClientAnnotationStatistics(ctx context.Context, req *pbclient.ClientCommonReq) (
	*structpb.Struct, error)

ClientAnnotationStatistics 客户端附加信息统计

func (*Service) ClientConfigVersionStatistics

func (s *Service) ClientConfigVersionStatistics(ctx context.Context, req *pbclient.ClientCommonReq) (
	*structpb.Struct, error)

ClientConfigVersionStatistics 客户端配置版本统计

func (*Service) ClientLabelStatistics

func (s *Service) ClientLabelStatistics(ctx context.Context, req *pbclient.ClientCommonReq) (
	*structpb.Struct, error)

ClientLabelStatistics 客户端标签统计

func (*Service) ClientPullStatistics

func (s *Service) ClientPullStatistics(ctx context.Context, req *pbclient.ClientCommonReq) (
	*structpb.Struct, error)

ClientPullStatistics 客户端拉取信息统计

func (*Service) ClientPullTrendStatistics

func (s *Service) ClientPullTrendStatistics(ctx context.Context, req *pbclient.ClientCommonReq) (
	*structpb.Struct, error)

ClientPullTrendStatistics 客户端拉取趋势统计

func (*Service) ClientSpecificFailedReason

func (s *Service) ClientSpecificFailedReason(ctx context.Context, req *pbclient.ClientCommonReq) (
	*structpb.Struct, error)

ClientSpecificFailedReason 统计客户端失败详细原因

func (*Service) ClientVersionStatistics

func (s *Service) ClientVersionStatistics(ctx context.Context, req *pbclient.ClientCommonReq) (
	*structpb.Struct, error)

ClientVersionStatistics 客户端版本统计

func (*Service) CompareConfigItemConflicts

func (s *Service) CompareConfigItemConflicts(ctx context.Context, req *pbcs.CompareConfigItemConflictsReq) (
	*pbcs.CompareConfigItemConflictsResp, error)

CompareConfigItemConflicts compare config item version conflicts

func (*Service) CompareKvConflicts

func (s *Service) CompareKvConflicts(ctx context.Context, req *pbcs.CompareKvConflictsReq) (
	*pbcs.CompareKvConflictsResp, error)

CompareKvConflicts compare kv version conflicts

func (*Service) CreateApp

func (s *Service) CreateApp(ctx context.Context, req *pbcs.CreateAppReq) (*pbcs.CreateAppResp, error)

CreateApp create app with options

func (*Service) CreateAppTemplateBinding

func (s *Service) CreateAppTemplateBinding(ctx context.Context, req *pbcs.CreateAppTemplateBindingReq) (
	*pbcs.CreateAppTemplateBindingResp, error)

CreateAppTemplateBinding create an app template binding

func (*Service) CreateClientQuery

func (s *Service) CreateClientQuery(ctx context.Context, req *pbcs.CreateClientQueryReq) (
	*pbcs.CreateClientQueryResp, error)

CreateClientQuery create client query

func (*Service) CreateConfigItem

func (s *Service) CreateConfigItem(ctx context.Context, req *pbcs.CreateConfigItemReq) (
	*pbcs.CreateConfigItemResp, error)

CreateConfigItem create config item with option

func (*Service) CreateCredentials

func (s *Service) CreateCredentials(ctx context.Context,
	req *pbcs.CreateCredentialReq) (*pbcs.CreateCredentialResp, error)

CreateCredentials create a credential

func (*Service) CreateDefaultTmplSpace

func (s *Service) CreateDefaultTmplSpace(ctx context.Context, req *pbcs.CreateDefaultTmplSpaceReq) (
	*pbcs.CreateDefaultTmplSpaceResp, error)

CreateDefaultTmplSpace create default template space

func (*Service) CreateGroup

func (s *Service) CreateGroup(ctx context.Context, req *pbcs.CreateGroupReq) (*pbcs.CreateGroupResp, error)

CreateGroup create a group

func (*Service) CreateHook

func (s *Service) CreateHook(ctx context.Context, req *pbcs.CreateHookReq) (*pbcs.CreateHookResp, error)

CreateHook create a hook

func (*Service) CreateHookRevision

func (s *Service) CreateHookRevision(ctx context.Context,
	req *pbcs.CreateHookRevisionReq) (*pbcs.CreateHookRevisionResp, error)

CreateHookRevision create hook revision with option

func (*Service) CreateKv

func (s *Service) CreateKv(ctx context.Context, req *pbcs.CreateKvReq) (*pbcs.CreateKvResp, error)

CreateKv is used to create key-value data.

func (*Service) CreateRelease

func (s *Service) CreateRelease(ctx context.Context, req *pbcs.CreateReleaseReq) (*pbcs.CreateReleaseResp, error)

CreateRelease create a release

func (*Service) CreateTemplate

func (s *Service) CreateTemplate(ctx context.Context, req *pbcs.CreateTemplateReq) (*pbcs.CreateTemplateResp, error)

CreateTemplate create a template

func (*Service) CreateTemplateRevision

func (s *Service) CreateTemplateRevision(ctx context.Context, req *pbcs.CreateTemplateRevisionReq) (
	*pbcs.CreateTemplateRevisionResp, error)

CreateTemplateRevision create a template Revision

func (*Service) CreateTemplateSet

func (s *Service) CreateTemplateSet(ctx context.Context, req *pbcs.CreateTemplateSetReq) (*pbcs.CreateTemplateSetResp,
	error)

CreateTemplateSet create a template set

func (*Service) CreateTemplateSpace

func (s *Service) CreateTemplateSpace(ctx context.Context, req *pbcs.CreateTemplateSpaceReq) (
	*pbcs.CreateTemplateSpaceResp, error)

CreateTemplateSpace create a template space

func (*Service) CreateTemplateVariable

func (s *Service) CreateTemplateVariable(ctx context.Context, req *pbcs.CreateTemplateVariableReq) (
	*pbcs.CreateTemplateVariableResp, error)

CreateTemplateVariable create a template variable

func (*Service) CredentialScopePreview

func (s *Service) CredentialScopePreview(ctx context.Context, req *pbcs.CredentialScopePreviewReq) (
	*pbcs.CredentialScopePreviewResp, error)

CredentialScopePreview 关联规则预览配置项

func (*Service) DeleteApp

func (s *Service) DeleteApp(ctx context.Context, req *pbcs.DeleteAppReq) (*pbcs.DeleteAppResp, error)

DeleteApp delete app with options

func (*Service) DeleteAppBoundTmplSets

func (s *Service) DeleteAppBoundTmplSets(ctx context.Context, req *pbcs.DeleteAppBoundTmplSetsReq) (
	*pbcs.DeleteAppBoundTmplSetsResp, error)

DeleteAppBoundTmplSets delete app bound template sets

func (*Service) DeleteAppTemplateBinding

func (s *Service) DeleteAppTemplateBinding(ctx context.Context, req *pbcs.DeleteAppTemplateBindingReq) (
	*pbcs.DeleteAppTemplateBindingResp, error)

DeleteAppTemplateBinding delete an app template binding

func (*Service) DeleteClientQuery

func (s *Service) DeleteClientQuery(ctx context.Context, req *pbcs.DeleteClientQueryReq) (
	*pbcs.DeleteClientQueryResp, error)

DeleteClientQuery delete client query

func (*Service) DeleteConfigItem

func (s *Service) DeleteConfigItem(ctx context.Context, req *pbcs.DeleteConfigItemReq) (
	*pbcs.DeleteConfigItemResp, error)

DeleteConfigItem delete config item with option

func (*Service) DeleteCredential

func (s *Service) DeleteCredential(ctx context.Context,
	req *pbcs.DeleteCredentialsReq) (*pbcs.DeleteCredentialsResp, error)

DeleteCredential delete Credential

func (*Service) DeleteGroup

func (s *Service) DeleteGroup(ctx context.Context, req *pbcs.DeleteGroupReq) (*pbcs.DeleteGroupResp, error)

DeleteGroup delete a group

func (*Service) DeleteHook

func (s *Service) DeleteHook(ctx context.Context, req *pbcs.DeleteHookReq) (*pbcs.DeleteHookResp, error)

DeleteHook delete a hook

func (*Service) DeleteHookRevision

func (s *Service) DeleteHookRevision(ctx context.Context,
	req *pbcs.DeleteHookRevisionReq) (*pbcs.DeleteHookRevisionResp, error)

DeleteHookRevision delete a HookRevision

func (*Service) DeleteKv

func (s *Service) DeleteKv(ctx context.Context, req *pbcs.DeleteKvReq) (*pbcs.DeleteKvResp, error)

DeleteKv is used to delete key-value data.

func (*Service) DeleteRelease

func (s *Service) DeleteRelease(ctx context.Context, req *pbcs.DeleteReleaseReq) (*pbcs.DeleteReleaseResp, error)

DeleteRelease delete a release

func (*Service) DeleteTemplate

func (s *Service) DeleteTemplate(ctx context.Context, req *pbcs.DeleteTemplateReq) (*pbcs.DeleteTemplateResp, error)

DeleteTemplate delete a template

func (*Service) DeleteTemplateRevision

func (s *Service) DeleteTemplateRevision(ctx context.Context, req *pbcs.DeleteTemplateRevisionReq) (
	*pbcs.DeleteTemplateRevisionResp, error)

DeleteTemplateRevision delete a template Revision

func (*Service) DeleteTemplateSet

func (s *Service) DeleteTemplateSet(ctx context.Context, req *pbcs.DeleteTemplateSetReq) (*pbcs.DeleteTemplateSetResp,
	error)

DeleteTemplateSet delete a template set

func (*Service) DeleteTemplateSpace

func (s *Service) DeleteTemplateSpace(ctx context.Context, req *pbcs.DeleteTemplateSpaceReq) (
	*pbcs.DeleteTemplateSpaceResp, error)

DeleteTemplateSpace delete a template space

func (*Service) DeleteTemplateVariable

func (s *Service) DeleteTemplateVariable(ctx context.Context, req *pbcs.DeleteTemplateVariableReq) (
	*pbcs.DeleteTemplateVariableResp, error)

DeleteTemplateVariable delete a template variable

func (*Service) DeleteTmplsFromTmplSets

func (s *Service) DeleteTmplsFromTmplSets(ctx context.Context, req *pbcs.DeleteTmplsFromTmplSetsReq) (
	*pbcs.BatchDeleteResp, error)

DeleteTmplsFromTmplSets delete templates from template sets

func (*Service) DeprecateRelease

func (s *Service) DeprecateRelease(ctx context.Context, req *pbcs.DeprecateReleaseReq) (
	*pbcs.DeprecateReleaseResp, error)

DeprecateRelease deprecate a release

func (*Service) ExtractAppTmplVariables

func (s *Service) ExtractAppTmplVariables(ctx context.Context, req *pbcs.ExtractAppTmplVariablesReq) (
	*pbcs.ExtractAppTmplVariablesResp, error)

ExtractAppTmplVariables extract app template variables

func (*Service) GenerateReleaseAndPublish

func (s *Service) GenerateReleaseAndPublish(ctx context.Context, req *pbcs.GenerateReleaseAndPublishReq) (
	*pbcs.PublishResp, error)

GenerateReleaseAndPublish generate release and publish

func (*Service) GetAllBizsOfTmplSpaces

func (s *Service) GetAllBizsOfTmplSpaces(ctx context.Context, req *pbbase.EmptyReq) (
	*pbcs.GetAllBizsOfTmplSpacesResp, error)

GetAllBizsOfTmplSpaces get all biz ids of template spaces

func (*Service) GetApp

func (s *Service) GetApp(ctx context.Context, req *pbcs.GetAppReq) (*pbapp.App, error)

GetApp get app with app id

func (*Service) GetAppByName

func (s *Service) GetAppByName(ctx context.Context, req *pbcs.GetAppByNameReq) (*pbapp.App, error)

GetAppByName get app by app name

func (*Service) GetAppTmplVariableRefs

func (s *Service) GetAppTmplVariableRefs(ctx context.Context, req *pbcs.GetAppTmplVariableRefsReq) (
	*pbcs.GetAppTmplVariableRefsResp, error)

GetAppTmplVariableRefs get app template variable references

func (*Service) GetConfigItem

func (s *Service) GetConfigItem(ctx context.Context, req *pbcs.GetConfigItemReq) (
	*pbcs.GetConfigItemResp, error)

GetConfigItem get config item with content

func (*Service) GetGroupByName

func (s *Service) GetGroupByName(ctx context.Context, req *pbcs.GetGroupByNameReq) (*pbgroup.Group, error)

GetGroupByName get group by name

func (*Service) GetHook

func (s *Service) GetHook(ctx context.Context, req *pbcs.GetHookReq) (*pbcs.GetHookResp, error)

GetHook get a hook

func (*Service) GetHookRevision

func (s *Service) GetHookRevision(ctx context.Context, req *pbcs.GetHookRevisionReq) (*pbhr.HookRevision, error)

GetHookRevision get a hookRevision

func (*Service) GetLastPublish

func (s *Service) GetLastPublish(ctx context.Context, req *pbcs.GetLastPublishReq) (
	*pbcs.GetLastPublishResp, error)

GetLastPublish get last publish list

func (*Service) GetLastSelect

func (s *Service) GetLastSelect(ctx context.Context, req *pbcs.GetLastSelectReq) (
	*pbcs.GetLastSelectResp, error)

GetLastSelect get last version select publish_type

func (*Service) GetRelease

func (s *Service) GetRelease(ctx context.Context, req *pbcs.GetReleaseReq) (*pbrelease.Release, error)

GetRelease get release

func (*Service) GetReleaseByName

func (s *Service) GetReleaseByName(ctx context.Context, req *pbcs.GetReleaseByNameReq) (*pbrelease.Release, error)

GetReleaseByName get release by name

func (*Service) GetReleaseHook

func (s *Service) GetReleaseHook(ctx context.Context, req *pbcs.GetReleaseHookReq) (*pbcs.GetReleaseHookResp, error)

GetReleaseHook get release's pre hook and post hook

func (*Service) GetReleasedAppBoundTmplRevision

GetReleasedAppBoundTmplRevision get released app bound template revision

func (*Service) GetReleasedAppTmplVariableRefs

GetReleasedAppTmplVariableRefs get released app template variable references

func (*Service) GetReleasedConfigItem

func (s *Service) GetReleasedConfigItem(ctx context.Context, req *pbcs.GetReleasedConfigItemReq) (
	*pbcs.GetReleasedConfigItemResp, error)

GetReleasedConfigItem get released config item

func (*Service) GetReleasedKv

func (s *Service) GetReleasedKv(ctx context.Context, req *pbcs.GetReleasedKvReq) (*pbcs.GetReleasedKvResp, error)

GetReleasedKv get released kv

func (*Service) GetReleasesStatus

func (s *Service) GetReleasesStatus(ctx context.Context, req *pbcs.GetReleasesStatusReq) (
	*pbstrategy.Strategy, error)

GetReleasesStatus get releases status

func (*Service) GetTemplateAndNonTemplateCICount

GetTemplateAndNonTemplateCICount 获取模板和非模板配置项数量

func (*Service) GetTemplateRevision

func (s *Service) GetTemplateRevision(ctx context.Context, req *pbcs.GetTemplateRevisionReq) (
	*pbcs.GetTemplateRevisionResp, error)

GetTemplateRevision 根据版本号获取 TemplateRevisions

func (*Service) Handler

func (s *Service) Handler() (http.Handler, error)

Handler return service's handler.

func (*Service) ImportFromTemplateSetToApp

func (s *Service) ImportFromTemplateSetToApp(ctx context.Context, req *pbcs.ImportFromTemplateSetToAppReq) (
	*pbcs.ImportFromTemplateSetToAppResp, error)

ImportFromTemplateSetToApp 从配置模板导入到服务

func (*Service) ImportKvs

func (s *Service) ImportKvs(ctx context.Context, req *pbcs.ImportKvsReq) (*pbcs.ImportKvsResp, error)

ImportKvs 批量导入kv

func (*Service) ImportOtherFormatTemplateVariables

ImportOtherFormatTemplateVariables 导入其他格式的模板变量

func (*Service) ImportTemplateVariables

func (s *Service) ImportTemplateVariables(ctx context.Context, req *pbcs.ImportTemplateVariablesReq) (
	*pbcs.ImportTemplateVariablesResp, error)

ImportTemplateVariables import template variables

func (*Service) ListAllGroups

func (s *Service) ListAllGroups(ctx context.Context, req *pbcs.ListAllGroupsReq) (*pbcs.ListAllGroupsResp, error)

ListAllGroups list all groups in biz nolint:funlen

func (*Service) ListAppBoundTmplRevisions

func (s *Service) ListAppBoundTmplRevisions(ctx context.Context, req *pbcs.ListAppBoundTmplRevisionsReq) (
	*pbcs.ListAppBoundTmplRevisionsResp, error)

ListAppBoundTmplRevisions list app bound template revisions nolint:funlen

func (*Service) ListAppGroups

func (s *Service) ListAppGroups(ctx context.Context, req *pbcs.ListAppGroupsReq) (*pbcs.ListAppGroupsResp, error)

ListAppGroups list groups in app

func (*Service) ListAppTemplateBindings

func (s *Service) ListAppTemplateBindings(ctx context.Context, req *pbcs.ListAppTemplateBindingsReq) (
	*pbcs.ListAppTemplateBindingsResp, error)

ListAppTemplateBindings list app template bindings

func (*Service) ListAppTemplateSets

func (s *Service) ListAppTemplateSets(ctx context.Context, req *pbcs.ListAppTemplateSetsReq) (
	*pbcs.ListAppTemplateSetsResp, error)

ListAppTemplateSets list app template sets

func (*Service) ListAppTmplVariables

func (s *Service) ListAppTmplVariables(ctx context.Context, req *pbcs.ListAppTmplVariablesReq) (
	*pbcs.ListAppTmplVariablesResp, error)

ListAppTmplVariables list app template variables

func (*Service) ListAppsBySpaceRest

func (s *Service) ListAppsBySpaceRest(ctx context.Context,
	req *pbcs.ListAppsBySpaceRestReq) (*pbcs.ListAppsResp, error)

ListAppsBySpaceRest list apps with rest filter

func (*Service) ListAppsRest

func (s *Service) ListAppsRest(ctx context.Context, req *pbcs.ListAppsRestReq) (*pbcs.ListAppsResp, error)

ListAppsRest list apps with rest filter

func (*Service) ListAudits

func (s *Service) ListAudits(ctx context.Context, req *pbcs.ListAuditsReq) (
	*pbcs.ListAuditsResp, error)

ListAudits list audits

func (*Service) ListClientEvents

func (s *Service) ListClientEvents(ctx context.Context, req *pbcs.ListClientEventsReq) (
	*pbcs.ListClientEventsResp, error)

ListClientEvents List client details query

func (*Service) ListClientLabelAndAnnotation

func (s *Service) ListClientLabelAndAnnotation(ctx context.Context, req *pbcs.ListClientLabelAndAnnotationReq) (
	*structpb.Struct, error)

ListClientLabelAndAnnotation 列出客户端标签和注释

func (*Service) ListClientQuerys

func (s *Service) ListClientQuerys(ctx context.Context, req *pbcs.ListClientQuerysReq) (
	*pbcs.ListClientQuerysResp, error)

ListClientQuerys list client querys

func (*Service) ListClients

func (s *Service) ListClients(ctx context.Context, req *pbcs.ListClientsReq) (
	*pbcs.ListClientsResp, error)

ListClients list client

func (*Service) ListConfigItemByTuple

func (s *Service) ListConfigItemByTuple(ctx context.Context, req *pbcs.ListConfigItemByTupleReq) (
	*pbcs.ListConfigItemByTupleResp, error)

ListConfigItemByTuple 按照多个字段in查询

func (*Service) ListConfigItemCount

func (s *Service) ListConfigItemCount(ctx context.Context, req *pbcs.ListConfigItemCountReq) (
	*pbcs.ListConfigItemCountResp, error)

ListConfigItemCount get config item count number

func (*Service) ListConfigItems

func (s *Service) ListConfigItems(ctx context.Context, req *pbcs.ListConfigItemsReq) (
	*pbcs.ListConfigItemsResp, error)

ListConfigItems list config item with filter

func (*Service) ListCredentialScopes

func (s *Service) ListCredentialScopes(ctx context.Context,
	req *pbcs.ListCredentialScopesReq) (*pbcs.ListCredentialScopesResp, error)

ListCredentialScopes get credential scopes

func (*Service) ListCredentials

func (s *Service) ListCredentials(ctx context.Context,
	req *pbcs.ListCredentialsReq) (*pbcs.ListCredentialsResp, error)

ListCredentials get Credentials

func (*Service) ListGroupReleasedApps

func (s *Service) ListGroupReleasedApps(ctx context.Context, req *pbcs.ListGroupReleasedAppsReq) (
	*pbcs.ListGroupReleasedAppsResp, error)

ListGroupReleasedApps list released apps in group

func (*Service) ListHookReferences

func (s *Service) ListHookReferences(ctx context.Context,
	req *pbcs.ListHookReferencesReq) (*pbcs.ListHookReferencesResp, error)

ListHookReferences 查询hook版本被引用列表

func (*Service) ListHookRevisionReferences

ListHookRevisionReferences 查询hook版本被引用列表

func (*Service) ListHookRevisions

func (s *Service) ListHookRevisions(ctx context.Context, req *pbcs.ListHookRevisionsReq) (
	*pbcs.ListHookRevisionsResp, error)

ListHookRevisions list hook revisions with filter

func (*Service) ListHookTags

func (s *Service) ListHookTags(ctx context.Context, req *pbcs.ListHookTagsReq) (*pbcs.ListHookTagsResp, error)

ListHookTags list tag

func (*Service) ListHooks

func (s *Service) ListHooks(ctx context.Context, req *pbcs.ListHooksReq) (*pbcs.ListHooksResp, error)

ListHooks list hooks with filter

func (*Service) ListKvs

func (s *Service) ListKvs(ctx context.Context, req *pbcs.ListKvsReq) (*pbcs.ListKvsResp, error)

ListKvs is used to list key-value data.

func (*Service) ListLatestTmplBoundUnnamedApps

ListLatestTmplBoundUnnamedApps list the latest template bound unnamed app details

func (*Service) ListMultiTmplBoundTmplSets

func (s *Service) ListMultiTmplBoundTmplSets(ctx context.Context, req *pbcs.ListMultiTmplBoundTmplSetsReq) (
	*pbcs.ListMultiTmplBoundTmplSetsResp, error)

ListMultiTmplBoundTmplSets list multiple template bound template set details

func (*Service) ListMultiTmplSetBoundUnnamedApps

ListMultiTmplSetBoundUnnamedApps list multiple template sets bound unnamed app details

func (*Service) ListReleasedAppBoundTmplRevisions

ListReleasedAppBoundTmplRevisions list released app bound template revisions

func (*Service) ListReleasedAppTmplVariables

ListReleasedAppTmplVariables list released app template variables

func (*Service) ListReleasedConfigItems

func (s *Service) ListReleasedConfigItems(ctx context.Context,
	req *pbcs.ListReleasedConfigItemsReq) (
	*pbcs.ListReleasedConfigItemsResp, error)

ListReleasedConfigItems list released config items

func (*Service) ListReleasedKvs

func (s *Service) ListReleasedKvs(ctx context.Context, req *pbcs.ListReleasedKvsReq) (*pbcs.ListReleasedKvsResp,
	error)

ListReleasedKvs list released kvs

func (*Service) ListReleases

func (s *Service) ListReleases(ctx context.Context, req *pbcs.ListReleasesReq) (*pbcs.ListReleasesResp, error)

ListReleases list releases with options

func (*Service) ListTemplateByTuple

func (s *Service) ListTemplateByTuple(ctx context.Context, req *pbcs.ListTemplateByTupleReq) (
	*pbcs.ListTemplateByTupleResp, error)

ListTemplateByTuple 按照多个字段in查询

func (*Service) ListTemplateRevisions

func (s *Service) ListTemplateRevisions(ctx context.Context, req *pbcs.ListTemplateRevisionsReq) (
	*pbcs.ListTemplateRevisionsResp, error)

ListTemplateRevisions list template Revisions

func (*Service) ListTemplateRevisionsByIDs

func (s *Service) ListTemplateRevisionsByIDs(ctx context.Context, req *pbcs.ListTemplateRevisionsByIDsReq) (*pbcs.
	ListTemplateRevisionsByIDsResp, error)

ListTemplateRevisionsByIDs list template Revisions by ids

func (*Service) ListTemplateSets

func (s *Service) ListTemplateSets(ctx context.Context, req *pbcs.ListTemplateSetsReq) (*pbcs.ListTemplateSetsResp,
	error)

ListTemplateSets list template sets

func (*Service) ListTemplateSetsAndRevisions

ListTemplateSetsAndRevisions 获取模板套餐下所有的模板版本

func (*Service) ListTemplateSetsByIDs

func (s *Service) ListTemplateSetsByIDs(ctx context.Context, req *pbcs.ListTemplateSetsByIDsReq) (
	*pbcs.ListTemplateSetsByIDsResp, error)

ListTemplateSetsByIDs list template sets by ids

func (*Service) ListTemplateSpaces

func (s *Service) ListTemplateSpaces(ctx context.Context, req *pbcs.ListTemplateSpacesReq) (
	*pbcs.ListTemplateSpacesResp, error)

ListTemplateSpaces list template spaces

func (*Service) ListTemplateVariables

func (s *Service) ListTemplateVariables(ctx context.Context, req *pbcs.ListTemplateVariablesReq) (
	*pbcs.ListTemplateVariablesResp, error)

ListTemplateVariables list template variables

func (*Service) ListTemplates

func (s *Service) ListTemplates(ctx context.Context, req *pbcs.ListTemplatesReq) (*pbcs.ListTemplatesResp, error)

ListTemplates list templates

func (*Service) ListTemplatesByIDs

func (s *Service) ListTemplatesByIDs(ctx context.Context, req *pbcs.ListTemplatesByIDsReq) (
	*pbcs.ListTemplatesByIDsResp, error)

ListTemplatesByIDs list templates by ids

func (*Service) ListTemplatesNotBound

func (s *Service) ListTemplatesNotBound(ctx context.Context, req *pbcs.ListTemplatesNotBoundReq) (
	*pbcs.ListTemplatesNotBoundResp, error)

ListTemplatesNotBound list templates not bound

func (*Service) ListTmplBoundCounts

func (s *Service) ListTmplBoundCounts(ctx context.Context, req *pbcs.ListTmplBoundCountsReq) (
	*pbcs.ListTmplBoundCountsResp, error)

ListTmplBoundCounts list template bound counts

func (*Service) ListTmplBoundNamedApps

func (s *Service) ListTmplBoundNamedApps(ctx context.Context, req *pbcs.ListTmplBoundNamedAppsReq) (
	*pbcs.ListTmplBoundNamedAppsResp, error)

ListTmplBoundNamedApps list template bound named app details Deprecated: not in use currently if use it, consider to add column app_name, release_name on table released_app_templates in case of app is deleted

func (*Service) ListTmplBoundTmplSets

func (s *Service) ListTmplBoundTmplSets(ctx context.Context, req *pbcs.ListTmplBoundTmplSetsReq) (
	*pbcs.ListTmplBoundTmplSetsResp, error)

ListTmplBoundTmplSets list template bound template set details

func (*Service) ListTmplBoundUnnamedApps

func (s *Service) ListTmplBoundUnnamedApps(ctx context.Context, req *pbcs.ListTmplBoundUnnamedAppsReq) (
	*pbcs.ListTmplBoundUnnamedAppsResp, error)

ListTmplBoundUnnamedApps list template bound unnamed app details

func (*Service) ListTmplRevisionBoundCounts

ListTmplRevisionBoundCounts list template bound counts

func (*Service) ListTmplRevisionBoundNamedApps

ListTmplRevisionBoundNamedApps list template revision bound named app details Deprecated: not in use currently if use it, consider to add column app_name, release_name on table released_app_templates in case of app is deleted

func (*Service) ListTmplRevisionBoundUnnamedApps

ListTmplRevisionBoundUnnamedApps list template revision bound unnamed app details

func (*Service) ListTmplRevisionNamesByTmplIDs

ListTmplRevisionNamesByTmplIDs list template Revisions by ids

func (*Service) ListTmplSetBoundCounts

func (s *Service) ListTmplSetBoundCounts(ctx context.Context, req *pbcs.ListTmplSetBoundCountsReq) (
	*pbcs.ListTmplSetBoundCountsResp, error)

ListTmplSetBoundCounts list template bound counts

func (*Service) ListTmplSetBoundNamedApps

func (s *Service) ListTmplSetBoundNamedApps(ctx context.Context, req *pbcs.ListTmplSetBoundNamedAppsReq) (
	*pbcs.ListTmplSetBoundNamedAppsResp, error)

ListTmplSetBoundNamedApps list template set bound named app details Deprecated: not in use currently if use it, consider to add column app_name, release_name on table released_app_templates in case of app is deleted

func (*Service) ListTmplSetBoundUnnamedApps

ListTmplSetBoundUnnamedApps list template set bound unnamed app details

func (*Service) ListTmplSetsOfBiz

func (s *Service) ListTmplSetsOfBiz(ctx context.Context, req *pbcs.ListTmplSetsOfBizReq) (
	*pbcs.ListTmplSetsOfBizResp, error)

ListTmplSetsOfBiz list template sets of one biz

func (*Service) ListTmplSpacesByIDs

func (s *Service) ListTmplSpacesByIDs(ctx context.Context, req *pbcs.ListTmplSpacesByIDsReq) (*pbcs.
	ListTmplSpacesByIDsResp, error)

ListTmplSpacesByIDs list template spaces by ids

func (*Service) ListTmplsOfTmplSet

func (s *Service) ListTmplsOfTmplSet(ctx context.Context, req *pbcs.ListTmplsOfTmplSetReq) (
	*pbcs.ListTmplsOfTmplSetResp, error)

ListTmplsOfTmplSet list templates of template set

func (*Service) Publish

func (s *Service) Publish(ctx context.Context, req *pbcs.PublishReq) (
	*pbcs.PublishResp, error)

Publish publish a strategy

func (*Service) PublishHookRevision

func (s *Service) PublishHookRevision(ctx context.Context, req *pbcs.
	PublishHookRevisionReq) (*pbcs.PublishHookRevisionResp, error)

PublishHookRevision publish a revision

func (*Service) RemoveAppBoundTmplSet

func (s *Service) RemoveAppBoundTmplSet(ctx context.Context, req *pbcs.RemoveAppBoundTmplSetReq) (
	*pbcs.RemoveAppBoundTmplSetResp, error)

RemoveAppBoundTmplSet 移除服务绑定的套餐

func (*Service) RetryClients

func (s *Service) RetryClients(ctx context.Context, req *pbcs.RetryClientsReq) (*pbcs.RetryClientsResp, error)

RetryClients 重试客户端执行版本变更回调

func (*Service) SubmitPublishApprove

func (s *Service) SubmitPublishApprove(ctx context.Context, req *pbcs.SubmitPublishApproveReq) (
	*pbcs.PublishResp, error)

SubmitPublishApprove submit publish a strategy

func (*Service) UnDeleteConfigItem

func (s *Service) UnDeleteConfigItem(ctx context.Context, req *pbcs.UnDeleteConfigItemReq) (
	*pbcs.UnDeleteConfigItemResp, error)

UnDeleteConfigItem 配置项未命名版本恢复

func (*Service) UnDeleteKv

func (s *Service) UnDeleteKv(ctx context.Context, req *pbcs.UnDeleteKvReq) (*pbcs.UnDeleteKvResp, error)

UnDeleteKv reverses the deletion of a key-value pair by reverting the current kvType and value to the previous version.

func (*Service) UnDeprecateRelease

func (s *Service) UnDeprecateRelease(ctx context.Context, req *pbcs.UnDeprecateReleaseReq) (
	*pbcs.UnDeprecateReleaseResp, error)

UnDeprecateRelease undeprecate a release

func (*Service) UndoConfigItem

func (s *Service) UndoConfigItem(ctx context.Context, req *pbcs.UndoConfigItemReq) (*pbcs.UndoConfigItemResp, error)

UndoConfigItem 撤消配置项

func (*Service) UndoKv

func (s *Service) UndoKv(ctx context.Context, req *pbcs.UndoKvReq) (*pbcs.UndoKvResp, error)

UndoKv Undo edited data and return to the latest published version

func (*Service) UpdateApp

func (s *Service) UpdateApp(ctx context.Context, req *pbcs.UpdateAppReq) (*pbapp.App, error)

UpdateApp update app with options

func (*Service) UpdateAppBoundTmplRevisions

UpdateAppBoundTmplRevisions update app bound template revisions

func (*Service) UpdateAppTemplateBinding

func (s *Service) UpdateAppTemplateBinding(ctx context.Context, req *pbcs.UpdateAppTemplateBindingReq) (
	*pbcs.UpdateAppTemplateBindingResp, error)

UpdateAppTemplateBinding update an app template binding

func (*Service) UpdateAppTmplVariables

func (s *Service) UpdateAppTmplVariables(ctx context.Context, req *pbcs.UpdateAppTmplVariablesReq) (
	*pbcs.UpdateAppTmplVariablesResp, error)

UpdateAppTmplVariables update app template variables

func (*Service) UpdateClientQuery

func (s *Service) UpdateClientQuery(ctx context.Context, req *pbcs.UpdateClientQueryReq) (
	*pbcs.UpdateClientQueryResp, error)

UpdateClientQuery update client query

func (*Service) UpdateConfigHook

func (s *Service) UpdateConfigHook(ctx context.Context,
	req *pbcs.UpdateConfigHookReq) (*pbcs.UpdateConfigHookResp, error)

UpdateConfigHook update a ConfigHook

func (*Service) UpdateConfigItem

func (s *Service) UpdateConfigItem(ctx context.Context, req *pbcs.UpdateConfigItemReq) (
	*pbcs.UpdateConfigItemResp, error)

UpdateConfigItem update config item with option nolint: funlen

func (*Service) UpdateCredential

func (s *Service) UpdateCredential(ctx context.Context,
	req *pbcs.UpdateCredentialsReq) (*pbcs.UpdateCredentialsResp, error)

UpdateCredential update credential

func (*Service) UpdateCredentialScope

func (s *Service) UpdateCredentialScope(ctx context.Context,
	req *pbcs.UpdateCredentialScopeReq) (*pbcs.UpdateCredentialScopeResp, error)

UpdateCredentialScope update credential scope

func (*Service) UpdateGroup

func (s *Service) UpdateGroup(ctx context.Context, req *pbcs.UpdateGroupReq) (*pbcs.UpdateGroupResp, error)

UpdateGroup update a group

func (*Service) UpdateHook

func (s *Service) UpdateHook(ctx context.Context, req *pbcs.UpdateHookReq) (*pbcs.UpdateHookResp, error)

UpdateHook update a hook

func (*Service) UpdateHookRevision

func (s *Service) UpdateHookRevision(ctx context.Context, req *pbcs.UpdateHookRevisionReq) (
	*pbcs.UpdateHookRevisionResp, error)

UpdateHookRevision update a HookRevision

func (*Service) UpdateKv

func (s *Service) UpdateKv(ctx context.Context, req *pbcs.UpdateKvReq) (*pbcs.UpdateKvResp, error)

UpdateKv is used to update key-value data.

func (*Service) UpdateTemplate

func (s *Service) UpdateTemplate(ctx context.Context, req *pbcs.UpdateTemplateReq) (*pbcs.UpdateTemplateResp, error)

UpdateTemplate update a template

func (*Service) UpdateTemplateRevision

func (s *Service) UpdateTemplateRevision(ctx context.Context, req *pbcs.UpdateTemplateRevisionReq) (
	*pbcs.UpdateTemplateRevisionResp, error)

UpdateTemplateRevision implements pbcs.ConfigServer.

func (*Service) UpdateTemplateSet

func (s *Service) UpdateTemplateSet(ctx context.Context, req *pbcs.UpdateTemplateSetReq) (*pbcs.UpdateTemplateSetResp,
	error)

UpdateTemplateSet update a template set

func (*Service) UpdateTemplateSpace

func (s *Service) UpdateTemplateSpace(ctx context.Context, req *pbcs.UpdateTemplateSpaceReq) (
	*pbcs.UpdateTemplateSpaceResp, error)

UpdateTemplateSpace update a template space

func (*Service) UpdateTemplateVariable

func (s *Service) UpdateTemplateVariable(ctx context.Context, req *pbcs.UpdateTemplateVariableReq) (
	*pbcs.UpdateTemplateVariableResp, error)

UpdateTemplateVariable update a template variable

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL