tfimportprovider

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDirEntitlementImportBlock

func CreateDirEntitlementImportBlock(data map[string]interface{}, directoryId string, filterValues []string, resourceDoc tfutils.EntityDocs) (importBlock string, count int, err error)

func CreateEntitlementImportBlock

func CreateEntitlementImportBlock(data map[string]interface{}, subaccountId string, filterValues []string, resourceDoc tfutils.EntityDocs) (importBlock string, count int, err error)

func GetDataFromJsonString

func GetDataFromJsonString(jsonString string) (map[string]interface{}, error)

Types

type ITfImportProvider

type ITfImportProvider interface {
	GetResourceType() string
	GetImportBlock(data map[string]interface{}, levelId string, filterValues []string) (string, int, error)
}

func GetImportBlockProvider

func GetImportBlockProvider(cmdResourceName string, level string) (ITfImportProvider, error)

type TfImportProvider

type TfImportProvider struct {
	// contains filtered or unexported fields
}

func (*TfImportProvider) GetResourceType

func (tf *TfImportProvider) GetResourceType() string

Jump to

Keyboard shortcuts

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