dimension

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

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

List of audit actions for dimensions

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	Auditor audit.AuditorService
	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

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

Jump to

Keyboard shortcuts

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