Documentation ¶
Index ¶
- type BuildStorage
- func (s *BuildStorage) Attach(ctx context.Context, builder *types.Builder) (*types.Build, error)
- func (s *BuildStorage) Get(ctx context.Context, id string) (*types.Build, error)
- func (s *BuildStorage) GetByTask(ctx context.Context, id string) (*types.Build, error)
- func (s *BuildStorage) Insert(ctx context.Context, build *types.Build) error
- func (s *BuildStorage) List(ctx context.Context, image string, f *filter.BuildFilter) (*types.BuildList, error)
- func (s *BuildStorage) Remove(ctx context.Context, build *types.Build) error
- func (s *BuildStorage) Unfreeze(ctx context.Context) error
- func (s *BuildStorage) Update(ctx context.Context, build *types.Build) error
- type BuilderStorage
- func (s *BuilderStorage) Get(ctx context.Context, id string) (*types.Builder, error)
- func (s *BuilderStorage) Insert(ctx context.Context, builder *types.Builder) error
- func (s *BuilderStorage) MarkOffline(ctx context.Context) error
- func (s *BuilderStorage) Update(ctx context.Context, builder *types.Builder) error
- type ImageStorage
- func (s *ImageStorage) Get(ctx context.Context, owner, name string) (*types.Image, error)
- func (s *ImageStorage) Insert(ctx context.Context, image *types.Image) error
- func (s *ImageStorage) List(ctx context.Context, f *filter.ImageFilter) ([]*types.Image, error)
- func (s *ImageStorage) Remove(ctx context.Context, image *types.Image) error
- func (s *ImageStorage) Update(ctx context.Context, image *types.Image) error
- type Storage
- func (s *Storage) Begin(ctx context.Context) (context.Context, error)
- func (s *Storage) Build() storage.Build
- func (s *Storage) Builder() storage.Builder
- func (s *Storage) Commit(ctx context.Context) (context.Context, error)
- func (s *Storage) Image() storage.Image
- func (s *Storage) Listen(ctx context.Context, key string, listener chan string) error
- func (s *Storage) Rollback(ctx context.Context) (context.Context, error)
- func (s *Storage) System() storage.System
- type SystemStorage
- func (s *SystemStorage) Get(ctx context.Context) (*types.System, error)
- func (s *SystemStorage) Update(ctx context.Context, system *types.System) error
- func (s *SystemStorage) UpdateControllerLastEvent(ctx context.Context, system *types.System) error
- func (s *SystemStorage) UpdateControllerMaster(ctx context.Context, system *types.System) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildStorage ¶
Service Build type for interface in interfaces folder
func (*BuildStorage) List ¶
func (s *BuildStorage) List(ctx context.Context, image string, f *filter.BuildFilter) (*types.BuildList, error)
type BuilderStorage ¶
Service Builder type for interface in interfaces folder
func (*BuilderStorage) MarkOffline ¶
func (s *BuilderStorage) MarkOffline(ctx context.Context) error
type ImageStorage ¶
func (*ImageStorage) List ¶
func (s *ImageStorage) List(ctx context.Context, f *filter.ImageFilter) ([]*types.Image, error)
type Storage ¶
type Storage struct { context.Context context.CancelFunc *BuildStorage *BuilderStorage *ImageStorage *SystemStorage // contains filtered or unexported fields }
type SystemStorage ¶
func (*SystemStorage) UpdateControllerLastEvent ¶
func (*SystemStorage) UpdateControllerMaster ¶
Click to show internal directories.
Click to hide internal directories.