Documentation ¶
Index ¶
- Constants
- type Store
- func (s *Store) AddHandler(w http.ResponseWriter, r *http.Request)
- func (s *Store) AddNodeIDHandler(w http.ResponseWriter, r *http.Request)
- func (s *Store) GetDimensionsHandler(w http.ResponseWriter, r *http.Request)
- func (s *Store) GetUniqueDimensionAndOptionsHandler(w http.ResponseWriter, r *http.Request)
- func (s *Store) PatchOptionHandler(w http.ResponseWriter, r *http.Request)
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 ¶
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
Click to show internal directories.
Click to hide internal directories.