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 Cron *cron.Cron ModelArtsRpc modelartsservice.ModelArtsService ModelArtsImgRpc imagesservice.ImagesService DbEngin *gorm.DB ACRpc hpcacclient.HpcAC THRpc slurmclient.Slurm OctopusRpc octopusclient.Octopus CephRpc cephclient.Ceph OpenstackRpc openstackclient.Openstack DockerClient *client.Client Downloader *s3manager.Downloader Uploader *s3manager.Uploader K8sRpc kubernetesclient.Kubernetes PromClient map[int64]tracker.Prometheus ParticipantRpc participantservice.ParticipantService }
func NewServiceContext ¶
func NewServiceContext(c config.Config) *ServiceContext
Click to show internal directories.
Click to hide internal directories.