Documentation ¶
Index ¶
- func Install(parent iris.Party)
- type Cluster
- type ExtraClusterInfo
- type Handler
- func (h *Handler) CreateCluster() iris.Handler
- func (h *Handler) CreateClusterMember() iris.Handler
- func (h *Handler) CreateClusterRole() iris.Handler
- func (h *Handler) DeleteCluster() iris.Handler
- func (h *Handler) DeleteClusterMember() iris.Handler
- func (h *Handler) DeleteClusterRole() iris.Handler
- func (h *Handler) GetCluster() iris.Handler
- func (h *Handler) GetClusterMember() iris.Handler
- func (h *Handler) ListApiGroupResources() iris.Handler
- func (h *Handler) ListApiGroups() iris.Handler
- func (h *Handler) ListClusterMembers() iris.Handler
- func (h *Handler) ListClusterRoles() iris.Handler
- func (h *Handler) ListClusters() iris.Handler
- func (h *Handler) ListNamespace() iris.Handler
- func (h *Handler) LoggingHandler() iris.Handler
- func (h *Handler) SearchClusters() iris.Handler
- func (h *Handler) TerminalSessionHandler() iris.Handler
- func (h *Handler) UpdateClusterMember() iris.Handler
- func (h *Handler) UpdateClusterRole() iris.Handler
- type Member
- type NamespaceRoles
- type Privilege
- type TerminalResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cluster ¶
type Cluster struct { v1Cluster.Cluster KeyDataStr string `json:"keyDataStr"` CertDataStr string `json:"certDataStr"` CaDataStr string `json:"caDataStr"` ConfigFileContentStr string `json:"configContentStr"` Accessable bool `json:"accessable"` MemberCount int `json:"memberCount"` ExtraClusterInfo ExtraClusterInfo `json:"extraClusterInfo"` }
type ExtraClusterInfo ¶
type ExtraClusterInfo struct { TotalNodeNum int `json:"totalNodeNum"` ReadyNodeNum int `json:"readyNodeNum"` CPUAllocatable float64 `json:"cpuAllocatable"` CPURequested float64 `json:"cpuRequested"` MemoryAllocatable float64 `json:"memoryAllocatable"` MemoryRequested float64 `json:"memoryRequested"` Health bool `json:"health"` }
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler() *Handler
func (*Handler) CreateCluster ¶
func (h *Handler) CreateCluster() iris.Handler
func (*Handler) CreateClusterMember ¶
func (h *Handler) CreateClusterMember() iris.Handler
func (*Handler) CreateClusterRole ¶
func (h *Handler) CreateClusterRole() iris.Handler
func (*Handler) DeleteCluster ¶
func (h *Handler) DeleteCluster() iris.Handler
func (*Handler) DeleteClusterMember ¶
func (h *Handler) DeleteClusterMember() iris.Handler
func (*Handler) DeleteClusterRole ¶
func (h *Handler) DeleteClusterRole() iris.Handler
func (*Handler) GetCluster ¶
func (h *Handler) GetCluster() iris.Handler
func (*Handler) GetClusterMember ¶
func (h *Handler) GetClusterMember() iris.Handler
func (*Handler) ListApiGroupResources ¶
func (h *Handler) ListApiGroupResources() iris.Handler
func (*Handler) ListApiGroups ¶
func (h *Handler) ListApiGroups() iris.Handler
func (*Handler) ListClusterMembers ¶
func (h *Handler) ListClusterMembers() iris.Handler
func (*Handler) ListClusterRoles ¶
func (h *Handler) ListClusterRoles() iris.Handler
func (*Handler) ListClusters ¶
func (h *Handler) ListClusters() iris.Handler
func (*Handler) ListNamespace ¶
func (h *Handler) ListNamespace() iris.Handler
func (*Handler) LoggingHandler ¶
func (h *Handler) LoggingHandler() iris.Handler
func (*Handler) SearchClusters ¶
func (h *Handler) SearchClusters() iris.Handler
func (*Handler) TerminalSessionHandler ¶
func (h *Handler) TerminalSessionHandler() iris.Handler
func (*Handler) UpdateClusterMember ¶
func (h *Handler) UpdateClusterMember() iris.Handler
func (*Handler) UpdateClusterRole ¶
func (h *Handler) UpdateClusterRole() iris.Handler
type NamespaceRoles ¶
type TerminalResponse ¶
type TerminalResponse struct {
ID string `json:"id"`
}
Click to show internal directories.
Click to hide internal directories.