Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTransformKey = errors.New("err transform to key response")
Functions ¶
func FromAPI ¶
func FromAPI(apiConfig cmkapi.KeyConfiguration) (*model.KeyConfiguration, error)
FromAPI converts a KeyConfiguration api model to a KeyConfiguration db model.
func ToAPI ¶
func ToAPI(k model.KeyConfiguration) (*cmkapi.KeyConfiguration, error)
ToAPI converts KeyConfiguration db model to a KeyConfiguration api model
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.