Documentation
¶
Index ¶
- Variables
- type SSHShellService
- func (ss *SSHShellService) CreateShellInExistingContainer(ctx context.Context, in *pb.CreateShellInExistingContainerRequest) (*pb.CreateShellInExistingContainerResponse, error)
- func (ss *SSHShellService) CreateStandaloneShell(ctx context.Context, in *pb.CreateStandaloneShellRequest) (*pb.CreateStandaloneShellResponse, error)
- type ShellService
- type ShellServiceOpts
Constants ¶
This section is empty.
Variables ¶
View Source
var Keys = &keys{}
Functions ¶
This section is empty.
Types ¶
type SSHShellService ¶
type SSHShellService struct {
pb.UnimplementedShellServiceServer
// contains filtered or unexported fields
}
func (*SSHShellService) CreateShellInExistingContainer ¶
func (ss *SSHShellService) CreateShellInExistingContainer(ctx context.Context, in *pb.CreateShellInExistingContainerRequest) (*pb.CreateShellInExistingContainerResponse, error)
func (*SSHShellService) CreateStandaloneShell ¶
func (ss *SSHShellService) CreateStandaloneShell(ctx context.Context, in *pb.CreateStandaloneShellRequest) (*pb.CreateStandaloneShellResponse, error)
type ShellService ¶
type ShellService interface {
pb.ShellServiceServer
CreateStandaloneShell(ctx context.Context, in *pb.CreateStandaloneShellRequest) (*pb.CreateStandaloneShellResponse, error)
CreateShellInExistingContainer(ctx context.Context, in *pb.CreateShellInExistingContainerRequest) (*pb.CreateShellInExistingContainerResponse, error)
}
func NewSSHShellService ¶
func NewSSHShellService( ctx context.Context, opts ShellServiceOpts, ) (ShellService, error)
type ShellServiceOpts ¶
type ShellServiceOpts struct {
Config types.AppConfig
RedisClient *common.RedisClient
BackendRepo repository.BackendRepository
WorkspaceRepo repository.WorkspaceRepository
ContainerRepo repository.ContainerRepository
Scheduler *scheduler.Scheduler
RouteGroup *echo.Group
Tailscale *network.Tailscale
EventRepo repository.EventRepository
}
Click to show internal directories.
Click to hide internal directories.