Documentation ¶
Index ¶
- Variables
- func RegisterPluginServiceServer(s grpc.ServiceRegistrar, srv PluginServiceServer)
- type DecryptSecretRequest
- func (*DecryptSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DecryptSecretRequest) GetSecret() string
- func (*DecryptSecretRequest) ProtoMessage()
- func (x *DecryptSecretRequest) ProtoReflect() protoreflect.Message
- func (x *DecryptSecretRequest) Reset()
- func (x *DecryptSecretRequest) String() string
- func (m *DecryptSecretRequest) Validate() error
- func (m *DecryptSecretRequest) ValidateAll() error
- type DecryptSecretRequestMultiError
- type DecryptSecretRequestValidationError
- func (e DecryptSecretRequestValidationError) Cause() error
- func (e DecryptSecretRequestValidationError) Error() string
- func (e DecryptSecretRequestValidationError) ErrorName() string
- func (e DecryptSecretRequestValidationError) Field() string
- func (e DecryptSecretRequestValidationError) Key() bool
- func (e DecryptSecretRequestValidationError) Reason() string
- type DecryptSecretResponse
- func (*DecryptSecretResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DecryptSecretResponse) GetDecryptedSecret() string
- func (*DecryptSecretResponse) ProtoMessage()
- func (x *DecryptSecretResponse) ProtoReflect() protoreflect.Message
- func (x *DecryptSecretResponse) Reset()
- func (x *DecryptSecretResponse) String() string
- func (m *DecryptSecretResponse) Validate() error
- func (m *DecryptSecretResponse) ValidateAll() error
- type DecryptSecretResponseMultiError
- type DecryptSecretResponseValidationError
- func (e DecryptSecretResponseValidationError) Cause() error
- func (e DecryptSecretResponseValidationError) Error() string
- func (e DecryptSecretResponseValidationError) ErrorName() string
- func (e DecryptSecretResponseValidationError) Field() string
- func (e DecryptSecretResponseValidationError) Key() bool
- func (e DecryptSecretResponseValidationError) Reason() string
- type InstallToolRequest
- func (*InstallToolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstallToolRequest) GetInstallScript() string
- func (x *InstallToolRequest) GetName() string
- func (x *InstallToolRequest) GetVersion() string
- func (*InstallToolRequest) ProtoMessage()
- func (x *InstallToolRequest) ProtoReflect() protoreflect.Message
- func (x *InstallToolRequest) Reset()
- func (x *InstallToolRequest) String() string
- func (m *InstallToolRequest) Validate() error
- func (m *InstallToolRequest) ValidateAll() error
- type InstallToolRequestMultiError
- type InstallToolRequestValidationError
- func (e InstallToolRequestValidationError) Cause() error
- func (e InstallToolRequestValidationError) Error() string
- func (e InstallToolRequestValidationError) ErrorName() string
- func (e InstallToolRequestValidationError) Field() string
- func (e InstallToolRequestValidationError) Key() bool
- func (e InstallToolRequestValidationError) Reason() string
- type InstallToolResponse
- func (*InstallToolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InstallToolResponse) GetInstalledPath() string
- func (*InstallToolResponse) ProtoMessage()
- func (x *InstallToolResponse) ProtoReflect() protoreflect.Message
- func (x *InstallToolResponse) Reset()
- func (x *InstallToolResponse) String() string
- func (m *InstallToolResponse) Validate() error
- func (m *InstallToolResponse) ValidateAll() error
- type InstallToolResponseMultiError
- type InstallToolResponseValidationError
- func (e InstallToolResponseValidationError) Cause() error
- func (e InstallToolResponseValidationError) Error() string
- func (e InstallToolResponseValidationError) ErrorName() string
- func (e InstallToolResponseValidationError) Field() string
- func (e InstallToolResponseValidationError) Key() bool
- func (e InstallToolResponseValidationError) Reason() string
- type PluginServiceClient
- type PluginServiceServer
- type ReportStageLogsFromLastCheckpointRequest
- func (*ReportStageLogsFromLastCheckpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportStageLogsFromLastCheckpointRequest) GetBlocks() []*model.LogBlock
- func (x *ReportStageLogsFromLastCheckpointRequest) GetCompleted() bool
- func (x *ReportStageLogsFromLastCheckpointRequest) GetDeploymentId() string
- func (x *ReportStageLogsFromLastCheckpointRequest) GetRetriedCount() int32
- func (x *ReportStageLogsFromLastCheckpointRequest) GetStageId() string
- func (*ReportStageLogsFromLastCheckpointRequest) ProtoMessage()
- func (x *ReportStageLogsFromLastCheckpointRequest) ProtoReflect() protoreflect.Message
- func (x *ReportStageLogsFromLastCheckpointRequest) Reset()
- func (x *ReportStageLogsFromLastCheckpointRequest) String() string
- func (m *ReportStageLogsFromLastCheckpointRequest) Validate() error
- func (m *ReportStageLogsFromLastCheckpointRequest) ValidateAll() error
- type ReportStageLogsFromLastCheckpointRequestMultiError
- type ReportStageLogsFromLastCheckpointRequestValidationError
- func (e ReportStageLogsFromLastCheckpointRequestValidationError) Cause() error
- func (e ReportStageLogsFromLastCheckpointRequestValidationError) Error() string
- func (e ReportStageLogsFromLastCheckpointRequestValidationError) ErrorName() string
- func (e ReportStageLogsFromLastCheckpointRequestValidationError) Field() string
- func (e ReportStageLogsFromLastCheckpointRequestValidationError) Key() bool
- func (e ReportStageLogsFromLastCheckpointRequestValidationError) Reason() string
- type ReportStageLogsFromLastCheckpointResponse
- func (*ReportStageLogsFromLastCheckpointResponse) Descriptor() ([]byte, []int)deprecated
- func (*ReportStageLogsFromLastCheckpointResponse) ProtoMessage()
- func (x *ReportStageLogsFromLastCheckpointResponse) ProtoReflect() protoreflect.Message
- func (x *ReportStageLogsFromLastCheckpointResponse) Reset()
- func (x *ReportStageLogsFromLastCheckpointResponse) String() string
- func (m *ReportStageLogsFromLastCheckpointResponse) Validate() error
- func (m *ReportStageLogsFromLastCheckpointResponse) ValidateAll() error
- type ReportStageLogsFromLastCheckpointResponseMultiError
- type ReportStageLogsFromLastCheckpointResponseValidationError
- func (e ReportStageLogsFromLastCheckpointResponseValidationError) Cause() error
- func (e ReportStageLogsFromLastCheckpointResponseValidationError) Error() string
- func (e ReportStageLogsFromLastCheckpointResponseValidationError) ErrorName() string
- func (e ReportStageLogsFromLastCheckpointResponseValidationError) Field() string
- func (e ReportStageLogsFromLastCheckpointResponseValidationError) Key() bool
- func (e ReportStageLogsFromLastCheckpointResponseValidationError) Reason() string
- type ReportStageLogsRequest
- func (*ReportStageLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportStageLogsRequest) GetBlocks() []*model.LogBlock
- func (x *ReportStageLogsRequest) GetDeploymentId() string
- func (x *ReportStageLogsRequest) GetRetriedCount() int32
- func (x *ReportStageLogsRequest) GetStageId() string
- func (*ReportStageLogsRequest) ProtoMessage()
- func (x *ReportStageLogsRequest) ProtoReflect() protoreflect.Message
- func (x *ReportStageLogsRequest) Reset()
- func (x *ReportStageLogsRequest) String() string
- func (m *ReportStageLogsRequest) Validate() error
- func (m *ReportStageLogsRequest) ValidateAll() error
- type ReportStageLogsRequestMultiError
- type ReportStageLogsRequestValidationError
- func (e ReportStageLogsRequestValidationError) Cause() error
- func (e ReportStageLogsRequestValidationError) Error() string
- func (e ReportStageLogsRequestValidationError) ErrorName() string
- func (e ReportStageLogsRequestValidationError) Field() string
- func (e ReportStageLogsRequestValidationError) Key() bool
- func (e ReportStageLogsRequestValidationError) Reason() string
- type ReportStageLogsResponse
- func (*ReportStageLogsResponse) Descriptor() ([]byte, []int)deprecated
- func (*ReportStageLogsResponse) ProtoMessage()
- func (x *ReportStageLogsResponse) ProtoReflect() protoreflect.Message
- func (x *ReportStageLogsResponse) Reset()
- func (x *ReportStageLogsResponse) String() string
- func (m *ReportStageLogsResponse) Validate() error
- func (m *ReportStageLogsResponse) ValidateAll() error
- type ReportStageLogsResponseMultiError
- type ReportStageLogsResponseValidationError
- func (e ReportStageLogsResponseValidationError) Cause() error
- func (e ReportStageLogsResponseValidationError) Error() string
- func (e ReportStageLogsResponseValidationError) ErrorName() string
- func (e ReportStageLogsResponseValidationError) Field() string
- func (e ReportStageLogsResponseValidationError) Key() bool
- func (e ReportStageLogsResponseValidationError) Reason() string
- type UnimplementedPluginServiceServer
- func (UnimplementedPluginServiceServer) DecryptSecret(context.Context, *DecryptSecretRequest) (*DecryptSecretResponse, error)
- func (UnimplementedPluginServiceServer) InstallTool(context.Context, *InstallToolRequest) (*InstallToolResponse, error)
- func (UnimplementedPluginServiceServer) ReportStageLogs(context.Context, *ReportStageLogsRequest) (*ReportStageLogsResponse, error)
- func (UnimplementedPluginServiceServer) ReportStageLogsFromLastCheckpoint(context.Context, *ReportStageLogsFromLastCheckpointRequest) (*ReportStageLogsFromLastCheckpointResponse, error)
- type UnsafePluginServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_pkg_app_pipedv1_cmd_piped_service_service_proto protoreflect.FileDescriptor
var PluginService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "grpc.piped.service.PluginService", HandlerType: (*PluginServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DecryptSecret", Handler: _PluginService_DecryptSecret_Handler, }, { MethodName: "InstallTool", Handler: _PluginService_InstallTool_Handler, }, { MethodName: "ReportStageLogs", Handler: _PluginService_ReportStageLogs_Handler, }, { MethodName: "ReportStageLogsFromLastCheckpoint", Handler: _PluginService_ReportStageLogsFromLastCheckpoint_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/app/pipedv1/cmd/piped/service/service.proto", }
PluginService_ServiceDesc is the grpc.ServiceDesc for PluginService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPluginServiceServer ¶
func RegisterPluginServiceServer(s grpc.ServiceRegistrar, srv PluginServiceServer)
Types ¶
type DecryptSecretRequest ¶ added in v0.48.0
type DecryptSecretRequest struct { Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*DecryptSecretRequest) Descriptor
deprecated
added in
v0.48.0
func (*DecryptSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use DecryptSecretRequest.ProtoReflect.Descriptor instead.
func (*DecryptSecretRequest) GetSecret ¶ added in v0.48.0
func (x *DecryptSecretRequest) GetSecret() string
func (*DecryptSecretRequest) ProtoMessage ¶ added in v0.48.0
func (*DecryptSecretRequest) ProtoMessage()
func (*DecryptSecretRequest) ProtoReflect ¶ added in v0.48.0
func (x *DecryptSecretRequest) ProtoReflect() protoreflect.Message
func (*DecryptSecretRequest) Reset ¶ added in v0.48.0
func (x *DecryptSecretRequest) Reset()
func (*DecryptSecretRequest) String ¶ added in v0.48.0
func (x *DecryptSecretRequest) String() string
func (*DecryptSecretRequest) Validate ¶ added in v0.48.0
func (m *DecryptSecretRequest) Validate() error
Validate checks the field values on DecryptSecretRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DecryptSecretRequest) ValidateAll ¶ added in v0.48.0
func (m *DecryptSecretRequest) ValidateAll() error
ValidateAll checks the field values on DecryptSecretRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DecryptSecretRequestMultiError, or nil if none found.
type DecryptSecretRequestMultiError ¶ added in v0.48.0
type DecryptSecretRequestMultiError []error
DecryptSecretRequestMultiError is an error wrapping multiple validation errors returned by DecryptSecretRequest.ValidateAll() if the designated constraints aren't met.
func (DecryptSecretRequestMultiError) AllErrors ¶ added in v0.48.0
func (m DecryptSecretRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DecryptSecretRequestMultiError) Error ¶ added in v0.48.0
func (m DecryptSecretRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DecryptSecretRequestValidationError ¶ added in v0.48.0
type DecryptSecretRequestValidationError struct {
// contains filtered or unexported fields
}
DecryptSecretRequestValidationError is the validation error returned by DecryptSecretRequest.Validate if the designated constraints aren't met.
func (DecryptSecretRequestValidationError) Cause ¶ added in v0.48.0
func (e DecryptSecretRequestValidationError) Cause() error
Cause function returns cause value.
func (DecryptSecretRequestValidationError) Error ¶ added in v0.48.0
func (e DecryptSecretRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DecryptSecretRequestValidationError) ErrorName ¶ added in v0.48.0
func (e DecryptSecretRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DecryptSecretRequestValidationError) Field ¶ added in v0.48.0
func (e DecryptSecretRequestValidationError) Field() string
Field function returns field value.
func (DecryptSecretRequestValidationError) Key ¶ added in v0.48.0
func (e DecryptSecretRequestValidationError) Key() bool
Key function returns key value.
func (DecryptSecretRequestValidationError) Reason ¶ added in v0.48.0
func (e DecryptSecretRequestValidationError) Reason() string
Reason function returns reason value.
type DecryptSecretResponse ¶ added in v0.48.0
type DecryptSecretResponse struct { DecryptedSecret string `protobuf:"bytes,1,opt,name=decrypted_secret,json=decryptedSecret,proto3" json:"decrypted_secret,omitempty"` // contains filtered or unexported fields }
func (*DecryptSecretResponse) Descriptor
deprecated
added in
v0.48.0
func (*DecryptSecretResponse) Descriptor() ([]byte, []int)
Deprecated: Use DecryptSecretResponse.ProtoReflect.Descriptor instead.
func (*DecryptSecretResponse) GetDecryptedSecret ¶ added in v0.48.0
func (x *DecryptSecretResponse) GetDecryptedSecret() string
func (*DecryptSecretResponse) ProtoMessage ¶ added in v0.48.0
func (*DecryptSecretResponse) ProtoMessage()
func (*DecryptSecretResponse) ProtoReflect ¶ added in v0.48.0
func (x *DecryptSecretResponse) ProtoReflect() protoreflect.Message
func (*DecryptSecretResponse) Reset ¶ added in v0.48.0
func (x *DecryptSecretResponse) Reset()
func (*DecryptSecretResponse) String ¶ added in v0.48.0
func (x *DecryptSecretResponse) String() string
func (*DecryptSecretResponse) Validate ¶ added in v0.48.0
func (m *DecryptSecretResponse) Validate() error
Validate checks the field values on DecryptSecretResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DecryptSecretResponse) ValidateAll ¶ added in v0.48.0
func (m *DecryptSecretResponse) ValidateAll() error
ValidateAll checks the field values on DecryptSecretResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DecryptSecretResponseMultiError, or nil if none found.
type DecryptSecretResponseMultiError ¶ added in v0.48.0
type DecryptSecretResponseMultiError []error
DecryptSecretResponseMultiError is an error wrapping multiple validation errors returned by DecryptSecretResponse.ValidateAll() if the designated constraints aren't met.
func (DecryptSecretResponseMultiError) AllErrors ¶ added in v0.48.0
func (m DecryptSecretResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DecryptSecretResponseMultiError) Error ¶ added in v0.48.0
func (m DecryptSecretResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DecryptSecretResponseValidationError ¶ added in v0.48.0
type DecryptSecretResponseValidationError struct {
// contains filtered or unexported fields
}
DecryptSecretResponseValidationError is the validation error returned by DecryptSecretResponse.Validate if the designated constraints aren't met.
func (DecryptSecretResponseValidationError) Cause ¶ added in v0.48.0
func (e DecryptSecretResponseValidationError) Cause() error
Cause function returns cause value.
func (DecryptSecretResponseValidationError) Error ¶ added in v0.48.0
func (e DecryptSecretResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DecryptSecretResponseValidationError) ErrorName ¶ added in v0.48.0
func (e DecryptSecretResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DecryptSecretResponseValidationError) Field ¶ added in v0.48.0
func (e DecryptSecretResponseValidationError) Field() string
Field function returns field value.
func (DecryptSecretResponseValidationError) Key ¶ added in v0.48.0
func (e DecryptSecretResponseValidationError) Key() bool
Key function returns key value.
func (DecryptSecretResponseValidationError) Reason ¶ added in v0.48.0
func (e DecryptSecretResponseValidationError) Reason() string
Reason function returns reason value.
type InstallToolRequest ¶ added in v0.50.0
type InstallToolRequest struct { // Name of the tool. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Version of the tool. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // Install script to install the tool. // This script is templated with the following variables: // - {{ .Name }}: name of the tool. // - {{ .Version }}: version of the tool. // - {{ .OutPath }}: file path where the tool will be installed. // - {{ .TmpDir }}: directory where the tool will be downloaded and extracted. // - {{ .Arch }}: GOARCH of the current machine. // - {{ .Os }}: GOOS of the current machine. // // The script should return 0 if the installation is successful. // Otherwise, it should return a non-zero value. // // The tool should be placed at {{ .OutPath }} // e.g.) cp path/to/kubectl {{ .OutPath }} // Then piped move it to the correct directory / filename and make it executable. InstallScript string `protobuf:"bytes,3,opt,name=install_script,json=installScript,proto3" json:"install_script,omitempty"` // contains filtered or unexported fields }
func (*InstallToolRequest) Descriptor
deprecated
added in
v0.50.0
func (*InstallToolRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstallToolRequest.ProtoReflect.Descriptor instead.
func (*InstallToolRequest) GetInstallScript ¶ added in v0.50.0
func (x *InstallToolRequest) GetInstallScript() string
func (*InstallToolRequest) GetName ¶ added in v0.50.0
func (x *InstallToolRequest) GetName() string
func (*InstallToolRequest) GetVersion ¶ added in v0.50.0
func (x *InstallToolRequest) GetVersion() string
func (*InstallToolRequest) ProtoMessage ¶ added in v0.50.0
func (*InstallToolRequest) ProtoMessage()
func (*InstallToolRequest) ProtoReflect ¶ added in v0.50.0
func (x *InstallToolRequest) ProtoReflect() protoreflect.Message
func (*InstallToolRequest) Reset ¶ added in v0.50.0
func (x *InstallToolRequest) Reset()
func (*InstallToolRequest) String ¶ added in v0.50.0
func (x *InstallToolRequest) String() string
func (*InstallToolRequest) Validate ¶ added in v0.50.0
func (m *InstallToolRequest) Validate() error
Validate checks the field values on InstallToolRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*InstallToolRequest) ValidateAll ¶ added in v0.50.0
func (m *InstallToolRequest) ValidateAll() error
ValidateAll checks the field values on InstallToolRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InstallToolRequestMultiError, or nil if none found.
type InstallToolRequestMultiError ¶ added in v0.50.0
type InstallToolRequestMultiError []error
InstallToolRequestMultiError is an error wrapping multiple validation errors returned by InstallToolRequest.ValidateAll() if the designated constraints aren't met.
func (InstallToolRequestMultiError) AllErrors ¶ added in v0.50.0
func (m InstallToolRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InstallToolRequestMultiError) Error ¶ added in v0.50.0
func (m InstallToolRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InstallToolRequestValidationError ¶ added in v0.50.0
type InstallToolRequestValidationError struct {
// contains filtered or unexported fields
}
InstallToolRequestValidationError is the validation error returned by InstallToolRequest.Validate if the designated constraints aren't met.
func (InstallToolRequestValidationError) Cause ¶ added in v0.50.0
func (e InstallToolRequestValidationError) Cause() error
Cause function returns cause value.
func (InstallToolRequestValidationError) Error ¶ added in v0.50.0
func (e InstallToolRequestValidationError) Error() string
Error satisfies the builtin error interface
func (InstallToolRequestValidationError) ErrorName ¶ added in v0.50.0
func (e InstallToolRequestValidationError) ErrorName() string
ErrorName returns error name.
func (InstallToolRequestValidationError) Field ¶ added in v0.50.0
func (e InstallToolRequestValidationError) Field() string
Field function returns field value.
func (InstallToolRequestValidationError) Key ¶ added in v0.50.0
func (e InstallToolRequestValidationError) Key() bool
Key function returns key value.
func (InstallToolRequestValidationError) Reason ¶ added in v0.50.0
func (e InstallToolRequestValidationError) Reason() string
Reason function returns reason value.
type InstallToolResponse ¶ added in v0.50.0
type InstallToolResponse struct { // Installed path of the tool. InstalledPath string `protobuf:"bytes,1,opt,name=installed_path,json=installedPath,proto3" json:"installed_path,omitempty"` // contains filtered or unexported fields }
func (*InstallToolResponse) Descriptor
deprecated
added in
v0.50.0
func (*InstallToolResponse) Descriptor() ([]byte, []int)
Deprecated: Use InstallToolResponse.ProtoReflect.Descriptor instead.
func (*InstallToolResponse) GetInstalledPath ¶ added in v0.50.0
func (x *InstallToolResponse) GetInstalledPath() string
func (*InstallToolResponse) ProtoMessage ¶ added in v0.50.0
func (*InstallToolResponse) ProtoMessage()
func (*InstallToolResponse) ProtoReflect ¶ added in v0.50.0
func (x *InstallToolResponse) ProtoReflect() protoreflect.Message
func (*InstallToolResponse) Reset ¶ added in v0.50.0
func (x *InstallToolResponse) Reset()
func (*InstallToolResponse) String ¶ added in v0.50.0
func (x *InstallToolResponse) String() string
func (*InstallToolResponse) Validate ¶ added in v0.50.0
func (m *InstallToolResponse) Validate() error
Validate checks the field values on InstallToolResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*InstallToolResponse) ValidateAll ¶ added in v0.50.0
func (m *InstallToolResponse) ValidateAll() error
ValidateAll checks the field values on InstallToolResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InstallToolResponseMultiError, or nil if none found.
type InstallToolResponseMultiError ¶ added in v0.50.0
type InstallToolResponseMultiError []error
InstallToolResponseMultiError is an error wrapping multiple validation errors returned by InstallToolResponse.ValidateAll() if the designated constraints aren't met.
func (InstallToolResponseMultiError) AllErrors ¶ added in v0.50.0
func (m InstallToolResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InstallToolResponseMultiError) Error ¶ added in v0.50.0
func (m InstallToolResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InstallToolResponseValidationError ¶ added in v0.50.0
type InstallToolResponseValidationError struct {
// contains filtered or unexported fields
}
InstallToolResponseValidationError is the validation error returned by InstallToolResponse.Validate if the designated constraints aren't met.
func (InstallToolResponseValidationError) Cause ¶ added in v0.50.0
func (e InstallToolResponseValidationError) Cause() error
Cause function returns cause value.
func (InstallToolResponseValidationError) Error ¶ added in v0.50.0
func (e InstallToolResponseValidationError) Error() string
Error satisfies the builtin error interface
func (InstallToolResponseValidationError) ErrorName ¶ added in v0.50.0
func (e InstallToolResponseValidationError) ErrorName() string
ErrorName returns error name.
func (InstallToolResponseValidationError) Field ¶ added in v0.50.0
func (e InstallToolResponseValidationError) Field() string
Field function returns field value.
func (InstallToolResponseValidationError) Key ¶ added in v0.50.0
func (e InstallToolResponseValidationError) Key() bool
Key function returns key value.
func (InstallToolResponseValidationError) Reason ¶ added in v0.50.0
func (e InstallToolResponseValidationError) Reason() string
Reason function returns reason value.
type PluginServiceClient ¶
type PluginServiceClient interface { // DecryptSecret decrypts the given secret. DecryptSecret(ctx context.Context, in *DecryptSecretRequest, opts ...grpc.CallOption) (*DecryptSecretResponse, error) // InstallTool installs the given tool. // installed binary's filename becomes `name-version`. InstallTool(ctx context.Context, in *InstallToolRequest, opts ...grpc.CallOption) (*InstallToolResponse, error) // ReportStageLogs is used to save the log of a pipeline stage. ReportStageLogs(ctx context.Context, in *ReportStageLogsRequest, opts ...grpc.CallOption) (*ReportStageLogsResponse, error) // ReportStageLogsFromLastCheckpoint is used to save the full logs from the most recently saved point. ReportStageLogsFromLastCheckpoint(ctx context.Context, in *ReportStageLogsFromLastCheckpointRequest, opts ...grpc.CallOption) (*ReportStageLogsFromLastCheckpointResponse, error) }
PluginServiceClient is the client API for PluginService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPluginServiceClient ¶
func NewPluginServiceClient(cc grpc.ClientConnInterface) PluginServiceClient
type PluginServiceServer ¶
type PluginServiceServer interface { // DecryptSecret decrypts the given secret. DecryptSecret(context.Context, *DecryptSecretRequest) (*DecryptSecretResponse, error) // InstallTool installs the given tool. // installed binary's filename becomes `name-version`. InstallTool(context.Context, *InstallToolRequest) (*InstallToolResponse, error) // ReportStageLogs is used to save the log of a pipeline stage. ReportStageLogs(context.Context, *ReportStageLogsRequest) (*ReportStageLogsResponse, error) // ReportStageLogsFromLastCheckpoint is used to save the full logs from the most recently saved point. ReportStageLogsFromLastCheckpoint(context.Context, *ReportStageLogsFromLastCheckpointRequest) (*ReportStageLogsFromLastCheckpointResponse, error) // contains filtered or unexported methods }
PluginServiceServer is the server API for PluginService service. All implementations must embed UnimplementedPluginServiceServer for forward compatibility
type ReportStageLogsFromLastCheckpointRequest ¶ added in v0.50.0
type ReportStageLogsFromLastCheckpointRequest struct { DeploymentId string `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"` StageId string `protobuf:"bytes,2,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` RetriedCount int32 `protobuf:"varint,3,opt,name=retried_count,json=retriedCount,proto3" json:"retried_count,omitempty"` Blocks []*model.LogBlock `protobuf:"bytes,4,rep,name=blocks,proto3" json:"blocks,omitempty"` Completed bool `protobuf:"varint,5,opt,name=completed,proto3" json:"completed,omitempty"` // contains filtered or unexported fields }
func (*ReportStageLogsFromLastCheckpointRequest) Descriptor
deprecated
added in
v0.50.0
func (*ReportStageLogsFromLastCheckpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportStageLogsFromLastCheckpointRequest.ProtoReflect.Descriptor instead.
func (*ReportStageLogsFromLastCheckpointRequest) GetBlocks ¶ added in v0.50.0
func (x *ReportStageLogsFromLastCheckpointRequest) GetBlocks() []*model.LogBlock
func (*ReportStageLogsFromLastCheckpointRequest) GetCompleted ¶ added in v0.50.0
func (x *ReportStageLogsFromLastCheckpointRequest) GetCompleted() bool
func (*ReportStageLogsFromLastCheckpointRequest) GetDeploymentId ¶ added in v0.50.0
func (x *ReportStageLogsFromLastCheckpointRequest) GetDeploymentId() string
func (*ReportStageLogsFromLastCheckpointRequest) GetRetriedCount ¶ added in v0.50.0
func (x *ReportStageLogsFromLastCheckpointRequest) GetRetriedCount() int32
func (*ReportStageLogsFromLastCheckpointRequest) GetStageId ¶ added in v0.50.0
func (x *ReportStageLogsFromLastCheckpointRequest) GetStageId() string
func (*ReportStageLogsFromLastCheckpointRequest) ProtoMessage ¶ added in v0.50.0
func (*ReportStageLogsFromLastCheckpointRequest) ProtoMessage()
func (*ReportStageLogsFromLastCheckpointRequest) ProtoReflect ¶ added in v0.50.0
func (x *ReportStageLogsFromLastCheckpointRequest) ProtoReflect() protoreflect.Message
func (*ReportStageLogsFromLastCheckpointRequest) Reset ¶ added in v0.50.0
func (x *ReportStageLogsFromLastCheckpointRequest) Reset()
func (*ReportStageLogsFromLastCheckpointRequest) String ¶ added in v0.50.0
func (x *ReportStageLogsFromLastCheckpointRequest) String() string
func (*ReportStageLogsFromLastCheckpointRequest) Validate ¶ added in v0.50.0
func (m *ReportStageLogsFromLastCheckpointRequest) Validate() error
Validate checks the field values on ReportStageLogsFromLastCheckpointRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReportStageLogsFromLastCheckpointRequest) ValidateAll ¶ added in v0.50.0
func (m *ReportStageLogsFromLastCheckpointRequest) ValidateAll() error
ValidateAll checks the field values on ReportStageLogsFromLastCheckpointRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReportStageLogsFromLastCheckpointRequestMultiError, or nil if none found.
type ReportStageLogsFromLastCheckpointRequestMultiError ¶ added in v0.50.0
type ReportStageLogsFromLastCheckpointRequestMultiError []error
ReportStageLogsFromLastCheckpointRequestMultiError is an error wrapping multiple validation errors returned by ReportStageLogsFromLastCheckpointRequest.ValidateAll() if the designated constraints aren't met.
func (ReportStageLogsFromLastCheckpointRequestMultiError) AllErrors ¶ added in v0.50.0
func (m ReportStageLogsFromLastCheckpointRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReportStageLogsFromLastCheckpointRequestMultiError) Error ¶ added in v0.50.0
func (m ReportStageLogsFromLastCheckpointRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReportStageLogsFromLastCheckpointRequestValidationError ¶ added in v0.50.0
type ReportStageLogsFromLastCheckpointRequestValidationError struct {
// contains filtered or unexported fields
}
ReportStageLogsFromLastCheckpointRequestValidationError is the validation error returned by ReportStageLogsFromLastCheckpointRequest.Validate if the designated constraints aren't met.
func (ReportStageLogsFromLastCheckpointRequestValidationError) Cause ¶ added in v0.50.0
func (e ReportStageLogsFromLastCheckpointRequestValidationError) Cause() error
Cause function returns cause value.
func (ReportStageLogsFromLastCheckpointRequestValidationError) Error ¶ added in v0.50.0
func (e ReportStageLogsFromLastCheckpointRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReportStageLogsFromLastCheckpointRequestValidationError) ErrorName ¶ added in v0.50.0
func (e ReportStageLogsFromLastCheckpointRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReportStageLogsFromLastCheckpointRequestValidationError) Field ¶ added in v0.50.0
func (e ReportStageLogsFromLastCheckpointRequestValidationError) Field() string
Field function returns field value.
func (ReportStageLogsFromLastCheckpointRequestValidationError) Key ¶ added in v0.50.0
func (e ReportStageLogsFromLastCheckpointRequestValidationError) Key() bool
Key function returns key value.
func (ReportStageLogsFromLastCheckpointRequestValidationError) Reason ¶ added in v0.50.0
func (e ReportStageLogsFromLastCheckpointRequestValidationError) Reason() string
Reason function returns reason value.
type ReportStageLogsFromLastCheckpointResponse ¶ added in v0.50.0
type ReportStageLogsFromLastCheckpointResponse struct {
// contains filtered or unexported fields
}
func (*ReportStageLogsFromLastCheckpointResponse) Descriptor
deprecated
added in
v0.50.0
func (*ReportStageLogsFromLastCheckpointResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportStageLogsFromLastCheckpointResponse.ProtoReflect.Descriptor instead.
func (*ReportStageLogsFromLastCheckpointResponse) ProtoMessage ¶ added in v0.50.0
func (*ReportStageLogsFromLastCheckpointResponse) ProtoMessage()
func (*ReportStageLogsFromLastCheckpointResponse) ProtoReflect ¶ added in v0.50.0
func (x *ReportStageLogsFromLastCheckpointResponse) ProtoReflect() protoreflect.Message
func (*ReportStageLogsFromLastCheckpointResponse) Reset ¶ added in v0.50.0
func (x *ReportStageLogsFromLastCheckpointResponse) Reset()
func (*ReportStageLogsFromLastCheckpointResponse) String ¶ added in v0.50.0
func (x *ReportStageLogsFromLastCheckpointResponse) String() string
func (*ReportStageLogsFromLastCheckpointResponse) Validate ¶ added in v0.50.0
func (m *ReportStageLogsFromLastCheckpointResponse) Validate() error
Validate checks the field values on ReportStageLogsFromLastCheckpointResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReportStageLogsFromLastCheckpointResponse) ValidateAll ¶ added in v0.50.0
func (m *ReportStageLogsFromLastCheckpointResponse) ValidateAll() error
ValidateAll checks the field values on ReportStageLogsFromLastCheckpointResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReportStageLogsFromLastCheckpointResponseMultiError, or nil if none found.
type ReportStageLogsFromLastCheckpointResponseMultiError ¶ added in v0.50.0
type ReportStageLogsFromLastCheckpointResponseMultiError []error
ReportStageLogsFromLastCheckpointResponseMultiError is an error wrapping multiple validation errors returned by ReportStageLogsFromLastCheckpointResponse.ValidateAll() if the designated constraints aren't met.
func (ReportStageLogsFromLastCheckpointResponseMultiError) AllErrors ¶ added in v0.50.0
func (m ReportStageLogsFromLastCheckpointResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReportStageLogsFromLastCheckpointResponseMultiError) Error ¶ added in v0.50.0
func (m ReportStageLogsFromLastCheckpointResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReportStageLogsFromLastCheckpointResponseValidationError ¶ added in v0.50.0
type ReportStageLogsFromLastCheckpointResponseValidationError struct {
// contains filtered or unexported fields
}
ReportStageLogsFromLastCheckpointResponseValidationError is the validation error returned by ReportStageLogsFromLastCheckpointResponse.Validate if the designated constraints aren't met.
func (ReportStageLogsFromLastCheckpointResponseValidationError) Cause ¶ added in v0.50.0
func (e ReportStageLogsFromLastCheckpointResponseValidationError) Cause() error
Cause function returns cause value.
func (ReportStageLogsFromLastCheckpointResponseValidationError) Error ¶ added in v0.50.0
func (e ReportStageLogsFromLastCheckpointResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReportStageLogsFromLastCheckpointResponseValidationError) ErrorName ¶ added in v0.50.0
func (e ReportStageLogsFromLastCheckpointResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ReportStageLogsFromLastCheckpointResponseValidationError) Field ¶ added in v0.50.0
func (e ReportStageLogsFromLastCheckpointResponseValidationError) Field() string
Field function returns field value.
func (ReportStageLogsFromLastCheckpointResponseValidationError) Key ¶ added in v0.50.0
func (e ReportStageLogsFromLastCheckpointResponseValidationError) Key() bool
Key function returns key value.
func (ReportStageLogsFromLastCheckpointResponseValidationError) Reason ¶ added in v0.50.0
func (e ReportStageLogsFromLastCheckpointResponseValidationError) Reason() string
Reason function returns reason value.
type ReportStageLogsRequest ¶ added in v0.50.0
type ReportStageLogsRequest struct { DeploymentId string `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"` StageId string `protobuf:"bytes,2,opt,name=stage_id,json=stageId,proto3" json:"stage_id,omitempty"` RetriedCount int32 `protobuf:"varint,3,opt,name=retried_count,json=retriedCount,proto3" json:"retried_count,omitempty"` Blocks []*model.LogBlock `protobuf:"bytes,4,rep,name=blocks,proto3" json:"blocks,omitempty"` // contains filtered or unexported fields }
func (*ReportStageLogsRequest) Descriptor
deprecated
added in
v0.50.0
func (*ReportStageLogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportStageLogsRequest.ProtoReflect.Descriptor instead.
func (*ReportStageLogsRequest) GetBlocks ¶ added in v0.50.0
func (x *ReportStageLogsRequest) GetBlocks() []*model.LogBlock
func (*ReportStageLogsRequest) GetDeploymentId ¶ added in v0.50.0
func (x *ReportStageLogsRequest) GetDeploymentId() string
func (*ReportStageLogsRequest) GetRetriedCount ¶ added in v0.50.0
func (x *ReportStageLogsRequest) GetRetriedCount() int32
func (*ReportStageLogsRequest) GetStageId ¶ added in v0.50.0
func (x *ReportStageLogsRequest) GetStageId() string
func (*ReportStageLogsRequest) ProtoMessage ¶ added in v0.50.0
func (*ReportStageLogsRequest) ProtoMessage()
func (*ReportStageLogsRequest) ProtoReflect ¶ added in v0.50.0
func (x *ReportStageLogsRequest) ProtoReflect() protoreflect.Message
func (*ReportStageLogsRequest) Reset ¶ added in v0.50.0
func (x *ReportStageLogsRequest) Reset()
func (*ReportStageLogsRequest) String ¶ added in v0.50.0
func (x *ReportStageLogsRequest) String() string
func (*ReportStageLogsRequest) Validate ¶ added in v0.50.0
func (m *ReportStageLogsRequest) Validate() error
Validate checks the field values on ReportStageLogsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReportStageLogsRequest) ValidateAll ¶ added in v0.50.0
func (m *ReportStageLogsRequest) ValidateAll() error
ValidateAll checks the field values on ReportStageLogsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReportStageLogsRequestMultiError, or nil if none found.
type ReportStageLogsRequestMultiError ¶ added in v0.50.0
type ReportStageLogsRequestMultiError []error
ReportStageLogsRequestMultiError is an error wrapping multiple validation errors returned by ReportStageLogsRequest.ValidateAll() if the designated constraints aren't met.
func (ReportStageLogsRequestMultiError) AllErrors ¶ added in v0.50.0
func (m ReportStageLogsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReportStageLogsRequestMultiError) Error ¶ added in v0.50.0
func (m ReportStageLogsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReportStageLogsRequestValidationError ¶ added in v0.50.0
type ReportStageLogsRequestValidationError struct {
// contains filtered or unexported fields
}
ReportStageLogsRequestValidationError is the validation error returned by ReportStageLogsRequest.Validate if the designated constraints aren't met.
func (ReportStageLogsRequestValidationError) Cause ¶ added in v0.50.0
func (e ReportStageLogsRequestValidationError) Cause() error
Cause function returns cause value.
func (ReportStageLogsRequestValidationError) Error ¶ added in v0.50.0
func (e ReportStageLogsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReportStageLogsRequestValidationError) ErrorName ¶ added in v0.50.0
func (e ReportStageLogsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReportStageLogsRequestValidationError) Field ¶ added in v0.50.0
func (e ReportStageLogsRequestValidationError) Field() string
Field function returns field value.
func (ReportStageLogsRequestValidationError) Key ¶ added in v0.50.0
func (e ReportStageLogsRequestValidationError) Key() bool
Key function returns key value.
func (ReportStageLogsRequestValidationError) Reason ¶ added in v0.50.0
func (e ReportStageLogsRequestValidationError) Reason() string
Reason function returns reason value.
type ReportStageLogsResponse ¶ added in v0.50.0
type ReportStageLogsResponse struct {
// contains filtered or unexported fields
}
func (*ReportStageLogsResponse) Descriptor
deprecated
added in
v0.50.0
func (*ReportStageLogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportStageLogsResponse.ProtoReflect.Descriptor instead.
func (*ReportStageLogsResponse) ProtoMessage ¶ added in v0.50.0
func (*ReportStageLogsResponse) ProtoMessage()
func (*ReportStageLogsResponse) ProtoReflect ¶ added in v0.50.0
func (x *ReportStageLogsResponse) ProtoReflect() protoreflect.Message
func (*ReportStageLogsResponse) Reset ¶ added in v0.50.0
func (x *ReportStageLogsResponse) Reset()
func (*ReportStageLogsResponse) String ¶ added in v0.50.0
func (x *ReportStageLogsResponse) String() string
func (*ReportStageLogsResponse) Validate ¶ added in v0.50.0
func (m *ReportStageLogsResponse) Validate() error
Validate checks the field values on ReportStageLogsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReportStageLogsResponse) ValidateAll ¶ added in v0.50.0
func (m *ReportStageLogsResponse) ValidateAll() error
ValidateAll checks the field values on ReportStageLogsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReportStageLogsResponseMultiError, or nil if none found.
type ReportStageLogsResponseMultiError ¶ added in v0.50.0
type ReportStageLogsResponseMultiError []error
ReportStageLogsResponseMultiError is an error wrapping multiple validation errors returned by ReportStageLogsResponse.ValidateAll() if the designated constraints aren't met.
func (ReportStageLogsResponseMultiError) AllErrors ¶ added in v0.50.0
func (m ReportStageLogsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReportStageLogsResponseMultiError) Error ¶ added in v0.50.0
func (m ReportStageLogsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReportStageLogsResponseValidationError ¶ added in v0.50.0
type ReportStageLogsResponseValidationError struct {
// contains filtered or unexported fields
}
ReportStageLogsResponseValidationError is the validation error returned by ReportStageLogsResponse.Validate if the designated constraints aren't met.
func (ReportStageLogsResponseValidationError) Cause ¶ added in v0.50.0
func (e ReportStageLogsResponseValidationError) Cause() error
Cause function returns cause value.
func (ReportStageLogsResponseValidationError) Error ¶ added in v0.50.0
func (e ReportStageLogsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReportStageLogsResponseValidationError) ErrorName ¶ added in v0.50.0
func (e ReportStageLogsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ReportStageLogsResponseValidationError) Field ¶ added in v0.50.0
func (e ReportStageLogsResponseValidationError) Field() string
Field function returns field value.
func (ReportStageLogsResponseValidationError) Key ¶ added in v0.50.0
func (e ReportStageLogsResponseValidationError) Key() bool
Key function returns key value.
func (ReportStageLogsResponseValidationError) Reason ¶ added in v0.50.0
func (e ReportStageLogsResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedPluginServiceServer ¶
type UnimplementedPluginServiceServer struct { }
UnimplementedPluginServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedPluginServiceServer) DecryptSecret ¶ added in v0.48.0
func (UnimplementedPluginServiceServer) DecryptSecret(context.Context, *DecryptSecretRequest) (*DecryptSecretResponse, error)
func (UnimplementedPluginServiceServer) InstallTool ¶ added in v0.50.0
func (UnimplementedPluginServiceServer) InstallTool(context.Context, *InstallToolRequest) (*InstallToolResponse, error)
func (UnimplementedPluginServiceServer) ReportStageLogs ¶ added in v0.50.0
func (UnimplementedPluginServiceServer) ReportStageLogs(context.Context, *ReportStageLogsRequest) (*ReportStageLogsResponse, error)
func (UnimplementedPluginServiceServer) ReportStageLogsFromLastCheckpoint ¶ added in v0.50.0
func (UnimplementedPluginServiceServer) ReportStageLogsFromLastCheckpoint(context.Context, *ReportStageLogsFromLastCheckpointRequest) (*ReportStageLogsFromLastCheckpointResponse, error)
type UnsafePluginServiceServer ¶
type UnsafePluginServiceServer interface {
// contains filtered or unexported methods
}
UnsafePluginServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PluginServiceServer will result in compilation errors.