Documentation
¶
Index ¶
- type InstanceService
- func (self *InstanceService) GetInstanceHealth(ctx context.Context, requesterUserID uuid.UUID, bearerToken string, ...) (*k8s.SimpleHealthStatus, error)
- func (self *InstanceService) GetInstanceStatuses(ctx context.Context, requesterUserID uuid.UUID, bearerToken string, ...) ([]k8s.PodContainerStatus, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstanceService ¶
type InstanceService struct {
// contains filtered or unexported fields
}
Integrate instance (pods) management with internal permissions and kubernetes RBAC
func NewInstanceService ¶
func NewInstanceService(cfg *config.Config, repo repositories.RepositoriesInterface, k8s *k8s.KubeClient) *InstanceService
func (*InstanceService) GetInstanceHealth ¶
func (self *InstanceService) GetInstanceHealth(ctx context.Context, requesterUserID uuid.UUID, bearerToken string, input *models.InstanceHealthInput) (*k8s.SimpleHealthStatus, error)
Get kubernetes container statuses for a service, simplified response
func (*InstanceService) GetInstanceStatuses ¶
func (self *InstanceService) GetInstanceStatuses(ctx context.Context, requesterUserID uuid.UUID, bearerToken string, input *models.InstanceStatusInput) ([]k8s.PodContainerStatus, error)
Get kubernetes container statuses for a service
Click to show internal directories.
Click to hide internal directories.