Help us shape the future of Go! Take the 2026 Go Developer Survey

backendstest

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2020 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FixtureBackend

type FixtureBackend struct{}

func (*FixtureBackend) Configure

func (fb *FixtureBackend) Configure(config map[string]interface{}) (interface{}, error)

func (*FixtureBackend) DeleteSlot

func (fb *FixtureBackend) DeleteSlot(meta interface{}, appName, slotId string) error

func (*FixtureBackend) GetApplication

func (fb *FixtureBackend) GetApplication(meta interface{}, name string) (*schema.ApplicationData, error)

func (*FixtureBackend) GetDeployment

func (fb *FixtureBackend) GetDeployment(meta interface{}, appName, slotId, deploymentId string) (*schema.DeploymentData, error)

func (*FixtureBackend) GetSlot

func (fb *FixtureBackend) GetSlot(meta interface{}, appName, slotId string) (*schema.SlotData, error)

func (*FixtureBackend) IsReady

func (fb *FixtureBackend) IsReady(meta interface{}) (bool, error)

func (*FixtureBackend) ListApplications

func (fb *FixtureBackend) ListApplications(meta interface{}) ([]*schema.ApplicationData, error)

func (*FixtureBackend) ListSlots

func (fb *FixtureBackend) ListSlots(meta interface{}, appName string) ([]*schema.SlotData, error)

func (*FixtureBackend) ListSortedDeploymentsForSlotId

func (fb *FixtureBackend) ListSortedDeploymentsForSlotId(meta interface{}, appName, slotId string, limitPerSlot int) ([]*schema.DeploymentData, error)

func (*FixtureBackend) SaveApplication

func (fb *FixtureBackend) SaveApplication(meta interface{}, name string, data *schema.ApplicationData) error

func (*FixtureBackend) SaveDeployment

func (fb *FixtureBackend) SaveDeployment(meta interface{}, appName, slotId, deploymentId string, data *schema.DeploymentData) error

func (*FixtureBackend) SaveSlot

func (fb *FixtureBackend) SaveSlot(meta interface{}, appName, slotId string, slot *schema.SlotData) error

func (*FixtureBackend) SupportsWriteLock

func (fb *FixtureBackend) SupportsWriteLock() bool

Jump to

Keyboard shortcuts

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