interfaces

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is service providers.

Functions

This section is empty.

Types

type CloudInterface

type CloudInterface struct {
	v1alpha1.UnimplementedCloudInterfaceServer
	// contains filtered or unexported fields
}

func NewCloudInterface

func NewCloudInterface(uc *biz.CloudUsecase, logger log.Logger) *CloudInterface

func (*CloudInterface) InstallKubeadmKubeletCriO

func (c *CloudInterface) InstallKubeadmKubeletCriO(ctx context.Context, req *v1alpha1.Cloud) (*common.Msg, error)

InstallKubeadmKubeletCriO

func (*CloudInterface) KubeadmInit

func (c *CloudInterface) KubeadmInit(ctx context.Context, req *v1alpha1.Cloud) (*common.Msg, error)

KubeadmInit

func (*CloudInterface) KubeadmJoin

func (c *CloudInterface) KubeadmJoin(ctx context.Context, req *v1alpha1.Cloud) (*common.Msg, error)

KubeadmJoin

func (*CloudInterface) KubeadmReset

func (c *CloudInterface) KubeadmReset(ctx context.Context, req *v1alpha1.Cloud) (*common.Msg, error)

KubeadmReset

func (*CloudInterface) KubeadmUpgrade

func (c *CloudInterface) KubeadmUpgrade(ctx context.Context, req *v1alpha1.Cloud) (*common.Msg, error)

KubeadmUpgrade

func (*CloudInterface) NodeInit

func (c *CloudInterface) NodeInit(ctx context.Context, req *v1alpha1.Cloud) (*common.Msg, error)

node init

func (*CloudInterface) Ping

func (c *CloudInterface) Ping(ctx context.Context, _ *emptypb.Empty) (*common.Msg, error)

type SystemInterface

type SystemInterface struct {
	v1alpha1.UnimplementedSystemInterfaceServer
	// contains filtered or unexported fields
}

func NewSystemInterface

func NewSystemInterface(systemUc *biz.SystemUsecase, logger log.Logger, c *conf.Server) *SystemInterface

func (*SystemInterface) GetLogs

func (*SystemInterface) GetSystem

func (c *SystemInterface) GetSystem(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.System, error)

func (*SystemInterface) Ping

func (c *SystemInterface) Ping(ctx context.Context, _ *emptypb.Empty) (*common.Msg, error)

Jump to

Keyboard shortcuts

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