kubernetes/vendor/github.com/libopenstorage/openstorage/api/spec/spec_handler.go

type SpecHandler

var nameRegex

var nodesRegex

var sizeRegex

var scaleRegex

var fsRegex

var bsRegex

var haRegex

var cosRegex

var sharedRegex

var passphraseRegex

var stickyRegex

var secureRegex

var zonesRegex

var racksRegex

var aggrRegex

var compressedRegex

var snapScheduleRegex

type specHandler

// NewSpecHandler returns a new SpecHandler interface
func NewSpecHandler() SpecHandler {}

func (d *specHandler) cosLevel(cos string) (api.CosType, error) {}

func (d *specHandler) getVal(r *regexp.Regexp, str string) (bool, string) {}

func (d *specHandler) DefaultSpec() *api.VolumeSpec {}

func (d *specHandler) UpdateSpecFromOpts(opts map[string]string, spec *api.VolumeSpec, locator *api.VolumeLocator,
	source *api.Source) (*api.VolumeSpec, *api.VolumeLocator, *api.Source, error) {}

func (d *specHandler) SpecFromOpts(
	opts map[string]string,
) (*api.VolumeSpec, *api.VolumeLocator, *api.Source, error) {}

func (d *specHandler) SpecFromString(
	str string,
) (bool, *api.VolumeSpec, *api.VolumeLocator, *api.Source, string) {}