resources

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 17 Imported by: ? 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

View Source
const (
	// HeaderTokenTransport holds the header key for the reva transfer token
	// "github.com/cs3org/reva/v2/internal/http/services/datagateway" is internal so we redeclare it here
	HeaderTokenTransport = "X-Reva-Transfer"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourcesFeatureContext

type ResourcesFeatureContext struct {
	*featurecontext.FeatureContext
}

ResourcesFeatureContext holds values which are used across test steps

func (*ResourcesFeatureContext) DeleteResourcesAfterScenario

func (f *ResourcesFeatureContext) DeleteResourcesAfterScenario(ctx context.Context, sc *godog.Scenario, err error) (context.Context, error)

deleteResourcesAfterScenario deletes resources which have been created after running the scenario

func (*ResourcesFeatureContext) EmptyTrashAfterScenario

func (f *ResourcesFeatureContext) EmptyTrashAfterScenario(ctx context.Context, sc *godog.Scenario, errsctx error) (context.Context, error)

emptyTrashAfterScenario empties the trash for all users after running the scenario

func (*ResourcesFeatureContext) NoResourceShouldBeListedInTheResponse

func (f *ResourcesFeatureContext) NoResourceShouldBeListedInTheResponse() error

func (*ResourcesFeatureContext) Register

func (f *ResourcesFeatureContext) Register(ctx *godog.ScenarioContext)

func (*ResourcesFeatureContext) ResourceOfTypeShouldBeListedInTheResponse

func (f *ResourcesFeatureContext) ResourceOfTypeShouldBeListedInTheResponse(number int, resourceType string) error

func (*ResourcesFeatureContext) UserHasCreatedAFolderOfTypeInTheHomeDirectoryWithTheAlias

func (f *ResourcesFeatureContext) UserHasCreatedAFolderOfTypeInTheHomeDirectoryWithTheAlias(user, resourceName, resourceAlias string) error

Jump to

Keyboard shortcuts

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