grpcapi

package
v0.50.2 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginAPI

type PluginAPI struct {
	service.PluginServiceServer

	Logger *zap.Logger
	// contains filtered or unexported fields
}

func NewPluginAPI

func NewPluginAPI(cfg *config.PipedSpec, apiClient apiClient, toolsDir string, logger *zap.Logger) (*PluginAPI, error)

func (*PluginAPI) DecryptSecret

func (*PluginAPI) InstallTool added in v0.50.0

InstallTool installs the given tool. installed binary's filename becomes `name-version`.

func (*PluginAPI) Register

func (a *PluginAPI) Register(server *grpc.Server)

Register registers all handling of this service into the specified gRPC server.

func (*PluginAPI) ReportStageLogs added in v0.50.0

Jump to

Keyboard shortcuts

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