parser

package
v0.0.0-...-1aa1ecb Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 2

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

Jump to

Keyboard shortcuts

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