Documentation ¶
Index ¶
- Variables
- type GvaK8sClusterService
- func (GvaK8sClusterService *GvaK8sClusterService) BoolK8sCluster() (K8sCluster k8sResponse.K8sCluster, err error)
- func (GvaK8sClusterService *GvaK8sClusterService) ClusterID(c *gin.Context) string
- func (GvaK8sClusterService *GvaK8sClusterService) Create(K8sCluster k8sResponse.K8sCluster) (err error)
- func (GvaK8sClusterService *GvaK8sClusterService) Delete(K8sCluster *k8sResponse.K8sCluster) (err error)
- func (GvaK8sClusterService *GvaK8sClusterService) DeleteId(ids request.IdsReq) (err error)
- func (GvaK8sClusterService *GvaK8sClusterService) Get(id uint) (K8sCluster k8sResponse.K8sCluster, err error)
- func (GvaK8sClusterService *GvaK8sClusterService) GetList(info k8sRequest.K8sClusterSearch) (list interface{}, total int64, err error)
- func (GvaK8sClusterService *GvaK8sClusterService) Update(K8sCluster *k8sResponse.K8sCluster) (err error)
- type GvaK8sDeploymentService
- func (GvaK8sDeploymentService *GvaK8sDeploymentService) Create(k8sConf string, k8sDeployments response.DeploymentSpec) (err error)
- func (GvaK8sDeploymentService *GvaK8sDeploymentService) Delete(k8sConf string, k8sDeployments response.DeploymentSpec) (err error)
- func (GvaK8sDeploymentService *GvaK8sDeploymentService) DeleteId(ids request.IdsReq) (err error)
- func (GvaK8sDeploymentService *GvaK8sDeploymentService) FindGetConfigMap(k8sConf string, k8sDeployment response.K8sConfigMap) (k8sDeployments response.K8sConfigMap, err error)
- func (GvaK8sDeploymentService *GvaK8sDeploymentService) Get(k8sConf string, k8sDeployment response.DeploymentSpec) (k8sDeployments response.DeploymentSpec, err error)
- func (GvaK8sDeploymentService *GvaK8sDeploymentService) GetConfigMap(k8sConf, namespace string) (list []*response.K8sConfigMap, total int64, err error)
- func (GvaK8sDeploymentService *GvaK8sDeploymentService) GetList(k8sConf, namespace string) (list []*response.K8sDeployment, total int64, err error)
- func (GvaK8sDeploymentService *GvaK8sDeploymentService) Update(k8sConf string, k8sDeployments response.DeploymentSpec) (err error)
- type GvaK8sNamespaceService
- type GvaK8sNodeService
- type GvaK8sPodService
- type ServiceGroup
Constants ¶
This section is empty.
Variables ¶
View Source
var GvaK8sutils = utils.GroupApp.GvaK8sutils
View Source
var ServiceGroupApp = new(ServiceGroup)
Functions ¶
This section is empty.
Types ¶
type GvaK8sClusterService ¶
type GvaK8sClusterService struct { }
func (*GvaK8sClusterService) BoolK8sCluster ¶
func (GvaK8sClusterService *GvaK8sClusterService) BoolK8sCluster() (K8sCluster k8sResponse.K8sCluster, err error)
func (*GvaK8sClusterService) ClusterID ¶
func (GvaK8sClusterService *GvaK8sClusterService) ClusterID(c *gin.Context) string
func (*GvaK8sClusterService) Create ¶
func (GvaK8sClusterService *GvaK8sClusterService) Create(K8sCluster k8sResponse.K8sCluster) (err error)
func (*GvaK8sClusterService) Delete ¶
func (GvaK8sClusterService *GvaK8sClusterService) Delete(K8sCluster *k8sResponse.K8sCluster) (err error)
func (*GvaK8sClusterService) DeleteId ¶
func (GvaK8sClusterService *GvaK8sClusterService) DeleteId(ids request.IdsReq) (err error)
func (*GvaK8sClusterService) Get ¶
func (GvaK8sClusterService *GvaK8sClusterService) Get(id uint) (K8sCluster k8sResponse.K8sCluster, err error)
func (*GvaK8sClusterService) GetList ¶
func (GvaK8sClusterService *GvaK8sClusterService) GetList(info k8sRequest.K8sClusterSearch) (list interface{}, total int64, err error)
func (*GvaK8sClusterService) Update ¶
func (GvaK8sClusterService *GvaK8sClusterService) Update(K8sCluster *k8sResponse.K8sCluster) (err error)
type GvaK8sDeploymentService ¶
type GvaK8sDeploymentService struct { }
func (*GvaK8sDeploymentService) Create ¶
func (GvaK8sDeploymentService *GvaK8sDeploymentService) Create(k8sConf string, k8sDeployments response.DeploymentSpec) (err error)
func (*GvaK8sDeploymentService) Delete ¶
func (GvaK8sDeploymentService *GvaK8sDeploymentService) Delete(k8sConf string, k8sDeployments response.DeploymentSpec) (err error)
func (*GvaK8sDeploymentService) DeleteId ¶
func (GvaK8sDeploymentService *GvaK8sDeploymentService) DeleteId(ids request.IdsReq) (err error)
func (*GvaK8sDeploymentService) FindGetConfigMap ¶
func (GvaK8sDeploymentService *GvaK8sDeploymentService) FindGetConfigMap(k8sConf string, k8sDeployment response.K8sConfigMap) (k8sDeployments response.K8sConfigMap, err error)
func (*GvaK8sDeploymentService) Get ¶
func (GvaK8sDeploymentService *GvaK8sDeploymentService) Get(k8sConf string, k8sDeployment response.DeploymentSpec) (k8sDeployments response.DeploymentSpec, err error)
func (*GvaK8sDeploymentService) GetConfigMap ¶
func (GvaK8sDeploymentService *GvaK8sDeploymentService) GetConfigMap(k8sConf, namespace string) (list []*response.K8sConfigMap, total int64, err error)
func (*GvaK8sDeploymentService) GetList ¶
func (GvaK8sDeploymentService *GvaK8sDeploymentService) GetList(k8sConf, namespace string) (list []*response.K8sDeployment, total int64, err error)
func (*GvaK8sDeploymentService) Update ¶
func (GvaK8sDeploymentService *GvaK8sDeploymentService) Update(k8sConf string, k8sDeployments response.DeploymentSpec) (err error)
type GvaK8sNamespaceService ¶
type GvaK8sNamespaceService struct { }
func (*GvaK8sNamespaceService) Create ¶
func (GvaK8sNamespaceService *GvaK8sNamespaceService) Create(k8sNamespaces response.K8sNamespaces) (err error)
func (*GvaK8sNamespaceService) GetList ¶
func (GvaK8sNamespaceService *GvaK8sNamespaceService) GetList(k8sConf string) (list []*response.K8sNamespaces, total int64, err error)
type GvaK8sNodeService ¶
type GvaK8sNodeService struct { }
type GvaK8sPodService ¶
type GvaK8sPodService struct { }
func (*GvaK8sPodService) GetList ¶
func (GvaK8sPodService *GvaK8sPodService) GetList(k8sConfig, namespace string) (list []*kubernetesresponse.K8sPods, total int64, err error)
func (*GvaK8sPodService) GetPodLog ¶
func (GvaK8sPodService *GvaK8sPodService) GetPodLog(k8sConfig string, k8sPods kubernetesresponse.K8sPods) (log string, err error)
type ServiceGroup ¶
type ServiceGroup struct { GvaK8sClusterService GvaK8sNamespaceService GvaK8sDeploymentService GvaK8sNodeService GvaK8sPodService }
Click to show internal directories.
Click to hide internal directories.