steps

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2025 License: MIT Imports: 36 Imported by: 0

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
}

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 FilesAPIComponent added in v1.7.0

type FilesAPIComponent struct {
	DpHTTPServer *dphttp.Server

	APIFeature *componenttest.APIFeature
	// contains filtered or unexported fields
}

func NewFilesAPIComponent added in v1.7.0

func NewFilesAPIComponent() *FilesAPIComponent

func (*FilesAPIComponent) Close added in v1.7.0

func (c *FilesAPIComponent) Close() 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()

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