Documentation ¶
Index ¶
- type Counter
- type Gauge
- type GetOrganizationDevicesStatuses200Response
- func (o *GetOrganizationDevicesStatuses200Response) GetGateway() string
- func (o *GetOrganizationDevicesStatuses200Response) GetGatewayOk() (*string, bool)
- func (o *GetOrganizationDevicesStatuses200Response) GetIpType() string
- func (o *GetOrganizationDevicesStatuses200Response) GetIpTypeOk() (*string, bool)
- func (o *GetOrganizationDevicesStatuses200Response) GetLanIp() string
- func (o *GetOrganizationDevicesStatuses200Response) GetLanIpOk() (*string, bool)
- func (o *GetOrganizationDevicesStatuses200Response) GetLastReportedAt() string
- func (o *GetOrganizationDevicesStatuses200Response) GetLastReportedAtOk() (*string, bool)
- func (o *GetOrganizationDevicesStatuses200Response) GetMac() string
- func (o *GetOrganizationDevicesStatuses200Response) GetMacOk() (*string, bool)
- func (o *GetOrganizationDevicesStatuses200Response) GetModel() string
- func (o *GetOrganizationDevicesStatuses200Response) GetModelOk() (*string, bool)
- func (o *GetOrganizationDevicesStatuses200Response) GetName() string
- func (o *GetOrganizationDevicesStatuses200Response) GetNameOk() (*string, bool)
- func (o *GetOrganizationDevicesStatuses200Response) GetNetworkId() string
- func (o *GetOrganizationDevicesStatuses200Response) GetNetworkIdOk() (*string, bool)
- func (o *GetOrganizationDevicesStatuses200Response) GetPrimaryDns() string
- func (o *GetOrganizationDevicesStatuses200Response) GetPrimaryDnsOk() (*string, bool)
- func (o *GetOrganizationDevicesStatuses200Response) GetProductType() string
- func (o *GetOrganizationDevicesStatuses200Response) GetProductTypeOk() (*string, bool)
- func (o *GetOrganizationDevicesStatuses200Response) GetPublicIp() string
- func (o *GetOrganizationDevicesStatuses200Response) GetPublicIpOk() (*string, bool)
- func (o *GetOrganizationDevicesStatuses200Response) GetSecondaryDns() string
- func (o *GetOrganizationDevicesStatuses200Response) GetSecondaryDnsOk() (*string, bool)
- func (o *GetOrganizationDevicesStatuses200Response) GetSerial() string
- func (o *GetOrganizationDevicesStatuses200Response) GetSerialOk() (*string, bool)
- func (o *GetOrganizationDevicesStatuses200Response) GetStatus() string
- func (o *GetOrganizationDevicesStatuses200Response) GetStatusOk() (*string, bool)
- func (o *GetOrganizationDevicesStatuses200Response) GetTags() []string
- func (o *GetOrganizationDevicesStatuses200Response) GetTagsOk() ([]string, bool)
- func (o *GetOrganizationDevicesStatuses200Response) HasComponents() bool
- func (o *GetOrganizationDevicesStatuses200Response) HasGateway() bool
- func (o *GetOrganizationDevicesStatuses200Response) HasIpType() bool
- func (o *GetOrganizationDevicesStatuses200Response) HasLanIp() bool
- func (o *GetOrganizationDevicesStatuses200Response) HasLastReportedAt() bool
- func (o *GetOrganizationDevicesStatuses200Response) HasMac() bool
- func (o *GetOrganizationDevicesStatuses200Response) HasModel() bool
- func (o *GetOrganizationDevicesStatuses200Response) HasName() bool
- func (o *GetOrganizationDevicesStatuses200Response) HasNetworkId() bool
- func (o *GetOrganizationDevicesStatuses200Response) HasPrimaryDns() bool
- func (o *GetOrganizationDevicesStatuses200Response) HasProductType() bool
- func (o *GetOrganizationDevicesStatuses200Response) HasPublicIp() bool
- func (o *GetOrganizationDevicesStatuses200Response) HasSecondaryDns() bool
- func (o *GetOrganizationDevicesStatuses200Response) HasSerial() bool
- func (o *GetOrganizationDevicesStatuses200Response) HasStatus() bool
- func (o *GetOrganizationDevicesStatuses200Response) HasTags() bool
- func (o *GetOrganizationDevicesStatuses200Response) SetGateway(v string)
- func (o *GetOrganizationDevicesStatuses200Response) SetIpType(v string)
- func (o *GetOrganizationDevicesStatuses200Response) SetLanIp(v string)
- func (o *GetOrganizationDevicesStatuses200Response) SetLastReportedAt(v string)
- func (o *GetOrganizationDevicesStatuses200Response) SetMac(v string)
- func (o *GetOrganizationDevicesStatuses200Response) SetModel(v string)
- func (o *GetOrganizationDevicesStatuses200Response) SetName(v string)
- func (o *GetOrganizationDevicesStatuses200Response) SetNetworkId(v string)
- func (o *GetOrganizationDevicesStatuses200Response) SetPrimaryDns(v string)
- func (o *GetOrganizationDevicesStatuses200Response) SetProductType(v string)
- func (o *GetOrganizationDevicesStatuses200Response) SetPublicIp(v string)
- func (o *GetOrganizationDevicesStatuses200Response) SetSecondaryDns(v string)
- func (o *GetOrganizationDevicesStatuses200Response) SetSerial(v string)
- func (o *GetOrganizationDevicesStatuses200Response) SetStatus(v string)
- func (o *GetOrganizationDevicesStatuses200Response) SetTags(v []string)
- type MerakiCollector
- func (m *MerakiCollector) Collect(ch chan<- prometheus.Metric)
- func (m *MerakiCollector) Describe(ch chan<- *prometheus.Desc)
- func (m *MerakiCollector) GetApplianceDHCP(ctx context.Context, serial string) ([]map[string]interface{}, error)
- func (m *MerakiCollector) GetDevices(ctx context.Context, network meraki.UnbindNetwork200Response) ([]map[string]interface{}, error)
- func (m *MerakiCollector) GetDevicesStatus(ctx context.Context, org meraki.GetOrganizations200ResponseInner) ([]GetOrganizationDevicesStatuses200Response, error)
- func (m *MerakiCollector) GetNetworks(ctx context.Context, org meraki.GetOrganizations200ResponseInner) ([]meraki.UnbindNetwork200Response, error)
- func (m *MerakiCollector) GetOrganizations(ctx context.Context) ([]meraki.GetOrganizations200ResponseInner, error)
- func (m *MerakiCollector) GetSwitchPorts(ctx context.Context, serial string) ([]map[string]interface{}, error)
- func (m *MerakiCollector) GetSwitchPortsStatus(ctx context.Context, serial string) ([]map[string]interface{}, error)
- type MerakiCollectorConfig
- type Metric
- type Settable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Counter ¶
type Counter struct {
Metric
}
func NewCounter ¶
func NewCounter(desc *prometheus.Desc) *Counter
type Gauge ¶
type Gauge struct {
Metric
}
func NewGauge ¶
func NewGauge(desc *prometheus.Desc) *Gauge
type GetOrganizationDevicesStatuses200Response ¶
type GetOrganizationDevicesStatuses200Response struct { // Device Name Name *string `json:"name,omitempty"` // Device Serial Number Serial *string `json:"serial,omitempty"` // MAC Address Mac *string `json:"mac,omitempty"` // Public IP Address PublicIp *string `json:"publicIp,omitempty"` // Network ID NetworkId *string `json:"networkId,omitempty"` // Device Status Status *string `json:"status,omitempty"` // Device Last Reported Location LastReportedAt *string `json:"lastReportedAt,omitempty"` // LAN IP Address LanIp *string `json:"lanIp,omitempty"` // IP Gateway Gateway *string `json:"gateway,omitempty"` // IP Type IpType *string `json:"ipType,omitempty"` // Primary DNS PrimaryDns *string `json:"primaryDns,omitempty"` // Secondary DNS SecondaryDns *string `json:"secondaryDns,omitempty"` // Product Type ProductType *string `json:"productType,omitempty"` Components map[string]interface{} `json:"components,omitempty"` // Model Model *string `json:"model,omitempty"` // Tags Tags []string `json:"tags,omitempty"` }
GetOrganizationDevicesStatuses200Response struct for GetOrganizationDevicesStatuses200Response
func (*GetOrganizationDevicesStatuses200Response) GetGateway ¶
func (o *GetOrganizationDevicesStatuses200Response) GetGateway() string
GetGateway returns the Gateway field value if set, zero value otherwise.
func (*GetOrganizationDevicesStatuses200Response) GetGatewayOk ¶
func (o *GetOrganizationDevicesStatuses200Response) GetGatewayOk() (*string, bool)
GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetOrganizationDevicesStatuses200Response) GetIpType ¶
func (o *GetOrganizationDevicesStatuses200Response) GetIpType() string
GetIpType returns the IpType field value if set, zero value otherwise.
func (*GetOrganizationDevicesStatuses200Response) GetIpTypeOk ¶
func (o *GetOrganizationDevicesStatuses200Response) GetIpTypeOk() (*string, bool)
GetIpTypeOk returns a tuple with the IpType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetOrganizationDevicesStatuses200Response) GetLanIp ¶
func (o *GetOrganizationDevicesStatuses200Response) GetLanIp() string
GetLanIp returns the LanIp field value if set, zero value otherwise.
func (*GetOrganizationDevicesStatuses200Response) GetLanIpOk ¶
func (o *GetOrganizationDevicesStatuses200Response) GetLanIpOk() (*string, bool)
GetLanIpOk returns a tuple with the LanIp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetOrganizationDevicesStatuses200Response) GetLastReportedAt ¶
func (o *GetOrganizationDevicesStatuses200Response) GetLastReportedAt() string
GetLastReportedAt returns the LastReportedAt field value if set, zero value otherwise.
func (*GetOrganizationDevicesStatuses200Response) GetLastReportedAtOk ¶
func (o *GetOrganizationDevicesStatuses200Response) GetLastReportedAtOk() (*string, bool)
GetLastReportedAtOk returns a tuple with the LastReportedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetOrganizationDevicesStatuses200Response) GetMac ¶
func (o *GetOrganizationDevicesStatuses200Response) GetMac() string
GetMac returns the Mac field value if set, zero value otherwise.
func (*GetOrganizationDevicesStatuses200Response) GetMacOk ¶
func (o *GetOrganizationDevicesStatuses200Response) GetMacOk() (*string, bool)
GetMacOk returns a tuple with the Mac field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetOrganizationDevicesStatuses200Response) GetModel ¶
func (o *GetOrganizationDevicesStatuses200Response) GetModel() string
GetModel returns the Model field value if set, zero value otherwise.
func (*GetOrganizationDevicesStatuses200Response) GetModelOk ¶
func (o *GetOrganizationDevicesStatuses200Response) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetOrganizationDevicesStatuses200Response) GetName ¶
func (o *GetOrganizationDevicesStatuses200Response) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*GetOrganizationDevicesStatuses200Response) GetNameOk ¶
func (o *GetOrganizationDevicesStatuses200Response) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetOrganizationDevicesStatuses200Response) GetNetworkId ¶
func (o *GetOrganizationDevicesStatuses200Response) GetNetworkId() string
GetNetworkId returns the NetworkId field value if set, zero value otherwise.
func (*GetOrganizationDevicesStatuses200Response) GetNetworkIdOk ¶
func (o *GetOrganizationDevicesStatuses200Response) GetNetworkIdOk() (*string, bool)
GetNetworkIdOk returns a tuple with the NetworkId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetOrganizationDevicesStatuses200Response) GetPrimaryDns ¶
func (o *GetOrganizationDevicesStatuses200Response) GetPrimaryDns() string
GetPrimaryDns returns the PrimaryDns field value if set, zero value otherwise.
func (*GetOrganizationDevicesStatuses200Response) GetPrimaryDnsOk ¶
func (o *GetOrganizationDevicesStatuses200Response) GetPrimaryDnsOk() (*string, bool)
GetPrimaryDnsOk returns a tuple with the PrimaryDns field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetOrganizationDevicesStatuses200Response) GetProductType ¶
func (o *GetOrganizationDevicesStatuses200Response) GetProductType() string
GetProductType returns the ProductType field value if set, zero value otherwise.
func (*GetOrganizationDevicesStatuses200Response) GetProductTypeOk ¶
func (o *GetOrganizationDevicesStatuses200Response) GetProductTypeOk() (*string, bool)
GetProductTypeOk returns a tuple with the ProductType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetOrganizationDevicesStatuses200Response) GetPublicIp ¶
func (o *GetOrganizationDevicesStatuses200Response) GetPublicIp() string
GetPublicIp returns the PublicIp field value if set, zero value otherwise.
func (*GetOrganizationDevicesStatuses200Response) GetPublicIpOk ¶
func (o *GetOrganizationDevicesStatuses200Response) GetPublicIpOk() (*string, bool)
GetPublicIpOk returns a tuple with the PublicIp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetOrganizationDevicesStatuses200Response) GetSecondaryDns ¶
func (o *GetOrganizationDevicesStatuses200Response) GetSecondaryDns() string
GetSecondaryDns returns the SecondaryDns field value if set, zero value otherwise.
func (*GetOrganizationDevicesStatuses200Response) GetSecondaryDnsOk ¶
func (o *GetOrganizationDevicesStatuses200Response) GetSecondaryDnsOk() (*string, bool)
GetSecondaryDnsOk returns a tuple with the SecondaryDns field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetOrganizationDevicesStatuses200Response) GetSerial ¶
func (o *GetOrganizationDevicesStatuses200Response) GetSerial() string
GetSerial returns the Serial field value if set, zero value otherwise.
func (*GetOrganizationDevicesStatuses200Response) GetSerialOk ¶
func (o *GetOrganizationDevicesStatuses200Response) GetSerialOk() (*string, bool)
GetSerialOk returns a tuple with the Serial field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetOrganizationDevicesStatuses200Response) GetStatus ¶
func (o *GetOrganizationDevicesStatuses200Response) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*GetOrganizationDevicesStatuses200Response) GetStatusOk ¶
func (o *GetOrganizationDevicesStatuses200Response) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetOrganizationDevicesStatuses200Response) GetTags ¶
func (o *GetOrganizationDevicesStatuses200Response) GetTags() []string
GetTags returns the Tags field value if set, zero value otherwise.
func (*GetOrganizationDevicesStatuses200Response) GetTagsOk ¶
func (o *GetOrganizationDevicesStatuses200Response) GetTagsOk() ([]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetOrganizationDevicesStatuses200Response) HasComponents ¶
func (o *GetOrganizationDevicesStatuses200Response) HasComponents() bool
HasComponents returns a boolean if a field has been set.
func (*GetOrganizationDevicesStatuses200Response) HasGateway ¶
func (o *GetOrganizationDevicesStatuses200Response) HasGateway() bool
HasGateway returns a boolean if a field has been set.
func (*GetOrganizationDevicesStatuses200Response) HasIpType ¶
func (o *GetOrganizationDevicesStatuses200Response) HasIpType() bool
HasIpType returns a boolean if a field has been set.
func (*GetOrganizationDevicesStatuses200Response) HasLanIp ¶
func (o *GetOrganizationDevicesStatuses200Response) HasLanIp() bool
HasLanIp returns a boolean if a field has been set.
func (*GetOrganizationDevicesStatuses200Response) HasLastReportedAt ¶
func (o *GetOrganizationDevicesStatuses200Response) HasLastReportedAt() bool
HasLastReportedAt returns a boolean if a field has been set.
func (*GetOrganizationDevicesStatuses200Response) HasMac ¶
func (o *GetOrganizationDevicesStatuses200Response) HasMac() bool
HasMac returns a boolean if a field has been set.
func (*GetOrganizationDevicesStatuses200Response) HasModel ¶
func (o *GetOrganizationDevicesStatuses200Response) HasModel() bool
HasModel returns a boolean if a field has been set.
func (*GetOrganizationDevicesStatuses200Response) HasName ¶
func (o *GetOrganizationDevicesStatuses200Response) HasName() bool
HasName returns a boolean if a field has been set.
func (*GetOrganizationDevicesStatuses200Response) HasNetworkId ¶
func (o *GetOrganizationDevicesStatuses200Response) HasNetworkId() bool
HasNetworkId returns a boolean if a field has been set.
func (*GetOrganizationDevicesStatuses200Response) HasPrimaryDns ¶
func (o *GetOrganizationDevicesStatuses200Response) HasPrimaryDns() bool
HasPrimaryDns returns a boolean if a field has been set.
func (*GetOrganizationDevicesStatuses200Response) HasProductType ¶
func (o *GetOrganizationDevicesStatuses200Response) HasProductType() bool
HasProductType returns a boolean if a field has been set.
func (*GetOrganizationDevicesStatuses200Response) HasPublicIp ¶
func (o *GetOrganizationDevicesStatuses200Response) HasPublicIp() bool
HasPublicIp returns a boolean if a field has been set.
func (*GetOrganizationDevicesStatuses200Response) HasSecondaryDns ¶
func (o *GetOrganizationDevicesStatuses200Response) HasSecondaryDns() bool
HasSecondaryDns returns a boolean if a field has been set.
func (*GetOrganizationDevicesStatuses200Response) HasSerial ¶
func (o *GetOrganizationDevicesStatuses200Response) HasSerial() bool
HasSerial returns a boolean if a field has been set.
func (*GetOrganizationDevicesStatuses200Response) HasStatus ¶
func (o *GetOrganizationDevicesStatuses200Response) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*GetOrganizationDevicesStatuses200Response) HasTags ¶
func (o *GetOrganizationDevicesStatuses200Response) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*GetOrganizationDevicesStatuses200Response) SetGateway ¶
func (o *GetOrganizationDevicesStatuses200Response) SetGateway(v string)
SetGateway gets a reference to the given string and assigns it to the Gateway field.
func (*GetOrganizationDevicesStatuses200Response) SetIpType ¶
func (o *GetOrganizationDevicesStatuses200Response) SetIpType(v string)
SetIpType gets a reference to the given string and assigns it to the IpType field.
func (*GetOrganizationDevicesStatuses200Response) SetLanIp ¶
func (o *GetOrganizationDevicesStatuses200Response) SetLanIp(v string)
SetLanIp gets a reference to the given string and assigns it to the LanIp field.
func (*GetOrganizationDevicesStatuses200Response) SetLastReportedAt ¶
func (o *GetOrganizationDevicesStatuses200Response) SetLastReportedAt(v string)
SetLastReportedAt gets a reference to the given string and assigns it to the LastReportedAt field.
func (*GetOrganizationDevicesStatuses200Response) SetMac ¶
func (o *GetOrganizationDevicesStatuses200Response) SetMac(v string)
SetMac gets a reference to the given string and assigns it to the Mac field.
func (*GetOrganizationDevicesStatuses200Response) SetModel ¶
func (o *GetOrganizationDevicesStatuses200Response) SetModel(v string)
SetModel gets a reference to the given string and assigns it to the Model field.
func (*GetOrganizationDevicesStatuses200Response) SetName ¶
func (o *GetOrganizationDevicesStatuses200Response) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*GetOrganizationDevicesStatuses200Response) SetNetworkId ¶
func (o *GetOrganizationDevicesStatuses200Response) SetNetworkId(v string)
SetNetworkId gets a reference to the given string and assigns it to the NetworkId field.
func (*GetOrganizationDevicesStatuses200Response) SetPrimaryDns ¶
func (o *GetOrganizationDevicesStatuses200Response) SetPrimaryDns(v string)
SetPrimaryDns gets a reference to the given string and assigns it to the PrimaryDns field.
func (*GetOrganizationDevicesStatuses200Response) SetProductType ¶
func (o *GetOrganizationDevicesStatuses200Response) SetProductType(v string)
SetProductType gets a reference to the given string and assigns it to the ProductType field.
func (*GetOrganizationDevicesStatuses200Response) SetPublicIp ¶
func (o *GetOrganizationDevicesStatuses200Response) SetPublicIp(v string)
SetPublicIp gets a reference to the given string and assigns it to the PublicIp field.
func (*GetOrganizationDevicesStatuses200Response) SetSecondaryDns ¶
func (o *GetOrganizationDevicesStatuses200Response) SetSecondaryDns(v string)
SetSecondaryDns gets a reference to the given string and assigns it to the SecondaryDns field.
func (*GetOrganizationDevicesStatuses200Response) SetSerial ¶
func (o *GetOrganizationDevicesStatuses200Response) SetSerial(v string)
SetSerial gets a reference to the given string and assigns it to the Serial field.
func (*GetOrganizationDevicesStatuses200Response) SetStatus ¶
func (o *GetOrganizationDevicesStatuses200Response) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*GetOrganizationDevicesStatuses200Response) SetTags ¶
func (o *GetOrganizationDevicesStatuses200Response) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
type MerakiCollector ¶
type MerakiCollector struct {
// contains filtered or unexported fields
}
func NewMerakiCollector ¶
func NewMerakiCollector(config ...func(*MerakiCollectorConfig)) *MerakiCollector
Declare your exporter metrics here. Referred to as "collectors"
func (*MerakiCollector) Collect ¶
func (m *MerakiCollector) Collect(ch chan<- prometheus.Metric)
This fuction runs when Prometheus scrapes the exporter. It will set a new value for the metric(s) I have no idea how it works, but it does.
func (*MerakiCollector) Describe ¶
func (m *MerakiCollector) Describe(ch chan<- *prometheus.Desc)
func (*MerakiCollector) GetApplianceDHCP ¶
func (m *MerakiCollector) GetApplianceDHCP(ctx context.Context, serial string) ([]map[string]interface{}, error)
https://developer.cisco.com/meraki/api-latest/#!get-device-appliance-dhcp-subnets
func (*MerakiCollector) GetDevices ¶
func (m *MerakiCollector) GetDevices(ctx context.Context, network meraki.UnbindNetwork200Response) ([]map[string]interface{}, error)
Get all devices for a network
func (*MerakiCollector) GetDevicesStatus ¶
func (m *MerakiCollector) GetDevicesStatus(ctx context.Context, org meraki.GetOrganizations200ResponseInner) ([]GetOrganizationDevicesStatuses200Response, error)
GetDevicesStatus will return the status of all devices for an organization
func (*MerakiCollector) GetNetworks ¶
func (m *MerakiCollector) GetNetworks(ctx context.Context, org meraki.GetOrganizations200ResponseInner) ([]meraki.UnbindNetwork200Response, error)
GetNetworks will return all networks for the given organization
func (*MerakiCollector) GetOrganizations ¶
func (m *MerakiCollector) GetOrganizations(ctx context.Context) ([]meraki.GetOrganizations200ResponseInner, error)
Fetch all organizations
func (*MerakiCollector) GetSwitchPorts ¶
func (m *MerakiCollector) GetSwitchPorts(ctx context.Context, serial string) ([]map[string]interface{}, error)
GetSwitchPorts will return switch ports https://developer.cisco.com/meraki/api-latest/#!get-device-switch-ports
func (*MerakiCollector) GetSwitchPortsStatus ¶
func (m *MerakiCollector) GetSwitchPortsStatus(ctx context.Context, serial string) ([]map[string]interface{}, error)
GetSwitchPortsStatus will return switch port statuses
type MerakiCollectorConfig ¶
MerakiCollectorConfig defines configuration options for the Meraki Collector