mod_image.go 394 B

123456789101112131415161718192021222324
  1. package llm
  2. import (
  3. "yunion.io/x/onecloud/pkg/mcclient/modulebase"
  4. "yunion.io/x/onecloud/pkg/mcclient/modules"
  5. )
  6. type LLMImageManager struct {
  7. modulebase.ResourceManager
  8. }
  9. var (
  10. LLMImage LLMImageManager
  11. )
  12. func init() {
  13. LLMImage = LLMImageManager{
  14. ResourceManager: modules.NewLLMManager("llm_image", "llm_images",
  15. []string{},
  16. []string{},
  17. ),
  18. }
  19. modules.Register(&LLMImage)
  20. }