Documentation ¶
Index ¶
- func AWSCredentialDataModelFromVersioned(content []byte, version string) (*datamodel.AWSCredential, error)
- func AWSCredentialDataModelToVersioned(model *datamodel.AWSCredential, version string) (v1.VersionedModelInterface, error)
- func AzureCredentialDataModelFromVersioned(content []byte, version string) (*datamodel.AzureCredential, error)
- func AzureCredentialDataModelToVersioned(model *datamodel.AzureCredential, version string) (v1.VersionedModelInterface, error)
- func GenericResourceDataModelFromVersioned(content []byte, version string) (*datamodel.GenericResource, error)
- func GenericResourceDataModelToVersioned(model *datamodel.GenericResource, version string) (v1.VersionedModelInterface, error)
- func PlaneDataModelFromVersioned(content []byte, version string) (*datamodel.Plane, error)
- func PlaneDataModelToVersioned(model *datamodel.Plane, version string) (v1.VersionedModelInterface, error)
- func ResourceGroupDataModelFromVersioned(content []byte, version string) (*datamodel.ResourceGroup, error)
- func ResourceGroupDataModelToVersioned(model *datamodel.ResourceGroup, version string) (v1.VersionedModelInterface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AWSCredentialDataModelFromVersioned ¶
func AWSCredentialDataModelFromVersioned(content []byte, version string) (*datamodel.AWSCredential, error)
AWSCredentialDataModelFromVersioned converts AWS versioned credential model to datamodel.
func AWSCredentialDataModelToVersioned ¶
func AWSCredentialDataModelToVersioned(model *datamodel.AWSCredential, version string) (v1.VersionedModelInterface, error)
AWSCredentialDataModelToVersioned converts version agnostic AWS credential datamodel to versioned model.
func AzureCredentialDataModelFromVersioned ¶
func AzureCredentialDataModelFromVersioned(content []byte, version string) (*datamodel.AzureCredential, error)
AzureCredentialDataModelFromVersioned converts versioned Azure credential model to datamodel.
func AzureCredentialDataModelToVersioned ¶
func AzureCredentialDataModelToVersioned(model *datamodel.AzureCredential, version string) (v1.VersionedModelInterface, error)
AzureCredentialDataModelToVersioned converts version agnostic Azure credential datamodel to versioned model.
func GenericResourceDataModelFromVersioned ¶
func GenericResourceDataModelFromVersioned(content []byte, version string) (*datamodel.GenericResource, error)
GenericResourceDataModelFromVersioned converts versioned model to datamodel. It returns an error if the conversion fails.
func GenericResourceDataModelToVersioned ¶
func GenericResourceDataModelToVersioned(model *datamodel.GenericResource, version string) (v1.VersionedModelInterface, error)
GenericResourceDataModelToVersioned converts version agnostic datamodel to versioned model. It returns an error if the conversion fails.
func PlaneDataModelFromVersioned ¶
PlaneDataModelFromVersioned converts versioned plane model to datamodel.
func PlaneDataModelToVersioned ¶
func PlaneDataModelToVersioned(model *datamodel.Plane, version string) (v1.VersionedModelInterface, error)
PlaneDataModelToVersioned converts version agnostic plane datamodel to versioned model.
func ResourceGroupDataModelFromVersioned ¶
func ResourceGroupDataModelFromVersioned(content []byte, version string) (*datamodel.ResourceGroup, error)
ResourceGroupDataModelFromVersioned converts versioned environment model to datamodel. It returns an error if the conversion fails.
func ResourceGroupDataModelToVersioned ¶
func ResourceGroupDataModelToVersioned(model *datamodel.ResourceGroup, version string) (v1.VersionedModelInterface, error)
ResourceGroupDataModelToVersioned converts version agnostic environment datamodel to versioned model. It returns an error if the conversion fails.
Types ¶
This section is empty.