service

package
v0.0.0-...-dc06bc9 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: MIT Imports: 7 Imported by: 0

README

Service

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(
	NewAgentService,
)

ProviderSet is service providers.

Functions

This section is empty.

Types

type AgentService

type AgentService struct {
	pb.UnimplementedAgentServer
	// contains filtered or unexported fields
}

func NewAgentService

func NewAgentService(logger log.Logger, cri *biz.CRIUsecase, clusters *biz.ClusterUsecase) *AgentService

func (*AgentService) Check

func (s *AgentService) Check(ctx context.Context) error

func (*AgentService) GetKey

func (s *AgentService) GetKey(ctx context.Context, req *pb.GetKeyRequest) (*pb.GetKeyReply, error)

func (*AgentService) ListCluster

func (s *AgentService) ListCluster(ctx context.Context, req *pb.ListClusterRequest) (*pb.ListClusterReply, error)

func (*AgentService) ListKey

func (s *AgentService) ListKey(ctx context.Context, req *pb.ListKeyRequest) (*pb.ListKeyReply, error)

func (*AgentService) ListService

func (s *AgentService) ListService(ctx context.Context, req *pb.ListServiceRequest) (*pb.ListServiceReply, error)

func (*AgentService) ListServiceGroup

Jump to

Keyboard shortcuts

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