Documentation
¶
Index ¶
- func GetVersion() string
- func Initialize(options InitOptions) error
- func SetIntuneCredentials(tenantID, clientID, clientSecret string)
- func SetJamfCredentials(url, username, password string)
- func SetMDMProvider(provider string)
- func SetS3Credentials(bucket, region, accessKey, secretKey string)
- func SetStorageProvider(provider string)
- func Shutdown() error
- type InitOptions
- type WorkflowResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetVersion ¶
func GetVersion() string
GetVersion returns the current version of the tooling API
func Initialize ¶
func Initialize(options InitOptions) error
Initialize initializes the tooling API with the given options
func SetIntuneCredentials ¶
func SetIntuneCredentials(tenantID, clientID, clientSecret string)
SetIntuneCredentials sets the Intune credentials in the configuration
func SetJamfCredentials ¶
func SetJamfCredentials(url, username, password string)
SetJamfCredentials sets the Jamf credentials in the configuration
func SetMDMProvider ¶
func SetMDMProvider(provider string)
SetMDMProvider sets the MDM provider in the configuration
func SetS3Credentials ¶
func SetS3Credentials(bucket, region, accessKey, secretKey string)
SetS3Credentials sets the S3 credentials in the configuration
func SetStorageProvider ¶
func SetStorageProvider(provider string)
SetStorageProvider sets the storage provider in the configuration
Types ¶
type InitOptions ¶
type InitOptions struct {
ConfigFile string // Path to configuration file
Debug bool // Enable debug logging
LogFormat string // Log format: "human" or "json"
LogFile string // Path to log file
SuppressLog bool // Suppress all logging
}
InitOptions contains options for initializing the tooling API
func DefaultOptions ¶
func DefaultOptions() InitOptions
DefaultOptions returns the default initialization options
type WorkflowResult ¶
type WorkflowResult struct {
Success bool // Whether the workflow completed successfully
ErrorMessage string // Error message if any
Variables map[string]interface{} // Final state of variables after workflow execution
}
WorkflowResult contains the results of a workflow execution
func ExecuteWorkflow ¶
func ExecuteWorkflow(workflowFile string) (*WorkflowResult, error)
ExecuteWorkflow executes a workflow defined in a file
func ExecuteWorkflowFromYAML ¶
func ExecuteWorkflowFromYAML(workflowYAML string) (*WorkflowResult, error)
ExecuteWorkflowFromYAML executes a workflow defined in a YAML string