spacelet

package
v0.0.0-...-1ae172a Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpaceletListCondition

type SpaceletListCondition struct {
	Status string
}

type SpaceletManager

type SpaceletManager struct {
	DB *gorm.DB
}

func NewSpaceletManager

func NewSpaceletManager(db *gorm.DB) *SpaceletManager

func (*SpaceletManager) Create

func (s *SpaceletManager) Create(object *types.Spacelet) (*types.Spacelet, error)

func (*SpaceletManager) Delete

func (s *SpaceletManager) Delete(id uint) error

func (*SpaceletManager) Get

func (s *SpaceletManager) Get(id uint) (*types.Spacelet, error)

func (*SpaceletManager) GetByHostname

func (s *SpaceletManager) GetByHostname(hostname string, opfs ...manager.OptionFunc) (*types.Spacelet, error)

func (*SpaceletManager) GetByIpPort

func (s *SpaceletManager) GetByIpPort(hostIp string, port int) (*types.Spacelet, error)

func (*SpaceletManager) List

func (*SpaceletManager) Save

func (s *SpaceletManager) Save(object *types.Spacelet) error

func (*SpaceletManager) Update

func (s *SpaceletManager) Update(id uint, object *types.Spacelet) error

Jump to

Keyboard shortcuts

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