Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StorageDecisionMatrixParser ¶
type StorageDecisionMatrixParser interface { // MarshalToYaml marshals the provided StorageDecisionMatrix // to a yaml file at the provided path MarshalToYaml(*cloudops.StorageDecisionMatrix, string) error // UnmarshalFromYaml unmarshals the yaml file at the provided path // into a StorageDecisionMatrix UnmarshalFromYaml(string) (*cloudops.StorageDecisionMatrix, error) // MarshalToBytes marshals the provided StorageDecisionMatrix to bytes MarshalToBytes(*cloudops.StorageDecisionMatrix) ([]byte, error) // UnmarshalFromBytes unmarshals the given yaml bytes into a StorageDecisionMatrix UnmarshalFromBytes([]byte) (*cloudops.StorageDecisionMatrix, error) }
StorageDecisionMatrixParser parses a cloud storage decision matrix from yamls to StorageDecisionMatrix objects defined in cloudops
func NewStorageDecisionMatrixParser ¶
func NewStorageDecisionMatrixParser() StorageDecisionMatrixParser
NewStorageDecisionMatrixParser returns an implementation of StorageDecisionMatrixParser
Click to show internal directories.
Click to hide internal directories.