Skip to main content

tail

Function tail 

Source
pub async fn tail<T: Transport + Send + Sync + 'static>(
    __arg0: State<Arc<Ui<T>>>,
    __arg1: Path<(String, String, String)>,
    query: Result<Query<TailQuery>, QueryRejection>,
    uri: OriginalUri,
    headers: HeaderMap,
) -> Response
Expand description

GET /d/<deployment>/runs/<run>/tasks/<task>/tail?try=&from= (decision 175: polled, so it holds no connection): the log from from as HTML, the colours carried from the part before (style), followed by the element reading the next part (in TAIL_INTERVAL, at once when more is waiting), which replaces itself with the answer. Nothing follows once the attempt has ended and all of it is shown, or once the log can’t be read (said where it is shown): gone, or out of reach for TAIL_GIVE_UP.