Documentation
¶
Index ¶
- Variables
- type CloudInterface
- func (c *CloudInterface) InstallKubeadmKubeletCriO(ctx context.Context, req *v1alpha1.Cloud) (*common.Msg, error)
- func (c *CloudInterface) KubeadmInit(ctx context.Context, req *v1alpha1.Cloud) (*common.Msg, error)
- func (c *CloudInterface) KubeadmJoin(ctx context.Context, req *v1alpha1.Cloud) (*common.Msg, error)
- func (c *CloudInterface) KubeadmReset(ctx context.Context, req *v1alpha1.Cloud) (*common.Msg, error)
- func (c *CloudInterface) KubeadmUpgrade(ctx context.Context, req *v1alpha1.Cloud) (*common.Msg, error)
- func (c *CloudInterface) NodeInit(ctx context.Context, req *v1alpha1.Cloud) (*common.Msg, error)
- func (c *CloudInterface) Ping(ctx context.Context, _ *emptypb.Empty) (*common.Msg, error)
- type SystemInterface
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewSystemInterface, NewCloudInterface)
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 ¶
KubeadmInit
func (*CloudInterface) KubeadmJoin ¶
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
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 (c *SystemInterface) GetLogs(stream v1alpha1.SystemInterface_GetLogsServer) error
Click to show internal directories.
Click to hide internal directories.