Documentation ¶
Index ¶
- Variables
- func NewPods(c *kubernetes.Clientset, cloud string, factory dao.ShareDaoFactory) *pods
- type ConfigmapNp
- type ConfigmapResp
- type DaemonSetNp
- type DaemonSetResp
- type DataCell
- type DataSelectQuery
- type DeployNp
- type DeploymentResp
- type FilterQuery
- type NameSpaceResp
- type NodeResp
- type PaginateQuery
- type PersistentVolumeClaimNp
- type PersistentVolumeClaimResp
- type PersistentVolumeResp
- type PodInterface
- type PodsGetter
- type PodsNp
- type PodsResp
- type SecretNp
- type SecretResp
- type StatefulSetNp
Constants ¶
This section is empty.
Variables ¶
View Source
var Configmap configmap
View Source
var DaemonSet daemonSet
View Source
var Deployment deployment
View Source
var Ingress ingress
View Source
var K8s k8s
View Source
var NameSpace namespace
View Source
var Node node
View Source
var PersistentVolume persistentVolume
View Source
var PersistentVolumeClaim persistentVolumeClaim
View Source
var Pod pod
View Source
var Secret secret
View Source
var Service service
View Source
var StatefulSet statefulSet
Functions ¶
func NewPods ¶
func NewPods(c *kubernetes.Clientset, cloud string, factory dao.ShareDaoFactory) *pods
Types ¶
type ConfigmapNp ¶
type ConfigmapResp ¶
type DaemonSetNp ¶
type DaemonSetResp ¶
type DataSelectQuery ¶
type DataSelectQuery struct { Filter *FilterQuery Paginatite *PaginateQuery }
DataSelectQuery 定义过滤和分页的结构体
type DeploymentResp ¶
type DeploymentResp struct { Total int `json:"total"` Items []appsV1.Deployment `json:"items"` }
type FilterQuery ¶
type FilterQuery struct {
Name string
}
type NameSpaceResp ¶
type PaginateQuery ¶
type PersistentVolumeClaimNp ¶
type PersistentVolumeClaimResp ¶
type PersistentVolumeClaimResp struct { Total int `json:"total"` Items []coreV1.PersistentVolumeClaim `json:"items"` }
type PersistentVolumeResp ¶
type PersistentVolumeResp struct { Total int `json:"total"` Items []coreV1.PersistentVolume `json:"items"` }
type PodInterface ¶
type PodInterface interface {
WebShellHandler(webShellOptions *kubeDto.WebShellOptions, w http.ResponseWriter, r *http.Request) error
}
type PodsGetter ¶
type PodsGetter interface {
Pods(cloud string) PodInterface
}
type SecretResp ¶
type StatefulSetNp ¶
Click to show internal directories.
Click to hide internal directories.