handlers

package
v0.0.0-...-623ea98 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComputeVisibilitiesHandler

type ComputeVisibilitiesHandler struct {
	// contains filtered or unexported fields
}

func NewComputeVisibilitiesHandler

func NewComputeVisibilitiesHandler(
	tileRepo domain.TileRepository,
	tleRepo domain.TLERepository,
	satelliteRepo domain.SatelliteRepository,
	visibilityRepo domain.TileSatelliteMappingRepository,
) ComputeVisibilitiesHandler

func (*ComputeVisibilitiesHandler) GetTask

func (h *ComputeVisibilitiesHandler) GetTask() Task

func (*ComputeVisibilitiesHandler) Run

type TLEProvisionHandler

type TLEProvisionHandler struct {
	// contains filtered or unexported fields
}

func NewTLEProvisionHandler

func NewTLEProvisionHandler(
	satelliteRepo domain.SatelliteRepository,
	tleRepo domain.TLERepository,
	tleService TleServiceClient) TLEProvisionHandler

func (*TLEProvisionHandler) GetTask

func (h *TLEProvisionHandler) GetTask() Task

func (*TLEProvisionHandler) Run

func (h *TLEProvisionHandler) Run(ctx context.Context, args map[string]string) error

type Task

type Task struct {
	Name         string
	Description  string
	RequiredArgs []string
}

type TaskEnv

type TaskEnv struct {
	Env *config.SEnv
}

func (*TaskEnv) SetEnv

func (te *TaskEnv) SetEnv(env *config.SEnv)

type TileProvisionHandler

type TileProvisionHandler struct {
	// contains filtered or unexported fields
}

func NewTileProvisionHandler

func NewTileProvisionHandler(tileRepo domain.TileRepository) TileProvisionHandler

NewTileProvisionHandler creates a new instance of TileProvisionHandler.

func (*TileProvisionHandler) GetTask

func (h *TileProvisionHandler) GetTask() Task

GetTask provides metadata about this handler's task.

func (*TileProvisionHandler) Run

func (h *TileProvisionHandler) Run(ctx context.Context, args map[string]string) error

Run executes the handler's task with the provided arguments.

type TleServiceClient

type TleServiceClient interface {
	FetchTLEFromSatCatByCategory(ctx context.Context, category string) ([]domain.TLE, error)
}

type VisbilityBySatelliteHorizonHandler

type VisbilityBySatelliteHorizonHandler struct {
	// contains filtered or unexported fields
}

func (*VisbilityBySatelliteHorizonHandler) GetTask

GetTask returns the task metadata

func (*VisbilityBySatelliteHorizonHandler) Run

Run executes the visibility computation process

Jump to

Keyboard shortcuts

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