gatewayservices

package
v0.0.0-...-86dd8ac Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2026 License: AGPL-3.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GatewayService

type GatewayService struct {
	pb.UnimplementedGatewayServiceServer
	// contains filtered or unexported fields
}

func NewGatewayService

func NewGatewayService(opts *GatewayServiceOpts) (*GatewayService, error)

func (*GatewayService) AttachToContainer

func (gws *GatewayService) AttachToContainer(stream pb.GatewayService_AttachToContainerServer) error

func (*GatewayService) Authorize

func (GatewayService) CheckpointContainer

func (*GatewayService) CordonWorker

func (*GatewayService) CreateMachine

func (*GatewayService) CreateObject

func (*GatewayService) CreateToken

func (*GatewayService) DeleteDeployment

func (*GatewayService) DeleteMachine

func (*GatewayService) DeleteToken

func (*GatewayService) DeployStub

func (*GatewayService) DrainWorker

func (*GatewayService) EndTask

func (*GatewayService) ExportWorkspaceConfig

func (*GatewayService) GetOrCreateStub

func (*GatewayService) GetURL

func (*GatewayService) HeadObject

func (GatewayService) ListContainers

func (*GatewayService) ListDeployments

func (*GatewayService) ListMachines

func (*GatewayService) ListPools

func (*GatewayService) ListTasks

func (*GatewayService) ListTokens

func (*GatewayService) ListWorkers

func (*GatewayService) PutObjectStream

func (gws *GatewayService) PutObjectStream(stream pb.GatewayService_PutObjectStreamServer) error

func (*GatewayService) ScaleDeployment

func (*GatewayService) SignPayload

func (*GatewayService) StartDeployment

func (*GatewayService) StartTask

func (GatewayService) StopContainer

func (*GatewayService) StopDeployment

func (*GatewayService) StopTasks

func (*GatewayService) ToggleToken

func (*GatewayService) UncordonWorker

type GatewayServiceOpts

type GatewayServiceOpts struct {
	Ctx              context.Context
	Config           types.AppConfig
	BackendRepo      repository.BackendRepository
	ContainerRepo    repository.ContainerRepository
	ProviderRepo     repository.ProviderRepository
	Scheduler        *scheduler.Scheduler
	TaskDispatcher   *task.Dispatcher
	RedisClient      *common.RedisClient
	EventRepo        repository.EventRepository
	WorkerRepo       repository.WorkerRepository
	WorkerPoolRepo   repository.WorkerPoolRepository
	UsageMetricsRepo repository.UsageMetricsRepository
	Tailscale        *network.Tailscale
	KeyEventManager  *common.KeyEventManager
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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