Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGenericResourceTableFormat ¶ added in v0.28.0
func GetGenericResourceTableFormat() output.FormatterOptions
GetGenericResourceTableFormat returns the fields to output from a generic resource object. This function should be used with the Go type GenericResource. The difference between this function and the GetResourceTableFormat function above is that GenericResource properties is a map and the way to get the ProvisioningState is different.
func GetResourceTableFormat ¶
func GetResourceTableFormat() output.FormatterOptions
GetResourceTableFormat returns the fields to output from a resource object. This function should be used with the generated CoreRP and other portable resource types.
func TrimSpaceMulti ¶
TrimSpaceMulti takes in a string and returns a string with all leading and trailing whitespace removed from each line.
Types ¶
type ResourceIDToResourceGroupNameTransformer ¶ added in v0.28.0
type ResourceIDToResourceGroupNameTransformer struct { }
ResourceIDToResourceGroupNameTransformer is a transformer that takes a resource ID and returns the resource group name.
func (*ResourceIDToResourceGroupNameTransformer) Transform ¶ added in v0.28.0
func (t *ResourceIDToResourceGroupNameTransformer) Transform(input string) string
Transform takes a resource ID and returns the resource group name.
type ResourceIDToResourceNameTransformer ¶ added in v0.28.0
type ResourceIDToResourceNameTransformer struct { }
ResourceIDToResourceNameTransformer is a transformer that takes a resource ID and returns the resource name.
func (*ResourceIDToResourceNameTransformer) Transform ¶ added in v0.28.0
func (t *ResourceIDToResourceNameTransformer) Transform(input string) string
Transform takes a resource ID and returns the resource name.