k8s

package
v0.0.0-...-89c19b0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IK8sRepository

type IK8sRepository interface {
	GetK8s(where interface{}) *models.K8s

	AddK8s(k8s *models.K8s) bool

	UpdateK8s(k8s *models.K8s) bool

	GetK8ss(PageNum, PageSize uint, total *uint64, where interface{}) *[]models.K8s

	ExistK8sByName(where interface{}) bool

	DeleteK8s(id uint) bool
}

type K8sRepository

type K8sRepository struct {
	Log  logger.ILogger         `inject:""`
	Base baseRep.BaseRepository `inject:"inline"`
}

func (*K8sRepository) AddK8s

func (k8s *K8sRepository) AddK8s(modK8s *models.K8s) bool

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

func (*K8sRepository) GetK8ss

func (k8s *K8sRepository) GetK8ss(PageNum uint, PageSize uint, total *uint64, where interface{}) *[]models.K8s

func (*K8sRepository) UpdateK8s

func (k8s *K8sRepository) UpdateK8s(modK8s *models.K8s) bool

Jump to

Keyboard shortcuts

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