memory

package
v0.0.0-...-980806f Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: Apache-2.0, Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLMSTenants

func NewLMSTenants() *lmsTenants

func NewOperation

func NewOperation() *operations

NewOperation creates in-memory storage for OSB operations.

Types

type Instance

type Instance struct {
	// contains filtered or unexported fields
}

func NewInstance

func NewInstance(operations *operations) *Instance

func (*Instance) Delete

func (s *Instance) Delete(instanceID string) error

func (*Instance) FindAllInstancesForRuntimes

func (s *Instance) FindAllInstancesForRuntimes(runtimeIdList []string) ([]internal.Instance, error)

func (*Instance) FindAllJoinedWithOperations

func (s *Instance) FindAllJoinedWithOperations(prct ...predicate.Predicate) ([]internal.InstanceWithOperation, error)

func (*Instance) GetByID

func (s *Instance) GetByID(instanceID string) (*internal.Instance, error)

func (*Instance) GetInstanceStats

func (s *Instance) GetInstanceStats() (internal.InstanceStats, error)

func (*Instance) Insert

func (s *Instance) Insert(instance internal.Instance) error

func (*Instance) Update

func (s *Instance) Update(instance internal.Instance) error

Jump to

Keyboard shortcuts

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