service

package
v0.2.0-alpha.13 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2025 License: MIT Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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