Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsJobFinishedErr ¶
IsJobFinishedErr returns true if 'err' has an error message that matches ErrJobFinished
func IsPipelineNotFoundErr ¶
IsPipelineNotFoundErr returns true if 'err' has an error message that matches ErrJobFinished
Types ¶
type APIServer ¶
type APIServer interface { pps_client.APIServer NewPropagater(*txncontext.TransactionContext) txncontext.PpsPropagater NewJobStopper(*txncontext.TransactionContext) txncontext.PpsJobStopper NewJobFinisher(*txncontext.TransactionContext) txncontext.PpsJobFinisher StopJobInTransaction(*txncontext.TransactionContext, *pps_client.StopJobRequest) error UpdateJobStateInTransaction(*txncontext.TransactionContext, *pps_client.UpdateJobStateRequest) error CreatePipelineInTransaction(*txncontext.TransactionContext, *pps_client.CreatePipelineRequest) error // InspectPipelineInTransaction returns the pipeline information for a // pipeline. Note that the pipeline name may include ancestry syntax. InspectPipelineInTransaction(*txncontext.TransactionContext, *pps.Pipeline) (*pps_client.PipelineInfo, error) ActivateAuthInTransaction(*txncontext.TransactionContext, *pps_client.ActivateAuthRequest) (*pps_client.ActivateAuthResponse, error) }
APIServer is the internal interface for other services to call this one. This includes all the public RPC methods and additional internal-only methods for use within pachd. These methods *do not* check that a user is authorized unless otherwise noted.
type ErrJobFinished ¶
ErrJobFinished represents a finished job error.
func (ErrJobFinished) Error ¶
func (e ErrJobFinished) Error() string
type ErrPipelineAlreadyExists ¶
func (ErrPipelineAlreadyExists) Error ¶
func (e ErrPipelineAlreadyExists) Error() string
func (ErrPipelineAlreadyExists) GRPCStatus ¶
func (e ErrPipelineAlreadyExists) GRPCStatus() *status.Status
type ErrPipelineNotFound ¶
func (ErrPipelineNotFound) Error ¶
func (e ErrPipelineNotFound) Error() string
func (ErrPipelineNotFound) GRPCStatus ¶
func (e ErrPipelineNotFound) GRPCStatus() *status.Status
Click to show internal directories.
Click to hide internal directories.