util

package
v0.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Client = NewClient()

Functions

func CheckStateAgainstAgentGroupAssignment

func CheckStateAgainstAgentGroupAssignment(
	t *testing.T,
	entity string,
	agentGroupAssignment config_api_client.AgentGroupAssignmentsGetItem,
) resource.TestCheckFunc

func CheckStateAgainstNetworkGroupAssignment

func CheckStateAgainstNetworkGroupAssignment(
	t *testing.T,
	entity string,
	networkGroupAssignment config_api_client.NetworkGroupAssignmentsGetItem,
) resource.TestCheckFunc

func CheckStateAgainstSensorGroupAssignment

func CheckStateAgainstSensorGroupAssignment(
	t *testing.T,
	entity string,
	sensorGroupAssignment config_api_client.SensorGroupAssignmentsGetItem,
) resource.TestCheckFunc

func CheckStateAgainstServiceTestGroupAssignment

func CheckStateAgainstServiceTestGroupAssignment(
	t *testing.T,
	entity string,
	serviceTestGroupAssignment config_api_client.ServiceTestGroupAssignmentsGetItem,
) resource.TestCheckFunc

func ConditionalProperty

func ConditionalProperty(property string, value *string) string

func GetGroupByName

func GetGroupByName(name string) *config_api_client.GroupsGetItem

func NewClient

func NewClient() *config_api_client.APIClient

Types

type ProvisionAgent

type ProvisionAgent struct {
	CustomerID        string
	ProvisionToken    string
	DeviceSerial      string
	DeviceGatewayHost string
}

func (ProvisionAgent) Provision

func (p ProvisionAgent) Provision() (string, error)

Jump to

Keyboard shortcuts

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