Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateAndMarshalChangeDNSActionFunc = task.CreateAndMarshalChangeDNSAction
CreateAndMarshalChangeDNSActionFunc is a function variable that allows swapping the actual task.CreateAndMarshalChangeDNSAction function for a mock function during testing.
This is a temporary solution to facilitate testing by allowing the function to be replaced with a mock implementation. In the future, this may be replaced by a better solution using dependency injection or test mocks.
Functions ¶
This section is empty.
Types ¶
type Network ¶
type Network struct { // Provider implements the methods to interact with various ping components. PingProvider ping.Provider // Provider implements the methods to interact with various dns components. DNSProvider dns.Provider // TaskClientManager responsible for managing task operations. TaskClientManager client.Manager }
Network implementation of the System APIs operations.
func (Network) GetNetworkDNSByInterface ¶
GetNetworkDNSByInterface get the network dns get API endpoint.
func (Network) PostNetworkPing ¶
PostNetworkPing post the network ping API endpoint.
func (Network) PutNetworkDNS ¶
PutNetworkDNS put the network dns API endpoint.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.