Documentation
¶
Index ¶
- type PluginAPI
- func (a *PluginAPI) DecryptSecret(ctx context.Context, req *service.DecryptSecretRequest) (*service.DecryptSecretResponse, error)
- func (a *PluginAPI) InstallTool(ctx context.Context, req *service.InstallToolRequest) (*service.InstallToolResponse, error)
- func (a *PluginAPI) Register(server *grpc.Server)
- func (a *PluginAPI) ReportStageLogs(ctx context.Context, req *service.ReportStageLogsRequest) (*service.ReportStageLogsResponse, error)
- func (a *PluginAPI) ReportStageLogsFromLastCheckpoint(ctx context.Context, req *service.ReportStageLogsFromLastCheckpointRequest) (*service.ReportStageLogsFromLastCheckpointResponse, error)
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 (*PluginAPI) DecryptSecret ¶
func (a *PluginAPI) DecryptSecret(ctx context.Context, req *service.DecryptSecretRequest) (*service.DecryptSecretResponse, error)
func (*PluginAPI) InstallTool ¶ added in v0.50.0
func (a *PluginAPI) InstallTool(ctx context.Context, req *service.InstallToolRequest) (*service.InstallToolResponse, error)
InstallTool installs the given tool. installed binary's filename becomes `name-version`.
func (*PluginAPI) Register ¶
Register registers all handling of this service into the specified gRPC server.
func (*PluginAPI) ReportStageLogs ¶ added in v0.50.0
func (a *PluginAPI) ReportStageLogs(ctx context.Context, req *service.ReportStageLogsRequest) (*service.ReportStageLogsResponse, error)
func (*PluginAPI) ReportStageLogsFromLastCheckpoint ¶ added in v0.50.0
func (a *PluginAPI) ReportStageLogsFromLastCheckpoint(ctx context.Context, req *service.ReportStageLogsFromLastCheckpointRequest) (*service.ReportStageLogsFromLastCheckpointResponse, error)
Click to show internal directories.
Click to hide internal directories.