svc

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceContext

type ServiceContext struct {
	Config              config.Config
	RedisClient         *redis.Client
	ScheduleHpcClient   *kq.Pusher
	ScheduleCloudClient *kq.Pusher
	ScheduleAiClient    *kq.Pusher
	Cron                *cron.Cron
	ModelArtsRpc        modelartsclient.ModelArts
	DbEngin             *gorm.DB
	ACRpc               hpcacclient.HpcAC
	THRpc               hpcthclient.HpcTH
	OctopusRpc          octopusclient.Octopus
	CephRpc             cephclient.Ceph
	DockerClient        *client.Client
	Downloader          *s3manager.Downloader
	Uploader            *s3manager.Uploader
}

func NewServiceContext

func NewServiceContext(c config.Config) *ServiceContext

Jump to

Keyboard shortcuts

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