service

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2025 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChatService

func ChatService() *chatService

func ClusterService added in v0.0.19

func ClusterService() *clusterService

func DeploymentService added in v0.0.9

func DeploymentService() *deployService

func NodeService added in v0.0.9

func NodeService() *nodeService

func PodService added in v0.0.2

func PodService() *podService

Types

type ClusterConfig added in v0.0.19

type ClusterConfig struct {
	FileName             string `json:"fileName,omitempty"`             // kubeconfig 文件名称
	ContextName          string `json:"contextName,omitempty"`          // context名称
	ClusterName          string `json:"clusterName,omitempty"`          // 集群名称
	Server               string `json:"server,omitempty"`               // 集群地址
	ServerVersion        string `json:"serverVersion,omitempty"`        // 通过这个值来判断集群是否可用
	UserName             string `json:"userName,omitempty"`             // 用户名
	Namespace            string `json:"namespace,omitempty"`            // kubeconfig 限制Namespace
	Err                  string `json:"err,omitempty"`                  // 连接错误信息
	NodeStatusAggregated bool   `json:"nodeStatusAggregated,omitempty"` // 是否已聚合节点状态
	PodStatusAggregated  bool   `json:"podStatusAggregated,omitempty"`  // 是否已聚合容器组状态
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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