dl

package module
v0.0.0-...-2c737b7 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: MIT Imports: 22 Imported by: 0

README

Download server

It provide the download functions:

  • List or download Object data from KS3 bucket.
  • List or download File from OCI artifact.

How to design

go to design/design.go

How to generate code from design

we need the goa tool

run:

rm -rf gen cmd oci.go
goa gen github.com/PingCAP-QE/ee-apps/dl/design
goa example github.com/PingCAP-QE/ee-apps/dl/design

How to run

go run ./cmd/server

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHealth

func NewHealth(logger *log.Logger) health.Service

NewHealth returns the health service implementation.

func NewKs3

func NewKs3(logger *log.Logger, cfgFile string) ks3.Service

NewKs3 returns the ks3 service implementation.

func NewOci

func NewOci(logger *log.Logger, cfgFile *string) oci.Service

NewOci returns the oci service implementation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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