Documentation ¶
Overview ¶
Package jobs is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterMruVJobsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMruVJobsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MruVJobsServiceClient) error
- func RegisterMruVJobsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMruVJobsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MruVJobsServiceServer) error
- func RegisterMruVJobsServiceServer(s *grpc.Server, srv MruVJobsServiceServer)
- type CreateJobRequest
- type CreateJobRequestValidationError
- func (e CreateJobRequestValidationError) Cause() error
- func (e CreateJobRequestValidationError) Error() string
- func (e CreateJobRequestValidationError) ErrorName() string
- func (e CreateJobRequestValidationError) Field() string
- func (e CreateJobRequestValidationError) Key() bool
- func (e CreateJobRequestValidationError) Reason() string
- type CreateJobResponse
- type CreateJobResponseValidationError
- func (e CreateJobResponseValidationError) Cause() error
- func (e CreateJobResponseValidationError) Error() string
- func (e CreateJobResponseValidationError) ErrorName() string
- func (e CreateJobResponseValidationError) Field() string
- func (e CreateJobResponseValidationError) Key() bool
- func (e CreateJobResponseValidationError) Reason() string
- type DeleteJobRequest
- func (*DeleteJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteJobRequest) GetId() uint32
- func (*DeleteJobRequest) ProtoMessage()
- func (x *DeleteJobRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteJobRequest) Reset()
- func (x *DeleteJobRequest) String() string
- func (m *DeleteJobRequest) Validate() error
- type DeleteJobRequestValidationError
- func (e DeleteJobRequestValidationError) Cause() error
- func (e DeleteJobRequestValidationError) Error() string
- func (e DeleteJobRequestValidationError) ErrorName() string
- func (e DeleteJobRequestValidationError) Field() string
- func (e DeleteJobRequestValidationError) Key() bool
- func (e DeleteJobRequestValidationError) Reason() string
- type DeleteJobResponse
- type DeleteJobResponseValidationError
- func (e DeleteJobResponseValidationError) Cause() error
- func (e DeleteJobResponseValidationError) Error() string
- func (e DeleteJobResponseValidationError) ErrorName() string
- func (e DeleteJobResponseValidationError) Field() string
- func (e DeleteJobResponseValidationError) Key() bool
- func (e DeleteJobResponseValidationError) Reason() string
- type GetJobRequest
- func (*GetJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetJobRequest) GetId() uint32
- func (*GetJobRequest) ProtoMessage()
- func (x *GetJobRequest) ProtoReflect() protoreflect.Message
- func (x *GetJobRequest) Reset()
- func (x *GetJobRequest) String() string
- func (m *GetJobRequest) Validate() error
- type GetJobRequestValidationError
- func (e GetJobRequestValidationError) Cause() error
- func (e GetJobRequestValidationError) Error() string
- func (e GetJobRequestValidationError) ErrorName() string
- func (e GetJobRequestValidationError) Field() string
- func (e GetJobRequestValidationError) Key() bool
- func (e GetJobRequestValidationError) Reason() string
- type GetJobResponse
- type GetJobResponseValidationError
- func (e GetJobResponseValidationError) Cause() error
- func (e GetJobResponseValidationError) Error() string
- func (e GetJobResponseValidationError) ErrorName() string
- func (e GetJobResponseValidationError) Field() string
- func (e GetJobResponseValidationError) Key() bool
- func (e GetJobResponseValidationError) Reason() string
- type MruVJobsServiceClient
- type MruVJobsServiceServer
- type UnimplementedMruVJobsServiceServer
- func (*UnimplementedMruVJobsServiceServer) CreateJob(context.Context, *CreateJobRequest) (*CreateJobResponse, error)
- func (*UnimplementedMruVJobsServiceServer) DeleteJob(context.Context, *DeleteJobRequest) (*DeleteJobResponse, error)
- func (*UnimplementedMruVJobsServiceServer) GetJob(context.Context, *GetJobRequest) (*GetJobResponse, error)
- func (*UnimplementedMruVJobsServiceServer) UpdateJob(context.Context, *UpdateJobRequest) (*UpdateJobResponse, error)
- type UpdateJobRequest
- func (*UpdateJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateJobRequest) GetId() uint32
- func (*UpdateJobRequest) ProtoMessage()
- func (x *UpdateJobRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateJobRequest) Reset()
- func (x *UpdateJobRequest) String() string
- func (m *UpdateJobRequest) Validate() error
- type UpdateJobRequestValidationError
- func (e UpdateJobRequestValidationError) Cause() error
- func (e UpdateJobRequestValidationError) Error() string
- func (e UpdateJobRequestValidationError) ErrorName() string
- func (e UpdateJobRequestValidationError) Field() string
- func (e UpdateJobRequestValidationError) Key() bool
- func (e UpdateJobRequestValidationError) Reason() string
- type UpdateJobResponse
- type UpdateJobResponseValidationError
- func (e UpdateJobResponseValidationError) Cause() error
- func (e UpdateJobResponseValidationError) Error() string
- func (e UpdateJobResponseValidationError) ErrorName() string
- func (e UpdateJobResponseValidationError) Field() string
- func (e UpdateJobResponseValidationError) Key() bool
- func (e UpdateJobResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_jobs_jobs_proto protoreflect.FileDescriptor
Functions ¶
func RegisterMruVJobsServiceHandler ¶
func RegisterMruVJobsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterMruVJobsServiceHandler registers the http handlers for service MruVJobsService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterMruVJobsServiceHandlerClient ¶
func RegisterMruVJobsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MruVJobsServiceClient) error
RegisterMruVJobsServiceHandlerClient registers the http handlers for service MruVJobsService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MruVJobsServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MruVJobsServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MruVJobsServiceClient" to call the correct interceptors.
func RegisterMruVJobsServiceHandlerFromEndpoint ¶
func RegisterMruVJobsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterMruVJobsServiceHandlerFromEndpoint is same as RegisterMruVJobsServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterMruVJobsServiceHandlerServer ¶
func RegisterMruVJobsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MruVJobsServiceServer) error
RegisterMruVJobsServiceHandlerServer registers the http handlers for service MruVJobsService to "mux". UnaryRPC :call MruVJobsServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMruVJobsServiceHandlerFromEndpoint instead.
func RegisterMruVJobsServiceServer ¶
func RegisterMruVJobsServiceServer(s *grpc.Server, srv MruVJobsServiceServer)
Types ¶
type CreateJobRequest ¶
type CreateJobRequest struct {
// contains filtered or unexported fields
}
Request message for rpc `CreateJob`.
func (*CreateJobRequest) Descriptor
deprecated
func (*CreateJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateJobRequest.ProtoReflect.Descriptor instead.
func (*CreateJobRequest) ProtoMessage ¶
func (*CreateJobRequest) ProtoMessage()
func (*CreateJobRequest) ProtoReflect ¶ added in v0.8.4
func (x *CreateJobRequest) ProtoReflect() protoreflect.Message
func (*CreateJobRequest) Reset ¶
func (x *CreateJobRequest) Reset()
func (*CreateJobRequest) String ¶
func (x *CreateJobRequest) String() string
func (*CreateJobRequest) Validate ¶
func (m *CreateJobRequest) Validate() error
Validate checks the field values on CreateJobRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateJobRequestValidationError ¶
type CreateJobRequestValidationError struct {
// contains filtered or unexported fields
}
CreateJobRequestValidationError is the validation error returned by CreateJobRequest.Validate if the designated constraints aren't met.
func (CreateJobRequestValidationError) Cause ¶
func (e CreateJobRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateJobRequestValidationError) Error ¶
func (e CreateJobRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateJobRequestValidationError) ErrorName ¶
func (e CreateJobRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateJobRequestValidationError) Field ¶
func (e CreateJobRequestValidationError) Field() string
Field function returns field value.
func (CreateJobRequestValidationError) Key ¶
func (e CreateJobRequestValidationError) Key() bool
Key function returns key value.
func (CreateJobRequestValidationError) Reason ¶
func (e CreateJobRequestValidationError) Reason() string
Reason function returns reason value.
type CreateJobResponse ¶
type CreateJobResponse struct {
// contains filtered or unexported fields
}
Response message for rpc `CreateJob`.
func (*CreateJobResponse) Descriptor
deprecated
func (*CreateJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateJobResponse.ProtoReflect.Descriptor instead.
func (*CreateJobResponse) ProtoMessage ¶
func (*CreateJobResponse) ProtoMessage()
func (*CreateJobResponse) ProtoReflect ¶ added in v0.8.4
func (x *CreateJobResponse) ProtoReflect() protoreflect.Message
func (*CreateJobResponse) Reset ¶
func (x *CreateJobResponse) Reset()
func (*CreateJobResponse) String ¶
func (x *CreateJobResponse) String() string
func (*CreateJobResponse) Validate ¶
func (m *CreateJobResponse) Validate() error
Validate checks the field values on CreateJobResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateJobResponseValidationError ¶
type CreateJobResponseValidationError struct {
// contains filtered or unexported fields
}
CreateJobResponseValidationError is the validation error returned by CreateJobResponse.Validate if the designated constraints aren't met.
func (CreateJobResponseValidationError) Cause ¶
func (e CreateJobResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateJobResponseValidationError) Error ¶
func (e CreateJobResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateJobResponseValidationError) ErrorName ¶
func (e CreateJobResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateJobResponseValidationError) Field ¶
func (e CreateJobResponseValidationError) Field() string
Field function returns field value.
func (CreateJobResponseValidationError) Key ¶
func (e CreateJobResponseValidationError) Key() bool
Key function returns key value.
func (CreateJobResponseValidationError) Reason ¶
func (e CreateJobResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteJobRequest ¶
type DeleteJobRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Request message for rpc `DeleteJob`.
func (*DeleteJobRequest) Descriptor
deprecated
func (*DeleteJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteJobRequest.ProtoReflect.Descriptor instead.
func (*DeleteJobRequest) GetId ¶
func (x *DeleteJobRequest) GetId() uint32
func (*DeleteJobRequest) ProtoMessage ¶
func (*DeleteJobRequest) ProtoMessage()
func (*DeleteJobRequest) ProtoReflect ¶ added in v0.8.4
func (x *DeleteJobRequest) ProtoReflect() protoreflect.Message
func (*DeleteJobRequest) Reset ¶
func (x *DeleteJobRequest) Reset()
func (*DeleteJobRequest) String ¶
func (x *DeleteJobRequest) String() string
func (*DeleteJobRequest) Validate ¶
func (m *DeleteJobRequest) Validate() error
Validate checks the field values on DeleteJobRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteJobRequestValidationError ¶
type DeleteJobRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteJobRequestValidationError is the validation error returned by DeleteJobRequest.Validate if the designated constraints aren't met.
func (DeleteJobRequestValidationError) Cause ¶
func (e DeleteJobRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteJobRequestValidationError) Error ¶
func (e DeleteJobRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteJobRequestValidationError) ErrorName ¶
func (e DeleteJobRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteJobRequestValidationError) Field ¶
func (e DeleteJobRequestValidationError) Field() string
Field function returns field value.
func (DeleteJobRequestValidationError) Key ¶
func (e DeleteJobRequestValidationError) Key() bool
Key function returns key value.
func (DeleteJobRequestValidationError) Reason ¶
func (e DeleteJobRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteJobResponse ¶
type DeleteJobResponse struct {
// contains filtered or unexported fields
}
Response message for rpc `DeleteJob`.
func (*DeleteJobResponse) Descriptor
deprecated
func (*DeleteJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteJobResponse.ProtoReflect.Descriptor instead.
func (*DeleteJobResponse) ProtoMessage ¶
func (*DeleteJobResponse) ProtoMessage()
func (*DeleteJobResponse) ProtoReflect ¶ added in v0.8.4
func (x *DeleteJobResponse) ProtoReflect() protoreflect.Message
func (*DeleteJobResponse) Reset ¶
func (x *DeleteJobResponse) Reset()
func (*DeleteJobResponse) String ¶
func (x *DeleteJobResponse) String() string
func (*DeleteJobResponse) Validate ¶
func (m *DeleteJobResponse) Validate() error
Validate checks the field values on DeleteJobResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteJobResponseValidationError ¶
type DeleteJobResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteJobResponseValidationError is the validation error returned by DeleteJobResponse.Validate if the designated constraints aren't met.
func (DeleteJobResponseValidationError) Cause ¶
func (e DeleteJobResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteJobResponseValidationError) Error ¶
func (e DeleteJobResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteJobResponseValidationError) ErrorName ¶
func (e DeleteJobResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteJobResponseValidationError) Field ¶
func (e DeleteJobResponseValidationError) Field() string
Field function returns field value.
func (DeleteJobResponseValidationError) Key ¶
func (e DeleteJobResponseValidationError) Key() bool
Key function returns key value.
func (DeleteJobResponseValidationError) Reason ¶
func (e DeleteJobResponseValidationError) Reason() string
Reason function returns reason value.
type GetJobRequest ¶
type GetJobRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Request message for rpc `GetJob`.
func (*GetJobRequest) Descriptor
deprecated
func (*GetJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetJobRequest.ProtoReflect.Descriptor instead.
func (*GetJobRequest) GetId ¶
func (x *GetJobRequest) GetId() uint32
func (*GetJobRequest) ProtoMessage ¶
func (*GetJobRequest) ProtoMessage()
func (*GetJobRequest) ProtoReflect ¶ added in v0.8.4
func (x *GetJobRequest) ProtoReflect() protoreflect.Message
func (*GetJobRequest) Reset ¶
func (x *GetJobRequest) Reset()
func (*GetJobRequest) String ¶
func (x *GetJobRequest) String() string
func (*GetJobRequest) Validate ¶
func (m *GetJobRequest) Validate() error
Validate checks the field values on GetJobRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetJobRequestValidationError ¶
type GetJobRequestValidationError struct {
// contains filtered or unexported fields
}
GetJobRequestValidationError is the validation error returned by GetJobRequest.Validate if the designated constraints aren't met.
func (GetJobRequestValidationError) Cause ¶
func (e GetJobRequestValidationError) Cause() error
Cause function returns cause value.
func (GetJobRequestValidationError) Error ¶
func (e GetJobRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetJobRequestValidationError) ErrorName ¶
func (e GetJobRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetJobRequestValidationError) Field ¶
func (e GetJobRequestValidationError) Field() string
Field function returns field value.
func (GetJobRequestValidationError) Key ¶
func (e GetJobRequestValidationError) Key() bool
Key function returns key value.
func (GetJobRequestValidationError) Reason ¶
func (e GetJobRequestValidationError) Reason() string
Reason function returns reason value.
type GetJobResponse ¶
type GetJobResponse struct {
// contains filtered or unexported fields
}
Response message for rpc `GetJob`.
func (*GetJobResponse) Descriptor
deprecated
func (*GetJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetJobResponse.ProtoReflect.Descriptor instead.
func (*GetJobResponse) ProtoMessage ¶
func (*GetJobResponse) ProtoMessage()
func (*GetJobResponse) ProtoReflect ¶ added in v0.8.4
func (x *GetJobResponse) ProtoReflect() protoreflect.Message
func (*GetJobResponse) Reset ¶
func (x *GetJobResponse) Reset()
func (*GetJobResponse) String ¶
func (x *GetJobResponse) String() string
func (*GetJobResponse) Validate ¶
func (m *GetJobResponse) Validate() error
Validate checks the field values on GetJobResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetJobResponseValidationError ¶
type GetJobResponseValidationError struct {
// contains filtered or unexported fields
}
GetJobResponseValidationError is the validation error returned by GetJobResponse.Validate if the designated constraints aren't met.
func (GetJobResponseValidationError) Cause ¶
func (e GetJobResponseValidationError) Cause() error
Cause function returns cause value.
func (GetJobResponseValidationError) Error ¶
func (e GetJobResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetJobResponseValidationError) ErrorName ¶
func (e GetJobResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetJobResponseValidationError) Field ¶
func (e GetJobResponseValidationError) Field() string
Field function returns field value.
func (GetJobResponseValidationError) Key ¶
func (e GetJobResponseValidationError) Key() bool
Key function returns key value.
func (GetJobResponseValidationError) Reason ¶
func (e GetJobResponseValidationError) Reason() string
Reason function returns reason value.
type MruVJobsServiceClient ¶
type MruVJobsServiceClient interface { // Create a job. CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*CreateJobResponse, error) // Get a job. GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*GetJobResponse, error) // Update a job. UpdateJob(ctx context.Context, in *UpdateJobRequest, opts ...grpc.CallOption) (*UpdateJobResponse, error) // Delete a job. DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*DeleteJobResponse, error) }
MruVJobsServiceClient is the client API for MruVJobsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMruVJobsServiceClient ¶
func NewMruVJobsServiceClient(cc grpc.ClientConnInterface) MruVJobsServiceClient
type MruVJobsServiceServer ¶
type MruVJobsServiceServer interface { // Create a job. CreateJob(context.Context, *CreateJobRequest) (*CreateJobResponse, error) // Get a job. GetJob(context.Context, *GetJobRequest) (*GetJobResponse, error) // Update a job. UpdateJob(context.Context, *UpdateJobRequest) (*UpdateJobResponse, error) // Delete a job. DeleteJob(context.Context, *DeleteJobRequest) (*DeleteJobResponse, error) }
MruVJobsServiceServer is the server API for MruVJobsService service.
type UnimplementedMruVJobsServiceServer ¶
type UnimplementedMruVJobsServiceServer struct { }
UnimplementedMruVJobsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedMruVJobsServiceServer) CreateJob ¶
func (*UnimplementedMruVJobsServiceServer) CreateJob(context.Context, *CreateJobRequest) (*CreateJobResponse, error)
func (*UnimplementedMruVJobsServiceServer) DeleteJob ¶
func (*UnimplementedMruVJobsServiceServer) DeleteJob(context.Context, *DeleteJobRequest) (*DeleteJobResponse, error)
func (*UnimplementedMruVJobsServiceServer) GetJob ¶
func (*UnimplementedMruVJobsServiceServer) GetJob(context.Context, *GetJobRequest) (*GetJobResponse, error)
func (*UnimplementedMruVJobsServiceServer) UpdateJob ¶
func (*UnimplementedMruVJobsServiceServer) UpdateJob(context.Context, *UpdateJobRequest) (*UpdateJobResponse, error)
type UpdateJobRequest ¶
type UpdateJobRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Request message for rpc `UpdateJob`.
func (*UpdateJobRequest) Descriptor
deprecated
func (*UpdateJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateJobRequest.ProtoReflect.Descriptor instead.
func (*UpdateJobRequest) GetId ¶
func (x *UpdateJobRequest) GetId() uint32
func (*UpdateJobRequest) ProtoMessage ¶
func (*UpdateJobRequest) ProtoMessage()
func (*UpdateJobRequest) ProtoReflect ¶ added in v0.8.4
func (x *UpdateJobRequest) ProtoReflect() protoreflect.Message
func (*UpdateJobRequest) Reset ¶
func (x *UpdateJobRequest) Reset()
func (*UpdateJobRequest) String ¶
func (x *UpdateJobRequest) String() string
func (*UpdateJobRequest) Validate ¶
func (m *UpdateJobRequest) Validate() error
Validate checks the field values on UpdateJobRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateJobRequestValidationError ¶
type UpdateJobRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateJobRequestValidationError is the validation error returned by UpdateJobRequest.Validate if the designated constraints aren't met.
func (UpdateJobRequestValidationError) Cause ¶
func (e UpdateJobRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateJobRequestValidationError) Error ¶
func (e UpdateJobRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateJobRequestValidationError) ErrorName ¶
func (e UpdateJobRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateJobRequestValidationError) Field ¶
func (e UpdateJobRequestValidationError) Field() string
Field function returns field value.
func (UpdateJobRequestValidationError) Key ¶
func (e UpdateJobRequestValidationError) Key() bool
Key function returns key value.
func (UpdateJobRequestValidationError) Reason ¶
func (e UpdateJobRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateJobResponse ¶
type UpdateJobResponse struct {
// contains filtered or unexported fields
}
Response message for rpc `UpdateJob`.
func (*UpdateJobResponse) Descriptor
deprecated
func (*UpdateJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateJobResponse.ProtoReflect.Descriptor instead.
func (*UpdateJobResponse) ProtoMessage ¶
func (*UpdateJobResponse) ProtoMessage()
func (*UpdateJobResponse) ProtoReflect ¶ added in v0.8.4
func (x *UpdateJobResponse) ProtoReflect() protoreflect.Message
func (*UpdateJobResponse) Reset ¶
func (x *UpdateJobResponse) Reset()
func (*UpdateJobResponse) String ¶
func (x *UpdateJobResponse) String() string
func (*UpdateJobResponse) Validate ¶
func (m *UpdateJobResponse) Validate() error
Validate checks the field values on UpdateJobResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateJobResponseValidationError ¶
type UpdateJobResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateJobResponseValidationError is the validation error returned by UpdateJobResponse.Validate if the designated constraints aren't met.
func (UpdateJobResponseValidationError) Cause ¶
func (e UpdateJobResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateJobResponseValidationError) Error ¶
func (e UpdateJobResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateJobResponseValidationError) ErrorName ¶
func (e UpdateJobResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateJobResponseValidationError) Field ¶
func (e UpdateJobResponseValidationError) Field() string
Field function returns field value.
func (UpdateJobResponseValidationError) Key ¶
func (e UpdateJobResponseValidationError) Key() bool
Key function returns key value.
func (UpdateJobResponseValidationError) Reason ¶
func (e UpdateJobResponseValidationError) Reason() string
Reason function returns reason value.