repositories

package
v0.0.0-...-7daac14 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InMemoryMissionControlRepository

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

func NewInMemoryMissionControlRepository

func NewInMemoryMissionControlRepository() *InMemoryMissionControlRepository

func (*InMemoryMissionControlRepository) GetByUUID

func (*InMemoryMissionControlRepository) GetByUser

func (*InMemoryMissionControlRepository) List

func (*InMemoryMissionControlRepository) Save

func (repo *InMemoryMissionControlRepository) Save(user *domain.User, missionControl *domain.MissionControl) error

type InMemoryPlatformRepository

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

func NewInMemoryPlatformRepository

func NewInMemoryPlatformRepository() *InMemoryPlatformRepository

func (*InMemoryPlatformRepository) GetByUUID

func (repo *InMemoryPlatformRepository) GetByUUID(uuid string) (*domain.Platform, error)

func (*InMemoryPlatformRepository) List

func (repo *InMemoryPlatformRepository) List() ([]*domain.Platform, error)

func (*InMemoryPlatformRepository) Save

func (repo *InMemoryPlatformRepository) Save(platform *domain.Platform) error

type InMemoryRoverRepository

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

func NewInMemoryRoverRepository

func NewInMemoryRoverRepository() *InMemoryRoverRepository

func (*InMemoryRoverRepository) GetByUUID

func (repo *InMemoryRoverRepository) GetByUUID(uuid string) (*domain.Rover, error)

func (*InMemoryRoverRepository) List

func (repo *InMemoryRoverRepository) List() ([]*domain.Rover, error)

func (*InMemoryRoverRepository) Save

func (repo *InMemoryRoverRepository) Save(rover *domain.Rover) error

type InMemoryUserRepository

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

func NewInMemoryUserRepository

func NewInMemoryUserRepository() *InMemoryUserRepository

func (*InMemoryUserRepository) GetByUUID

func (repo *InMemoryUserRepository) GetByUUID(uuid string) (*domain.User, error)

func (*InMemoryUserRepository) GetByUsername

func (repo *InMemoryUserRepository) GetByUsername(username string) (*domain.User, error)

func (*InMemoryUserRepository) List

func (repo *InMemoryUserRepository) List() ([]*domain.User, error)

func (*InMemoryUserRepository) Save

func (repo *InMemoryUserRepository) Save(user *domain.User) error

Jump to

Keyboard shortcuts

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