dimension

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GetDimensions                      = "getInstanceDimensions"
	GetUniqueDimensionAndOptionsAction = "getInstanceUniqueDimensionAndOptions"
	AddDimensionAction                 = "addDimension"
	UpdateNodeIDAction                 = "updateDimensionOptionWithNodeID"
)

List of actions for dimensions

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	store.Storer
}

Store provides a backend for dimensions

func (*Store) AddHandler

func (s *Store) AddHandler(w http.ResponseWriter, r *http.Request)

AddHandler represents adding a dimension to a specific instance

func (*Store) AddNodeIDHandler

func (s *Store) AddNodeIDHandler(w http.ResponseWriter, r *http.Request)

AddNodeIDHandler against a specific option for dimension Deprecated: this method is superseded by PatchOptionHandler

func (*Store) GetDimensionsHandler

func (s *Store) GetDimensionsHandler(w http.ResponseWriter, r *http.Request)

GetDimensionsHandler returns a list of all dimensions and their options for an instance resource

func (*Store) GetUniqueDimensionAndOptionsHandler

func (s *Store) GetUniqueDimensionAndOptionsHandler(w http.ResponseWriter, r *http.Request)

GetUniqueDimensionAndOptionsHandler returns a list of dimension options for a dimension of an instance

func (*Store) PatchOptionHandler added in v1.28.0

func (s *Store) PatchOptionHandler(w http.ResponseWriter, r *http.Request)

PatchOptionHandler updates a dimension option according to the provided patch array body

Jump to

Keyboard shortcuts

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