Documentation ¶
Index ¶
- Variables
- type GatewayService
- func (s *GatewayService) CreateMiner(ctx context.Context, m *v1beta1.Miner) (*emptypb.Empty, error)
- func (s *GatewayService) CreateMinerSet(ctx context.Context, ms *v1beta1.MinerSet) (*emptypb.Empty, error)
- func (s *GatewayService) DeleteMiner(ctx context.Context, rq *v1.DeleteMinerRequest) (*emptypb.Empty, error)
- func (s *GatewayService) DeleteMinerSet(ctx context.Context, rq *v1.DeleteMinerSetRequest) (*emptypb.Empty, error)
- func (s *GatewayService) GetIdempotentToken(ctx context.Context, rq *emptypb.Empty) (*v1.IdempotentResponse, error)
- func (s *GatewayService) GetMiner(ctx context.Context, rq *v1.GetMinerRequest) (*v1beta1.Miner, error)
- func (s *GatewayService) GetMinerSet(ctx context.Context, rq *v1.GetMinerSetRequest) (*v1beta1.MinerSet, error)
- func (s *GatewayService) GetVersion(ctx context.Context, rq *emptypb.Empty) (*v1.GetVersionResponse, error)
- func (s *GatewayService) ListMiner(ctx context.Context, rq *v1.ListMinerRequest) (*v1.ListMinerResponse, error)
- func (s *GatewayService) ListMinerSet(ctx context.Context, rq *v1.ListMinerSetRequest) (*v1.ListMinerSetResponse, error)
- func (s *GatewayService) ScaleMinerSet(ctx context.Context, rq *v1.ScaleMinerSetRequest) (*emptypb.Empty, error)
- func (s *GatewayService) UpdateMiner(ctx context.Context, m *v1beta1.Miner) (*emptypb.Empty, error)
- func (s *GatewayService) UpdateMinerSet(ctx context.Context, ms *v1beta1.MinerSet) (*emptypb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewGatewayService)
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 (*GatewayService) CreateMinerSet ¶
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 (s *GatewayService) GetMinerSet(ctx context.Context, rq *v1.GetMinerSetRequest) (*v1beta1.MinerSet, error)
func (*GatewayService) GetVersion ¶
func (s *GatewayService) GetVersion(ctx context.Context, rq *emptypb.Empty) (*v1.GetVersionResponse, error)
func (*GatewayService) ListMiner ¶
func (s *GatewayService) ListMiner(ctx context.Context, rq *v1.ListMinerRequest) (*v1.ListMinerResponse, error)
func (*GatewayService) ListMinerSet ¶
func (s *GatewayService) ListMinerSet(ctx context.Context, rq *v1.ListMinerSetRequest) (*v1.ListMinerSetResponse, error)
func (*GatewayService) ScaleMinerSet ¶
func (s *GatewayService) ScaleMinerSet(ctx context.Context, rq *v1.ScaleMinerSetRequest) (*emptypb.Empty, error)
func (*GatewayService) UpdateMiner ¶
func (*GatewayService) UpdateMinerSet ¶
Click to show internal directories.
Click to hide internal directories.