...

Package ingest

import "ssa/iiwf_trigger/pkg/ingest"
Overview
Index

Overview ▾

func CallIngestionEndpoint

func CallIngestionEndpoint(imgSetPath string, locator string, input CapoInput)

CallIngestionEndpoint *

* Call the SECI ingestion endpoint to initiate the workflow
*
* @param img_set_path A string with the path to a VLASS image set
* @param locator A string with the locator for the image set
* @param capo_profile A string with the path to the CAPO property file used to
* get the Workflow service URL
*

func GetCalibrationLocator

func GetCalibrationLocator(imgSetPath string, input CapoInput) string

GetCalibrationLocator *

* Get the locator for a VLASS image set
*
* @param img_set_path A string with the path to the image set
* @param capo_profile A string with the path to the CAPO property file used to
* get the calibration lookup URL
* @return a string with the locator value
*

type CapoInput

type CapoInput struct {
    CapoPath    string
    CapoProfile string
}

type RequestPayload

type RequestPayload struct {
    CachePath string `json:"cache_path"`
    CalSpl    string `json:"cal_spl"`
}

type ResponsePayload

type ResponsePayload struct {
    WorkflowName      string `json:"workflow_name"`
    WorkflowRequestId int    `json:"workflow_request_id"`
}