service

package
v0.2.0-alpha.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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is service providers.

Functions

This section is empty.

Types

type GatewayService

type GatewayService struct {
	v1.UnimplementedGatewayServer
	// contains filtered or unexported fields
}

func NewGatewayService

func NewGatewayService(biz biz.IBiz, idt *idempotent.Idempotent) *GatewayService

func NewGatewayService(biz biz.IBiz, lister appsv1beta1.Interface, client clientset.Interface) *GatewayService {.

func (*GatewayService) CreateMiner

func (s *GatewayService) CreateMiner(ctx context.Context, m *v1beta1.Miner) (*emptypb.Empty, error)

func (*GatewayService) CreateMinerSet

func (s *GatewayService) CreateMinerSet(ctx context.Context, ms *v1beta1.MinerSet) (*emptypb.Empty, error)

func (*GatewayService) DeleteMiner

func (s *GatewayService) DeleteMiner(ctx context.Context, rq *v1.DeleteMinerRequest) (*emptypb.Empty, error)

func (*GatewayService) DeleteMinerSet

func (s *GatewayService) DeleteMinerSet(ctx context.Context, rq *v1.DeleteMinerSetRequest) (*emptypb.Empty, error)

func (*GatewayService) GetIdempotentToken

func (s *GatewayService) GetIdempotentToken(ctx context.Context, rq *emptypb.Empty) (*v1.IdempotentResponse, error)

func (*GatewayService) GetMiner

func (s *GatewayService) GetMiner(ctx context.Context, rq *v1.GetMinerRequest) (*v1beta1.Miner, error)

func (*GatewayService) GetMinerSet

func (*GatewayService) GetVersion

func (s *GatewayService) GetVersion(ctx context.Context, rq *emptypb.Empty) (*v1.GetVersionResponse, error)

func (*GatewayService) ListMiner

func (*GatewayService) ListMinerSet

func (*GatewayService) ScaleMinerSet

func (s *GatewayService) ScaleMinerSet(ctx context.Context, rq *v1.ScaleMinerSetRequest) (*emptypb.Empty, error)

func (*GatewayService) UpdateMiner

func (s *GatewayService) UpdateMiner(ctx context.Context, m *v1beta1.Miner) (*emptypb.Empty, error)

func (*GatewayService) UpdateMinerSet

func (s *GatewayService) UpdateMinerSet(ctx context.Context, ms *v1beta1.MinerSet) (*emptypb.Empty, error)

Jump to

Keyboard shortcuts

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