Documentation ¶
Index ¶
- type IK8sRepository
- type K8sRepository
- func (k8s *K8sRepository) AddK8s(modK8s *models.K8s) bool
- func (k8s *K8sRepository) DeleteK8s(id uint) bool
- func (k8s *K8sRepository) ExistK8sByName(where interface{}) bool
- func (k8s *K8sRepository) GetK8s(where interface{}) *models.K8s
- func (k8s *K8sRepository) GetK8ss(PageNum uint, PageSize uint, total *uint64, where interface{}) *[]models.K8s
- func (k8s *K8sRepository) UpdateK8s(modK8s *models.K8s) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IK8sRepository ¶
type K8sRepository ¶
type K8sRepository struct { Log logger.ILogger `inject:""` Base baseRep.BaseRepository `inject:"inline"` }
func (*K8sRepository) DeleteK8s ¶
func (k8s *K8sRepository) DeleteK8s(id uint) bool
func (*K8sRepository) ExistK8sByName ¶
func (k8s *K8sRepository) ExistK8sByName(where interface{}) bool
func (*K8sRepository) GetK8s ¶
func (k8s *K8sRepository) GetK8s(where interface{}) *models.K8s
Click to show internal directories.
Click to hide internal directories.