Documentation
¶
Overview ¶
Package k8s 实现 k8s binder:集群/命名空间资源、Pod 详情与日志流。
Index ¶
- type K8s
- func (k *K8s) Cleanup()
- func (k *K8s) GetK8sClusterInfo(assetID int64) (string, error)
- func (k *K8s) GetK8sNamespaceConfigMaps(assetID int64, namespace string) (string, error)
- func (k *K8s) GetK8sNamespaceDeployments(assetID int64, namespace string) (string, error)
- func (k *K8s) GetK8sNamespacePods(assetID int64, namespace string) (string, error)
- func (k *K8s) GetK8sNamespaceResources(assetID int64, namespace string) (string, error)
- func (k *K8s) GetK8sNamespaceSecrets(assetID int64, namespace string) (string, error)
- func (k *K8s) GetK8sNamespaceServices(assetID int64, namespace string) (string, error)
- func (k *K8s) GetK8sPodDetail(assetID int64, namespace, podName string) (string, error)
- func (k *K8s) StartK8sPodLogs(assetID int64, namespace, podName, container string, tailLines int64) (string, error)
- func (k *K8s) Startup(ctx context.Context)
- func (k *K8s) StopK8sPodLogs(streamID string)
- type LangProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8s ¶
type K8s struct {
// contains filtered or unexported fields
}
K8s binder。
func (*K8s) GetK8sNamespaceConfigMaps ¶
func (*K8s) GetK8sNamespaceDeployments ¶
func (*K8s) GetK8sNamespacePods ¶
func (*K8s) GetK8sNamespaceResources ¶
func (*K8s) GetK8sNamespaceSecrets ¶
func (*K8s) GetK8sNamespaceServices ¶
func (*K8s) GetK8sPodDetail ¶
func (*K8s) StartK8sPodLogs ¶
func (*K8s) StopK8sPodLogs ¶
Click to show internal directories.
Click to hide internal directories.