Documentation ¶
Index ¶
- Constants
- type PlanStorage
- func (s *PlanStorage) Delete(ctx context.Context, p app.Plan) error
- func (s *PlanStorage) FindAll(ctx context.Context) ([]app.Plan, error)
- func (s *PlanStorage) FindByName(ctx context.Context, name string) (*app.Plan, error)
- func (s *PlanStorage) FindDefault(ctx context.Context) (*app.Plan, error)
- func (s *PlanStorage) Insert(ctx context.Context, p app.Plan) error
- type PlatformImageStorage
- func (s *PlatformImageStorage) Append(ctx context.Context, name string, version int, images []string) error
- func (s *PlatformImageStorage) Delete(ctx context.Context, name string) error
- func (s *PlatformImageStorage) FindByName(ctx context.Context, name string) (*image.PlatformImage, error)
- func (s *PlatformImageStorage) Upsert(ctx context.Context, name string) (*image.PlatformImage, error)
- type PlatformStorage
- func (s *PlatformStorage) Delete(ctx context.Context, p app.Platform) error
- func (s *PlatformStorage) FindAll(ctx context.Context) ([]app.Platform, error)
- func (s *PlatformStorage) FindByName(ctx context.Context, name string) (*app.Platform, error)
- func (s *PlatformStorage) FindEnabled(ctx context.Context) ([]app.Platform, error)
- func (s *PlatformStorage) Insert(ctx context.Context, p app.Platform) error
- func (s *PlatformStorage) Update(ctx context.Context, p app.Platform) error
- type PoolStorage
- type TeamStorage
- func (s *TeamStorage) Delete(ctx context.Context, t auth.Team) error
- func (s *TeamStorage) FindAll(ctx context.Context) ([]auth.Team, error)
- func (s *TeamStorage) FindByName(ctx context.Context, name string) (*auth.Team, error)
- func (s *TeamStorage) FindByNames(ctx context.Context, names []string) ([]auth.Team, error)
- func (s *TeamStorage) Insert(ctx context.Context, t auth.Team) error
- func (s *TeamStorage) Update(ctx context.Context, t auth.Team) error
Constants ¶
View Source
const PoolCollectionName = "pool"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlanStorage ¶
type PlanStorage struct{}
func (*PlanStorage) FindByName ¶
func (*PlanStorage) FindDefault ¶
type PlatformImageStorage ¶
type PlatformImageStorage struct{}
func (*PlatformImageStorage) Delete ¶
func (s *PlatformImageStorage) Delete(ctx context.Context, name string) error
func (*PlatformImageStorage) FindByName ¶
func (s *PlatformImageStorage) FindByName(ctx context.Context, name string) (*image.PlatformImage, error)
func (*PlatformImageStorage) Upsert ¶
func (s *PlatformImageStorage) Upsert(ctx context.Context, name string) (*image.PlatformImage, error)
type PlatformStorage ¶
type PlatformStorage struct{}
func (*PlatformStorage) FindByName ¶
func (*PlatformStorage) FindEnabled ¶
type PoolStorage ¶
type PoolStorage struct{}
func (*PoolStorage) FindByName ¶
type TeamStorage ¶
type TeamStorage struct{}
func (*TeamStorage) FindByName ¶
func (*TeamStorage) FindByNames ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.