steps

package
v1.31.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: MIT Imports: 41 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExpectedMetaData

type ExpectedMetaData struct {
	Path          string
	IsPublishable string
	CollectionID  string
	BundleID      string
	Title         string
	SizeInBytes   string
	Type          string
	Licence       string
	LicenceURL    string
	CreatedAt     string
	LastModified  string
	State         string
	DatasetID     string
	Edition       string
	Version       string
}

type ExpectedMetaDataMoved added in v1.3.0

type ExpectedMetaDataMoved struct {
	ExpectedMetaDataPublished
	MovedAt string
}

type ExpectedMetaDataPublished

type ExpectedMetaDataPublished struct {
	ExpectedMetaDataUploadComplete
	PublishedAt string
}

type ExpectedMetaDataUploadComplete

type ExpectedMetaDataUploadComplete struct {
	ExpectedMetaData
	Etag              string
	UploadCompletedAt string
}

type FileEventData added in v1.13.0

type FileEventData struct {
	RequestedByID string
	Action        string
	Resource      string
	FilePath      string
	BundleID      string
	CollectionID  string
}

type FilesAPIComponent added in v1.7.0

type FilesAPIComponent struct {
	DpHTTPServer *dphttp.Server

	APIFeature *componenttest.APIFeature

	Config                  *config.Config
	AuthorisationMiddleware authorisation.Middleware
	// contains filtered or unexported fields
}

func NewFilesAPIComponent added in v1.7.0

func NewFilesAPIComponent(mongoURI, zebedeeURL string) (*FilesAPIComponent, error)

func (*FilesAPIComponent) Close added in v1.7.0

func (c *FilesAPIComponent) Close() error

func (*FilesAPIComponent) DoGetAuthorisationMiddleware added in v1.22.0

func (c *FilesAPIComponent) DoGetAuthorisationMiddleware(ctx context.Context, cfg *authorisation.Config) (authorisation.Middleware, error)

func (*FilesAPIComponent) Initialiser added in v1.7.0

func (c *FilesAPIComponent) Initialiser() (http.Handler, error)

func (*FilesAPIComponent) RegisterSteps added in v1.7.0

func (c *FilesAPIComponent) RegisterSteps(ctx *godog.ScenarioContext)

func (*FilesAPIComponent) Reset added in v1.7.0

func (c *FilesAPIComponent) Reset()

func (*FilesAPIComponent) SetMongoURI added in v1.25.0

func (c *FilesAPIComponent) SetMongoURI(mongoURI string)

type TestClock

type TestClock struct{}

func (TestClock) GetCurrentTime

func (tt TestClock) GetCurrentTime() time.Time

Jump to

Keyboard shortcuts

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