Documentation ¶
Index ¶
- Constants
- func CheckStateAgainstAgent(t *testing.T, stateEntity string, agent config_api_client.AgentsGetItem) resource.TestCheckFunc
- func CheckStateAgainstSensor(t *testing.T, entity string, sensor config_api_client.SensorsGetItem) resource.TestCheckFunc
- func CheckStateAgainstServiceTest(t *testing.T, entity string, serviceTest config_api_client.ServiceTestsGetItem) resource.TestCheckFunc
- func CheckStateAgainstWiredNetwork(t *testing.T, entity string, ...) resource.TestCheckFunc
- func CheckStateAgainstWirelessNetwork(t *testing.T, entity string, ...) resource.TestCheckFunc
- func Int32PtrToStringPtr(value *int32) *string
- func TestOptionalFloatValue(t *testing.T, tfResource string, tfKey string, property *float32) resource.TestCheckFunc
- func TestOptionalValue(t *testing.T, tfResource string, tfKey string, property *string) resource.TestCheckFunc
Constants ¶
View Source
const ( AgentGroupAssignmentType = "networking-uxi/agent-group-assignment" AgentType = "networking-uxi/agent" GroupType = "networking-uxi/group" NetworkGroupAssignmentType = "networking-uxi/network-group-assignment" SensorGroupAssignmentType = "networking-uxi/sensor-group-assignment" SensorType = "networking-uxi/sensor" ServiceTestGroupAssignmentType = "networking-uxi/service-test-group-assignment" ServiceTestType = "networking-uxi/service-test" WiredNetworkType = "networking-uxi/wired-network" WirelessNetworkType = "networking-uxi/wireless-network" AgentGroupAssignmentPath = "/networking-uxi/v1alpha1/agent-group-assignments" AgentPath = "/networking-uxi/v1alpha1/agents" GroupPath = "/networking-uxi/v1alpha1/groups" NetworkGroupAssignmentPath = "/networking-uxi/v1alpha1/network-group-assignments" SensorGroupAssignmentPath = "/networking-uxi/v1alpha1/sensor-group-assignments" SensorPath = "/networking-uxi/v1alpha1/sensors" ServiceTestGroupAssignmentPath = "/networking-uxi/v1alpha1/service-test-group-assignments" ServiceTestPath = "/networking-uxi/v1alpha1/service-tests" WiredNetworkPath = "/networking-uxi/v1alpha1/wired-networks" WirelessNetworkPath = "/networking-uxi/v1alpha1/wireless-networks" )
Variables ¶
This section is empty.
Functions ¶
func CheckStateAgainstAgent ¶
func CheckStateAgainstAgent( t *testing.T, stateEntity string, agent config_api_client.AgentsGetItem, ) resource.TestCheckFunc
func CheckStateAgainstSensor ¶
func CheckStateAgainstSensor( t *testing.T, entity string, sensor config_api_client.SensorsGetItem, ) resource.TestCheckFunc
func CheckStateAgainstServiceTest ¶
func CheckStateAgainstServiceTest( t *testing.T, entity string, serviceTest config_api_client.ServiceTestsGetItem, ) resource.TestCheckFunc
func CheckStateAgainstWiredNetwork ¶
func CheckStateAgainstWiredNetwork( t *testing.T, entity string, wiredNetwork config_api_client.WiredNetworksGetItem, ) resource.TestCheckFunc
func CheckStateAgainstWirelessNetwork ¶
func CheckStateAgainstWirelessNetwork( t *testing.T, entity string, wirelessNetwork config_api_client.WirelessNetworksGetItem, ) resource.TestCheckFunc
func Int32PtrToStringPtr ¶
func TestOptionalFloatValue ¶
func TestOptionalFloatValue( t *testing.T, tfResource string, tfKey string, property *float32, ) resource.TestCheckFunc
This is required to do a check against floats since 100% accuracy is not guaranteed for floating point numbers in the terraform plugin framework
func TestOptionalValue ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.