publish

package
v1.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPublishModule

type IPublishModule interface {
	CheckPublish(ctx context.Context, serviceId string, releaseId string) (*dto.DiffOut, error)

	Apply(ctx context.Context, serviceId string, input *dto.ApplyInput) (*dto.Publish, error)
	Stop(ctx context.Context, serviceId string, id string) error
	Refuse(ctx context.Context, serviceId string, id string, commits string) error
	Accept(ctx context.Context, serviceId string, id string, commits string) error
	Publish(ctx context.Context, serviceId string, id string) error
	List(ctx context.Context, serviceId string, page, pageSize int) ([]*dto.Publish, int64, error)
	Detail(ctx context.Context, serviceId string, id string) (*dto.PublishDetail, error)
	PublishStatuses(ctx context.Context, serviceId string, id string) ([]*dto.PublishStatus, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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