Documentation ¶
Overview ¶
Package pipeline provides tools to work with one of more pipelines.
Index ¶
- Variables
- func IngestStatus(ctx context.Context, client *amclient.Client, ID string) error
- func NewService(logger logr.Logger, registry *Registry) *pipelineImpl
- func TransferStatus(ctx context.Context, client *amclient.Client, ID string) (string, error)
- type Config
- type Pipeline
- type Registry
- type Service
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrStatusNonRetryable = errors.New("non retryable error") ErrStatusRetryable = errors.New("retryable error") ErrStatusInProgress = errors.New("waitable error") )
View Source
var ErrUnknownPipeline = errors.New("unknown pipeline")
Functions ¶
func IngestStatus ¶
IngestStatus returns a non-nil error when the SIP is not fully ingested.
func NewService ¶ added in v0.24.0
Types ¶
type Pipeline ¶ added in v0.5.2
type Pipeline struct { // ID (UUID) of the pipeline. This is not provided by the user but loaded // on demand once we have access to the pipeline API. ID string // contains filtered or unexported fields }
func NewPipeline ¶ added in v0.5.2
func (Pipeline) SSAccess ¶ added in v0.14.0
SSAccess returns the URL and user:key pair needed to access Storage Service.
func (Pipeline) TempFile ¶ added in v0.5.2
TempFile creates a temporary file in the processing directory.
func (*Pipeline) TryAcquire ¶ added in v0.24.1
type Registry ¶ added in v0.5.2
type Registry struct {
// contains filtered or unexported fields
}
Registry is a collection of known pipelines.
func NewPipelineRegistry ¶
type Service ¶ added in v0.24.0
type Service interface { List(context.Context, *goapipeline.ListPayload) (res []*goapipeline.EnduroStoredPipeline, err error) Show(context.Context, *goapipeline.ShowPayload) (res *goapipeline.EnduroStoredPipeline, err error) }
Click to show internal directories.
Click to hide internal directories.