workloads

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(parent *mux.Router, db *mongo.Database, network gridnetworks.GridNetwork, escrow escrow.Escrow, planner capacity.Planner) error

Setup injects and initializes directory package

Types

type API

type API struct {
	// contains filtered or unexported fields
}

API struct

type CapacityPoolCreateResponse

type CapacityPoolCreateResponse struct {
	ID                schema.ID                                     `json:"reservation_id"`
	EscrowInformation escrowtypes.CustomerCapacityEscrowInformation `json:"escrow_information,omitempty"`
}

CapacityPoolCreateResponse wraps capacity pool reservation create response

type ReservationCreateResponse

type ReservationCreateResponse struct {
	ID schema.ID `json:"reservation_id"`
}

ReservationCreateResponse wraps reservation create response

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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