Documentation ¶
Index ¶
- type Client
- func (c *Client) GetActiveDevice() (string, error)
- func (c *Client) GetDeviceByMachineUID(machineUID string) (*nautobot.DeviceInfo, error)
- func (c *Client) GetMachineCIDR(deviceID string) (*nautobot.IPInfo, error)
- func (c *Client) GetMachineGatewayIP(ip *nautobot.IPInfo, tag string) (string, error)
- func (c *Client) GetMachineMacAddress(deviceID string) (string, error)
- func (c *Client) GetMachineStatus() (string, error)
- func (c *Client) PatchDeviceStatus(deviceID string, params *nautobot.PatchedDeviceParams) error
- type Config
- type MetadataClientConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetActiveDevice ¶
func (*Client) GetDeviceByMachineUID ¶
func (c *Client) GetDeviceByMachineUID(machineUID string) (*nautobot.DeviceInfo, error)
func (*Client) GetMachineCIDR ¶
func (*Client) GetMachineGatewayIP ¶
func (*Client) GetMachineMacAddress ¶
func (*Client) GetMachineStatus ¶
func (*Client) PatchDeviceStatus ¶
func (c *Client) PatchDeviceStatus(deviceID string, params *nautobot.PatchedDeviceParams) error
type MetadataClientConfig ¶
Click to show internal directories.
Click to hide internal directories.