sharedschemas

package
v0.0.58 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

endpoints/common/sharedschemas/helpers.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractNestedObjectsFromSchema added in v0.0.56

func ExtractNestedObjectsFromSchema[NestedObjectType any, ListItemPrimitiveType any](path string, targetField string, d *schema.ResourceData, home *[]NestedObjectType) error

ExtractNestedObjectsFromSchema is a helper function to extract a list of nested objects from HCL configuration

Example usage:

err = ExtractNestedObjectsFromSchema[jamfpro.MacOSConfigurationProfileSubsetScopeEntity, int]("scope.0.exclusions.0.ibeacon_ids", "ID", d, &out.Scope.Exclusions.IBeacons)

if err != nil {
	return nil, err
}

func GetSharedMobileDeviceSchemaScope added in v0.0.55

func GetSharedMobileDeviceSchemaScope() *schema.Resource

func GetSharedSchemaCategory added in v0.0.50

func GetSharedSchemaCategory() *schema.Resource

func GetSharedSchemaSite added in v0.0.50

func GetSharedSchemaSite() *schema.Resource

func GetSharedmacOSComputerSchemaScope added in v0.0.55

func GetSharedmacOSComputerSchemaScope() *schema.Resource

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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