Documentation ¶
Index ¶
- Variables
- func RegisterPluginServiceServer(s grpc.ServiceRegistrar, srv PluginServiceServer)
- type GetLatestAnalysisResultRequest
- func (*GetLatestAnalysisResultRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLatestAnalysisResultRequest) GetApplicationId() string
- func (*GetLatestAnalysisResultRequest) ProtoMessage()
- func (x *GetLatestAnalysisResultRequest) ProtoReflect() protoreflect.Message
- func (x *GetLatestAnalysisResultRequest) Reset()
- func (x *GetLatestAnalysisResultRequest) String() string
- func (m *GetLatestAnalysisResultRequest) Validate() error
- func (m *GetLatestAnalysisResultRequest) ValidateAll() error
- type GetLatestAnalysisResultRequestMultiError
- type GetLatestAnalysisResultRequestValidationError
- func (e GetLatestAnalysisResultRequestValidationError) Cause() error
- func (e GetLatestAnalysisResultRequestValidationError) Error() string
- func (e GetLatestAnalysisResultRequestValidationError) ErrorName() string
- func (e GetLatestAnalysisResultRequestValidationError) Field() string
- func (e GetLatestAnalysisResultRequestValidationError) Key() bool
- func (e GetLatestAnalysisResultRequestValidationError) Reason() string
- type GetLatestAnalysisResultResponse
- func (*GetLatestAnalysisResultResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLatestAnalysisResultResponse) GetAnalysisResult() *model.AnalysisResult
- func (*GetLatestAnalysisResultResponse) ProtoMessage()
- func (x *GetLatestAnalysisResultResponse) ProtoReflect() protoreflect.Message
- func (x *GetLatestAnalysisResultResponse) Reset()
- func (x *GetLatestAnalysisResultResponse) String() string
- func (m *GetLatestAnalysisResultResponse) Validate() error
- func (m *GetLatestAnalysisResultResponse) ValidateAll() error
- type GetLatestAnalysisResultResponseMultiError
- type GetLatestAnalysisResultResponseValidationError
- func (e GetLatestAnalysisResultResponseValidationError) Cause() error
- func (e GetLatestAnalysisResultResponseValidationError) Error() string
- func (e GetLatestAnalysisResultResponseValidationError) ErrorName() string
- func (e GetLatestAnalysisResultResponseValidationError) Field() string
- func (e GetLatestAnalysisResultResponseValidationError) Key() bool
- func (e GetLatestAnalysisResultResponseValidationError) Reason() string
- type ListStageCommandsRequest
- func (*ListStageCommandsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListStageCommandsRequest) GetDeploymentId() string
- func (x *ListStageCommandsRequest) GetStageId() string
- func (*ListStageCommandsRequest) ProtoMessage()
- func (x *ListStageCommandsRequest) ProtoReflect() protoreflect.Message
- func (x *ListStageCommandsRequest) Reset()
- func (x *ListStageCommandsRequest) String() string
- func (m *ListStageCommandsRequest) Validate() error
- func (m *ListStageCommandsRequest) ValidateAll() error
- type ListStageCommandsRequestMultiError
- type ListStageCommandsRequestValidationError
- func (e ListStageCommandsRequestValidationError) Cause() error
- func (e ListStageCommandsRequestValidationError) Error() string
- func (e ListStageCommandsRequestValidationError) ErrorName() string
- func (e ListStageCommandsRequestValidationError) Field() string
- func (e ListStageCommandsRequestValidationError) Key() bool
- func (e ListStageCommandsRequestValidationError) Reason() string
- type ListStageCommandsResponse
- func (*ListStageCommandsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListStageCommandsResponse) GetCommands() []*model.Command
- func (*ListStageCommandsResponse) ProtoMessage()
- func (x *ListStageCommandsResponse) ProtoReflect() protoreflect.Message
- func (x *ListStageCommandsResponse) Reset()
- func (x *ListStageCommandsResponse) String() string
- func (m *ListStageCommandsResponse) Validate() error
- func (m *ListStageCommandsResponse) ValidateAll() error
- type ListStageCommandsResponseMultiError
- type ListStageCommandsResponseValidationError
- func (e ListStageCommandsResponseValidationError) Cause() error
- func (e ListStageCommandsResponseValidationError) Error() string
- func (e ListStageCommandsResponseValidationError) ErrorName() string
- func (e ListStageCommandsResponseValidationError) Field() string
- func (e ListStageCommandsResponseValidationError) Key() bool
- func (e ListStageCommandsResponseValidationError) Reason() string
- type PluginServiceClient
- type PluginServiceServer
- type PutLatestAnalysisResultRequest
- func (*PutLatestAnalysisResultRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutLatestAnalysisResultRequest) GetAnalysisResult() *model.AnalysisResult
- func (x *PutLatestAnalysisResultRequest) GetApplicationId() string
- func (*PutLatestAnalysisResultRequest) ProtoMessage()
- func (x *PutLatestAnalysisResultRequest) ProtoReflect() protoreflect.Message
- func (x *PutLatestAnalysisResultRequest) Reset()
- func (x *PutLatestAnalysisResultRequest) String() string
- func (m *PutLatestAnalysisResultRequest) Validate() error
- func (m *PutLatestAnalysisResultRequest) ValidateAll() error
- type PutLatestAnalysisResultRequestMultiError
- type PutLatestAnalysisResultRequestValidationError
- func (e PutLatestAnalysisResultRequestValidationError) Cause() error
- func (e PutLatestAnalysisResultRequestValidationError) Error() string
- func (e PutLatestAnalysisResultRequestValidationError) ErrorName() string
- func (e PutLatestAnalysisResultRequestValidationError) Field() string
- func (e PutLatestAnalysisResultRequestValidationError) Key() bool
- func (e PutLatestAnalysisResultRequestValidationError) Reason() string
- type PutLatestAnalysisResultResponse
- func (*PutLatestAnalysisResultResponse) Descriptor() ([]byte, []int)deprecated
- func (*PutLatestAnalysisResultResponse) ProtoMessage()
- func (x *PutLatestAnalysisResultResponse) ProtoReflect() protoreflect.Message
- func (x *PutLatestAnalysisResultResponse) Reset()
- func (x *PutLatestAnalysisResultResponse) String() string
- func (m *PutLatestAnalysisResultResponse) Validate() error
- func (m *PutLatestAnalysisResultResponse) ValidateAll() error
- type PutLatestAnalysisResultResponseMultiError
- type PutLatestAnalysisResultResponseValidationError
- func (e PutLatestAnalysisResultResponseValidationError) Cause() error
- func (e PutLatestAnalysisResultResponseValidationError) Error() string
- func (e PutLatestAnalysisResultResponseValidationError) ErrorName() string
- func (e PutLatestAnalysisResultResponseValidationError) Field() string
- func (e PutLatestAnalysisResultResponseValidationError) Key() bool
- func (e PutLatestAnalysisResultResponseValidationError) Reason() string
- type UnimplementedPluginServiceServer
- func (UnimplementedPluginServiceServer) GetLatestAnalysisResult(context.Context, *GetLatestAnalysisResultRequest) (*GetLatestAnalysisResultResponse, error)
- func (UnimplementedPluginServiceServer) ListStageCommands(context.Context, *ListStageCommandsRequest) (*ListStageCommandsResponse, error)
- func (UnimplementedPluginServiceServer) PutLatestAnalysisResult(context.Context, *PutLatestAnalysisResultRequest) (*PutLatestAnalysisResultResponse, 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: "ListStageCommands", Handler: _PluginService_ListStageCommands_Handler, }, { MethodName: "GetLatestAnalysisResult", Handler: _PluginService_GetLatestAnalysisResult_Handler, }, { MethodName: "PutLatestAnalysisResult", Handler: _PluginService_PutLatestAnalysisResult_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 GetLatestAnalysisResultRequest ¶
type GetLatestAnalysisResultRequest struct { ApplicationId string `protobuf:"bytes,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` // contains filtered or unexported fields }
func (*GetLatestAnalysisResultRequest) Descriptor
deprecated
func (*GetLatestAnalysisResultRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLatestAnalysisResultRequest.ProtoReflect.Descriptor instead.
func (*GetLatestAnalysisResultRequest) GetApplicationId ¶
func (x *GetLatestAnalysisResultRequest) GetApplicationId() string
func (*GetLatestAnalysisResultRequest) ProtoMessage ¶
func (*GetLatestAnalysisResultRequest) ProtoMessage()
func (*GetLatestAnalysisResultRequest) ProtoReflect ¶
func (x *GetLatestAnalysisResultRequest) ProtoReflect() protoreflect.Message
func (*GetLatestAnalysisResultRequest) Reset ¶
func (x *GetLatestAnalysisResultRequest) Reset()
func (*GetLatestAnalysisResultRequest) String ¶
func (x *GetLatestAnalysisResultRequest) String() string
func (*GetLatestAnalysisResultRequest) Validate ¶
func (m *GetLatestAnalysisResultRequest) Validate() error
Validate checks the field values on GetLatestAnalysisResultRequest 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 (*GetLatestAnalysisResultRequest) ValidateAll ¶
func (m *GetLatestAnalysisResultRequest) ValidateAll() error
ValidateAll checks the field values on GetLatestAnalysisResultRequest 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 GetLatestAnalysisResultRequestMultiError, or nil if none found.
type GetLatestAnalysisResultRequestMultiError ¶
type GetLatestAnalysisResultRequestMultiError []error
GetLatestAnalysisResultRequestMultiError is an error wrapping multiple validation errors returned by GetLatestAnalysisResultRequest.ValidateAll() if the designated constraints aren't met.
func (GetLatestAnalysisResultRequestMultiError) AllErrors ¶
func (m GetLatestAnalysisResultRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetLatestAnalysisResultRequestMultiError) Error ¶
func (m GetLatestAnalysisResultRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetLatestAnalysisResultRequestValidationError ¶
type GetLatestAnalysisResultRequestValidationError struct {
// contains filtered or unexported fields
}
GetLatestAnalysisResultRequestValidationError is the validation error returned by GetLatestAnalysisResultRequest.Validate if the designated constraints aren't met.
func (GetLatestAnalysisResultRequestValidationError) Cause ¶
func (e GetLatestAnalysisResultRequestValidationError) Cause() error
Cause function returns cause value.
func (GetLatestAnalysisResultRequestValidationError) Error ¶
func (e GetLatestAnalysisResultRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetLatestAnalysisResultRequestValidationError) ErrorName ¶
func (e GetLatestAnalysisResultRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetLatestAnalysisResultRequestValidationError) Field ¶
func (e GetLatestAnalysisResultRequestValidationError) Field() string
Field function returns field value.
func (GetLatestAnalysisResultRequestValidationError) Key ¶
func (e GetLatestAnalysisResultRequestValidationError) Key() bool
Key function returns key value.
func (GetLatestAnalysisResultRequestValidationError) Reason ¶
func (e GetLatestAnalysisResultRequestValidationError) Reason() string
Reason function returns reason value.
type GetLatestAnalysisResultResponse ¶
type GetLatestAnalysisResultResponse struct { AnalysisResult *model.AnalysisResult `protobuf:"bytes,1,opt,name=analysis_result,json=analysisResult,proto3" json:"analysis_result,omitempty"` // contains filtered or unexported fields }
func (*GetLatestAnalysisResultResponse) Descriptor
deprecated
func (*GetLatestAnalysisResultResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLatestAnalysisResultResponse.ProtoReflect.Descriptor instead.
func (*GetLatestAnalysisResultResponse) GetAnalysisResult ¶
func (x *GetLatestAnalysisResultResponse) GetAnalysisResult() *model.AnalysisResult
func (*GetLatestAnalysisResultResponse) ProtoMessage ¶
func (*GetLatestAnalysisResultResponse) ProtoMessage()
func (*GetLatestAnalysisResultResponse) ProtoReflect ¶
func (x *GetLatestAnalysisResultResponse) ProtoReflect() protoreflect.Message
func (*GetLatestAnalysisResultResponse) Reset ¶
func (x *GetLatestAnalysisResultResponse) Reset()
func (*GetLatestAnalysisResultResponse) String ¶
func (x *GetLatestAnalysisResultResponse) String() string
func (*GetLatestAnalysisResultResponse) Validate ¶
func (m *GetLatestAnalysisResultResponse) Validate() error
Validate checks the field values on GetLatestAnalysisResultResponse 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 (*GetLatestAnalysisResultResponse) ValidateAll ¶
func (m *GetLatestAnalysisResultResponse) ValidateAll() error
ValidateAll checks the field values on GetLatestAnalysisResultResponse 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 GetLatestAnalysisResultResponseMultiError, or nil if none found.
type GetLatestAnalysisResultResponseMultiError ¶
type GetLatestAnalysisResultResponseMultiError []error
GetLatestAnalysisResultResponseMultiError is an error wrapping multiple validation errors returned by GetLatestAnalysisResultResponse.ValidateAll() if the designated constraints aren't met.
func (GetLatestAnalysisResultResponseMultiError) AllErrors ¶
func (m GetLatestAnalysisResultResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetLatestAnalysisResultResponseMultiError) Error ¶
func (m GetLatestAnalysisResultResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetLatestAnalysisResultResponseValidationError ¶
type GetLatestAnalysisResultResponseValidationError struct {
// contains filtered or unexported fields
}
GetLatestAnalysisResultResponseValidationError is the validation error returned by GetLatestAnalysisResultResponse.Validate if the designated constraints aren't met.
func (GetLatestAnalysisResultResponseValidationError) Cause ¶
func (e GetLatestAnalysisResultResponseValidationError) Cause() error
Cause function returns cause value.
func (GetLatestAnalysisResultResponseValidationError) Error ¶
func (e GetLatestAnalysisResultResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetLatestAnalysisResultResponseValidationError) ErrorName ¶
func (e GetLatestAnalysisResultResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetLatestAnalysisResultResponseValidationError) Field ¶
func (e GetLatestAnalysisResultResponseValidationError) Field() string
Field function returns field value.
func (GetLatestAnalysisResultResponseValidationError) Key ¶
func (e GetLatestAnalysisResultResponseValidationError) Key() bool
Key function returns key value.
func (GetLatestAnalysisResultResponseValidationError) Reason ¶
func (e GetLatestAnalysisResultResponseValidationError) Reason() string
Reason function returns reason value.
type ListStageCommandsRequest ¶
type ListStageCommandsRequest 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"` // contains filtered or unexported fields }
func (*ListStageCommandsRequest) Descriptor
deprecated
func (*ListStageCommandsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListStageCommandsRequest.ProtoReflect.Descriptor instead.
func (*ListStageCommandsRequest) GetDeploymentId ¶
func (x *ListStageCommandsRequest) GetDeploymentId() string
func (*ListStageCommandsRequest) GetStageId ¶
func (x *ListStageCommandsRequest) GetStageId() string
func (*ListStageCommandsRequest) ProtoMessage ¶
func (*ListStageCommandsRequest) ProtoMessage()
func (*ListStageCommandsRequest) ProtoReflect ¶
func (x *ListStageCommandsRequest) ProtoReflect() protoreflect.Message
func (*ListStageCommandsRequest) Reset ¶
func (x *ListStageCommandsRequest) Reset()
func (*ListStageCommandsRequest) String ¶
func (x *ListStageCommandsRequest) String() string
func (*ListStageCommandsRequest) Validate ¶
func (m *ListStageCommandsRequest) Validate() error
Validate checks the field values on ListStageCommandsRequest 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 (*ListStageCommandsRequest) ValidateAll ¶
func (m *ListStageCommandsRequest) ValidateAll() error
ValidateAll checks the field values on ListStageCommandsRequest 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 ListStageCommandsRequestMultiError, or nil if none found.
type ListStageCommandsRequestMultiError ¶
type ListStageCommandsRequestMultiError []error
ListStageCommandsRequestMultiError is an error wrapping multiple validation errors returned by ListStageCommandsRequest.ValidateAll() if the designated constraints aren't met.
func (ListStageCommandsRequestMultiError) AllErrors ¶
func (m ListStageCommandsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListStageCommandsRequestMultiError) Error ¶
func (m ListStageCommandsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListStageCommandsRequestValidationError ¶
type ListStageCommandsRequestValidationError struct {
// contains filtered or unexported fields
}
ListStageCommandsRequestValidationError is the validation error returned by ListStageCommandsRequest.Validate if the designated constraints aren't met.
func (ListStageCommandsRequestValidationError) Cause ¶
func (e ListStageCommandsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListStageCommandsRequestValidationError) Error ¶
func (e ListStageCommandsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListStageCommandsRequestValidationError) ErrorName ¶
func (e ListStageCommandsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListStageCommandsRequestValidationError) Field ¶
func (e ListStageCommandsRequestValidationError) Field() string
Field function returns field value.
func (ListStageCommandsRequestValidationError) Key ¶
func (e ListStageCommandsRequestValidationError) Key() bool
Key function returns key value.
func (ListStageCommandsRequestValidationError) Reason ¶
func (e ListStageCommandsRequestValidationError) Reason() string
Reason function returns reason value.
type ListStageCommandsResponse ¶
type ListStageCommandsResponse struct { Commands []*model.Command `protobuf:"bytes,1,rep,name=commands,proto3" json:"commands,omitempty"` // contains filtered or unexported fields }
func (*ListStageCommandsResponse) Descriptor
deprecated
func (*ListStageCommandsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListStageCommandsResponse.ProtoReflect.Descriptor instead.
func (*ListStageCommandsResponse) GetCommands ¶
func (x *ListStageCommandsResponse) GetCommands() []*model.Command
func (*ListStageCommandsResponse) ProtoMessage ¶
func (*ListStageCommandsResponse) ProtoMessage()
func (*ListStageCommandsResponse) ProtoReflect ¶
func (x *ListStageCommandsResponse) ProtoReflect() protoreflect.Message
func (*ListStageCommandsResponse) Reset ¶
func (x *ListStageCommandsResponse) Reset()
func (*ListStageCommandsResponse) String ¶
func (x *ListStageCommandsResponse) String() string
func (*ListStageCommandsResponse) Validate ¶
func (m *ListStageCommandsResponse) Validate() error
Validate checks the field values on ListStageCommandsResponse 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 (*ListStageCommandsResponse) ValidateAll ¶
func (m *ListStageCommandsResponse) ValidateAll() error
ValidateAll checks the field values on ListStageCommandsResponse 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 ListStageCommandsResponseMultiError, or nil if none found.
type ListStageCommandsResponseMultiError ¶
type ListStageCommandsResponseMultiError []error
ListStageCommandsResponseMultiError is an error wrapping multiple validation errors returned by ListStageCommandsResponse.ValidateAll() if the designated constraints aren't met.
func (ListStageCommandsResponseMultiError) AllErrors ¶
func (m ListStageCommandsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListStageCommandsResponseMultiError) Error ¶
func (m ListStageCommandsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListStageCommandsResponseValidationError ¶
type ListStageCommandsResponseValidationError struct {
// contains filtered or unexported fields
}
ListStageCommandsResponseValidationError is the validation error returned by ListStageCommandsResponse.Validate if the designated constraints aren't met.
func (ListStageCommandsResponseValidationError) Cause ¶
func (e ListStageCommandsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListStageCommandsResponseValidationError) Error ¶
func (e ListStageCommandsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListStageCommandsResponseValidationError) ErrorName ¶
func (e ListStageCommandsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListStageCommandsResponseValidationError) Field ¶
func (e ListStageCommandsResponseValidationError) Field() string
Field function returns field value.
func (ListStageCommandsResponseValidationError) Key ¶
func (e ListStageCommandsResponseValidationError) Key() bool
Key function returns key value.
func (ListStageCommandsResponseValidationError) Reason ¶
func (e ListStageCommandsResponseValidationError) Reason() string
Reason function returns reason value.
type PluginServiceClient ¶
type PluginServiceClient interface { // ListStageCommands returns the list requested commands to the given stage. ListStageCommands(ctx context.Context, in *ListStageCommandsRequest, opts ...grpc.CallOption) (*ListStageCommandsResponse, error) // Put and Get the latest analysis result of a given application. // Used by the analysis plugin to store and retrieve the latest analysis result. GetLatestAnalysisResult(ctx context.Context, in *GetLatestAnalysisResultRequest, opts ...grpc.CallOption) (*GetLatestAnalysisResultResponse, error) PutLatestAnalysisResult(ctx context.Context, in *PutLatestAnalysisResultRequest, opts ...grpc.CallOption) (*PutLatestAnalysisResultResponse, 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 { // ListStageCommands returns the list requested commands to the given stage. ListStageCommands(context.Context, *ListStageCommandsRequest) (*ListStageCommandsResponse, error) // Put and Get the latest analysis result of a given application. // Used by the analysis plugin to store and retrieve the latest analysis result. GetLatestAnalysisResult(context.Context, *GetLatestAnalysisResultRequest) (*GetLatestAnalysisResultResponse, error) PutLatestAnalysisResult(context.Context, *PutLatestAnalysisResultRequest) (*PutLatestAnalysisResultResponse, error) // contains filtered or unexported methods }
PluginServiceServer is the server API for PluginService service. All implementations must embed UnimplementedPluginServiceServer for forward compatibility
type PutLatestAnalysisResultRequest ¶
type PutLatestAnalysisResultRequest struct { ApplicationId string `protobuf:"bytes,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` AnalysisResult *model.AnalysisResult `protobuf:"bytes,2,opt,name=analysis_result,json=analysisResult,proto3" json:"analysis_result,omitempty"` // contains filtered or unexported fields }
func (*PutLatestAnalysisResultRequest) Descriptor
deprecated
func (*PutLatestAnalysisResultRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutLatestAnalysisResultRequest.ProtoReflect.Descriptor instead.
func (*PutLatestAnalysisResultRequest) GetAnalysisResult ¶
func (x *PutLatestAnalysisResultRequest) GetAnalysisResult() *model.AnalysisResult
func (*PutLatestAnalysisResultRequest) GetApplicationId ¶
func (x *PutLatestAnalysisResultRequest) GetApplicationId() string
func (*PutLatestAnalysisResultRequest) ProtoMessage ¶
func (*PutLatestAnalysisResultRequest) ProtoMessage()
func (*PutLatestAnalysisResultRequest) ProtoReflect ¶
func (x *PutLatestAnalysisResultRequest) ProtoReflect() protoreflect.Message
func (*PutLatestAnalysisResultRequest) Reset ¶
func (x *PutLatestAnalysisResultRequest) Reset()
func (*PutLatestAnalysisResultRequest) String ¶
func (x *PutLatestAnalysisResultRequest) String() string
func (*PutLatestAnalysisResultRequest) Validate ¶
func (m *PutLatestAnalysisResultRequest) Validate() error
Validate checks the field values on PutLatestAnalysisResultRequest 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 (*PutLatestAnalysisResultRequest) ValidateAll ¶
func (m *PutLatestAnalysisResultRequest) ValidateAll() error
ValidateAll checks the field values on PutLatestAnalysisResultRequest 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 PutLatestAnalysisResultRequestMultiError, or nil if none found.
type PutLatestAnalysisResultRequestMultiError ¶
type PutLatestAnalysisResultRequestMultiError []error
PutLatestAnalysisResultRequestMultiError is an error wrapping multiple validation errors returned by PutLatestAnalysisResultRequest.ValidateAll() if the designated constraints aren't met.
func (PutLatestAnalysisResultRequestMultiError) AllErrors ¶
func (m PutLatestAnalysisResultRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PutLatestAnalysisResultRequestMultiError) Error ¶
func (m PutLatestAnalysisResultRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PutLatestAnalysisResultRequestValidationError ¶
type PutLatestAnalysisResultRequestValidationError struct {
// contains filtered or unexported fields
}
PutLatestAnalysisResultRequestValidationError is the validation error returned by PutLatestAnalysisResultRequest.Validate if the designated constraints aren't met.
func (PutLatestAnalysisResultRequestValidationError) Cause ¶
func (e PutLatestAnalysisResultRequestValidationError) Cause() error
Cause function returns cause value.
func (PutLatestAnalysisResultRequestValidationError) Error ¶
func (e PutLatestAnalysisResultRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PutLatestAnalysisResultRequestValidationError) ErrorName ¶
func (e PutLatestAnalysisResultRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PutLatestAnalysisResultRequestValidationError) Field ¶
func (e PutLatestAnalysisResultRequestValidationError) Field() string
Field function returns field value.
func (PutLatestAnalysisResultRequestValidationError) Key ¶
func (e PutLatestAnalysisResultRequestValidationError) Key() bool
Key function returns key value.
func (PutLatestAnalysisResultRequestValidationError) Reason ¶
func (e PutLatestAnalysisResultRequestValidationError) Reason() string
Reason function returns reason value.
type PutLatestAnalysisResultResponse ¶
type PutLatestAnalysisResultResponse struct {
// contains filtered or unexported fields
}
func (*PutLatestAnalysisResultResponse) Descriptor
deprecated
func (*PutLatestAnalysisResultResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutLatestAnalysisResultResponse.ProtoReflect.Descriptor instead.
func (*PutLatestAnalysisResultResponse) ProtoMessage ¶
func (*PutLatestAnalysisResultResponse) ProtoMessage()
func (*PutLatestAnalysisResultResponse) ProtoReflect ¶
func (x *PutLatestAnalysisResultResponse) ProtoReflect() protoreflect.Message
func (*PutLatestAnalysisResultResponse) Reset ¶
func (x *PutLatestAnalysisResultResponse) Reset()
func (*PutLatestAnalysisResultResponse) String ¶
func (x *PutLatestAnalysisResultResponse) String() string
func (*PutLatestAnalysisResultResponse) Validate ¶
func (m *PutLatestAnalysisResultResponse) Validate() error
Validate checks the field values on PutLatestAnalysisResultResponse 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 (*PutLatestAnalysisResultResponse) ValidateAll ¶
func (m *PutLatestAnalysisResultResponse) ValidateAll() error
ValidateAll checks the field values on PutLatestAnalysisResultResponse 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 PutLatestAnalysisResultResponseMultiError, or nil if none found.
type PutLatestAnalysisResultResponseMultiError ¶
type PutLatestAnalysisResultResponseMultiError []error
PutLatestAnalysisResultResponseMultiError is an error wrapping multiple validation errors returned by PutLatestAnalysisResultResponse.ValidateAll() if the designated constraints aren't met.
func (PutLatestAnalysisResultResponseMultiError) AllErrors ¶
func (m PutLatestAnalysisResultResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PutLatestAnalysisResultResponseMultiError) Error ¶
func (m PutLatestAnalysisResultResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PutLatestAnalysisResultResponseValidationError ¶
type PutLatestAnalysisResultResponseValidationError struct {
// contains filtered or unexported fields
}
PutLatestAnalysisResultResponseValidationError is the validation error returned by PutLatestAnalysisResultResponse.Validate if the designated constraints aren't met.
func (PutLatestAnalysisResultResponseValidationError) Cause ¶
func (e PutLatestAnalysisResultResponseValidationError) Cause() error
Cause function returns cause value.
func (PutLatestAnalysisResultResponseValidationError) Error ¶
func (e PutLatestAnalysisResultResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PutLatestAnalysisResultResponseValidationError) ErrorName ¶
func (e PutLatestAnalysisResultResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PutLatestAnalysisResultResponseValidationError) Field ¶
func (e PutLatestAnalysisResultResponseValidationError) Field() string
Field function returns field value.
func (PutLatestAnalysisResultResponseValidationError) Key ¶
func (e PutLatestAnalysisResultResponseValidationError) Key() bool
Key function returns key value.
func (PutLatestAnalysisResultResponseValidationError) Reason ¶
func (e PutLatestAnalysisResultResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedPluginServiceServer ¶
type UnimplementedPluginServiceServer struct { }
UnimplementedPluginServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedPluginServiceServer) GetLatestAnalysisResult ¶
func (UnimplementedPluginServiceServer) GetLatestAnalysisResult(context.Context, *GetLatestAnalysisResultRequest) (*GetLatestAnalysisResultResponse, error)
func (UnimplementedPluginServiceServer) ListStageCommands ¶
func (UnimplementedPluginServiceServer) ListStageCommands(context.Context, *ListStageCommandsRequest) (*ListStageCommandsResponse, error)
func (UnimplementedPluginServiceServer) PutLatestAnalysisResult ¶
func (UnimplementedPluginServiceServer) PutLatestAnalysisResult(context.Context, *PutLatestAnalysisResultRequest) (*PutLatestAnalysisResultResponse, 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.