handlers

package
v0.0.0-...-2fb87e6 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAPIAccess

func GetAPIAccess(url string) (string, string)

func New

func New(url string, cache *gocache.Cache) handler

func ParseFile

func ParseFile(file string) (bool, string, int, string, string)

ParseFile takes the file path on the filesystem to check that is it a log file and returns the taskType, rerun number, and generation string. Will also return false if it is not a log file or if any of the other three components failed to validate.

Types

type ApprovalStatus

type ApprovalStatus = struct {
	models.Approval `json:",inline"`
	Status          string `json:"status"`
}

Jump to

Keyboard shortcuts

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