Documentation ¶
Index ¶
- Variables
- func Action(cmd *cobra.Command, args []string) error
- func RegistryGpmAPIServer(svc vine.Service) (http.Handler, error)
- func RegistryGpmRpcServer(ctx context.Context, s vserver.Server, manager service.GenerateManager, ...) error
- type GpmApp
- type GpmHttpServer
- type GpmServer
- func (s *GpmServer) CreateService(ctx context.Context, req *pb.CreateServiceReq, rsp *pb.CreateServiceRsp) (err error)
- func (s *GpmServer) DeleteService(ctx context.Context, req *pb.DeleteServiceReq, rsp *pb.DeleteServiceRsp) (err error)
- func (s *GpmServer) EditService(ctx context.Context, req *pb.EditServiceReq, rsp *pb.EditServiceRsp) (err error)
- func (s *GpmServer) Exec(ctx context.Context, req *pb.ExecReq, rsp *pb.ExecRsp) (err error)
- func (s *GpmServer) ForgetService(ctx context.Context, req *pb.ForgetServiceReq, rsp *pb.ForgetServiceRsp) (err error)
- func (s *GpmServer) GetService(ctx context.Context, req *pb.GetServiceReq, rsp *pb.GetServiceRsp) (err error)
- func (s *GpmServer) Healthz(ctx context.Context, _ *pb.Empty, rsp *pb.Empty) error
- func (s *GpmServer) Info(ctx context.Context, _ *pb.InfoReq, rsp *pb.InfoRsp) (err error)
- func (s *GpmServer) InstallService(ctx context.Context, stream pb.GpmService_InstallServiceStream) error
- func (s *GpmServer) ListService(ctx context.Context, req *pb.ListServiceReq, rsp *pb.ListServiceRsp) (err error)
- func (s *GpmServer) ListServiceVersions(ctx context.Context, req *pb.ListServiceVersionsReq, ...) (err error)
- func (s *GpmServer) Ls(ctx context.Context, req *pb.LsReq, rsp *pb.LsRsp) (err error)
- func (s *GpmServer) Name() string
- func (s *GpmServer) Pull(ctx context.Context, req *pb.PullReq, stream pb.GpmService_PullStream) (err error)
- func (s *GpmServer) Push(ctx context.Context, stream pb.GpmService_PushStream) (err error)
- func (s *GpmServer) RestartService(ctx context.Context, req *pb.RestartServiceReq, rsp *pb.RestartServiceRsp) (err error)
- func (s *GpmServer) RollBackService(ctx context.Context, req *pb.RollbackServiceReq, rsp *pb.RollbackServiceRsp) (err error)
- func (s *GpmServer) StartService(ctx context.Context, req *pb.StartServiceReq, rsp *pb.StartServiceRsp) (err error)
- func (s *GpmServer) StopService(ctx context.Context, req *pb.StopServiceReq, rsp *pb.StopServiceRsp) (err error)
- func (s *GpmServer) Terminal(ctx context.Context, stream pb.GpmService_TerminalStream) error
- func (s *GpmServer) UpdateSelf(ctx context.Context, stream pb.GpmService_UpdateSelfStream) error
- func (s *GpmServer) UpgradeService(ctx context.Context, stream pb.GpmService_UpgradeServiceStream) error
- func (s *GpmServer) WatchServiceLog(ctx context.Context, req *pb.WatchServiceLogReq, ...) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Flag = pflag.NewFlagSet("gpm", pflag.ContinueOnError)
Functions ¶
func RegistryGpmAPIServer ¶ added in v1.10.2
func RegistryGpmRpcServer ¶ added in v1.10.2
func RegistryGpmRpcServer(ctx context.Context, s vserver.Server, manager service.GenerateManager, ftp service.GenerateFTP) error
Types ¶
type GpmHttpServer ¶ added in v1.10.2
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) 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) InstallService ¶ added in v1.10.2
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) 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) UpdateSelf ¶ added in v1.10.2
func (*GpmServer) UpgradeService ¶ added in v1.10.2
func (*GpmServer) WatchServiceLog ¶ added in v1.10.2
func (s *GpmServer) WatchServiceLog(ctx context.Context, req *pb.WatchServiceLogReq, stream pb.GpmService_WatchServiceLogStream) (err error)
Click to show internal directories.
Click to hide internal directories.