Documentation
¶
Index ¶
- type Job
- type Queue
- type QueueHeap
- type QueueItem
- type Service
- func (s *Service) AbortRollout(ctx context.Context, capsuleID uuid.UUID, rolloutID uint64) error
- func (s *Service) CreateBuild(ctx context.Context, capsuleID uuid.UUID, buildID string, image string, ...) error
- func (s *Service) CreateCapsule(ctx context.Context, name string, is []*capsule.Update) (uuid.UUID, error)
- func (s *Service) CreateEvent(ctx context.Context, capsuleID uuid.UUID, rolloutID uint64, message string, ...) error
- func (s *Service) DeleteBuild(ctx context.Context, capsuleID uuid.UUID, buildID string) error
- func (s *Service) DeleteCapsule(ctx context.Context, capsuleID uuid.UUID) error
- func (s *Service) Deploy(ctx context.Context, capsuleID uuid.UUID, cs []*capsule.Change) error
- func (s *Service) GetCapsule(ctx context.Context, capsuleID uuid.UUID) (*capsule.Capsule, error)
- func (s *Service) GetCapsuleByName(ctx context.Context, name string) (*capsule.Capsule, error)
- func (s *Service) GetRollout(ctx context.Context, capsuleID uuid.UUID, rolloutID uint64) (*capsule.Rollout, error)
- func (s *Service) ListBuilds(ctx context.Context, capsuleID uuid.UUID, pagination *model.Pagination) (iterator.Iterator[*capsule.Build], uint64, error)
- func (s *Service) ListCapsules(ctx context.Context, pagination *model.Pagination) (iterator.Iterator[*capsule.Capsule], int64, error)
- func (s *Service) ListEvents(ctx context.Context, capsuleID uuid.UUID, rolloutID uint64, ...) (iterator.Iterator[*capsule.Event], uint64, error)
- func (s *Service) ListInstances(ctx context.Context, capsuleID uuid.UUID, pagination *model.Pagination) (iterator.Iterator[*capsule.Instance], uint64, error)
- func (s *Service) ListRollouts(ctx context.Context, capsuleID uuid.UUID, pagination *model.Pagination) (iterator.Iterator[*capsule.Rollout], uint64, error)
- func (s *Service) Logs(ctx context.Context, capsuleID uuid.UUID, instanceID string, follow bool) (iterator.Iterator[*capsule.Log], error)
- func (s *Service) RestartInstance(ctx context.Context, capsuleID uuid.UUID, instanceID string) error
- func (s *Service) UpdateCapsule(ctx context.Context, capsuleID uuid.UUID, us []*capsule.Update) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) AbortRollout ¶
func (*Service) CreateBuild ¶
func (*Service) CreateCapsule ¶
func (*Service) CreateEvent ¶
func (*Service) DeleteBuild ¶
func (*Service) DeleteCapsule ¶
func (*Service) GetCapsule ¶
func (*Service) GetCapsuleByName ¶
func (*Service) GetRollout ¶
func (*Service) ListBuilds ¶
func (*Service) ListCapsules ¶
func (*Service) ListEvents ¶
func (*Service) ListInstances ¶
func (*Service) ListRollouts ¶
func (*Service) RestartInstance ¶
Click to show internal directories.
Click to hide internal directories.