helpers

package
v0.0.0-...-83a3fee Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2024 License: MPL-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayValueForResourceID

func DisplayValueForResourceID(input models.ResourceID) string

DisplayValueForResourceID returns the templated value for this Resource ID

func GolangTypeForSDKObjectDefinition

func GolangTypeForSDKObjectDefinition(input models.SDKObjectDefinition, golangPackageName *string, commonTypesPackageName *string) (*string, error)

GolangTypeForSDKObjectDefinition returns the Golang type name for the SDKObjectDefinition provided in `input`.

func GolangTypeForSDKOperationOptionObjectDefinition

func GolangTypeForSDKOperationOptionObjectDefinition(input models.SDKOperationOptionObjectDefinition) (*string, error)

GolangTypeForSDKOperationOptionObjectDefinition returns the Golang Type for the specified SDKOperationOptionObjectDefinition.

func InnerMostSDKObjectDefinition

func InnerMostSDKObjectDefinition(input models.SDKObjectDefinition) models.SDKObjectDefinition

InnerMostSDKObjectDefinition returns the inner most SDKObjectDefinition.

In the event of an SDKObjectDefinition with no NestedItem, the current item will be returned. In the event of a NestedItem being present, or a NestedItem having a NestedItem, this method will recurse until it finds the SDKObjectDefinition without a NestedItem.

This is useful for obtaining the inner type for assignment purposes.

func InnerMostSDKOperationOptionObjectDefinition

func InnerMostSDKOperationOptionObjectDefinition(input models.SDKOperationOptionObjectDefinition) models.SDKOperationOptionObjectDefinition

InnerMostSDKOperationOptionObjectDefinition returns the inner most SDKOperationOptionObjectDefinition.

In the event of an SDKOperationOptionObjectDefinition with no NestedItem, the current item will be returned. In the event of a NestedItem being present, or a NestedItem having a NestedItem, this method will recurse until it finds the SDKOperationOptionObjectDefinition without a NestedItem.

This is useful for obtaining the inner type for assignment purposes.

func InnerMostTerraformSchemaObjectDefinition

func InnerMostTerraformSchemaObjectDefinition(input models.TerraformSchemaObjectDefinition) models.TerraformSchemaObjectDefinition

InnerMostTerraformSchemaObjectDefinition returns the inner most TerraformSchemaObjectDefinition.

In the event of a TerraformSchemaObjectDefinition with no NestedObject, the current item will be returned. In the event of a NestedObject being present, or a NestedItem having a NestedObject, this method will recurse until it finds the TerraformSchemaObjectDefinition without a NestedObject.

This is useful for obtaining the inner type for assignment purposes.

func SDKObjectDefinitionsMatch

func SDKObjectDefinitionsMatch(first models.SDKObjectDefinition, second models.SDKObjectDefinition) bool

SDKObjectDefinitionsMatch returns whether two different SDKObjectDefinitions match.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL