Documentation ¶
Index ¶
- func ExtractEndpoints(metadata *models.ClusterMetadataInfo) (httpEndpoint, httpsEndpoint *string)
- func ExtractEndpointsToTypes(metadata *models.ClusterMetadataInfo) (httpEndpoint, httpsEndpoint types.String)
- func MapToModelsTags(raw map[string]string) []*models.MetadataItem
- func ModelsTagsToMap(metadataItems []*models.MetadataItem) map[string]string
- func ModelsTagsToTypesMap(metadataItems []*models.MetadataItem) (types.Map, diag.Diagnostics)
- func ParseTopologySize(size, sizeResource *string) (*models.TopologySize, error)
- func ParseTopologySizeTypes(size, sizeResource types.String) (*models.TopologySize, error)
- func TypesMapToModelsTags(ctx context.Context, raw types.Map) ([]*models.MetadataItem, diag.Diagnostics)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractEndpoints ¶
func ExtractEndpoints(metadata *models.ClusterMetadataInfo) (httpEndpoint, httpsEndpoint *string)
func ExtractEndpointsToTypes ¶
func ExtractEndpointsToTypes(metadata *models.ClusterMetadataInfo) (httpEndpoint, httpsEndpoint types.String)
func MapToModelsTags ¶
func MapToModelsTags(raw map[string]string) []*models.MetadataItem
func ModelsTagsToMap ¶
func ModelsTagsToMap(metadataItems []*models.MetadataItem) map[string]string
flattenTags takes in Deployment Metadata resource models and returns its Tags as Go map
func ModelsTagsToTypesMap ¶
func ModelsTagsToTypesMap(metadataItems []*models.MetadataItem) (types.Map, diag.Diagnostics)
flattenTags takes in Deployment Metadata resource models and returns its Tags in flattened form.
func ParseTopologySize ¶
func ParseTopologySize(size, sizeResource *string) (*models.TopologySize, error)
func ParseTopologySizeTypes ¶
func ParseTopologySizeTypes(size, sizeResource types.String) (*models.TopologySize, error)
func TypesMapToModelsTags ¶
func TypesMapToModelsTags(ctx context.Context, raw types.Map) ([]*models.MetadataItem, diag.Diagnostics)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.