application

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

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

func New

func New(options ...Option) *Application

func (*Application) BuildItemMonitorPipelineCmsNs

func (a *Application) BuildItemMonitorPipelineCmsNs(appID int64, workspace string) string

BuildItemMonitorPipelineCmsNs 生成namespace

func (*Application) Init

func (*Application) PipelineCmsConfigRequest

func (a *Application) PipelineCmsConfigRequest(request *apistructs.UpdateAppPublishItemRelationRequest) error

PipelineCmsConfigRequest 请求pipeline cms,将publisherKey和publishItemKey设置进配置管理

func (*Application) QueryPublishItemRelations

QueryPublishItemRelations 查询应用发布内容关联关系

func (*Application) RemovePublishItemRelations

func (a *Application) RemovePublishItemRelations(request *apistructs.RemoveAppPublishItemRelationsRequest) error

func (*Application) UpdatePublishItemRelations

func (a *Application) UpdatePublishItemRelations(request *apistructs.UpdateAppPublishItemRelationRequest) error

UpdatePublishItemRelations 增量更新或创建publishItemRelations

type Option

type Option func(*Application)

func WithBundle

func WithBundle(bdl *bundle.Bundle) Option

func WithDBClient

func WithDBClient(db *dao.DBClient) Option

func WithOrg

func WithOrg(org org.Interface) Option

func WithPipelineCms

func WithPipelineCms(cms cmspb.CmsServiceServer) Option

func WithPipelineSvc

func WithPipelineSvc(svc pipelinepb.PipelineServiceServer) Option

func WithTokenSvc

func WithTokenSvc(tokenService tokenpb.TokenServiceServer) Option

Jump to

Keyboard shortcuts

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