package
0.1.0-alpha.7
Repository: https://github.com/brennoo/terraform-provider-hrui.git
Documentation: pkg.go.dev

# Functions

ConvertTerraformIntList converts a Terraform []types.Int64 to a native Go int slice.
ConvertToNativeIntList converts a Terraform []types.Int64 (used in provider) to a native Go []int (used in SDK).
ConvertToTFInt64List converts a native []int to []types.Int64 for Terraform usage.
FlattenInt64List normalizes and converts []int to []types.Int64 for use with Terraform.
NewClient initializes and authenticates a new HRUIClient.
NewSDK creates a new SDK instance with the provided client.
WithDefaultValue specifies a default value to return on error.
WithLogging enables error logging.
WithOffset specifies an offset to apply to parsed values.
WithReturnNilOnSpecialCases defines that special cases should return nil instead of the default value.
WithSpecialCases defines special-case strings that map to the default value.
WithTrimPrefix specifies a prefix to trim.
WithTrimSuffix specifies a suffix to trim.

# Variables

LoopFunctionType maps human-readable loop function values (like Off, Loop Detection, etc.) to their corresponding integer values needed by the internal system.

# Structs

BandwidthControl holds the ingress and egress rate configuration for a given port.
Client handles communication with the HRUI device, managing VLANs and other networking functionality.
IGMPConfig represents the IGMP Snooping configuration.
IPAddressSettings represents the IP configuration.
JumboFrame represents the current selected Jumbo Frame size.
LoopProtocol represents loop protocol settings.
MACAddressEntry represents a single entry in the MAC address table.
MACLimit represents the MAC entry limit for a specific port.
ParseOptions defines options for parsing integers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PortStatus represents the status of a port under Loop Protocol control.
No description provided by the author
QoSPortQueue represents the QoS queue configuration for a port.
QoSQueueWeight represents the "Queue Weight" for a queue.
SDK wraps the underlying client to provide high-level functionality for CRUD operations.
StaticMACEntry represents a single entry in the static MAC address table.
StormControlConfig represents all the storm control entries in the table.
StormControlEntry represents the configuration for a specific port.
STPGlobalSettings holds the STP global settings.
STPPort represents a switch port's STP settings.
No description provided by the author
No description provided by the author

# Type aliases

ParseOption modifies ParseOptions.