sla

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: AGPL-3.0 Imports: 1 Imported by: 2

Documentation

Overview

The sla package implements wireformats for the sla service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SLARequest

type SLARequest struct {
	ModelUUID string `json:"model"`
	Level     string `json:"sla"`
	Budget    string `json:"budget"`
}

SLARequest defines the json used to post to sla service.

type SLAResponse

type SLAResponse struct {
	Owner       string             `json:"owner"`
	Credentials *macaroon.Macaroon `json:"credentials"`
	Message     string             `json:"message,omitempty"`
}

SLAResponse defines the json response when an sla is set.

Jump to

Keyboard shortcuts

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