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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IK8sService

type IK8sService interface {
	GetK8s(id uint) *models.K8s

	AddK8s(K8s *models.K8s) bool

	UpdateK8s(K8s *models.K8s) bool

	GetK8ss(page, pagesize uint, maps interface{}) interface{}

	DeleteK8s(id uint) bool
}

type K8sService

type K8sService struct {
	Repository k8sRep.IK8sRepository `inject:""`
}

func (*K8sService) AddK8s

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

func (*K8sService) DeleteK8s

func (k8s *K8sService) DeleteK8s(id uint) bool

func (*K8sService) GetK8s

func (k8s *K8sService) GetK8s(id uint) *models.K8s

func (*K8sService) GetK8ss

func (k8s *K8sService) GetK8ss(page, pagesize uint, maps interface{}) interface{}

func (*K8sService) UpdateK8s

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

Jump to

Keyboard shortcuts

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