service

package
v0.50.1-rc0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pkg_app_pipedv1_cmd_piped_service_service_proto protoreflect.FileDescriptor
View Source
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

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

Cause function returns cause value.

func (DecryptSecretRequestValidationError) Error added in v0.48.0

Error satisfies the builtin error interface

func (DecryptSecretRequestValidationError) ErrorName added in v0.48.0

ErrorName returns error name.

func (DecryptSecretRequestValidationError) Field added in v0.48.0

Field function returns field value.

func (DecryptSecretRequestValidationError) Key added in v0.48.0

Key function returns key value.

func (DecryptSecretRequestValidationError) Reason added in v0.48.0

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

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

Cause function returns cause value.

func (DecryptSecretResponseValidationError) Error added in v0.48.0

Error satisfies the builtin error interface

func (DecryptSecretResponseValidationError) ErrorName added in v0.48.0

ErrorName returns error name.

func (DecryptSecretResponseValidationError) Field added in v0.48.0

Field function returns field value.

func (DecryptSecretResponseValidationError) Key added in v0.48.0

Key function returns key value.

func (DecryptSecretResponseValidationError) Reason added in v0.48.0

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

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

Cause function returns cause value.

func (InstallToolRequestValidationError) Error added in v0.50.0

Error satisfies the builtin error interface

func (InstallToolRequestValidationError) ErrorName added in v0.50.0

ErrorName returns error name.

func (InstallToolRequestValidationError) Field added in v0.50.0

Field function returns field value.

func (InstallToolRequestValidationError) Key added in v0.50.0

Key function returns key value.

func (InstallToolRequestValidationError) Reason added in v0.50.0

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

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

Cause function returns cause value.

func (InstallToolResponseValidationError) Error added in v0.50.0

Error satisfies the builtin error interface

func (InstallToolResponseValidationError) ErrorName added in v0.50.0

ErrorName returns error name.

func (InstallToolResponseValidationError) Field added in v0.50.0

Field function returns field value.

func (InstallToolResponseValidationError) Key added in v0.50.0

Key function returns key value.

func (InstallToolResponseValidationError) Reason added in v0.50.0

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.

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 (*ReportStageLogsFromLastCheckpointRequest) GetCompleted added in v0.50.0

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 (*ReportStageLogsFromLastCheckpointRequest) ProtoMessage added in v0.50.0

func (*ReportStageLogsFromLastCheckpointRequest) ProtoReflect added in v0.50.0

func (*ReportStageLogsFromLastCheckpointRequest) Reset added in v0.50.0

func (*ReportStageLogsFromLastCheckpointRequest) String added in v0.50.0

func (*ReportStageLogsFromLastCheckpointRequest) Validate added in v0.50.0

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

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

AllErrors returns a list of validation violation errors.

func (ReportStageLogsFromLastCheckpointRequestMultiError) Error added in v0.50.0

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

Cause function returns cause value.

func (ReportStageLogsFromLastCheckpointRequestValidationError) Error added in v0.50.0

Error satisfies the builtin error interface

func (ReportStageLogsFromLastCheckpointRequestValidationError) ErrorName added in v0.50.0

ErrorName returns error name.

func (ReportStageLogsFromLastCheckpointRequestValidationError) Field added in v0.50.0

Field function returns field value.

func (ReportStageLogsFromLastCheckpointRequestValidationError) Key added in v0.50.0

Key function returns key value.

func (ReportStageLogsFromLastCheckpointRequestValidationError) Reason added in v0.50.0

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) ProtoReflect added in v0.50.0

func (*ReportStageLogsFromLastCheckpointResponse) Reset added in v0.50.0

func (*ReportStageLogsFromLastCheckpointResponse) String added in v0.50.0

func (*ReportStageLogsFromLastCheckpointResponse) Validate added in v0.50.0

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

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

AllErrors returns a list of validation violation errors.

func (ReportStageLogsFromLastCheckpointResponseMultiError) Error added in v0.50.0

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

Cause function returns cause value.

func (ReportStageLogsFromLastCheckpointResponseValidationError) Error added in v0.50.0

Error satisfies the builtin error interface

func (ReportStageLogsFromLastCheckpointResponseValidationError) ErrorName added in v0.50.0

ErrorName returns error name.

func (ReportStageLogsFromLastCheckpointResponseValidationError) Field added in v0.50.0

Field function returns field value.

func (ReportStageLogsFromLastCheckpointResponseValidationError) Key added in v0.50.0

Key function returns key value.

func (ReportStageLogsFromLastCheckpointResponseValidationError) Reason added in v0.50.0

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

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

Cause function returns cause value.

func (ReportStageLogsRequestValidationError) Error added in v0.50.0

Error satisfies the builtin error interface

func (ReportStageLogsRequestValidationError) ErrorName added in v0.50.0

ErrorName returns error name.

func (ReportStageLogsRequestValidationError) Field added in v0.50.0

Field function returns field value.

func (ReportStageLogsRequestValidationError) Key added in v0.50.0

Key function returns key value.

func (ReportStageLogsRequestValidationError) Reason added in v0.50.0

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

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

Cause function returns cause value.

func (ReportStageLogsResponseValidationError) Error added in v0.50.0

Error satisfies the builtin error interface

func (ReportStageLogsResponseValidationError) ErrorName added in v0.50.0

ErrorName returns error name.

func (ReportStageLogsResponseValidationError) Field added in v0.50.0

Field function returns field value.

func (ReportStageLogsResponseValidationError) Key added in v0.50.0

Key function returns key value.

func (ReportStageLogsResponseValidationError) Reason added in v0.50.0

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) InstallTool added in v0.50.0

func (UnimplementedPluginServiceServer) ReportStageLogs added in v0.50.0

func (UnimplementedPluginServiceServer) ReportStageLogsFromLastCheckpoint added in v0.50.0

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.

Jump to

Keyboard shortcuts

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