grpc

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MPL-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New added in v1.10.0

func New(
	conf *config.Config,
	logger *zap.Logger,
	auth *AuthServer,
	workspaces *WorkspaceServer,
	plans *PlanServer,
	logs *LogsServer,
	runs *RunServer,
	otelInterceptor *otelconnect.Interceptor,
	authInterceptor *auth.Interceptor,
	lc fx.Lifecycle,
) *http.ServeMux

Types

type AuthServer added in v1.7.0

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

func NewAuthServer added in v1.7.0

func NewAuthServer(conf *config.Config) *AuthServer

func (*AuthServer) GenerateRunnerToken added in v1.7.0

type LogsServer added in v1.7.0

type LogsServer struct {
	Runs        run.RunRepository
	FileManager file_manager.FileManager
}

func (*LogsServer) StreamLogs added in v1.7.0

func (*LogsServer) UploadLogs added in v1.7.0

type PlanServer added in v1.7.0

type PlanServer struct {
	Runs        run.RunRepository
	FileManager file_manager.FileManager
}

func (*PlanServer) UploadPlan added in v1.7.0

type RunServer

type RunServer struct {
	AgentRepository agent.AgentRepository
	RunRepository   run.RunRepository
}

func (*RunServer) Get added in v1.7.0

func (*RunServer) List

func (*RunServer) Update

func (*RunServer) Watch

type WorkspaceServer added in v1.7.0

type WorkspaceServer struct {
	Repository    workspaces.WorkspacesRepository
	VcsRepository vcs_connection.Repository
}

func (*WorkspaceServer) GetVariables added in v1.7.0

func (*WorkspaceServer) GetVcsConnection added in v1.7.0

func (*WorkspaceServer) GetWorkspace added in v1.7.0

Jump to

Keyboard shortcuts

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