publish

package
v1.3.1-beta Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPublishController

type IPublishController interface {
	CheckPublish(ctx *gin.Context, serviceId string, releaseId string) (*dto.DiffOut, error)
	ReleaseDo(ctx *gin.Context, serviceId string, input *dto.ApplyOnReleaseInput) (*dto.Publish, error)
	ApplyOnRelease(ctx *gin.Context, serviceId string, input *dto.ApplyOnReleaseInput) (*dto.Publish, error)
	Apply(ctx *gin.Context, serviceId string, input *dto.ApplyInput) (*dto.Publish, error)
	Close(ctx *gin.Context, serviceId string, id string) error
	Stop(ctx *gin.Context, serviceId string, id string) error
	Refuse(ctx *gin.Context, serviceId string, id string, input *dto.Comments) error
	Accept(ctx *gin.Context, serviceId string, id string, input *dto.Comments) error
	Publish(ctx *gin.Context, serviceId string, id string) error
	ListPage(ctx *gin.Context, serviceId string, page, pageSize string) ([]*dto.Publish, int, int, int64, error)
	Detail(ctx *gin.Context, serviceId string, id string) (*dto.PublishDetail, error)
	PublishStatuses(ctx *gin.Context, serviceId string, id string) ([]*dto.PublishStatus, error)
}

Jump to

Keyboard shortcuts

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