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
Click to show internal directories.
Click to hide internal directories.