client

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: 3 Imported by: 0

Documentation

Overview

config_client.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToLogLevel added in v0.0.7

func ConvertToLogLevel(logLevelString string) (jamfpro.LogLevel, error)

ConvertToLogLevel is a helper function to convert log level strings from the Terraform configuration to the SDK's log level type.

Types

type APIClient

type APIClient struct {
	Conn            *jamfpro.Client // Use the SDK client
	EnableCookieJar bool            // Use the cookie jar value
}

APIClient wraps the Jamf Pro SDK Client.

type MockAPIClient

type MockAPIClient struct {
	mock.Mock
}

MockAPIClient is a mock version of APIClient for testing.

Jump to

Keyboard shortcuts

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