registrysvc

package
v0.0.0-...-a1c7d3d Latest Latest
Warning

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

Go to latest
Published: May 9, 2020 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AssignmentValidator = "AssignmentValidator"
	AssignmentCreator   = "AssignmentCreator"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Registration

type Registration struct {
	ID          uint64   `json:"id"`
	JobID       uint64   `json:"job_id"`
	APIKeyID    string   `json:"api_key_id"`
	Services    Services `json:"services"`
	RequesterID uint64   `json:"requester_id"`
}

func GetRegistration

func GetRegistration(authToken string, jobID uint64) (*Registration, error)

type Service

type Service struct {
	URL string `json:"url"`
}

type Services

type Services map[string]*Service

Jump to

Keyboard shortcuts

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