builds

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(b Builds) sdkservices.Builds

Types

type Builds

type Builds struct {
	fx.In

	Z  *zap.Logger
	DB db.DB
}

func (*Builds) Delete

func (b *Builds) Delete(ctx context.Context, id sdktypes.BuildID) error

func (*Builds) Describe

func (b *Builds) Describe(ctx context.Context, bid sdktypes.BuildID) (*sdkbuildfile.BuildFile, error)

func (*Builds) Download

func (b *Builds) Download(ctx context.Context, id sdktypes.BuildID) (io.ReadCloser, error)

Download implements sdkservices.Builds.

func (*Builds) Get

func (*Builds) List

func (*Builds) Save

func (b *Builds) Save(ctx context.Context, build sdktypes.Build, data []byte) (sdktypes.BuildID, error)

Jump to

Keyboard shortcuts

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