server

package
v0.0.0-...-0c209f4 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubernetesServer

type KubernetesServer struct {
	kubernetes.UnimplementedKubernetesServer
	// contains filtered or unexported fields
}

func NewKubernetesServer

func NewKubernetesServer(svcCtx *svc.ServiceContext) *KubernetesServer

func (*KubernetesServer) ApplyYaml

func (*KubernetesServer) DelApp

删除App (sealos)

func (*KubernetesServer) DeleteDeployment

删除deployment

func (*KubernetesServer) DeleteYaml

func (*KubernetesServer) DeploymentDetail

func (*KubernetesServer) Get

func (*KubernetesServer) GetAppByAppName

获取应用

func (*KubernetesServer) GetAppDetail

查询app详情

func (*KubernetesServer) GetAppPodsByAppName

获取应用的Pod

func (*KubernetesServer) JobDetail

func (*KubernetesServer) List

func (*KubernetesServer) ListDeployment

列表deployment

func (*KubernetesServer) ListNamespace

查询所有namespace输出转换为tenant (sealos)

func (*KubernetesServer) PauseDeployment

暂停POD

func (*KubernetesServer) PodList

func (*KubernetesServer) RestartDeployment

重启deployment

func (*KubernetesServer) RestartStatefulSet

func (s *KubernetesServer) RestartStatefulSet(ctx context.Context, in *kubernetes.DeploymentDetailReq) (*kubernetes.Resp, error)

重启sts

func (*KubernetesServer) StartDeployment

启动deployment

func (*KubernetesServer) UpdateDeploymentReplica

更新应用实例数

Jump to

Keyboard shortcuts

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