release

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Release)

Option 定义 Release 对象的配置选项

func WithDBClient

func WithDBClient(db *dbclient.DBClient) Option

WithDBClient 配置 db client

type Release

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

Release Release操作封装

func New

func New(options ...Option) *Release

New 新建 Release 实例,操作 Release 资源

func (*Release) GetDiceYAML

func (r *Release) GetDiceYAML(orgID int64, releaseID string) (string, error)

GetDiceYAML 获取dice.yml内容

Jump to

Keyboard shortcuts

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