backend

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiggerApi

type DiggerApi struct {
	DiggerHost string
	AuthToken  string
	HttpClient *http.Client
}

func (DiggerApi) ReportProject

func (d DiggerApi) ReportProject(namespace string, projectName string, configurationYaml string) error

func (DiggerApi) ReportProjectJobStatus

func (d DiggerApi) ReportProjectJobStatus(namespace string, projectName string, jobId string, status string, timestamp time.Time) error

func (DiggerApi) ReportProjectRun

func (d DiggerApi) ReportProjectRun(namespace string, projectName string, startedAt time.Time, endedAt time.Time, status string, command string, output string) error

type NoopApi

type NoopApi struct {
}

func (NoopApi) ReportProject

func (n NoopApi) ReportProject(namespace string, projectName string, configurationYaml string) error

func (NoopApi) ReportProjectJobStatus

func (n NoopApi) ReportProjectJobStatus(namespace string, projectName string, jobId string, status string, timestamp time.Time) error

func (NoopApi) ReportProjectRun

func (n NoopApi) ReportProjectRun(namespace string, projectName string, startedAt time.Time, endedAt time.Time, status string, command string, output string) error

Jump to

Keyboard shortcuts

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