pipeline

package
v0.0.0-...-d01df85 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log struct {
	Name string `json:"name"`
	ID   string `json:"id"`
	UID  string `json:"uid"`
}

type Logs

type Logs struct {
	Record []Record `json:"records"`
}

type Record

type Record struct {
	Name string `json:"name"`
	ID   string `json:"id"`
	UID  string `json:"uid"`
}

type Records

type Records struct {
	Record []Record `json:"records"`
}

type ResultClient

type ResultClient struct {
	BaseURL    string
	HTTPClient *http.Client
	Token      string
}

func NewClient

func NewClient(url, token string) *ResultClient

func (*ResultClient) GetLogByName

func (c *ResultClient) GetLogByName(logName string) (string, error)

func (*ResultClient) GetLogs

func (c *ResultClient) GetLogs(namespace, resultId string) (*Logs, error)

func (*ResultClient) GetRecords

func (c *ResultClient) GetRecords(namespace, resultId string) (*Records, error)

Jump to

Keyboard shortcuts

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