server

package
v1.12.4 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: MIT Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Action added in v1.11.0

func Action(cmd *cobra.Command, args []string) error

func RegistryGpmAPIServer added in v1.10.2

func RegistryGpmAPIServer(svc vine.Service) (http.Handler, error)

func RegistryGpmRpcServer added in v1.10.2

func RegistryGpmRpcServer(ctx context.Context, s vserver.Server, manager service.GenerateManager, ftp service.GenerateFTP) error

Types

type GpmApp added in v1.10.2

type GpmApp struct {
	// contains filtered or unexported fields
}

func New

func New(s vine.Service) (*GpmApp, error)

func (*GpmApp) Init added in v1.11.0

func (app *GpmApp) Init(opts ...vine.Option) error

func (*GpmApp) Run added in v1.10.2

func (app *GpmApp) Run() error

type GpmHttpServer added in v1.10.2

type GpmHttpServer struct {
	*gin.Engine
	// contains filtered or unexported fields
}

type GpmServer added in v1.10.2

type GpmServer struct {
	// contains filtered or unexported fields
}

func (*GpmServer) CreateService added in v1.10.2

func (s *GpmServer) CreateService(ctx context.Context, req *pb.CreateServiceReq, rsp *pb.CreateServiceRsp) (err error)

func (*GpmServer) DeleteService added in v1.10.2

func (s *GpmServer) DeleteService(ctx context.Context, req *pb.DeleteServiceReq, rsp *pb.DeleteServiceRsp) (err error)

func (*GpmServer) EditService added in v1.10.2

func (s *GpmServer) EditService(ctx context.Context, req *pb.EditServiceReq, rsp *pb.EditServiceRsp) (err error)

func (*GpmServer) Exec added in v1.10.2

func (s *GpmServer) Exec(ctx context.Context, req *pb.ExecReq, rsp *pb.ExecRsp) (err error)

func (*GpmServer) ForgetService added in v1.10.2

func (s *GpmServer) ForgetService(ctx context.Context, req *pb.ForgetServiceReq, rsp *pb.ForgetServiceRsp) (err error)

func (*GpmServer) GetService added in v1.10.2

func (s *GpmServer) GetService(ctx context.Context, req *pb.GetServiceReq, rsp *pb.GetServiceRsp) (err error)

func (*GpmServer) Healthz added in v1.10.2

func (s *GpmServer) Healthz(ctx context.Context, _ *pb.Empty, rsp *pb.Empty) error

func (*GpmServer) Info added in v1.10.2

func (s *GpmServer) Info(ctx context.Context, _ *pb.InfoReq, rsp *pb.InfoRsp) (err error)

func (*GpmServer) InstallService added in v1.10.2

func (s *GpmServer) InstallService(ctx context.Context, stream pb.GpmService_InstallServiceStream) error

func (*GpmServer) ListService added in v1.10.2

func (s *GpmServer) ListService(ctx context.Context, req *pb.ListServiceReq, rsp *pb.ListServiceRsp) (err error)

func (*GpmServer) ListServiceVersions added in v1.10.2

func (s *GpmServer) ListServiceVersions(ctx context.Context, req *pb.ListServiceVersionsReq, rsp *pb.ListServiceVersionsRsp) (err error)

func (*GpmServer) Ls added in v1.10.2

func (s *GpmServer) Ls(ctx context.Context, req *pb.LsReq, rsp *pb.LsRsp) (err error)

func (*GpmServer) Name added in v1.10.2

func (s *GpmServer) Name() string

func (*GpmServer) Pull added in v1.10.2

func (s *GpmServer) Pull(ctx context.Context, req *pb.PullReq, stream pb.GpmService_PullStream) (err error)

func (*GpmServer) Push added in v1.10.2

func (s *GpmServer) Push(ctx context.Context, stream pb.GpmService_PushStream) (err error)

func (*GpmServer) RestartService added in v1.10.2

func (s *GpmServer) RestartService(ctx context.Context, req *pb.RestartServiceReq, rsp *pb.RestartServiceRsp) (err error)

func (*GpmServer) RollBackService added in v1.10.2

func (s *GpmServer) RollBackService(ctx context.Context, req *pb.RollbackServiceReq, rsp *pb.RollbackServiceRsp) (err error)

func (*GpmServer) StartService added in v1.10.2

func (s *GpmServer) StartService(ctx context.Context, req *pb.StartServiceReq, rsp *pb.StartServiceRsp) (err error)

func (*GpmServer) StopService added in v1.10.2

func (s *GpmServer) StopService(ctx context.Context, req *pb.StopServiceReq, rsp *pb.StopServiceRsp) (err error)

func (*GpmServer) Terminal added in v1.10.2

func (s *GpmServer) Terminal(ctx context.Context, stream pb.GpmService_TerminalStream) error

func (*GpmServer) UpdateSelf added in v1.10.2

func (s *GpmServer) UpdateSelf(ctx context.Context, stream pb.GpmService_UpdateSelfStream) error

func (*GpmServer) UpgradeService added in v1.10.2

func (s *GpmServer) UpgradeService(ctx context.Context, stream pb.GpmService_UpgradeServiceStream) error

func (*GpmServer) WatchServiceLog added in v1.10.2

func (s *GpmServer) WatchServiceLog(ctx context.Context, req *pb.WatchServiceLogReq, stream pb.GpmService_WatchServiceLogStream) (err error)

Jump to

Keyboard shortcuts

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