Documentation ¶
Index ¶
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
}
Client represent the Meraki client structure
func (*Client) Organization ¶
func (c *Client) Organization(id int) OrganizationInterface
Organizations returns organization client interface
func (*Client) Organizations ¶
func (c *Client) Organizations() (*api.OrganizationList, error)
Organizations returns list of organizations
type ClientInterface ¶
type ClientInterface interface { // Organizations returns list of organizations Organization(id string) OrganizationInterface // Organizations returns list of organizations Organizations() (*api.OrganizationList, error) }
ClientInterface regroups all Meraki Client methods
type DeviceInterface ¶
type NetworkInterface ¶
type NetworkInterface interface { // Get returns the Network api object corresponding to the ID Get() (*api.Network, error) // Devices returns list of device associated the a Network Devices() (*api.DeviceList, error) // Device return Device client interface Device(id string) DeviceInterface }
type OrganizationInterface ¶
type OrganizationInterface interface { // Get returns the Organization api object corresponding to the ID Get() (*api.Organization, error) // Networks returns the list of network associated to the Organization ID Networks() (*api.NetworkList, error) // Network returns the Network API Client endpoint associated to the ID Network(id string) NetworkInterface }
OrganizationInterface interface for the Organization Meraki API endpoint
Click to show internal directories.
Click to hide internal directories.