service

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func NewManager

func NewManager(handler cx.Handler) *Manager

func (*Manager) Deploy

func (m *Manager) Deploy(ctx context.Context, in *pb.DeployRequest) (*pb.Response, error)

func (*Manager) Install

func (m *Manager) Install(ctx context.Context, in *pb.Empty) (*pb.Response, error)

func (*Manager) Monitor

func (m *Manager) Monitor(in *pb.Empty, stream pb.Manager_MonitorServer) error

func (*Manager) Patch

func (m *Manager) Patch(ctx context.Context, in *pb.PatchRequest) (*pb.Response, error)

func (*Manager) Ping

func (m *Manager) Ping(ctx context.Context, in *pb.Empty) (*pb.Response, error)

func (*Manager) Restart

func (m *Manager) Restart(ctx context.Context, in *pb.Empty) (*pb.Response, error)

func (*Manager) Start

func (m *Manager) Start(ctx context.Context, in *pb.Empty) (*pb.Response, error)

func (*Manager) Status

func (m *Manager) Status(ctx context.Context, in *pb.Empty) (*pb.ServiceResponse, error)

func (*Manager) Stop

func (m *Manager) Stop(ctx context.Context, in *pb.Empty) (*pb.Response, error)

func (*Manager) Uninstall

func (m *Manager) Uninstall(ctx context.Context, in *pb.Empty) (*pb.Response, error)

func (*Manager) Upgrade

func (m *Manager) Upgrade(ctx context.Context, in *pb.Empty) (*pb.Response, error)

func (*Manager) Watch

func (m *Manager) Watch(in *pb.Empty, stream pb.Manager_WatchServer) error

Jump to

Keyboard shortcuts

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