mongodb

package
v0.0.0-...-9451de5 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2019 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PlanStorage

type PlanStorage struct{}

func (*PlanStorage) Delete

func (s *PlanStorage) Delete(p app.Plan) error

func (*PlanStorage) FindAll

func (s *PlanStorage) FindAll() ([]app.Plan, error)

func (*PlanStorage) FindByName

func (s *PlanStorage) FindByName(name string) (*app.Plan, error)

func (*PlanStorage) FindDefault

func (s *PlanStorage) FindDefault() (*app.Plan, error)

func (*PlanStorage) Insert

func (s *PlanStorage) Insert(p app.Plan) error

type PlatformImageStorage

type PlatformImageStorage struct{}

func (*PlatformImageStorage) Append

func (s *PlatformImageStorage) Append(name string, image string) error

func (*PlatformImageStorage) Delete

func (s *PlatformImageStorage) Delete(name string) error

func (*PlatformImageStorage) FindByName

func (s *PlatformImageStorage) FindByName(name string) (*image.PlatformImage, error)

func (*PlatformImageStorage) Upsert

func (s *PlatformImageStorage) Upsert(name string) (*image.PlatformImage, error)

type PlatformStorage

type PlatformStorage struct{}

func (*PlatformStorage) Delete

func (s *PlatformStorage) Delete(p app.Platform) error

func (*PlatformStorage) FindAll

func (s *PlatformStorage) FindAll() ([]app.Platform, error)

func (*PlatformStorage) FindByName

func (s *PlatformStorage) FindByName(name string) (*app.Platform, error)

func (*PlatformStorage) FindEnabled

func (s *PlatformStorage) FindEnabled() ([]app.Platform, error)

func (*PlatformStorage) Insert

func (s *PlatformStorage) Insert(p app.Platform) error

func (*PlatformStorage) Update

func (s *PlatformStorage) Update(p app.Platform) error

type TeamStorage

type TeamStorage struct{}

func (*TeamStorage) Delete

func (s *TeamStorage) Delete(t auth.Team) error

func (*TeamStorage) FindAll

func (s *TeamStorage) FindAll() ([]auth.Team, error)

func (*TeamStorage) FindByName

func (s *TeamStorage) FindByName(name string) (*auth.Team, error)

func (*TeamStorage) FindByNames

func (s *TeamStorage) FindByNames(names []string) ([]auth.Team, error)

func (*TeamStorage) Insert

func (s *TeamStorage) Insert(t auth.Team) error

func (*TeamStorage) Update

func (s *TeamStorage) Update(t auth.Team) error

Jump to

Keyboard shortcuts

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