Documentation ¶
Index ¶
- func ApplicationDataModelFromVersioned(content []byte, version string) (*datamodel.Application, error)
- func ApplicationDataModelToVersioned(model *datamodel.Application, version string) (v1.VersionedModelInterface, error)
- func ContainerDataModelFromVersioned(content []byte, version string) (*datamodel.ContainerResource, error)
- func ContainerDataModelToVersioned(model *datamodel.ContainerResource, version string) (v1.VersionedModelInterface, error)
- func EnvironmentDataModelFromVersioned(content []byte, version string) (*datamodel.Environment, error)
- func EnvironmentDataModelToVersioned(model *datamodel.Environment, version string) (v1.VersionedModelInterface, error)
- func EnvironmentRecipePropertiesDataModelToVersioned(model *datamodel.EnvironmentRecipeProperties, version string) (v1.VersionedModelInterface, error)
- func ExtenderDataModelFromVersioned(content []byte, version string) (*datamodel.Extender, error)
- func ExtenderDataModelToVersioned(model *datamodel.Extender, version string) (v1.VersionedModelInterface, error)
- func GatewayDataModelFromVersioned(content []byte, version string) (*datamodel.Gateway, error)
- func GatewayDataModelToVersioned(model *datamodel.Gateway, version string) (v1.VersionedModelInterface, error)
- func ListSecretsToVersioned(model *datamodel.SecretStoreListSecrets, version string) (v1.VersionedModelInterface, error)
- func RecipeDataModelFromVersioned(content []byte, version string) (*datamodel.Recipe, error)
- func SecretStoreModelFromVersioned(content []byte, version string) (*datamodel.SecretStore, error)
- func SecretStoreModelToVersioned(model *datamodel.SecretStore, version string) (v1.VersionedModelInterface, error)
- func VolumeResourceModelFromVersioned(content []byte, version string) (*datamodel.VolumeResource, error)
- func VolumeResourceModelToVersioned(model *datamodel.VolumeResource, version string) (v1.VersionedModelInterface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplicationDataModelFromVersioned ¶
func ApplicationDataModelFromVersioned(content []byte, version string) (*datamodel.Application, error)
ApplicationDataModelFromVersioned converts versioned application model to datamodel.
func ApplicationDataModelToVersioned ¶
func ApplicationDataModelToVersioned(model *datamodel.Application, version string) (v1.VersionedModelInterface, error)
ApplicationDataModelToVersioned converts version agnostic application datamodel to versioned model.
func ContainerDataModelFromVersioned ¶
func ContainerDataModelFromVersioned(content []byte, version string) (*datamodel.ContainerResource, error)
ContainerDataModelFromVersioned converts versioned Container model to datamodel.
func ContainerDataModelToVersioned ¶
func ContainerDataModelToVersioned(model *datamodel.ContainerResource, version string) (v1.VersionedModelInterface, error)
ContainerDataModelToVersioned converts version agnostic Container datamodel to versioned model.
func EnvironmentDataModelFromVersioned ¶
func EnvironmentDataModelFromVersioned(content []byte, version string) (*datamodel.Environment, error)
EnvironmentDataModelFromVersioned converts versioned environment model to datamodel.
func EnvironmentDataModelToVersioned ¶
func EnvironmentDataModelToVersioned(model *datamodel.Environment, version string) (v1.VersionedModelInterface, error)
EnvironmentDataModelToVersioned converts version agnostic environment datamodel to versioned model.
func EnvironmentRecipePropertiesDataModelToVersioned ¶
func EnvironmentRecipePropertiesDataModelToVersioned(model *datamodel.EnvironmentRecipeProperties, version string) (v1.VersionedModelInterface, error)
EnvironmentRecipePropertiesDataModelToVersioned converts version agnostic environment recipe properties datamodel to versioned model.
func ExtenderDataModelFromVersioned ¶
ExtenderDataModelFromVersioned unmarshals a JSON byte slice into a version-specific ExtenderResource struct, then converts it to a datamodel.Extender struct and returns it, or returns an error if the unmarshal or conversion fails.
func ExtenderDataModelToVersioned ¶
func ExtenderDataModelToVersioned(model *datamodel.Extender, version string) (v1.VersionedModelInterface, error)
ExtenderDataModelToVersioned converts a datamodel.Extender to a versioned model interface based on the given version string, returning an error if the conversion fails.
func GatewayDataModelFromVersioned ¶
GatewayDataModelFromVersioned converts versioned Gateway model to datamodel.
func GatewayDataModelToVersioned ¶
func GatewayDataModelToVersioned(model *datamodel.Gateway, version string) (v1.VersionedModelInterface, error)
GatewayDataModelToVersioned converts version agnostic Gateway datamodel to versioned model.
func ListSecretsToVersioned ¶
func ListSecretsToVersioned(model *datamodel.SecretStoreListSecrets, version string) (v1.VersionedModelInterface, error)
ListSecretsToVersioned converts version agnostic SecretStoreListSecrets datamodel to versioned model.
func RecipeDataModelFromVersioned ¶
RecipeDataModelFromVersioned converts versioned recipe model to datamodel.
func SecretStoreModelFromVersioned ¶
func SecretStoreModelFromVersioned(content []byte, version string) (*datamodel.SecretStore, error)
SecretStoreModelFromVersioned converts versioned SecretStore model to datamodel.
func SecretStoreModelToVersioned ¶
func SecretStoreModelToVersioned(model *datamodel.SecretStore, version string) (v1.VersionedModelInterface, error)
SecretStoreModelToVersioned converts version agnostic SecretStore datamodel to versioned model.
func VolumeResourceModelFromVersioned ¶
func VolumeResourceModelFromVersioned(content []byte, version string) (*datamodel.VolumeResource, error)
VolumeResourceModelFromVersioned converts versioned Volume model to datamodel.
func VolumeResourceModelToVersioned ¶
func VolumeResourceModelToVersioned(model *datamodel.VolumeResource, version string) (v1.VersionedModelInterface, error)
VolumeResourceModelToVersioned converts version agnostic Volume datamodel to versioned model.
Types ¶
This section is empty.